oci 2.152.0__py3-none-any.whl → 2.153.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 (548) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/addons/adk/auth/__init__.py +2 -0
  4. oci/addons/adk/auth/oci/__init__.py +2 -0
  5. oci/addons/adk/run/__init__.py +2 -0
  6. oci/addons/adk/tool/function_tool.py +2 -1
  7. oci/adm/application_dependency_management_client.py +38 -38
  8. oci/adm/models/application_dependency.py +4 -3
  9. oci/adm/models/application_dependency_recommendation_summary.py +4 -4
  10. oci/adm/models/application_dependency_vulnerability_summary.py +57 -6
  11. oci/adm/models/detect_configuration.py +7 -7
  12. oci/adm/models/network_configuration.py +1 -2
  13. oci/adm/models/vulnerability.py +8 -4
  14. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  15. oci/ai_document/ai_service_document_client.py +26 -26
  16. oci/ai_language/ai_service_language_client.py +44 -44
  17. oci/ai_speech/ai_service_speech_client.py +19 -19
  18. oci/ai_vision/ai_service_vision_client.py +28 -28
  19. oci/analytics/analytics_client.py +24 -24
  20. oci/announcements_service/announcement_client.py +5 -5
  21. oci/announcements_service/announcement_subscription_client.py +9 -9
  22. oci/announcements_service/announcements_preferences_client.py +4 -4
  23. oci/announcements_service/service_client.py +1 -1
  24. oci/apigateway/api_gateway_client.py +21 -21
  25. oci/apigateway/deployment_client.py +6 -6
  26. oci/apigateway/gateway_client.py +6 -6
  27. oci/apigateway/subscribers_client.py +6 -6
  28. oci/apigateway/usage_plans_client.py +6 -6
  29. oci/apigateway/work_requests_client.py +5 -5
  30. oci/apm_config/config_client.py +12 -12
  31. oci/apm_control_plane/apm_domain_client.py +14 -14
  32. oci/apm_synthetics/apm_synthetic_client.py +30 -30
  33. oci/apm_synthetics/models/create_script_details.py +10 -6
  34. oci/apm_synthetics/models/monitor.py +51 -0
  35. oci/apm_synthetics/models/monitor_result.py +2 -2
  36. oci/apm_synthetics/models/script.py +9 -5
  37. oci/apm_synthetics/models/script_summary.py +7 -3
  38. oci/apm_synthetics/models/update_script_details.py +10 -6
  39. oci/apm_traces/attributes_client.py +8 -8
  40. oci/apm_traces/query_client.py +2 -2
  41. oci/apm_traces/trace_client.py +4 -4
  42. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  43. oci/artifacts/artifacts_client.py +32 -32
  44. oci/audit/audit_client.py +3 -3
  45. oci/autoscaling/auto_scaling_client.py +11 -11
  46. oci/bastion/bastion_client.py +15 -15
  47. oci/bds/bds_client.py +578 -86
  48. oci/bds/bds_client_composite_operations.py +42 -0
  49. oci/bds/models/__init__.py +26 -0
  50. oci/bds/models/bds_capacity_report.py +132 -0
  51. oci/bds/models/bds_software_update.py +109 -0
  52. oci/bds/models/capacity_availability.py +121 -0
  53. oci/bds/models/capacity_report_shape_availability.py +128 -0
  54. oci/bds/models/create_bds_capacity_report_details.py +101 -0
  55. oci/bds/models/create_capacity_report_shape_availability_details.py +97 -0
  56. oci/bds/models/domain_type_capacity_report.py +107 -0
  57. oci/bds/models/install_os_patch_details.py +33 -2
  58. oci/bds/models/install_software_updates_details.py +70 -0
  59. oci/bds/models/multi_ad_capacity_report.py +107 -0
  60. oci/bds/models/os_patch_package_summary.py +57 -2
  61. oci/bds/models/patch_history_summary.py +13 -7
  62. oci/bds/models/single_ad_capacity_report.py +107 -0
  63. oci/bds/models/software_update.py +253 -0
  64. oci/bds/models/software_update_collection.py +70 -0
  65. oci/bds/models/software_update_summary.py +194 -0
  66. oci/bds/models/work_request.py +7 -3
  67. oci/blockchain/blockchain_platform_client.py +27 -27
  68. oci/budget/budget_client.py +10 -10
  69. oci/capacity_management/__init__.py +5 -1
  70. oci/capacity_management/capacity_management_client.py +32 -32
  71. oci/capacity_management/demand_signal_client.py +1645 -0
  72. oci/capacity_management/demand_signal_client_composite_operations.py +318 -0
  73. oci/capacity_management/internal_demand_signal_client.py +1605 -0
  74. oci/capacity_management/internal_demand_signal_client_composite_operations.py +172 -0
  75. oci/capacity_management/models/__init__.py +79 -1
  76. oci/capacity_management/models/bulk_create_occm_demand_signal_item.py +400 -0
  77. oci/capacity_management/models/bulk_create_occm_demand_signal_item_details.py +101 -0
  78. oci/capacity_management/models/create_internal_occm_demand_signal_delivery_details.py +322 -0
  79. oci/capacity_management/models/create_occm_demand_signal_details.py +198 -0
  80. oci/capacity_management/models/create_occm_demand_signal_item_details.py +462 -0
  81. oci/capacity_management/models/internal_occm_demand_signal.py +431 -0
  82. oci/capacity_management/models/internal_occm_demand_signal_catalog_resource.py +620 -0
  83. oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_collection.py +70 -0
  84. oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_summary.py +588 -0
  85. oci/capacity_management/models/internal_occm_demand_signal_collection.py +70 -0
  86. oci/capacity_management/models/internal_occm_demand_signal_delivery.py +555 -0
  87. oci/capacity_management/models/internal_occm_demand_signal_delivery_collection.py +70 -0
  88. oci/capacity_management/models/internal_occm_demand_signal_delivery_summary.py +495 -0
  89. oci/capacity_management/models/internal_occm_demand_signal_item_collection.py +70 -0
  90. oci/capacity_management/models/internal_occm_demand_signal_item_summary.py +674 -0
  91. oci/capacity_management/models/internal_occm_demand_signal_summary.py +431 -0
  92. oci/capacity_management/models/occm_demand_signal.py +464 -0
  93. oci/capacity_management/models/occm_demand_signal_catalog.py +418 -0
  94. oci/capacity_management/models/occm_demand_signal_catalog_collection.py +70 -0
  95. oci/capacity_management/models/occm_demand_signal_catalog_resource.py +558 -0
  96. oci/capacity_management/models/occm_demand_signal_catalog_resource_collection.py +70 -0
  97. oci/capacity_management/models/occm_demand_signal_catalog_resource_summary.py +526 -0
  98. oci/capacity_management/models/occm_demand_signal_catalog_summary.py +386 -0
  99. oci/capacity_management/models/occm_demand_signal_collection.py +70 -0
  100. oci/capacity_management/models/occm_demand_signal_delivery_collection.py +70 -0
  101. oci/capacity_management/models/occm_demand_signal_delivery_summary.py +481 -0
  102. oci/capacity_management/models/occm_demand_signal_item.py +675 -0
  103. oci/capacity_management/models/occm_demand_signal_item_collection.py +70 -0
  104. oci/capacity_management/models/occm_demand_signal_item_summary.py +643 -0
  105. oci/capacity_management/models/occm_demand_signal_resource_properties_collection.py +70 -0
  106. oci/capacity_management/models/occm_demand_signal_resource_properties_summary.py +256 -0
  107. oci/capacity_management/models/occm_demand_signal_resource_property_constraints_collection.py +70 -0
  108. oci/capacity_management/models/occm_demand_signal_resource_property_constraints_summary.py +101 -0
  109. oci/capacity_management/models/occm_demand_signal_resource_property_option_summary.py +101 -0
  110. oci/capacity_management/models/occm_demand_signal_summary.py +400 -0
  111. oci/capacity_management/models/update_internal_occm_demand_signal_delivery_details.py +260 -0
  112. oci/capacity_management/models/update_internal_occm_demand_signal_details.py +98 -0
  113. oci/capacity_management/models/update_occm_demand_signal_details.py +210 -0
  114. oci/capacity_management/models/update_occm_demand_signal_item_details.py +326 -0
  115. oci/certificates/certificates_client.py +5 -5
  116. oci/certificates_management/certificates_management_client.py +32 -32
  117. oci/cims/incident_client.py +6 -6
  118. oci/cloud_bridge/common_client.py +5 -5
  119. oci/cloud_bridge/discovery_client.py +15 -15
  120. oci/cloud_bridge/inventory_client.py +16 -16
  121. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  122. oci/cloud_guard/cloud_guard_client.py +155 -155
  123. oci/cloud_migrations/migration_client.py +43 -43
  124. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  125. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  126. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  127. oci/compute_instance_agent/plugin_client.py +2 -2
  128. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  129. oci/container_engine/container_engine_client.py +46 -46
  130. oci/container_engine/models/cluster.py +33 -2
  131. oci/container_instances/container_instance_client.py +18 -18
  132. oci/core/blockstorage_client.py +60 -60
  133. oci/core/compute_client.py +1095 -163
  134. oci/core/compute_client_composite_operations.py +403 -0
  135. oci/core/compute_management_client.py +32 -32
  136. oci/core/models/__init__.py +30 -0
  137. oci/core/models/attach_compute_host_group_host_details.py +74 -0
  138. oci/core/models/change_compute_host_group_compartment_details.py +76 -0
  139. oci/core/models/compute_bare_metal_host_placement_constraint_details.py +79 -0
  140. oci/core/models/compute_host.py +191 -0
  141. oci/core/models/compute_host_configuration_check_details.py +243 -0
  142. oci/core/models/compute_host_configuration_data.py +97 -0
  143. oci/core/models/compute_host_group.py +483 -0
  144. oci/core/models/compute_host_group_collection.py +70 -0
  145. oci/core/models/compute_host_group_summary.py +428 -0
  146. oci/core/models/compute_host_summary.py +62 -0
  147. oci/core/models/create_compute_host_group_details.py +282 -0
  148. oci/core/models/create_dedicated_vm_host_details.py +29 -2
  149. oci/core/models/create_ipv6_details.py +4 -4
  150. oci/core/models/create_local_peering_gateway_details.py +45 -0
  151. oci/core/models/create_private_ip_details.py +4 -4
  152. oci/core/models/create_vcn_details.py +33 -2
  153. oci/core/models/create_volume_details.py +8 -2
  154. oci/core/models/dedicated_vm_host.py +27 -0
  155. oci/core/models/detach_compute_host_group_host_details.py +74 -0
  156. oci/core/models/host_group_configuration.py +152 -0
  157. oci/core/models/host_group_placement_constraint_details.py +79 -0
  158. oci/core/models/instance.py +64 -2
  159. oci/core/models/instance_configuration_create_volume_details.py +8 -2
  160. oci/core/models/ipv6.py +4 -4
  161. oci/core/models/launch_instance_details.py +58 -0
  162. oci/core/models/local_peering_gateway.py +45 -0
  163. oci/core/models/placement_constraint_details.py +91 -0
  164. oci/core/models/private_ip.py +4 -4
  165. oci/core/models/recycle_details.py +125 -0
  166. oci/core/models/update_compute_host_group_details.py +216 -0
  167. oci/core/models/update_ipv6_details.py +4 -4
  168. oci/core/models/update_local_peering_gateway_details.py +45 -0
  169. oci/core/models/update_private_ip_details.py +4 -4
  170. oci/core/models/update_vcn_details.py +33 -2
  171. oci/core/models/update_vnic_details.py +2 -2
  172. oci/core/models/update_volume_details.py +8 -2
  173. oci/core/models/vcn.py +33 -2
  174. oci/core/models/vnic.py +2 -2
  175. oci/core/models/volume.py +8 -2
  176. oci/core/virtual_network_client.py +260 -260
  177. oci/dashboard_service/dashboard_client.py +6 -6
  178. oci/dashboard_service/dashboard_group_client.py +6 -6
  179. oci/data_catalog/data_catalog_client.py +149 -149
  180. oci/data_flow/data_flow_client.py +45 -45
  181. oci/data_integration/data_integration_client.py +163 -163
  182. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  183. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  184. oci/data_safe/data_safe_client.py +317 -317
  185. oci/data_science/data_science_client.py +145 -145
  186. oci/database/database_client.py +795 -508
  187. oci/database/models/__init__.py +2 -0
  188. oci/database/models/autonomous_container_database.py +2 -2
  189. oci/database/models/autonomous_container_database_summary.py +2 -2
  190. oci/database/models/autonomous_db_version_summary.py +31 -0
  191. oci/database/models/backup.py +11 -5
  192. oci/database/models/backup_summary.py +11 -5
  193. oci/database/models/create_database_base.py +1 -1
  194. oci/database/models/create_external_backup_job_details.py +11 -7
  195. oci/database/models/db_system.py +11 -5
  196. oci/database/models/db_system_summary.py +11 -5
  197. oci/database/models/db_system_upgrade_summary.py +152 -0
  198. oci/database/models/external_container_database.py +11 -5
  199. oci/database/models/external_container_database_summary.py +11 -5
  200. oci/database/models/external_database_base.py +11 -5
  201. oci/database/models/external_non_container_database.py +11 -5
  202. oci/database/models/external_non_container_database_summary.py +11 -5
  203. oci/database/models/external_pluggable_database.py +11 -5
  204. oci/database/models/external_pluggable_database_summary.py +11 -5
  205. oci/database/models/launch_db_system_details.py +7 -3
  206. oci/database/models/launch_db_system_from_backup_details.py +7 -3
  207. oci/database/models/launch_db_system_from_database_details.py +7 -3
  208. oci/database_management/db_management_client.py +229 -229
  209. oci/database_management/diagnosability_client.py +4 -4
  210. oci/database_management/managed_my_sql_databases_client.py +7 -7
  211. oci/database_management/perfhub_client.py +1 -1
  212. oci/database_management/sql_tuning_client.py +17 -17
  213. oci/database_migration/database_migration_client.py +42 -42
  214. oci/database_tools/database_tools_client.py +23 -23
  215. oci/dblm/db_life_cycle_management_client.py +14 -14
  216. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  217. oci/delegate_access_control/work_request_client.py +4 -4
  218. oci/demand_signal/occ_demand_signal_client.py +7 -7
  219. oci/desktops/desktop_service_client.py +21 -21
  220. oci/devops/devops_client.py +141 -141
  221. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  222. oci/distributed_database/__init__.py +20 -0
  223. oci/distributed_database/distributed_autonomous_db_service_client.py +2315 -0
  224. oci/distributed_database/distributed_autonomous_db_service_client_composite_operations.py +605 -0
  225. oci/distributed_database/distributed_db_private_endpoint_service_client.py +944 -0
  226. oci/distributed_database/distributed_db_private_endpoint_service_client_composite_operations.py +238 -0
  227. oci/distributed_database/distributed_db_service_client.py +2435 -0
  228. oci/distributed_database/distributed_db_service_client_composite_operations.py +647 -0
  229. oci/distributed_database/distributed_db_work_request_service_client.py +654 -0
  230. oci/distributed_database/distributed_db_work_request_service_client_composite_operations.py +26 -0
  231. oci/distributed_database/models/__init__.py +158 -0
  232. oci/distributed_database/models/add_distributed_autonomous_database_gds_control_node_details.py +105 -0
  233. oci/distributed_database/models/add_distributed_database_gds_control_node_details.py +105 -0
  234. oci/distributed_database/models/catalog_peer_with_dedicated_infra.py +331 -0
  235. oci/distributed_database/models/catalog_peer_with_exadb_xs.py +331 -0
  236. oci/distributed_database/models/change_distributed_autonomous_database_compartment_details.py +74 -0
  237. oci/distributed_database/models/change_distributed_database_compartment_details.py +74 -0
  238. oci/distributed_database/models/change_distributed_database_private_endpoint_compartment_details.py +74 -0
  239. oci/distributed_database/models/change_distributed_db_backup_config_details.py +66 -0
  240. oci/distributed_database/models/configure_distributed_autonomous_database_gsms_details.py +103 -0
  241. oci/distributed_database/models/configure_distributed_database_gsms_details.py +103 -0
  242. oci/distributed_database/models/create_distributed_autonomous_database_catalog_details.py +101 -0
  243. oci/distributed_database/models/create_distributed_autonomous_database_catalog_with_dedicated_infra_details.py +342 -0
  244. oci/distributed_database/models/create_distributed_autonomous_database_details.py +799 -0
  245. oci/distributed_database/models/create_distributed_autonomous_database_shard_details.py +101 -0
  246. oci/distributed_database/models/create_distributed_autonomous_database_shard_with_dedicated_infra_details.py +377 -0
  247. oci/distributed_database/models/create_distributed_database_catalog_details.py +99 -0
  248. oci/distributed_database/models/create_distributed_database_catalog_with_exadb_xs_details.py +282 -0
  249. oci/distributed_database/models/create_distributed_database_details.py +810 -0
  250. oci/distributed_database/models/create_distributed_database_private_endpoint_details.py +260 -0
  251. oci/distributed_database/models/create_distributed_database_shard_details.py +99 -0
  252. oci/distributed_database/models/create_distributed_database_shard_with_exadb_xs_details.py +282 -0
  253. oci/distributed_database/models/distributed_autonomous_database.py +1143 -0
  254. oci/distributed_database/models/distributed_autonomous_database_associated_with_private_endpoint.py +105 -0
  255. oci/distributed_database/models/distributed_autonomous_database_catalog.py +194 -0
  256. oci/distributed_database/models/distributed_autonomous_database_catalog_with_dedicated_infra.py +559 -0
  257. oci/distributed_database/models/distributed_autonomous_database_collection.py +70 -0
  258. oci/distributed_database/models/distributed_autonomous_database_connection_string.py +70 -0
  259. oci/distributed_database/models/distributed_autonomous_database_gsm.py +385 -0
  260. oci/distributed_database/models/distributed_autonomous_database_gsm_image.py +105 -0
  261. oci/distributed_database/models/distributed_autonomous_database_shard.py +194 -0
  262. oci/distributed_database/models/distributed_autonomous_database_shard_with_dedicated_infra.py +592 -0
  263. oci/distributed_database/models/distributed_autonomous_database_summary.py +935 -0
  264. oci/distributed_database/models/distributed_autonomous_db_metadata.py +70 -0
  265. oci/distributed_database/models/distributed_database.py +1154 -0
  266. oci/distributed_database/models/distributed_database_associated_with_private_endpoint.py +105 -0
  267. oci/distributed_database/models/distributed_database_catalog.py +192 -0
  268. oci/distributed_database/models/distributed_database_catalog_with_exadb_xs.py +466 -0
  269. oci/distributed_database/models/distributed_database_collection.py +70 -0
  270. oci/distributed_database/models/distributed_database_gsm.py +385 -0
  271. oci/distributed_database/models/distributed_database_private_endpoint.py +639 -0
  272. oci/distributed_database/models/distributed_database_private_endpoint_collection.py +70 -0
  273. oci/distributed_database/models/distributed_database_private_endpoint_summary.py +479 -0
  274. oci/distributed_database/models/distributed_database_shard.py +192 -0
  275. oci/distributed_database/models/distributed_database_shard_with_exadb_xs.py +499 -0
  276. oci/distributed_database/models/distributed_database_summary.py +904 -0
  277. oci/distributed_database/models/distributed_db_backup_config.py +536 -0
  278. oci/distributed_database/models/distributed_db_backup_destination.py +362 -0
  279. oci/distributed_database/models/distributed_db_connection_string.py +70 -0
  280. oci/distributed_database/models/distributed_db_gsm_image.py +105 -0
  281. oci/distributed_database/models/distributed_db_metadata.py +70 -0
  282. oci/distributed_database/models/generate_distributed_autonomous_database_wallet_details.py +70 -0
  283. oci/distributed_database/models/generate_distributed_database_wallet_details.py +70 -0
  284. oci/distributed_database/models/patch_distributed_autonomous_database_details.py +73 -0
  285. oci/distributed_database/models/patch_distributed_database_details.py +73 -0
  286. oci/distributed_database/models/patch_insert_instruction.py +87 -0
  287. oci/distributed_database/models/patch_instruction.py +154 -0
  288. oci/distributed_database/models/patch_merge_instruction.py +95 -0
  289. oci/distributed_database/models/patch_remove_instruction.py +57 -0
  290. oci/distributed_database/models/shard_peer_with_dedicated_infra.py +331 -0
  291. oci/distributed_database/models/shard_peer_with_exadb_xs.py +331 -0
  292. oci/distributed_database/models/update_distributed_autonomous_database_details.py +136 -0
  293. oci/distributed_database/models/update_distributed_database_details.py +136 -0
  294. oci/distributed_database/models/update_distributed_database_private_endpoint_details.py +198 -0
  295. oci/distributed_database/models/upload_distributed_autonomous_database_signed_certificate_and_generate_wallet_details.py +71 -0
  296. oci/distributed_database/models/upload_distributed_database_signed_certificate_and_generate_wallet_details.py +71 -0
  297. oci/distributed_database/models/work_request.py +516 -0
  298. oci/distributed_database/models/work_request_error.py +134 -0
  299. oci/distributed_database/models/work_request_error_collection.py +70 -0
  300. oci/distributed_database/models/work_request_log_entry.py +101 -0
  301. oci/distributed_database/models/work_request_log_entry_collection.py +70 -0
  302. oci/distributed_database/models/work_request_resource.py +232 -0
  303. oci/distributed_database/models/work_request_summary.py +516 -0
  304. oci/distributed_database/models/work_request_summary_collection.py +70 -0
  305. oci/dns/dns_client.py +54 -54
  306. oci/dts/appliance_export_job_client.py +6 -6
  307. oci/dts/shipping_vendors_client.py +1 -1
  308. oci/dts/transfer_appliance_client.py +8 -8
  309. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  310. oci/dts/transfer_device_client.py +5 -5
  311. oci/dts/transfer_job_client.py +6 -6
  312. oci/dts/transfer_package_client.py +7 -7
  313. oci/em_warehouse/em_warehouse_client.py +13 -13
  314. oci/email/email_client.py +31 -31
  315. oci/email_data_plane/email_dp_client.py +1 -1
  316. oci/events/events_client.py +6 -6
  317. oci/file_storage/file_storage_client.py +74 -74
  318. oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
  319. oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
  320. oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
  321. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  322. oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
  323. oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
  324. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
  325. oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
  326. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  327. oci/functions/functions_invoke_client.py +1 -1
  328. oci/functions/functions_management_client.py +16 -16
  329. oci/fusion_apps/fusion_applications_client.py +41 -41
  330. oci/generative_ai/generative_ai_client.py +22 -22
  331. oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
  332. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  333. oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
  334. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  335. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  336. oci/golden_gate/golden_gate_client.py +89 -89
  337. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  338. oci/governance_rules_control_plane/work_request_client.py +5 -5
  339. oci/healthchecks/health_checks_client.py +17 -17
  340. oci/identity/identity_client.py +145 -145
  341. oci/identity_data_plane/dataplane_client.py +2 -2
  342. oci/identity_domains/identity_domains_client.py +311 -311
  343. oci/integration/integration_instance_client.py +19 -19
  344. oci/jms/java_management_service_client.py +79 -79
  345. oci/jms_java_downloads/java_download_client.py +25 -25
  346. oci/key_management/ekm_client.py +5 -5
  347. oci/key_management/kms_crypto_client.py +6 -6
  348. oci/key_management/kms_hsm_cluster_client.py +12 -12
  349. oci/key_management/kms_management_client.py +21 -21
  350. oci/key_management/kms_vault_client.py +14 -14
  351. oci/license_manager/license_manager_client.py +18 -18
  352. oci/limits/limits_client.py +4 -4
  353. oci/limits/quotas_client.py +7 -7
  354. oci/load_balancer/load_balancer_client.py +61 -61
  355. oci/lockbox/lockbox_client.py +24 -24
  356. oci/log_analytics/log_analytics_client.py +200 -200
  357. oci/logging/logging_management_client.py +30 -30
  358. oci/loggingingestion/logging_client.py +1 -1
  359. oci/loggingsearch/log_search_client.py +1 -1
  360. oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
  361. oci/management_agent/management_agent_client.py +28 -28
  362. oci/management_dashboard/dashx_apis_client.py +474 -14
  363. oci/management_dashboard/models/management_dashboard_tile_details.py +33 -2
  364. oci/marketplace/account_client.py +2 -2
  365. oci/marketplace/marketplace_client.py +30 -30
  366. oci/marketplace_private_offer/attachment_client.py +5 -5
  367. oci/marketplace_private_offer/offer_client.py +6 -6
  368. oci/marketplace_publisher/attachment_client.py +5 -5
  369. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  370. oci/marketplace_publisher/offer_client.py +6 -6
  371. oci/media_services/media_services_client.py +60 -60
  372. oci/media_services/media_stream_client.py +2 -2
  373. oci/mngdmac/mac_device_client.py +3 -3
  374. oci/mngdmac/mac_order_client.py +11 -11
  375. oci/model_deployment/model_deployment_client.py +2 -2
  376. oci/monitoring/monitoring_client.py +18 -18
  377. oci/mysql/channels_client.py +7 -7
  378. oci/mysql/db_backups_client.py +7 -7
  379. oci/mysql/db_system_client.py +17 -17
  380. oci/mysql/models/__init__.py +6 -0
  381. oci/mysql/models/create_db_system_details.py +58 -0
  382. oci/mysql/models/create_rest_details.py +117 -0
  383. oci/mysql/models/db_system.py +58 -0
  384. oci/mysql/models/db_system_snapshot.py +58 -0
  385. oci/mysql/models/db_system_summary.py +27 -0
  386. oci/mysql/models/replica.py +31 -0
  387. oci/mysql/models/replica_overrides.py +33 -2
  388. oci/mysql/models/replica_summary.py +31 -0
  389. oci/mysql/models/rest_details.py +117 -0
  390. oci/mysql/models/update_db_system_details.py +58 -0
  391. oci/mysql/models/update_rest_details.py +117 -0
  392. oci/mysql/mysqlaas_client.py +7 -7
  393. oci/mysql/replicas_client.py +5 -5
  394. oci/mysql/work_requests_client.py +4 -4
  395. oci/network_firewall/models/__init__.py +24 -0
  396. oci/network_firewall/models/create_nat_rule_details.py +193 -0
  397. oci/network_firewall/models/create_nat_v4_rule_details.py +144 -0
  398. oci/network_firewall/models/create_network_firewall_details.py +27 -0
  399. oci/network_firewall/models/nat_configuration_request.py +70 -0
  400. oci/network_firewall/models/nat_configuration_response.py +101 -0
  401. oci/network_firewall/models/nat_rule.py +254 -0
  402. oci/network_firewall/models/nat_rule_collection.py +70 -0
  403. oci/network_firewall/models/nat_rule_match_criteria.py +132 -0
  404. oci/network_firewall/models/nat_rule_summary.py +228 -0
  405. oci/network_firewall/models/nat_v4_nat_rule.py +159 -0
  406. oci/network_firewall/models/nat_v4_nat_summary.py +152 -0
  407. oci/network_firewall/models/network_firewall.py +30 -11
  408. oci/network_firewall/models/network_firewall_policy.py +3 -11
  409. oci/network_firewall/models/network_firewall_policy_summary.py +3 -11
  410. oci/network_firewall/models/network_firewall_summary.py +30 -11
  411. oci/network_firewall/models/update_nat_rule_details.py +162 -0
  412. oci/network_firewall/models/update_nat_v4_rule_details.py +137 -0
  413. oci/network_firewall/models/update_network_firewall_details.py +27 -0
  414. oci/network_firewall/network_firewall_client.py +848 -108
  415. oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
  416. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  417. oci/nosql/nosql_client.py +24 -24
  418. oci/object_storage/object_storage_client.py +55 -55
  419. oci/oce/oce_instance_client.py +10 -10
  420. oci/oci_control_center/occ_metrics_client.py +3 -3
  421. oci/ocvp/cluster_client.py +5 -5
  422. oci/ocvp/esxi_host_client.py +8 -8
  423. oci/ocvp/sddc_client.py +14 -14
  424. oci/ocvp/work_request_client.py +4 -4
  425. oci/oda/management_client.py +59 -59
  426. oci/oda/oda_client.py +17 -17
  427. oci/oda/odapackage_client.py +7 -7
  428. oci/onesubscription/billing_schedule_client.py +1 -1
  429. oci/onesubscription/commitment_client.py +2 -2
  430. oci/onesubscription/computed_usage_client.py +3 -3
  431. oci/onesubscription/invoice_summary_client.py +2 -2
  432. oci/onesubscription/organization_subscription_client.py +1 -1
  433. oci/onesubscription/ratecard_client.py +1 -1
  434. oci/onesubscription/subscribed_service_client.py +2 -2
  435. oci/onesubscription/subscription_client.py +1 -1
  436. oci/ons/notification_control_plane_client.py +6 -6
  437. oci/ons/notification_data_plane_client.py +10 -10
  438. oci/opa/opa_instance_client.py +13 -13
  439. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  440. oci/opensearch/opensearch_cluster_client.py +17 -17
  441. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  442. oci/operator_access_control/access_requests_client.py +10 -10
  443. oci/operator_access_control/operator_actions_client.py +2 -2
  444. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  445. oci/operator_access_control/operator_control_client.py +6 -6
  446. oci/opsi/operations_insights_client.py +181 -181
  447. oci/optimizer/optimizer_client.py +26 -26
  448. oci/os_management/event_client.py +8 -8
  449. oci/os_management/os_management_client.py +69 -69
  450. oci/os_management_hub/event_client.py +8 -8
  451. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  452. oci/os_management_hub/managed_instance_client.py +33 -33
  453. oci/os_management_hub/managed_instance_group_client.py +26 -26
  454. oci/os_management_hub/management_station_client.py +10 -10
  455. oci/os_management_hub/onboarding_client.py +13 -13
  456. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  457. oci/os_management_hub/scheduled_job_client.py +7 -7
  458. oci/os_management_hub/software_source_client.py +33 -33
  459. oci/os_management_hub/work_request_client.py +5 -5
  460. oci/osp_gateway/address_rule_service_client.py +1 -1
  461. oci/osp_gateway/address_service_client.py +2 -2
  462. oci/osp_gateway/invoice_service_client.py +5 -5
  463. oci/osp_gateway/subscription_service_client.py +5 -5
  464. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  465. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  466. oci/osub_subscription/commitment_client.py +2 -2
  467. oci/osub_subscription/ratecard_client.py +1 -1
  468. oci/osub_subscription/subscription_client.py +1 -1
  469. oci/osub_usage/computed_usage_client.py +3 -3
  470. oci/psql/postgresql_client.py +34 -34
  471. oci/queue/queue_admin_client.py +11 -11
  472. oci/queue/queue_client.py +8 -8
  473. oci/recovery/database_recovery_client.py +26 -26
  474. oci/redis/redis_cluster_client.py +12 -12
  475. oci/resource_manager/resource_manager_client.py +52 -52
  476. oci/resource_scheduler/schedule_client.py +14 -14
  477. oci/resource_search/resource_search_client.py +3 -3
  478. oci/rover/rover_bundle_client.py +8 -8
  479. oci/rover/rover_cluster_client.py +8 -8
  480. oci/rover/rover_entitlement_client.py +6 -6
  481. oci/rover/rover_node_client.py +15 -15
  482. oci/rover/shape_client.py +1 -1
  483. oci/rover/work_requests_client.py +5 -5
  484. oci/sch/connector_plugins_client.py +2 -2
  485. oci/sch/service_connector_client.py +12 -12
  486. oci/secrets/secrets_client.py +3 -3
  487. oci/security_attribute/security_attribute_client.py +18 -18
  488. oci/service_catalog/service_catalog_client.py +26 -26
  489. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  490. oci/service_mesh/service_mesh_client.py +48 -48
  491. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  492. oci/streaming/stream_admin_client.py +18 -18
  493. oci/streaming/stream_client.py +8 -8
  494. oci/tenant_manager_control_plane/domain_client.py +5 -5
  495. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  496. oci/tenant_manager_control_plane/governance_client.py +2 -2
  497. oci/tenant_manager_control_plane/link_client.py +3 -3
  498. oci/tenant_manager_control_plane/orders_client.py +2 -2
  499. oci/tenant_manager_control_plane/organization_client.py +10 -10
  500. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  501. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  502. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  503. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  504. oci/threat_intelligence/threatintel_client.py +5 -5
  505. oci/usage/resources_client.py +2 -2
  506. oci/usage/rewards_client.py +6 -6
  507. oci/usage/usagelimits_client.py +1 -1
  508. oci/usage_api/models/average_carbon_emission.py +3 -3
  509. oci/usage_api/models/create_email_recipients_group_details.py +3 -3
  510. oci/usage_api/models/email_recipient.py +6 -6
  511. oci/usage_api/models/email_recipients_group.py +5 -5
  512. oci/usage_api/models/email_recipients_group_collection.py +3 -3
  513. oci/usage_api/models/email_recipients_group_summary.py +5 -5
  514. oci/usage_api/models/forecast.py +5 -3
  515. oci/usage_api/models/report_query.py +16 -16
  516. oci/usage_api/models/request_summarized_usages_details.py +4 -4
  517. oci/usage_api/models/request_usage_carbon_emissions_details.py +143 -2
  518. oci/usage_api/models/saved_custom_table.py +4 -4
  519. oci/usage_api/models/scheduled_run.py +12 -12
  520. oci/usage_api/models/scheduled_run_summary.py +12 -12
  521. oci/usage_api/models/update_email_recipients_group_details.py +3 -3
  522. oci/usage_api/models/usage_carbon_emission_aggregation.py +5 -5
  523. oci/usage_api/models/usage_carbon_emission_summary.py +36 -5
  524. oci/usage_api/models/usage_carbon_emissions_query.py +1 -1
  525. oci/usage_api/models/usage_carbon_emissions_query_collection.py +1 -1
  526. oci/usage_api/models/usage_carbon_emissions_query_summary.py +1 -1
  527. oci/usage_api/models/usage_carbon_emissions_report_query.py +98 -5
  528. oci/usage_api/usageapi_client.py +69 -69
  529. oci/usage_api/usageapi_client_composite_operations.py +4 -4
  530. oci/vault/vaults_client.py +13 -13
  531. oci/vbs_inst/vbs_instance_client.py +10 -10
  532. oci/version.py +1 -1
  533. oci/visual_builder/vb_instance_client.py +14 -14
  534. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  535. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  536. oci/waa/waa_client.py +13 -13
  537. oci/waa/work_request_client.py +4 -4
  538. oci/waas/redirect_client.py +6 -6
  539. oci/waas/waas_client.py +66 -66
  540. oci/waf/waf_client.py +24 -24
  541. oci/work_requests/work_request_client.py +4 -4
  542. oci/zpr/zpr_client.py +15 -15
  543. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/METADATA +1 -1
  544. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/RECORD +548 -378
  545. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/LICENSE.txt +0 -0
  546. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  547. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/WHEEL +0 -0
  548. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/top_level.txt +0 -0
