oci 2.142.0__py3-none-any.whl → 2.143.1__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 (511) 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 +9 -9
  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/base_client.py +2 -2
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +84 -84
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/capacity_management/capacity_management_client.py +32 -32
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +6 -6
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +15 -15
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +155 -155
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +44 -44
  50. oci/container_instances/container_instance_client.py +18 -18
  51. oci/core/blockstorage_client.py +60 -60
  52. oci/core/compute_client.py +102 -102
  53. oci/core/compute_management_client.py +32 -32
  54. oci/core/models/__init__.py +18 -0
  55. oci/core/models/byoasn.py +501 -0
  56. oci/core/models/byoasn_byoip_range.py +173 -0
  57. oci/core/models/byoasn_collection.py +72 -0
  58. oci/core/models/byoasn_summary.py +360 -0
  59. oci/core/models/byoip_range.py +27 -0
  60. oci/core/models/byoip_range_origin_asn.py +138 -0
  61. oci/core/models/change_byoasn_compartment_details.py +76 -0
  62. oci/core/models/create_byoasn_details.py +222 -0
  63. oci/core/models/set_origin_asn_details.py +107 -0
  64. oci/core/models/update_byoasn_details.py +156 -0
  65. oci/core/virtual_network_client.py +1426 -379
  66. oci/core/virtual_network_client_composite_operations.py +229 -0
  67. oci/dashboard_service/dashboard_client.py +6 -6
  68. oci/dashboard_service/dashboard_group_client.py +6 -6
  69. oci/data_catalog/data_catalog_client.py +149 -149
  70. oci/data_flow/data_flow_client.py +45 -45
  71. oci/data_integration/data_integration_client.py +163 -163
  72. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  73. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  74. oci/data_safe/data_safe_client.py +292 -292
  75. oci/data_science/data_science_client.py +92 -92
  76. oci/database/database_client.py +2132 -1266
  77. oci/database/database_client_composite_operations.py +573 -0
  78. oci/database/models/__init__.py +24 -0
  79. oci/database/models/autonomous_dw_database.py +4609 -0
  80. oci/database/models/backup.py +29 -2
  81. oci/database/models/backup_summary.py +29 -2
  82. oci/database/models/cloud_exadata_infrastructure.py +111 -2
  83. oci/database/models/cloud_exadata_infrastructure_summary.py +111 -2
  84. oci/database/models/cloud_vm_cluster.py +49 -2
  85. oci/database/models/cloud_vm_cluster_summary.py +49 -2
  86. oci/database/models/convert_to_standalone_details.py +76 -0
  87. oci/database/models/create_cloud_exadata_infrastructure_details.py +64 -2
  88. oci/database/models/create_data_guard_association_details.py +27 -0
  89. oci/database/models/create_data_guard_association_to_existing_db_system_details.py +7 -0
  90. oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.py +7 -0
  91. oci/database/models/create_data_guard_association_with_new_db_system_details.py +7 -0
  92. oci/database/models/create_database_base.py +13 -3
  93. oci/database/models/create_database_details.py +29 -2
  94. oci/database/models/create_database_from_backup.py +1 -1
  95. oci/database/models/create_database_from_backup_details.py +27 -0
  96. oci/database/models/create_exadata_infrastructure_details.py +62 -0
  97. oci/database/models/create_new_database_details.py +1 -1
  98. oci/database/models/create_stand_by_database_details.py +108 -0
  99. oci/database/models/create_standby_details.py +396 -0
  100. oci/database/models/data_guard_group.py +132 -0
  101. oci/database/models/data_guard_group_member.py +406 -0
  102. oci/database/models/database.py +56 -2
  103. oci/database/models/database_summary.py +56 -2
  104. oci/database/models/db_server.py +49 -2
  105. oci/database/models/db_server_summary.py +49 -2
  106. oci/database/models/db_system_shape_summary.py +109 -0
  107. oci/database/models/encryption_key_location_details.py +101 -0
  108. oci/database/models/exadata_infrastructure.py +118 -5
  109. oci/database/models/exadata_infrastructure_summary.py +118 -5
  110. oci/database/models/external_hsm_encryption_details.py +82 -0
  111. oci/database/models/failover_data_guard_details.py +76 -0
  112. oci/database/models/flex_component_summary.py +235 -2
  113. oci/database/models/reinstate_data_guard_details.py +111 -0
  114. oci/database/models/switch_over_data_guard_details.py +76 -0
  115. oci/database/models/update_autonomous_database_details.py +37 -2
  116. oci/database/models/update_data_guard_details.py +241 -0
  117. oci/database/models/update_exadata_infrastructure_details.py +7 -3
  118. oci/database/models/vm_cluster.py +49 -2
  119. oci/database/models/vm_cluster_summary.py +49 -2
  120. oci/database_management/db_management_client.py +2738 -600
  121. oci/database_management/db_management_client_composite_operations.py +301 -0
  122. oci/database_management/diagnosability_client.py +4 -4
  123. oci/database_management/managed_my_sql_databases_client.py +275 -7
  124. oci/database_management/models/__init__.py +54 -0
  125. oci/database_management/models/alert_log_summary.py +14 -6
  126. oci/database_management/models/attention_log_summary.py +14 -6
  127. oci/database_management/models/awr_db_snapshot_range_summary.py +93 -0
  128. oci/database_management/models/awr_db_summary.py +93 -0
  129. oci/database_management/models/base_database_ha_details.py +540 -0
  130. oci/database_management/models/create_external_my_sql_database_connector_details.py +99 -0
  131. oci/database_management/models/create_external_my_sql_database_details.py +103 -0
  132. oci/database_management/models/create_my_sql_database_connector_details.py +329 -0
  133. oci/database_management/models/database_backup_metrics.py +722 -0
  134. oci/database_management/models/database_backup_summary.py +263 -0
  135. oci/database_management/models/database_fleet_backup_metrics.py +72 -0
  136. oci/database_management/models/database_fleet_dataguard_metrics.py +72 -0
  137. oci/database_management/models/database_fleet_ha_overview_metrics.py +72 -0
  138. oci/database_management/models/database_ha_backup_details.py +722 -0
  139. oci/database_management/models/database_ha_metrics.py +629 -0
  140. oci/database_management/models/dataguard_metrics.py +664 -0
  141. oci/database_management/models/disable_external_mysql_associated_service_details.py +146 -0
  142. oci/database_management/models/enable_external_database_management_details.py +72 -0
  143. oci/database_management/models/enable_external_mysql_associated_service_details.py +146 -0
  144. oci/database_management/models/exadata_infrastructure_lifecycle_state_values.py +108 -0
  145. oci/database_management/models/external_my_sql_database.py +181 -0
  146. oci/database_management/models/external_my_sql_database_collection.py +72 -0
  147. oci/database_management/models/external_my_sql_database_connector.py +761 -0
  148. oci/database_management/models/external_my_sql_database_summary.py +365 -0
  149. oci/database_management/models/ha_metric_definition.py +202 -0
  150. oci/database_management/models/managed_my_sql_database.py +192 -2
  151. oci/database_management/models/managed_my_sql_database_summary.py +161 -2
  152. oci/database_management/models/my_sql_connector_collection.py +72 -0
  153. oci/database_management/models/my_sql_data_summary.py +93 -0
  154. oci/database_management/models/my_sql_database_connector_summary.py +711 -0
  155. oci/database_management/models/stand_by_database_dataguard_metrics.py +294 -0
  156. oci/database_management/models/update_external_my_sql_database_connector_details.py +99 -0
  157. oci/database_management/models/update_external_my_sql_database_details.py +72 -0
  158. oci/database_management/models/update_my_sql_database_connector_details.py +329 -0
  159. oci/database_management/models/work_request.py +23 -3
  160. oci/database_management/models/work_request_summary.py +23 -3
  161. oci/database_management/perfhub_client.py +1 -1
  162. oci/database_management/sql_tuning_client.py +17 -17
  163. oci/database_migration/database_migration_client.py +42 -42
  164. oci/database_tools/database_tools_client.py +23 -23
  165. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  166. oci/delegate_access_control/work_request_client.py +4 -4
  167. oci/demand_signal/occ_demand_signal_client.py +7 -7
  168. oci/desktops/desktop_service_client.py +21 -21
  169. oci/devops/devops_client.py +141 -141
  170. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  171. oci/disaster_recovery/models/__init__.py +48 -0
  172. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_container_database_details.py +1 -1
  173. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +1 -1
  174. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +1 -1
  175. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +1 -1
  176. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
  177. oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
  178. oci/disaster_recovery/models/create_dr_protection_group_member_details.py +11 -3
  179. oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +1 -1
  180. oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +1 -1
  181. oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +1 -1
  182. oci/disaster_recovery/models/create_dr_protection_group_member_object_storage_bucket_details.py +1 -1
  183. oci/disaster_recovery/models/create_dr_protection_group_member_oke_cluster_details.py +351 -0
  184. oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +1 -1
  185. oci/disaster_recovery/models/create_oke_backup_location_details.py +111 -0
  186. oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +292 -0
  187. oci/disaster_recovery/models/create_oke_cluster_load_balancer_mapping_details.py +111 -0
  188. oci/disaster_recovery/models/create_oke_cluster_managed_node_pool_configuration_details.py +134 -0
  189. oci/disaster_recovery/models/create_oke_cluster_network_load_balancer_mapping_details.py +111 -0
  190. oci/disaster_recovery/models/create_oke_cluster_vault_mapping_details.py +111 -0
  191. oci/disaster_recovery/models/create_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
  192. oci/disaster_recovery/models/dr_plan_step.py +67 -3
  193. oci/disaster_recovery/models/dr_plan_step_execution.py +67 -3
  194. oci/disaster_recovery/models/dr_protection_group_member.py +11 -3
  195. oci/disaster_recovery/models/dr_protection_group_member_autonomous_container_database.py +1 -1
  196. oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +1 -1
  197. oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +1 -1
  198. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +1 -1
  199. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +1 -1
  200. oci/disaster_recovery/models/dr_protection_group_member_database.py +1 -1
  201. oci/disaster_recovery/models/dr_protection_group_member_file_system.py +1 -1
  202. oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +1 -1
  203. oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +1 -1
  204. oci/disaster_recovery/models/dr_protection_group_member_object_storage_bucket.py +1 -1
  205. oci/disaster_recovery/models/dr_protection_group_member_oke_cluster.py +351 -0
  206. oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +1 -1
  207. oci/disaster_recovery/models/oke_backup_location.py +146 -0
  208. oci/disaster_recovery/models/oke_cluster_backup_config.py +234 -0
  209. oci/disaster_recovery/models/oke_cluster_load_balancer_mapping.py +111 -0
  210. oci/disaster_recovery/models/oke_cluster_managed_node_pool_configuration.py +134 -0
  211. oci/disaster_recovery/models/oke_cluster_network_load_balancer_mapping.py +111 -0
  212. oci/disaster_recovery/models/oke_cluster_vault_mapping.py +111 -0
  213. oci/disaster_recovery/models/oke_cluster_virtual_node_pool_configuration.py +134 -0
  214. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_container_database_details.py +1 -1
  215. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +1 -1
  216. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +1 -1
  217. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +1 -1
  218. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
  219. oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
  220. oci/disaster_recovery/models/update_dr_protection_group_member_details.py +11 -3
  221. oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +1 -1
  222. oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +1 -1
  223. oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +1 -1
  224. oci/disaster_recovery/models/update_dr_protection_group_member_object_storage_bucket_details.py +1 -1
  225. oci/disaster_recovery/models/update_dr_protection_group_member_oke_cluster_details.py +351 -0
  226. oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +1 -1
  227. oci/disaster_recovery/models/update_oke_backup_location_details.py +111 -0
  228. oci/disaster_recovery/models/update_oke_cluster_backup_config_details.py +236 -0
  229. oci/disaster_recovery/models/update_oke_cluster_load_balancer_mapping_details.py +111 -0
  230. oci/disaster_recovery/models/update_oke_cluster_managed_node_pool_configuration_details.py +134 -0
  231. oci/disaster_recovery/models/update_oke_cluster_network_load_balancer_mapping_details.py +111 -0
  232. oci/disaster_recovery/models/update_oke_cluster_vault_mapping_details.py +111 -0
  233. oci/disaster_recovery/models/update_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
  234. oci/dns/dns_client.py +54 -54
  235. oci/dts/appliance_export_job_client.py +6 -6
  236. oci/dts/shipping_vendors_client.py +1 -1
  237. oci/dts/transfer_appliance_client.py +8 -8
  238. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  239. oci/dts/transfer_device_client.py +5 -5
  240. oci/dts/transfer_job_client.py +6 -6
  241. oci/dts/transfer_package_client.py +7 -7
  242. oci/em_warehouse/em_warehouse_client.py +13 -13
  243. oci/email/email_client.py +31 -31
  244. oci/email_data_plane/email_dp_client.py +1 -1
  245. oci/events/events_client.py +6 -6
  246. oci/file_storage/file_storage_client.py +68 -68
  247. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  248. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  249. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  250. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  251. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  252. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  253. oci/functions/functions_invoke_client.py +1 -1
  254. oci/functions/functions_management_client.py +16 -16
  255. oci/fusion_apps/fusion_applications_client.py +41 -41
  256. oci/generative_ai/generative_ai_client.py +22 -22
  257. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  258. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  259. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  260. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  261. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  262. oci/golden_gate/golden_gate_client.py +84 -84
  263. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  264. oci/governance_rules_control_plane/work_request_client.py +5 -5
  265. oci/healthchecks/health_checks_client.py +17 -17
  266. oci/identity/identity_client.py +145 -145
  267. oci/identity_data_plane/dataplane_client.py +2 -2
  268. oci/identity_domains/identity_domains_client.py +311 -311
  269. oci/integration/integration_instance_client.py +19 -19
  270. oci/jms/java_management_service_client.py +75 -75
  271. oci/jms_java_downloads/java_download_client.py +25 -25
  272. oci/key_management/ekm_client.py +5 -5
  273. oci/key_management/kms_crypto_client.py +6 -6
  274. oci/key_management/kms_hsm_cluster_client.py +12 -12
  275. oci/key_management/kms_management_client.py +21 -21
  276. oci/key_management/kms_vault_client.py +14 -14
  277. oci/license_manager/license_manager_client.py +18 -18
  278. oci/limits/limits_client.py +4 -4
  279. oci/limits/quotas_client.py +7 -7
  280. oci/load_balancer/load_balancer_client.py +61 -61
  281. oci/lockbox/lockbox_client.py +24 -24
  282. oci/log_analytics/log_analytics_client.py +193 -193
  283. oci/logging/logging_management_client.py +30 -30
  284. oci/loggingingestion/logging_client.py +1 -1
  285. oci/loggingsearch/log_search_client.py +1 -1
  286. oci/management_agent/management_agent_client.py +28 -28
  287. oci/management_dashboard/dashx_apis_client.py +14 -14
  288. oci/marketplace/account_client.py +2 -2
  289. oci/marketplace/marketplace_client.py +30 -30
  290. oci/marketplace_private_offer/attachment_client.py +5 -5
  291. oci/marketplace_private_offer/offer_client.py +6 -6
  292. oci/marketplace_publisher/attachment_client.py +5 -5
  293. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  294. oci/marketplace_publisher/offer_client.py +6 -6
  295. oci/media_services/media_services_client.py +60 -60
  296. oci/media_services/media_stream_client.py +2 -2
  297. oci/monitoring/monitoring_client.py +18 -18
  298. oci/mysql/channels_client.py +7 -7
  299. oci/mysql/db_backups_client.py +7 -7
  300. oci/mysql/db_system_client.py +17 -17
  301. oci/mysql/mysqlaas_client.py +7 -7
  302. oci/mysql/replicas_client.py +5 -5
  303. oci/mysql/work_requests_client.py +4 -4
  304. oci/network_firewall/network_firewall_client.py +86 -86
  305. oci/network_load_balancer/models/__init__.py +2 -0
  306. oci/network_load_balancer/models/backend.py +8 -8
  307. oci/network_load_balancer/models/backend_details.py +4 -4
  308. oci/network_load_balancer/models/backend_operational_status.py +92 -0
  309. oci/network_load_balancer/models/backend_set.py +64 -2
  310. oci/network_load_balancer/models/backend_set_details.py +64 -2
  311. oci/network_load_balancer/models/backend_set_summary.py +64 -2
  312. oci/network_load_balancer/models/backend_summary.py +8 -8
  313. oci/network_load_balancer/models/create_backend_details.py +8 -8
  314. oci/network_load_balancer/models/create_backend_set_details.py +64 -2
  315. oci/network_load_balancer/models/create_listener_details.py +3 -3
  316. oci/network_load_balancer/models/create_network_load_balancer_details.py +6 -6
  317. oci/network_load_balancer/models/health_checker.py +2 -2
  318. oci/network_load_balancer/models/health_checker_details.py +2 -2
  319. oci/network_load_balancer/models/listener.py +3 -3
  320. oci/network_load_balancer/models/listener_details.py +3 -3
  321. oci/network_load_balancer/models/listener_summary.py +3 -3
  322. oci/network_load_balancer/models/network_load_balancer.py +6 -6
  323. oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
  324. oci/network_load_balancer/models/update_backend_details.py +6 -6
  325. oci/network_load_balancer/models/update_backend_set_details.py +64 -2
  326. oci/network_load_balancer/models/update_listener_details.py +3 -3
  327. oci/network_load_balancer/network_load_balancer_client.py +150 -34
  328. oci/nosql/nosql_client.py +24 -24
  329. oci/object_storage/object_storage_client.py +55 -55
  330. oci/oce/oce_instance_client.py +10 -10
  331. oci/oci_control_center/occ_metrics_client.py +3 -3
  332. oci/ocvp/cluster_client.py +5 -5
  333. oci/ocvp/esxi_host_client.py +8 -8
  334. oci/ocvp/sddc_client.py +14 -14
  335. oci/ocvp/work_request_client.py +4 -4
  336. oci/oda/management_client.py +59 -59
  337. oci/oda/oda_client.py +17 -17
  338. oci/oda/odapackage_client.py +7 -7
  339. oci/onesubscription/billing_schedule_client.py +1 -1
  340. oci/onesubscription/commitment_client.py +2 -2
  341. oci/onesubscription/computed_usage_client.py +3 -3
  342. oci/onesubscription/invoice_summary_client.py +2 -2
  343. oci/onesubscription/organization_subscription_client.py +1 -1
  344. oci/onesubscription/ratecard_client.py +1 -1
  345. oci/onesubscription/subscribed_service_client.py +2 -2
  346. oci/onesubscription/subscription_client.py +1 -1
  347. oci/ons/notification_control_plane_client.py +6 -6
  348. oci/ons/notification_data_plane_client.py +10 -10
  349. oci/opa/opa_instance_client.py +13 -13
  350. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  351. oci/opensearch/opensearch_cluster_client.py +16 -16
  352. oci/operator_access_control/access_requests_client.py +10 -10
  353. oci/operator_access_control/operator_actions_client.py +2 -2
  354. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  355. oci/operator_access_control/operator_control_client.py +6 -6
  356. oci/opsi/models/__init__.py +14 -0
  357. oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
  358. oci/opsi/models/autonomous_database_insight.py +1 -1
  359. oci/opsi/models/autonomous_database_insight_summary.py +1 -1
  360. oci/opsi/models/change_external_mysql_database_insight_connection_details.py +76 -0
  361. oci/opsi/models/create_autonomous_database_insight_details.py +1 -1
  362. oci/opsi/models/create_database_insight_details.py +11 -3
  363. oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
  364. oci/opsi/models/create_external_mysql_database_insight_details.py +142 -0
  365. oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +1 -1
  366. oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
  367. oci/opsi/models/create_news_report_details.py +99 -5
  368. oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
  369. oci/opsi/models/database_configuration_summary.py +11 -3
  370. oci/opsi/models/database_insight.py +11 -3
  371. oci/opsi/models/database_insight_summary.py +11 -3
  372. oci/opsi/models/em_managed_external_database_configuration_summary.py +1 -1
  373. oci/opsi/models/em_managed_external_database_insight.py +1 -1
  374. oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
  375. oci/opsi/models/enable_autonomous_database_insight_details.py +1 -1
  376. oci/opsi/models/enable_database_insight_details.py +11 -3
  377. oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
  378. oci/opsi/models/enable_external_mysql_database_insight_details.py +86 -0
  379. oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +1 -1
  380. oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
  381. oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
  382. oci/opsi/models/external_mysql_database_configuration_summary.py +226 -0
  383. oci/opsi/models/external_mysql_database_insight.py +248 -0
  384. oci/opsi/models/external_mysql_database_insight_summary.py +280 -0
  385. oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +1 -1
  386. oci/opsi/models/macs_managed_cloud_database_insight.py +1 -1
  387. oci/opsi/models/macs_managed_cloud_database_insight_summary.py +1 -1
  388. oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
  389. oci/opsi/models/macs_managed_external_database_insight.py +1 -1
  390. oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
  391. oci/opsi/models/mds_my_sql_database_insight.py +1 -1
  392. oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
  393. oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
  394. oci/opsi/models/news_content_types.py +33 -2
  395. oci/opsi/models/news_report.py +99 -5
  396. oci/opsi/models/news_report_summary.py +99 -5
  397. oci/opsi/models/pe_comanaged_database_insight.py +1 -1
  398. oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
  399. oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
  400. oci/opsi/models/summarize_exadata_insight_resource_utilization_insight_aggregation.py +62 -0
  401. oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
  402. oci/opsi/models/update_database_insight_details.py +11 -3
  403. oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
  404. oci/opsi/models/update_external_mysql_database_insight_details.py +65 -0
  405. oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +1 -1
  406. oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
  407. oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
  408. oci/opsi/models/update_news_report_details.py +99 -5
  409. oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
  410. oci/opsi/models/vm_cluster_summary.py +8 -8
  411. oci/opsi/models/work_request.py +7 -3
  412. oci/opsi/operations_insights_client.py +332 -202
  413. oci/opsi/operations_insights_client_composite_operations.py +42 -0
  414. oci/optimizer/optimizer_client.py +26 -26
  415. oci/os_management/event_client.py +8 -8
  416. oci/os_management/os_management_client.py +69 -69
  417. oci/os_management_hub/event_client.py +8 -8
  418. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  419. oci/os_management_hub/managed_instance_client.py +31 -31
  420. oci/os_management_hub/managed_instance_group_client.py +25 -25
  421. oci/os_management_hub/management_station_client.py +10 -10
  422. oci/os_management_hub/onboarding_client.py +6 -6
  423. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  424. oci/os_management_hub/scheduled_job_client.py +7 -7
  425. oci/os_management_hub/software_source_client.py +27 -27
  426. oci/os_management_hub/work_request_client.py +4 -4
  427. oci/osp_gateway/address_rule_service_client.py +1 -1
  428. oci/osp_gateway/address_service_client.py +2 -2
  429. oci/osp_gateway/invoice_service_client.py +5 -5
  430. oci/osp_gateway/subscription_service_client.py +5 -5
  431. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  432. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  433. oci/osub_subscription/commitment_client.py +2 -2
  434. oci/osub_subscription/ratecard_client.py +1 -1
  435. oci/osub_subscription/subscription_client.py +1 -1
  436. oci/osub_usage/computed_usage_client.py +3 -3
  437. oci/psql/postgresql_client.py +33 -33
  438. oci/queue/queue_admin_client.py +11 -11
  439. oci/queue/queue_client.py +8 -8
  440. oci/recovery/database_recovery_client.py +26 -26
  441. oci/redis/redis_cluster_client.py +12 -12
  442. oci/resource_manager/resource_manager_client.py +52 -52
  443. oci/resource_scheduler/schedule_client.py +13 -13
  444. oci/resource_search/resource_search_client.py +3 -3
  445. oci/rover/rover_bundle_client.py +8 -8
  446. oci/rover/rover_cluster_client.py +8 -8
  447. oci/rover/rover_entitlement_client.py +6 -6
  448. oci/rover/rover_node_client.py +15 -15
  449. oci/rover/shape_client.py +1 -1
  450. oci/rover/work_requests_client.py +5 -5
  451. oci/sch/connector_plugins_client.py +2 -2
  452. oci/sch/service_connector_client.py +12 -12
  453. oci/secrets/secrets_client.py +3 -3
  454. oci/security_attribute/security_attribute_client.py +18 -18
  455. oci/service_catalog/service_catalog_client.py +26 -26
  456. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  457. oci/service_mesh/service_mesh_client.py +48 -48
  458. oci/stack_monitoring/stack_monitoring_client.py +71 -71
  459. oci/streaming/stream_admin_client.py +18 -18
  460. oci/streaming/stream_client.py +8 -8
  461. oci/tenant_manager_control_plane/domain_client.py +5 -5
  462. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  463. oci/tenant_manager_control_plane/governance_client.py +2 -2
  464. oci/tenant_manager_control_plane/link_client.py +3 -3
  465. oci/tenant_manager_control_plane/models/assigned_subscription_line_item_summary.py +35 -2
  466. oci/tenant_manager_control_plane/models/assigned_subscription_summary.py +35 -2
  467. oci/tenant_manager_control_plane/models/available_region_summary.py +35 -2
  468. oci/tenant_manager_control_plane/models/classic_assigned_subscription.py +57 -2
  469. oci/tenant_manager_control_plane/models/classic_assigned_subscription_summary.py +64 -2
  470. oci/tenant_manager_control_plane/models/classic_subscription_summary.py +7 -0
  471. oci/tenant_manager_control_plane/models/cloud_assigned_subscription_summary.py +7 -0
  472. oci/tenant_manager_control_plane/models/cloud_subscription_summary.py +7 -0
  473. oci/tenant_manager_control_plane/models/create_child_tenancy_details.py +33 -2
  474. oci/tenant_manager_control_plane/models/link_summary.py +35 -2
  475. oci/tenant_manager_control_plane/models/organization_summary.py +35 -2
  476. oci/tenant_manager_control_plane/models/organization_tenancy_summary.py +35 -2
  477. oci/tenant_manager_control_plane/models/subscription_line_item_summary.py +35 -2
  478. oci/tenant_manager_control_plane/models/subscription_mapping_summary.py +35 -2
  479. oci/tenant_manager_control_plane/models/subscription_summary.py +37 -4
  480. oci/tenant_manager_control_plane/models/work_request.py +23 -3
  481. oci/tenant_manager_control_plane/models/work_request_summary.py +23 -3
  482. oci/tenant_manager_control_plane/orders_client.py +2 -2
  483. oci/tenant_manager_control_plane/organization_client.py +10 -10
  484. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  485. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  486. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  487. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  488. oci/threat_intelligence/threatintel_client.py +5 -5
  489. oci/usage/resources_client.py +2 -2
  490. oci/usage/rewards_client.py +6 -6
  491. oci/usage/usagelimits_client.py +1 -1
  492. oci/usage_api/usageapi_client.py +33 -33
  493. oci/vault/vaults_client.py +13 -13
  494. oci/vbs_inst/vbs_instance_client.py +10 -10
  495. oci/version.py +1 -1
  496. oci/visual_builder/vb_instance_client.py +14 -14
  497. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  498. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  499. oci/waa/waa_client.py +13 -13
  500. oci/waa/work_request_client.py +4 -4
  501. oci/waas/redirect_client.py +6 -6
  502. oci/waas/waas_client.py +66 -66
  503. oci/waf/waf_client.py +24 -24
  504. oci/work_requests/work_request_client.py +4 -4
  505. oci/zpr/zpr_client.py +15 -15
  506. {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/METADATA +1 -1
  507. {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/RECORD +511 -431
  508. {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/LICENSE.txt +0 -0
  509. {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  510. {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/WHEEL +0 -0
  511. {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/top_level.txt +0 -0
@@ -489,6 +489,48 @@ class VirtualNetworkClientCompositeOperations(object):
489
489
  except Exception as e:
490
490
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
491
491
 
492
+ def create_byoasn_and_wait_for_state(self, create_byoasn_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
493
+ """
494
+ Calls :py:func:`~oci.core.VirtualNetworkClient.create_byoasn` and waits for the :py:class:`~oci.core.models.Byoasn` acted upon
495
+ to enter the given state(s).
496
+
497
+ :param oci.core.models.CreateByoasnDetails create_byoasn_details: (required)
498
+ Details needed to create a BYOASN Resource.
499
+
500
+ :param list[str] wait_for_states:
501
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.Byoasn.lifecycle_state`
502
+
503
+ :param dict operation_kwargs:
504
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.create_byoasn`
505
+
506
+ :param dict waiter_kwargs:
507
+ 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``
508
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
509
+ """
510
+ operation_result = self.client.create_byoasn(create_byoasn_details, **operation_kwargs)
511
+ if not wait_for_states:
512
+ return operation_result
513
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
514
+ byoasn_id = operation_result.data.id
515
+
516
+ try:
517
+ waiter_result = oci.wait_until(
518
+ self.client,
519
+ self.client.get_byoasn(byoasn_id), # noqa: F821
520
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
521
+ **waiter_kwargs
522
+ )
523
+ result_to_return = waiter_result
524
+
525
+ return result_to_return
526
+ except (NameError, TypeError) as e:
527
+ if not e.args:
528
+ e.args = ('',)
529
+ 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"', )
530
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
531
+ except Exception as e:
532
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
533
+
492
534
  def create_byoip_range_and_wait_for_state(self, create_byoip_range_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
493
535
  """
494
536
  Calls :py:func:`~oci.core.VirtualNetworkClient.create_byoip_range` and waits for the :py:class:`~oci.core.models.ByoipRange` acted upon
@@ -1581,6 +1623,67 @@ class VirtualNetworkClientCompositeOperations(object):
1581
1623
  except Exception as e:
1582
1624
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1583
1625
 
1626
+ def delete_byoasn_and_wait_for_state(self, byoasn_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1627
+ """
1628
+ Calls :py:func:`~oci.core.VirtualNetworkClient.delete_byoasn` and waits for the :py:class:`~oci.core.models.Byoasn` acted upon
1629
+ to enter the given state(s).
1630
+
1631
+ :param str byoasn_id: (required)
1632
+ The `OCID`__ of the `Byoasn` resource.
1633
+
1634
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1635
+
1636
+ :param list[str] wait_for_states:
1637
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.Byoasn.lifecycle_state`
1638
+
1639
+ :param dict operation_kwargs:
1640
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.delete_byoasn`
1641
+
1642
+ :param dict waiter_kwargs:
1643
+ 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``
1644
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1645
+ """
1646
+ initial_get_result = self.client.get_byoasn(byoasn_id)
1647
+ operation_result = None
1648
+ try:
1649
+ operation_result = self.client.delete_byoasn(byoasn_id, **operation_kwargs)
1650
+ except oci.exceptions.ServiceError as e:
1651
+ if e.status == 404:
1652
+ return WAIT_RESOURCE_NOT_FOUND
1653
+ else:
1654
+ raise e
1655
+
1656
+ if not wait_for_states:
1657
+ return operation_result
1658
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1659
+
1660
+ try:
1661
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
1662
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_byoasn, 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")
1663
+ else:
1664
+ """
1665
+ If the user does not send in this value, we set it to True by default.
1666
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
1667
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
1668
+ """
1669
+ waiter_kwargs["succeed_on_not_found"] = True
1670
+ waiter_result = oci.wait_until(
1671
+ self.client,
1672
+ initial_get_result, # noqa: F821
1673
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1674
+ **waiter_kwargs
1675
+ )
1676
+ result_to_return = waiter_result
1677
+
1678
+ return result_to_return
1679
+ except (NameError, TypeError) as e:
1680
+ if not e.args:
1681
+ e.args = ('',)
1682
+ 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"', )
1683
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1684
+ except Exception as e:
1685
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1686
+
1584
1687
  def delete_byoip_range_and_wait_for_work_request(self, byoip_range_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
1585
1688
  """
1586
1689
  Calls :py:func:`~oci.core.VirtualNetworkClient.delete_byoip_range` and waits for the oci.work_requests.models.WorkRequest
@@ -3541,6 +3644,94 @@ class VirtualNetworkClientCompositeOperations(object):
3541
3644
  except Exception as e:
3542
3645
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3543
3646
 
3647
+ def set_origin_asn_and_wait_for_work_request(self, byoip_range_id, set_origin_asn_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
3648
+ """
3649
+ Calls :py:func:`~oci.core.VirtualNetworkClient.set_origin_asn` and waits for the oci.work_requests.models.WorkRequest
3650
+ to enter the given state(s).
3651
+
3652
+ :param str byoip_range_id: (required)
3653
+ The `OCID`__ of the `ByoipRange` resource containing the BYOIP CIDR block.
3654
+
3655
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3656
+
3657
+ :param oci.core.models.SetOriginAsnDetails set_origin_asn_details: (required)
3658
+ ASN details
3659
+
3660
+ :param list[str] work_request_states: (optional)
3661
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
3662
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
3663
+
3664
+ :param dict operation_kwargs:
3665
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.set_origin_asn`
3666
+
3667
+ :param dict waiter_kwargs:
3668
+ 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``
3669
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
3670
+ """
3671
+ operation_result = self.client.set_origin_asn(byoip_range_id, set_origin_asn_details, **operation_kwargs)
3672
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
3673
+ lowered_work_request_states = [w.lower() for w in work_request_states]
3674
+ if 'opc-work-request-id' not in operation_result.headers:
3675
+ return operation_result
3676
+ work_request_id = operation_result.headers['opc-work-request-id']
3677
+ try:
3678
+ waiter_result = oci.wait_until(
3679
+ self._work_request_client,
3680
+ self._work_request_client.get_work_request(work_request_id),
3681
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
3682
+ **waiter_kwargs
3683
+ )
3684
+ return waiter_result
3685
+ except Exception as e:
3686
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3687
+
3688
+ def update_byoasn_and_wait_for_state(self, byoasn_id, update_byoasn_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3689
+ """
3690
+ Calls :py:func:`~oci.core.VirtualNetworkClient.update_byoasn` and waits for the :py:class:`~oci.core.models.Byoasn` acted upon
3691
+ to enter the given state(s).
3692
+
3693
+ :param str byoasn_id: (required)
3694
+ The `OCID`__ of the `Byoasn` resource.
3695
+
3696
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3697
+
3698
+ :param oci.core.models.UpdateByoasnDetails update_byoasn_details: (required)
3699
+ Byoasn Range details.
3700
+
3701
+ :param list[str] wait_for_states:
3702
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.Byoasn.lifecycle_state`
3703
+
3704
+ :param dict operation_kwargs:
3705
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.update_byoasn`
3706
+
3707
+ :param dict waiter_kwargs:
3708
+ 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``
3709
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
3710
+ """
3711
+ operation_result = self.client.update_byoasn(byoasn_id, update_byoasn_details, **operation_kwargs)
3712
+ if not wait_for_states:
3713
+ return operation_result
3714
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
3715
+ byoasn_id = operation_result.data.id
3716
+
3717
+ try:
3718
+ waiter_result = oci.wait_until(
3719
+ self.client,
3720
+ self.client.get_byoasn(byoasn_id), # noqa: F821
3721
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
3722
+ **waiter_kwargs
3723
+ )
3724
+ result_to_return = waiter_result
3725
+
3726
+ return result_to_return
3727
+ except (NameError, TypeError) as e:
3728
+ if not e.args:
3729
+ e.args = ('',)
3730
+ 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"', )
3731
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3732
+ except Exception as e:
3733
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3734
+
3544
3735
  def update_byoip_range_and_wait_for_state(self, byoip_range_id, update_byoip_range_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3545
3736
  """
3546
3737
  Calls :py:func:`~oci.core.VirtualNetworkClient.update_byoip_range` and waits for the :py:class:`~oci.core.models.ByoipRange` acted upon
@@ -4941,6 +5132,44 @@ class VirtualNetworkClientCompositeOperations(object):
4941
5132
  except Exception as e:
4942
5133
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
4943
5134
 
5135
+ def validate_byoasn_and_wait_for_work_request(self, byoasn_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
5136
+ """
5137
+ Calls :py:func:`~oci.core.VirtualNetworkClient.validate_byoasn` and waits for the oci.work_requests.models.WorkRequest
5138
+ to enter the given state(s).
5139
+
5140
+ :param str byoasn_id: (required)
5141
+ The `OCID`__ of the `Byoasn` resource.
5142
+
5143
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
5144
+
5145
+ :param list[str] work_request_states: (optional)
5146
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
5147
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
5148
+
5149
+ :param dict operation_kwargs:
5150
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.validate_byoasn`
5151
+
5152
+ :param dict waiter_kwargs:
5153
+ 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``
5154
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
5155
+ """
5156
+ operation_result = self.client.validate_byoasn(byoasn_id, **operation_kwargs)
5157
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
5158
+ lowered_work_request_states = [w.lower() for w in work_request_states]
5159
+ if 'opc-work-request-id' not in operation_result.headers:
5160
+ return operation_result
5161
+ work_request_id = operation_result.headers['opc-work-request-id']
5162
+ try:
5163
+ waiter_result = oci.wait_until(
5164
+ self._work_request_client,
5165
+ self._work_request_client.get_work_request(work_request_id),
5166
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
5167
+ **waiter_kwargs
5168
+ )
5169
+ return waiter_result
5170
+ except Exception as e:
5171
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
5172
+
4944
5173
  def validate_byoip_range_and_wait_for_work_request(self, byoip_range_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
4945
5174
  """
4946
5175
  Calls :py:func:`~oci.core.VirtualNetworkClient.validate_byoip_range` and waits for the oci.work_requests.models.WorkRequest
@@ -162,7 +162,7 @@ class DashboardClient(object):
162
162
  :rtype: :class:`~oci.response.Response`
163
163
 
164
164
  :example:
165
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/change_dashboard_group.py.html>`__ to see an example of how to use change_dashboard_group API.
165
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/change_dashboard_group.py.html>`__ to see an example of how to use change_dashboard_group API.
166
166
  """
167
167
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
168
168
  required_arguments = ['dashboardId']
@@ -279,7 +279,7 @@ class DashboardClient(object):
279
279
  :rtype: :class:`~oci.response.Response`
280
280
 
281
281
  :example:
282
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/create_dashboard.py.html>`__ to see an example of how to use create_dashboard API.
282
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/create_dashboard.py.html>`__ to see an example of how to use create_dashboard API.
283
283
  """
284
284
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
285
285
  required_arguments = []
@@ -386,7 +386,7 @@ class DashboardClient(object):
386
386
  :rtype: :class:`~oci.response.Response`
387
387
 
388
388
  :example:
389
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/delete_dashboard.py.html>`__ to see an example of how to use delete_dashboard API.
389
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/delete_dashboard.py.html>`__ to see an example of how to use delete_dashboard API.
390
390
  """
391
391
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
392
392
  required_arguments = ['dashboardId']
@@ -493,7 +493,7 @@ class DashboardClient(object):
493
493
  :rtype: :class:`~oci.response.Response`
494
494
 
495
495
  :example:
496
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/get_dashboard.py.html>`__ to see an example of how to use get_dashboard API.
496
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/get_dashboard.py.html>`__ to see an example of how to use get_dashboard API.
497
497
  """
498
498
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
499
499
  required_arguments = ['dashboardId']
@@ -634,7 +634,7 @@ class DashboardClient(object):
634
634
  :rtype: :class:`~oci.response.Response`
635
635
 
636
636
  :example:
637
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/list_dashboards.py.html>`__ to see an example of how to use list_dashboards API.
637
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/list_dashboards.py.html>`__ to see an example of how to use list_dashboards API.
638
638
  """
639
639
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
640
640
  required_arguments = ['dashboardGroupId']
@@ -783,7 +783,7 @@ class DashboardClient(object):
783
783
  :rtype: :class:`~oci.response.Response`
784
784
 
785
785
  :example:
786
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/update_dashboard.py.html>`__ to see an example of how to use update_dashboard API.
786
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/update_dashboard.py.html>`__ to see an example of how to use update_dashboard API.
787
787
  """
788
788
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
789
789
  required_arguments = ['dashboardId']
@@ -162,7 +162,7 @@ class DashboardGroupClient(object):
162
162
  :rtype: :class:`~oci.response.Response`
163
163
 
164
164
  :example:
165
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/change_dashboard_group_compartment.py.html>`__ to see an example of how to use change_dashboard_group_compartment API.
165
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/change_dashboard_group_compartment.py.html>`__ to see an example of how to use change_dashboard_group_compartment API.
166
166
  """
167
167
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
168
168
  required_arguments = ['dashboardGroupId']
@@ -279,7 +279,7 @@ class DashboardGroupClient(object):
279
279
  :rtype: :class:`~oci.response.Response`
280
280
 
281
281
  :example:
282
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/create_dashboard_group.py.html>`__ to see an example of how to use create_dashboard_group API.
282
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/create_dashboard_group.py.html>`__ to see an example of how to use create_dashboard_group API.
283
283
  """
284
284
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
285
285
  required_arguments = []
@@ -386,7 +386,7 @@ class DashboardGroupClient(object):
386
386
  :rtype: :class:`~oci.response.Response`
387
387
 
388
388
  :example:
389
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/delete_dashboard_group.py.html>`__ to see an example of how to use delete_dashboard_group API.
389
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/delete_dashboard_group.py.html>`__ to see an example of how to use delete_dashboard_group API.
390
390
  """
391
391
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
392
392
  required_arguments = ['dashboardGroupId']
@@ -493,7 +493,7 @@ class DashboardGroupClient(object):
493
493
  :rtype: :class:`~oci.response.Response`
494
494
 
495
495
  :example:
496
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/get_dashboard_group.py.html>`__ to see an example of how to use get_dashboard_group API.
496
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/get_dashboard_group.py.html>`__ to see an example of how to use get_dashboard_group API.
497
497
  """
498
498
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
499
499
  required_arguments = ['dashboardGroupId']
@@ -634,7 +634,7 @@ class DashboardGroupClient(object):
634
634
  :rtype: :class:`~oci.response.Response`
635
635
 
636
636
  :example:
637
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/list_dashboard_groups.py.html>`__ to see an example of how to use list_dashboard_groups API.
637
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/list_dashboard_groups.py.html>`__ to see an example of how to use list_dashboard_groups API.
638
638
  """
639
639
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
640
640
  required_arguments = ['compartmentId']
@@ -783,7 +783,7 @@ class DashboardGroupClient(object):
783
783
  :rtype: :class:`~oci.response.Response`
784
784
 
785
785
  :example:
786
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.142.0/dashboardservice/update_dashboard_group.py.html>`__ to see an example of how to use update_dashboard_group API.
786
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/update_dashboard_group.py.html>`__ to see an example of how to use update_dashboard_group API.
787
787
  """
788
788
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
789
789
  required_arguments = ['dashboardGroupId']