@@ -71,6 +71,98 @@ class ComputeClientCompositeOperations(object):
71
71
  except Exception as e:
72
72
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
73
73
 
74
+ def attach_compute_host_group_host_and_wait_for_work_request(self, compute_host_id, attach_compute_host_group_host_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
75
+ """
76
+ Calls :py:func:`~oci.core.ComputeClient.attach_compute_host_group_host` and waits for the oci.work_requests.models.WorkRequest
77
+ to enter the given state(s).
78
+
79
+ :param str compute_host_id: (required)
80
+ The `OCID`__ of the compute host.
81
+
82
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
83
+
84
+ :param oci.core.models.AttachComputeHostGroupHostDetails attach_compute_host_group_host_details: (required)
85
+ The `OCID`__ of the compute host group.
86
+
87
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
88
+
89
+ :param list[str] work_request_states: (optional)
90
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
91
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
92
+
93
+ :param dict operation_kwargs:
94
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.attach_compute_host_group_host`
95
+
96
+ :param dict waiter_kwargs:
97
+ 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``
98
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
99
+ """
100
+ operation_result = self.client.attach_compute_host_group_host(compute_host_id, attach_compute_host_group_host_details, **operation_kwargs)
101
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
102
+ lowered_work_request_states = [w.lower() for w in work_request_states]
103
+ if 'opc-work-request-id' not in operation_result.headers:
104
+ return operation_result
105
+ work_request_id = operation_result.headers['opc-work-request-id']
106
+ try:
107
+ waiter_result = oci.wait_until(
108
+ self._work_request_client,
109
+ self._work_request_client.get_work_request(work_request_id),
110
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
111
+ **waiter_kwargs
112
+ )
113
+ return waiter_result
114
+ except Exception as e:
115
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
116
+
117
+ def attach_compute_host_group_host_and_wait_for_state(self, compute_host_id, attach_compute_host_group_host_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
118
+ """
119
+ Calls :py:func:`~oci.core.ComputeClient.attach_compute_host_group_host` and waits for the :py:class:`~oci.core.models.ComputeHost` acted upon
120
+ to enter the given state(s).
121
+
122
+ :param str compute_host_id: (required)
123
+ The `OCID`__ of the compute host.
124
+
125
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
126
+
127
+ :param oci.core.models.AttachComputeHostGroupHostDetails attach_compute_host_group_host_details: (required)
128
+ The `OCID`__ of the compute host group.
129
+
130
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
131
+
132
+ :param list[str] wait_for_states:
133
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.ComputeHost.lifecycle_state`
134
+
135
+ :param dict operation_kwargs:
136
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.attach_compute_host_group_host`
137
+
138
+ :param dict waiter_kwargs:
139
+ 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``
140
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
141
+ """
142
+ operation_result = self.client.attach_compute_host_group_host(compute_host_id, attach_compute_host_group_host_details, **operation_kwargs)
143
+ if not wait_for_states:
144
+ return operation_result
145
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
146
+ compute_host_id = operation_result.data.id
147
+
148
+ try:
149
+ waiter_result = oci.wait_until(
150
+ self.client,
151
+ self.client.get_compute_host(compute_host_id), # noqa: F821
152
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
153
+ **waiter_kwargs
154
+ )
155
+ result_to_return = waiter_result
156
+
157
+ return result_to_return
158
+ except (NameError, TypeError) as e:
159
+ if not e.args:
160
+ e.args = ('',)
161
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
162
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
163
+ except Exception as e:
164
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
165
+
74
166
  def attach_vnic_and_wait_for_state(self, attach_vnic_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
75
167
  """
76
168
  Calls :py:func:`~oci.core.ComputeClient.attach_vnic` and waits for the :py:class:`~oci.core.models.VnicAttachment` acted upon
@@ -318,6 +410,47 @@ class ComputeClientCompositeOperations(object):
318
410
  except Exception as e:
319
411
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
320
412
 
413
+ def change_compute_host_group_compartment_and_wait_for_work_request(self, compute_host_group_id, change_compute_host_group_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
414
+ """
415
+ Calls :py:func:`~oci.core.ComputeClient.change_compute_host_group_compartment` and waits for the oci.work_requests.models.WorkRequest
416
+ to enter the given state(s).
417
+
418
+ :param str compute_host_group_id: (required)
419
+ The `OCID`__ of the compute host group.
420
+
421
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
422
+
423
+ :param oci.core.models.ChangeComputeHostGroupCompartmentDetails change_compute_host_group_compartment_details: (required)
424
+ The configuration details for the move operation.
425
+
426
+ :param list[str] work_request_states: (optional)
427
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
428
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
429
+
430
+ :param dict operation_kwargs:
431
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.change_compute_host_group_compartment`
432
+
433
+ :param dict waiter_kwargs:
434
+ 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``
435
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
436
+ """
437
+ operation_result = self.client.change_compute_host_group_compartment(compute_host_group_id, change_compute_host_group_compartment_details, **operation_kwargs)
438
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
439
+ lowered_work_request_states = [w.lower() for w in work_request_states]
440
+ if 'opc-work-request-id' not in operation_result.headers:
441
+ return operation_result
442
+ work_request_id = operation_result.headers['opc-work-request-id']
443
+ try:
444
+ waiter_result = oci.wait_until(
445
+ self._work_request_client,
446
+ self._work_request_client.get_work_request(work_request_id),
447
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
448
+ **waiter_kwargs
449
+ )
450
+ return waiter_result
451
+ except Exception as e:
452
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
453
+
321
454
  def change_dedicated_vm_host_compartment_and_wait_for_work_request(self, dedicated_vm_host_id, change_dedicated_vm_host_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
322
455
  """
323
456
  Calls :py:func:`~oci.core.ComputeClient.change_dedicated_vm_host_compartment` and waits for the oci.work_requests.models.WorkRequest
@@ -690,6 +823,84 @@ class ComputeClientCompositeOperations(object):
690
823
  except Exception as e:
691
824
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
692
825
 
826
+ def create_compute_host_group_and_wait_for_work_request(self, create_compute_host_group_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
827
+ """
828
+ Calls :py:func:`~oci.core.ComputeClient.create_compute_host_group` and waits for the oci.work_requests.models.WorkRequest
829
+ to enter the given state(s).
830
+
831
+ :param oci.core.models.CreateComputeHostGroupDetails create_compute_host_group_details: (required)
832
+ Details for creating a new host group.
833
+
834
+ :param list[str] work_request_states: (optional)
835
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
836
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
837
+
838
+ :param dict operation_kwargs:
839
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.create_compute_host_group`
840
+
841
+ :param dict waiter_kwargs:
842
+ 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``
843
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
844
+ """
845
+ operation_result = self.client.create_compute_host_group(create_compute_host_group_details, **operation_kwargs)
846
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
847
+ lowered_work_request_states = [w.lower() for w in work_request_states]
848
+ if 'opc-work-request-id' not in operation_result.headers:
849
+ return operation_result
850
+ work_request_id = operation_result.headers['opc-work-request-id']
851
+ try:
852
+ waiter_result = oci.wait_until(
853
+ self._work_request_client,
854
+ self._work_request_client.get_work_request(work_request_id),
855
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
856
+ **waiter_kwargs
857
+ )
858
+ return waiter_result
859
+ except Exception as e:
860
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
861
+
862
+ def create_compute_host_group_and_wait_for_state(self, create_compute_host_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
863
+ """
864
+ Calls :py:func:`~oci.core.ComputeClient.create_compute_host_group` and waits for the :py:class:`~oci.core.models.ComputeHostGroup` acted upon
865
+ to enter the given state(s).
866
+
867
+ :param oci.core.models.CreateComputeHostGroupDetails create_compute_host_group_details: (required)
868
+ Details for creating a new host group.
869
+
870
+ :param list[str] wait_for_states:
871
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.ComputeHostGroup.lifecycle_state`
872
+
873
+ :param dict operation_kwargs:
874
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.create_compute_host_group`
875
+
876
+ :param dict waiter_kwargs:
877
+ 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``
878
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
879
+ """
880
+ operation_result = self.client.create_compute_host_group(create_compute_host_group_details, **operation_kwargs)
881
+ if not wait_for_states:
882
+ return operation_result
883
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
884
+ compute_host_group_id = operation_result.data.id
885
+
886
+ try:
887
+ waiter_result = oci.wait_until(
888
+ self.client,
889
+ self.client.get_compute_host_group(compute_host_group_id), # noqa: F821
890
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
891
+ **waiter_kwargs
892
+ )
893
+ result_to_return = waiter_result
894
+
895
+ return result_to_return
896
+ except (NameError, TypeError) as e:
897
+ if not e.args:
898
+ e.args = ('',)
899
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
900
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
901
+ except Exception as e:
902
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
903
+
693
904
  def create_dedicated_vm_host_and_wait_for_work_request(self, create_dedicated_vm_host_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
694
905
  """
695
906
  Calls :py:func:`~oci.core.ComputeClient.create_dedicated_vm_host` and waits for the oci.work_requests.models.WorkRequest
@@ -1062,6 +1273,67 @@ class ComputeClientCompositeOperations(object):
1062
1273
  except Exception as e:
1063
1274
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1064
1275
 
1276
+ def delete_compute_host_group_and_wait_for_state(self, compute_host_group_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1277
+ """
1278
+ Calls :py:func:`~oci.core.ComputeClient.delete_compute_host_group` and waits for the :py:class:`~oci.core.models.ComputeHostGroup` acted upon
1279
+ to enter the given state(s).
1280
+
1281
+ :param str compute_host_group_id: (required)
1282
+ The `OCID`__ of the compute host group.
1283
+
1284
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1285
+
1286
+ :param list[str] wait_for_states:
1287
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.ComputeHostGroup.lifecycle_state`
1288
+
1289
+ :param dict operation_kwargs:
1290
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.delete_compute_host_group`
1291
+
1292
+ :param dict waiter_kwargs:
1293
+ 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``
1294
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1295
+ """
1296
+ initial_get_result = self.client.get_compute_host_group(compute_host_group_id)
1297
+ operation_result = None
1298
+ try:
1299
+ operation_result = self.client.delete_compute_host_group(compute_host_group_id, **operation_kwargs)
1300
+ except oci.exceptions.ServiceError as e:
1301
+ if e.status == 404:
1302
+ return WAIT_RESOURCE_NOT_FOUND
1303
+ else:
1304
+ raise e
1305
+
1306
+ if not wait_for_states:
1307
+ return operation_result
1308
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1309
+
1310
+ try:
1311
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
1312
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_compute_host_group, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
1313
+ else:
1314
+ """
1315
+ If the user does not send in this value, we set it to True by default.
1316
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
1317
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
1318
+ """
1319
+ waiter_kwargs["succeed_on_not_found"] = True
1320
+ waiter_result = oci.wait_until(
1321
+ self.client,
1322
+ initial_get_result, # noqa: F821
1323
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1324
+ **waiter_kwargs
1325
+ )
1326
+ result_to_return = waiter_result
1327
+
1328
+ return result_to_return
1329
+ except (NameError, TypeError) as e:
1330
+ if not e.args:
1331
+ e.args = ('',)
1332
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
1333
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1334
+ except Exception as e:
1335
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1336
+
1065
1337
  def delete_console_history_and_wait_for_state(self, instance_console_history_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1066
1338
  """
1067
1339
  Calls :py:func:`~oci.core.ComputeClient.delete_console_history` and waits for the :py:class:`~oci.core.models.ConsoleHistory` acted upon
@@ -1336,6 +1608,49 @@ class ComputeClientCompositeOperations(object):
1336
1608
  except Exception as e:
1337
1609
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1338
1610
 
1611
+ def detach_compute_host_group_host_and_wait_for_work_request(self, compute_host_id, detach_compute_host_group_host_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
1612
+ """
1613
+ Calls :py:func:`~oci.core.ComputeClient.detach_compute_host_group_host` and waits for the oci.work_requests.models.WorkRequest
1614
+ to enter the given state(s).
1615
+
1616
+ :param str compute_host_id: (required)
1617
+ The `OCID`__ of the compute host.
1618
+
1619
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1620
+
1621
+ :param oci.core.models.DetachComputeHostGroupHostDetails detach_compute_host_group_host_details: (required)
1622
+ The `OCID`__ of the compute host group.
1623
+
1624
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1625
+
1626
+ :param list[str] work_request_states: (optional)
1627
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
1628
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
1629
+
1630
+ :param dict operation_kwargs:
1631
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.detach_compute_host_group_host`
1632
+
1633
+ :param dict waiter_kwargs:
1634
+ 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``
1635
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1636
+ """
1637
+ operation_result = self.client.detach_compute_host_group_host(compute_host_id, detach_compute_host_group_host_details, **operation_kwargs)
1638
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
1639
+ lowered_work_request_states = [w.lower() for w in work_request_states]
1640
+ if 'opc-work-request-id' not in operation_result.headers:
1641
+ return operation_result
1642
+ work_request_id = operation_result.headers['opc-work-request-id']
1643
+ try:
1644
+ waiter_result = oci.wait_until(
1645
+ self._work_request_client,
1646
+ self._work_request_client.get_work_request(work_request_id),
1647
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
1648
+ **waiter_kwargs
1649
+ )
1650
+ return waiter_result
1651
+ except Exception as e:
1652
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1653
+
1339
1654
  def detach_vnic_and_wait_for_state(self, vnic_attachment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1340
1655
  """
1341
1656
  Calls :py:func:`~oci.core.ComputeClient.detach_vnic` and waits for the :py:class:`~oci.core.models.VnicAttachment` acted upon
@@ -2030,6 +2345,94 @@ class ComputeClientCompositeOperations(object):
2030
2345
  except Exception as e:
2031
2346
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2032
2347
 
2348
+ def update_compute_host_group_and_wait_for_work_request(self, compute_host_group_id, update_compute_host_group_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
2349
+ """
2350
+ Calls :py:func:`~oci.core.ComputeClient.update_compute_host_group` and waits for the oci.work_requests.models.WorkRequest
2351
+ to enter the given state(s).
2352
+
2353
+ :param str compute_host_group_id: (required)
2354
+ The `OCID`__ of the compute host group.
2355
+
2356
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2357
+
2358
+ :param oci.core.models.UpdateComputeHostGroupDetails update_compute_host_group_details: (required)
2359
+ Update compute host group details.
2360
+
2361
+ :param list[str] work_request_states: (optional)
2362
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
2363
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
2364
+
2365
+ :param dict operation_kwargs:
2366
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.update_compute_host_group`
2367
+
2368
+ :param dict waiter_kwargs:
2369
+ 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``
2370
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
2371
+ """
2372
+ operation_result = self.client.update_compute_host_group(compute_host_group_id, update_compute_host_group_details, **operation_kwargs)
2373
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
2374
+ lowered_work_request_states = [w.lower() for w in work_request_states]
2375
+ if 'opc-work-request-id' not in operation_result.headers:
2376
+ return operation_result
2377
+ work_request_id = operation_result.headers['opc-work-request-id']
2378
+ try:
2379
+ waiter_result = oci.wait_until(
2380
+ self._work_request_client,
2381
+ self._work_request_client.get_work_request(work_request_id),
2382
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
2383
+ **waiter_kwargs
2384
+ )
2385
+ return waiter_result
2386
+ except Exception as e:
2387
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2388
+
2389
+ def update_compute_host_group_and_wait_for_state(self, compute_host_group_id, update_compute_host_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2390
+ """
2391
+ Calls :py:func:`~oci.core.ComputeClient.update_compute_host_group` and waits for the :py:class:`~oci.core.models.ComputeHostGroup` acted upon
2392
+ to enter the given state(s).
2393
+
2394
+ :param str compute_host_group_id: (required)
2395
+ The `OCID`__ of the compute host group.
2396
+
2397
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2398
+
2399
+ :param oci.core.models.UpdateComputeHostGroupDetails update_compute_host_group_details: (required)
2400
+ Update compute host group details.
2401
+
2402
+ :param list[str] wait_for_states:
2403
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.ComputeHostGroup.lifecycle_state`
2404
+
2405
+ :param dict operation_kwargs:
2406
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.update_compute_host_group`
2407
+
2408
+ :param dict waiter_kwargs:
2409
+ 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``
2410
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
2411
+ """
2412
+ operation_result = self.client.update_compute_host_group(compute_host_group_id, update_compute_host_group_details, **operation_kwargs)
2413
+ if not wait_for_states:
2414
+ return operation_result
2415
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
2416
+ compute_host_group_id = operation_result.data.id
2417
+
2418
+ try:
2419
+ waiter_result = oci.wait_until(
2420
+ self.client,
2421
+ self.client.get_compute_host_group(compute_host_group_id), # noqa: F821
2422
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
2423
+ **waiter_kwargs
2424
+ )
2425
+ result_to_return = waiter_result
2426
+
2427
+ return result_to_return
2428
+ except (NameError, TypeError) as e:
2429
+ if not e.args:
2430
+ e.args = ('',)
2431
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
2432
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2433
+ except Exception as e:
2434
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2435
+
2033
2436
  def update_console_history_and_wait_for_state(self, instance_console_history_id, update_console_history_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2034
2437
  """
2035
2438
  Calls :py:func:`~oci.core.ComputeClient.update_console_history` and waits for the :py:class:`~oci.core.models.ConsoleHistory` acted upon