oci 2.130.0__py3-none-any.whl → 2.131.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 (470) 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 +22 -22
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +17 -17
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +9 -9
  19. oci/apm_control_plane/apm_domain_client.py +14 -14
  20. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  21. oci/apm_traces/attributes_client.py +8 -8
  22. oci/apm_traces/query_client.py +2 -2
  23. oci/apm_traces/trace_client.py +4 -4
  24. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  25. oci/artifacts/artifacts_client.py +32 -32
  26. oci/audit/audit_client.py +3 -3
  27. oci/autoscaling/auto_scaling_client.py +11 -11
  28. oci/bastion/bastion_client.py +15 -15
  29. oci/bds/bds_client.py +808 -84
  30. oci/bds/bds_client_composite_operations.py +177 -0
  31. oci/bds/models/__init__.py +22 -0
  32. oci/bds/models/auto_scale_policy_metric_rule.py +9 -5
  33. oci/bds/models/batching_based_odh_patching_config.py +113 -0
  34. oci/bds/models/batching_based_patching_configs.py +2 -2
  35. oci/bds/models/create_resource_principal_configuration_details.py +134 -0
  36. oci/bds/models/domain_based_odh_patching_config.py +82 -0
  37. oci/bds/models/domain_based_patching_configs.py +113 -0
  38. oci/bds/models/downtime_based_odh_patching_config.py +51 -0
  39. oci/bds/models/downtime_based_patching_configs.py +1 -1
  40. oci/bds/models/force_refresh_resource_principal_details.py +72 -0
  41. oci/bds/models/install_patch_details.py +29 -2
  42. oci/bds/models/node.py +31 -0
  43. oci/bds/models/odh_patching_config.py +117 -0
  44. oci/bds/models/patching_configs.py +12 -4
  45. oci/bds/models/remove_resource_principal_configuration_details.py +72 -0
  46. oci/bds/models/resource_principal_configuration.py +352 -0
  47. oci/bds/models/resource_principal_configuration_summary.py +289 -0
  48. oci/bds/models/update_resource_principal_configuration_details.py +103 -0
  49. oci/bds/models/work_request.py +19 -3
  50. oci/blockchain/blockchain_platform_client.py +27 -27
  51. oci/budget/budget_client.py +10 -10
  52. oci/capacity_management/capacity_management_client.py +22 -22
  53. oci/certificates/certificates_client.py +5 -5
  54. oci/certificates_management/certificates_management_client.py +32 -32
  55. oci/cims/incident_client.py +8 -8
  56. oci/cims/user_client.py +1 -1
  57. oci/cloud_bridge/common_client.py +5 -5
  58. oci/cloud_bridge/discovery_client.py +14 -14
  59. oci/cloud_bridge/inventory_client.py +16 -16
  60. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  61. oci/cloud_guard/cloud_guard_client.py +155 -155
  62. oci/cloud_migrations/migration_client.py +43 -43
  63. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  64. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  65. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  66. oci/compute_instance_agent/plugin_client.py +2 -2
  67. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  68. oci/container_engine/container_engine_client.py +44 -44
  69. oci/container_instances/container_instance_client.py +18 -18
  70. oci/core/blockstorage_client.py +60 -60
  71. oci/core/compute_client.py +102 -102
  72. oci/core/compute_management_client.py +32 -32
  73. oci/core/virtual_network_client.py +247 -247
  74. oci/dashboard_service/dashboard_client.py +6 -6
  75. oci/dashboard_service/dashboard_group_client.py +6 -6
  76. oci/data_catalog/data_catalog_client.py +149 -149
  77. oci/data_flow/data_flow_client.py +42 -42
  78. oci/data_integration/data_integration_client.py +163 -163
  79. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  80. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  81. oci/data_safe/data_safe_client.py +287 -287
  82. oci/data_science/data_science_client.py +91 -91
  83. oci/database/database_client.py +356 -356
  84. oci/database_management/db_management_client.py +208 -208
  85. oci/database_management/diagnosability_client.py +4 -4
  86. oci/database_management/managed_my_sql_databases_client.py +7 -7
  87. oci/database_management/perfhub_client.py +1 -1
  88. oci/database_management/sql_tuning_client.py +17 -17
  89. oci/database_migration/database_migration_client.py +42 -42
  90. oci/database_tools/database_tools_client.py +23 -23
  91. oci/demand_signal/occ_demand_signal_client.py +7 -7
  92. oci/desktops/desktop_service_client.py +21 -21
  93. oci/devops/devops_client.py +8664 -2588
  94. oci/devops/devops_client_composite_operations.py +443 -0
  95. oci/devops/models/__init__.py +182 -0
  96. oci/devops/models/approval_activity_summary.py +127 -0
  97. oci/devops/models/approval_rule.py +165 -0
  98. oci/devops/models/approval_rule_collection.py +72 -0
  99. oci/devops/models/approval_rule_merge_check.py +270 -0
  100. oci/devops/models/build_merge_check.py +144 -0
  101. oci/devops/models/build_run_snapshot.py +329 -0
  102. oci/devops/models/build_run_snapshot_collection.py +72 -0
  103. oci/devops/models/build_run_snapshot_summary.py +297 -0
  104. oci/devops/models/comment_activity_summary.py +110 -0
  105. oci/devops/models/commit_activity_summary.py +141 -0
  106. oci/devops/models/commit_analytics_author_collection.py +72 -0
  107. oci/devops/models/commit_analytics_author_summary.py +103 -0
  108. oci/devops/models/conflict_merge_check.py +99 -0
  109. oci/devops/models/create_or_update_git_branch_details.py +89 -0
  110. oci/devops/models/create_or_update_git_ref_details.py +140 -0
  111. oci/devops/models/create_or_update_git_tag_details.py +89 -0
  112. oci/devops/models/create_or_update_protected_branch_details.py +122 -0
  113. oci/devops/models/create_pull_request_comment_details.py +227 -0
  114. oci/devops/models/create_pull_request_details.py +328 -0
  115. oci/devops/models/create_repository_details.py +33 -0
  116. oci/devops/models/create_reviewer_details.py +72 -0
  117. oci/devops/models/delete_git_ref_details.py +72 -0
  118. oci/devops/models/delete_protected_branch_details.py +72 -0
  119. oci/devops/models/deploy_artifact_source.py +7 -3
  120. oci/devops/models/devops_code_repository_filter.py +11 -3
  121. oci/devops/models/devops_code_repository_filter_attributes.py +31 -0
  122. oci/devops/models/execute_merge_pull_request_details.py +196 -0
  123. oci/devops/models/fork_sync_status_collection.py +72 -0
  124. oci/devops/models/fork_sync_status_summary.py +154 -0
  125. oci/devops/models/generic_artifact_location_details.py +101 -0
  126. oci/devops/models/generic_artifacts.py +116 -0
  127. oci/devops/models/generic_deploy_artifact_source.py +1 -1
  128. oci/devops/models/helm_command_spec_artifact_source.py +1 -1
  129. oci/devops/models/helm_repository_deploy_artifact_source.py +1 -1
  130. oci/devops/models/inline_deploy_artifact_source.py +1 -1
  131. oci/devops/models/merge_check.py +117 -0
  132. oci/devops/models/merge_check_collection.py +145 -0
  133. oci/devops/models/merge_checks.py +88 -0
  134. oci/devops/models/merge_pull_request_details.py +109 -0
  135. oci/devops/models/merge_settings.py +139 -0
  136. oci/devops/models/mirror_repository_config.py +2 -2
  137. oci/devops/models/object_storage_generic_artifact_location_details.py +175 -0
  138. oci/devops/models/ocir_deploy_artifact_source.py +1 -1
  139. oci/devops/models/patch_insert_instruction.py +171 -0
  140. oci/devops/models/patch_instruction.py +184 -0
  141. oci/devops/models/patch_merge_instruction.py +97 -0
  142. oci/devops/models/patch_move_instruction.py +147 -0
  143. oci/devops/models/patch_prohibit_instruction.py +100 -0
  144. oci/devops/models/patch_pull_request_details.py +72 -0
  145. oci/devops/models/patch_remove_instruction.py +59 -0
  146. oci/devops/models/patch_replace_instruction.py +92 -0
  147. oci/devops/models/patch_require_instruction.py +99 -0
  148. oci/devops/models/principal_details.py +209 -0
  149. oci/devops/models/project_notification_preference.py +154 -0
  150. oci/devops/models/project_repository_settings.py +95 -0
  151. oci/devops/models/protected_branch.py +189 -0
  152. oci/devops/models/protected_branch_collection.py +72 -0
  153. oci/devops/models/protected_branch_summary.py +224 -0
  154. oci/devops/models/pull_request.py +814 -0
  155. oci/devops/models/pull_request_activity_collection.py +72 -0
  156. oci/devops/models/pull_request_activity_summary.py +253 -0
  157. oci/devops/models/pull_request_attachment.py +196 -0
  158. oci/devops/models/pull_request_attachment_collection.py +72 -0
  159. oci/devops/models/pull_request_attachment_summary.py +196 -0
  160. oci/devops/models/pull_request_author_collection.py +72 -0
  161. oci/devops/models/pull_request_author_summary.py +68 -0
  162. oci/devops/models/pull_request_change_summary_metrics.py +134 -0
  163. oci/devops/models/pull_request_collection.py +72 -0
  164. oci/devops/models/pull_request_comment.py +581 -0
  165. oci/devops/models/pull_request_comment_collection.py +72 -0
  166. oci/devops/models/pull_request_comment_like_collection.py +103 -0
  167. oci/devops/models/pull_request_comment_summary.py +533 -0
  168. oci/devops/models/pull_request_file_change_collection.py +72 -0
  169. oci/devops/models/pull_request_file_change_summary.py +456 -0
  170. oci/devops/models/pull_request_lifecycle_activity_summary.py +135 -0
  171. oci/devops/models/pull_request_notification_preference.py +154 -0
  172. oci/devops/models/pull_request_summary.py +669 -0
  173. oci/devops/models/repository.py +47 -6
  174. oci/devops/models/repository_analytics_details.py +318 -0
  175. oci/devops/models/repository_metric_aggregation.py +72 -0
  176. oci/devops/models/repository_metric_summary.py +281 -0
  177. oci/devops/models/repository_notification_preference.py +158 -0
  178. oci/devops/models/repository_settings.py +122 -0
  179. oci/devops/models/repository_summary.py +33 -0
  180. oci/devops/models/review_pull_request_details.py +88 -0
  181. oci/devops/models/reviewer.py +256 -0
  182. oci/devops/models/reviewer_activity_summary.py +141 -0
  183. oci/devops/models/stage_output.py +140 -0
  184. oci/devops/models/summarize_project_repository_analytics_details.py +318 -0
  185. oci/devops/models/summarize_repository_analytics_details.py +318 -0
  186. oci/devops/models/sync_repository_details.py +103 -0
  187. oci/devops/models/test_report_output.py +89 -0
  188. oci/devops/models/update_approval_rule_details.py +165 -0
  189. oci/devops/models/update_approval_rule_details_collection.py +72 -0
  190. oci/devops/models/update_project_notification_preference_details.py +72 -0
  191. oci/devops/models/update_project_repository_settings_details.py +95 -0
  192. oci/devops/models/update_pull_request_comment_details.py +72 -0
  193. oci/devops/models/update_pull_request_details.py +235 -0
  194. oci/devops/models/update_pull_request_notification_preference_details.py +72 -0
  195. oci/devops/models/update_repository_details.py +2 -0
  196. oci/devops/models/update_repository_notification_preference_details.py +72 -0
  197. oci/devops/models/update_repository_settings_details.py +122 -0
  198. oci/devops/models/update_reviewer_details.py +72 -0
  199. oci/devops/models/validate_merge_pull_request_details.py +51 -0
  200. oci/devops/models/work_request.py +31 -3
  201. oci/devops/models/work_request_summary.py +31 -3
  202. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  203. oci/dns/dns_client.py +52 -52
  204. oci/dts/appliance_export_job_client.py +6 -6
  205. oci/dts/shipping_vendors_client.py +1 -1
  206. oci/dts/transfer_appliance_client.py +8 -8
  207. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  208. oci/dts/transfer_device_client.py +5 -5
  209. oci/dts/transfer_job_client.py +6 -6
  210. oci/dts/transfer_package_client.py +7 -7
  211. oci/em_warehouse/em_data_lake_client.py +13 -13
  212. oci/em_warehouse/em_warehouse_client.py +26 -26
  213. oci/email/email_client.py +31 -31
  214. oci/email_data_plane/email_dp_client.py +1 -1
  215. oci/events/events_client.py +6 -6
  216. oci/file_storage/file_storage_client.py +51 -51
  217. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  218. oci/functions/functions_invoke_client.py +1 -1
  219. oci/functions/functions_management_client.py +16 -16
  220. oci/fusion_apps/data_masking_activity_client.py +3 -3
  221. oci/fusion_apps/fusion_applications_client.py +41 -41
  222. oci/fusion_apps/fusion_environment_client.py +15 -15
  223. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  224. oci/fusion_apps/refresh_activity_client.py +4 -4
  225. oci/fusion_apps/scheduled_activity_client.py +2 -2
  226. oci/fusion_apps/service_attachment_client.py +2 -2
  227. oci/generative_ai/generative_ai_client.py +22 -22
  228. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  229. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  230. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  231. oci/golden_gate/golden_gate_client.py +68 -68
  232. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  233. oci/governance_rules_control_plane/work_request_client.py +5 -5
  234. oci/healthchecks/health_checks_client.py +17 -17
  235. oci/identity/identity_client.py +145 -145
  236. oci/identity_data_plane/dataplane_client.py +2 -2
  237. oci/identity_domains/identity_domains_client.py +307 -307
  238. oci/integration/integration_instance_client.py +15 -15
  239. oci/integration/models/create_integration_instance_details.py +7 -3
  240. oci/integration/models/integration_instance.py +40 -3
  241. oci/integration/models/integration_instance_summary.py +40 -3
  242. oci/integration/models/update_integration_instance_details.py +7 -3
  243. oci/jms/java_management_service_client.py +1414 -234
  244. oci/jms/java_management_service_client_composite_operations.py +194 -0
  245. oci/jms/models/__init__.py +24 -0
  246. oci/jms/models/agent_installer_collection.py +72 -0
  247. oci/jms/models/agent_installer_summary.py +411 -0
  248. oci/jms/models/application_installation_usage_summary.py +62 -0
  249. oci/jms/models/application_usage.py +35 -4
  250. oci/jms/models/application_work_item_details.py +1 -1
  251. oci/jms/models/basic_work_item_details.py +1 -1
  252. oci/jms/models/create_jms_plugin_details.py +220 -0
  253. oci/jms/models/crypto_analysis_result.py +62 -0
  254. oci/jms/models/crypto_analysis_result_summary.py +62 -0
  255. oci/jms/models/deployed_application_installation_usage_summary.py +32 -1
  256. oci/jms/models/deployed_application_migration_analyses_target.py +197 -0
  257. oci/jms/models/deployed_application_usage.py +31 -0
  258. oci/jms/models/deployed_application_work_item_details.py +183 -0
  259. oci/jms/models/export_setting.py +3 -3
  260. oci/jms/models/fleet_agent_configuration.py +62 -0
  261. oci/jms/models/generate_agent_installer_configuration_details.py +111 -0
  262. oci/jms/models/generate_load_pipeline_script_details.py +165 -0
  263. oci/jms/models/installation_site.py +7 -3
  264. oci/jms/models/java_artifact.py +2 -2
  265. oci/jms/models/java_family.py +37 -2
  266. oci/jms/models/java_family_summary.py +37 -2
  267. oci/jms/models/java_migration_analysis_target.py +34 -3
  268. oci/jms/models/java_server_instance_usage.py +31 -0
  269. oci/jms/models/jms_plugin.py +698 -0
  270. oci/jms/models/jms_plugin_collection.py +72 -0
  271. oci/jms/models/jms_plugin_summary.py +698 -0
  272. oci/jms/models/lcm_work_item_details.py +1 -1
  273. oci/jms/models/library_usage.py +64 -2
  274. oci/jms/models/managed_instance_usage.py +38 -3
  275. oci/jms/models/operating_system.py +2 -2
  276. oci/jms/models/performance_tuning_analysis_result.py +4 -4
  277. oci/jms/models/performance_tuning_analysis_result_summary.py +4 -4
  278. oci/jms/models/request_deployed_application_migration_analyses_details.py +73 -0
  279. oci/jms/models/update_export_setting_details.py +3 -3
  280. oci/jms/models/update_fleet_agent_configuration_details.py +62 -0
  281. oci/jms/models/update_jms_plugin_details.py +150 -0
  282. oci/jms/models/work_item_details.py +11 -3
  283. oci/jms/models/work_item_summary.py +7 -3
  284. oci/jms_java_downloads/java_download_client.py +30 -30
  285. oci/jms_java_downloads/models/generate_artifact_download_url_details.py +35 -0
  286. oci/key_management/ekm_client.py +5 -5
  287. oci/key_management/kms_crypto_client.py +6 -6
  288. oci/key_management/kms_hsm_cluster_client.py +12 -12
  289. oci/key_management/kms_management_client.py +21 -21
  290. oci/key_management/kms_vault_client.py +14 -14
  291. oci/license_manager/license_manager_client.py +18 -18
  292. oci/limits/limits_client.py +33 -12
  293. oci/limits/models/limit_definition_summary.py +64 -2
  294. oci/limits/models/service_summary.py +33 -2
  295. oci/limits/quotas_client.py +7 -7
  296. oci/load_balancer/load_balancer_client.py +61 -61
  297. oci/lockbox/lockbox_client.py +24 -24
  298. oci/log_analytics/log_analytics_client.py +193 -193
  299. oci/logging/logging_management_client.py +30 -30
  300. oci/loggingingestion/logging_client.py +1 -1
  301. oci/loggingsearch/log_search_client.py +1 -1
  302. oci/management_agent/management_agent_client.py +28 -28
  303. oci/management_dashboard/dashx_apis_client.py +14 -14
  304. oci/marketplace/account_client.py +2 -2
  305. oci/marketplace/marketplace_client.py +30 -30
  306. oci/marketplace_private_offer/attachment_client.py +5 -5
  307. oci/marketplace_private_offer/offer_client.py +6 -6
  308. oci/marketplace_publisher/attachment_client.py +5 -5
  309. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  310. oci/marketplace_publisher/offer_client.py +6 -6
  311. oci/media_services/media_services_client.py +60 -60
  312. oci/media_services/media_stream_client.py +2 -2
  313. oci/monitoring/monitoring_client.py +18 -18
  314. oci/mysql/channels_client.py +7 -7
  315. oci/mysql/db_backups_client.py +7 -7
  316. oci/mysql/db_system_client.py +17 -17
  317. oci/mysql/mysqlaas_client.py +7 -7
  318. oci/mysql/replicas_client.py +5 -5
  319. oci/mysql/work_requests_client.py +4 -4
  320. oci/network_firewall/network_firewall_client.py +86 -86
  321. oci/network_load_balancer/models/backend.py +3 -3
  322. oci/network_load_balancer/models/backend_details.py +2 -2
  323. oci/network_load_balancer/models/backend_set.py +7 -3
  324. oci/network_load_balancer/models/backend_set_details.py +5 -1
  325. oci/network_load_balancer/models/backend_set_summary.py +5 -7
  326. oci/network_load_balancer/models/backend_summary.py +3 -3
  327. oci/network_load_balancer/models/create_backend_details.py +3 -3
  328. oci/network_load_balancer/models/create_backend_set_details.py +1 -1
  329. oci/network_load_balancer/models/create_listener_details.py +71 -5
  330. oci/network_load_balancer/models/create_network_load_balancer_details.py +3 -3
  331. oci/network_load_balancer/models/health_checker.py +1 -1
  332. oci/network_load_balancer/models/health_checker_details.py +1 -1
  333. oci/network_load_balancer/models/listener.py +70 -4
  334. oci/network_load_balancer/models/listener_details.py +70 -4
  335. oci/network_load_balancer/models/listener_summary.py +70 -4
  336. oci/network_load_balancer/models/network_load_balancer.py +5 -5
  337. oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
  338. oci/network_load_balancer/models/update_backend_details.py +4 -4
  339. oci/network_load_balancer/models/update_backend_set_details.py +1 -1
  340. oci/network_load_balancer/models/update_listener_details.py +69 -3
  341. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  342. oci/nosql/nosql_client.py +24 -24
  343. oci/object_storage/object_storage_client.py +50 -50
  344. oci/oce/oce_instance_client.py +10 -10
  345. oci/oci_control_center/occ_metrics_client.py +3 -3
  346. oci/ocvp/cluster_client.py +5 -5
  347. oci/ocvp/esxi_host_client.py +8 -8
  348. oci/ocvp/sddc_client.py +14 -14
  349. oci/ocvp/work_request_client.py +4 -4
  350. oci/oda/management_client.py +59 -59
  351. oci/oda/oda_client.py +17 -17
  352. oci/oda/odapackage_client.py +7 -7
  353. oci/onesubscription/billing_schedule_client.py +1 -1
  354. oci/onesubscription/commitment_client.py +2 -2
  355. oci/onesubscription/computed_usage_client.py +3 -3
  356. oci/onesubscription/invoice_summary_client.py +2 -2
  357. oci/onesubscription/organization_subscription_client.py +1 -1
  358. oci/onesubscription/ratecard_client.py +1 -1
  359. oci/onesubscription/subscribed_service_client.py +2 -2
  360. oci/onesubscription/subscription_client.py +1 -1
  361. oci/ons/notification_control_plane_client.py +6 -6
  362. oci/ons/notification_data_plane_client.py +10 -10
  363. oci/opa/opa_instance_client.py +13 -13
  364. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  365. oci/opensearch/opensearch_cluster_client.py +14 -14
  366. oci/operator_access_control/access_requests_client.py +10 -10
  367. oci/operator_access_control/operator_actions_client.py +2 -2
  368. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  369. oci/operator_access_control/operator_control_client.py +6 -6
  370. oci/opsi/operations_insights_client.py +177 -177
  371. oci/optimizer/optimizer_client.py +26 -26
  372. oci/os_management/event_client.py +8 -8
  373. oci/os_management/os_management_client.py +69 -69
  374. oci/os_management_hub/event_client.py +8 -8
  375. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  376. oci/os_management_hub/managed_instance_client.py +31 -31
  377. oci/os_management_hub/managed_instance_group_client.py +25 -25
  378. oci/os_management_hub/management_station_client.py +10 -10
  379. oci/os_management_hub/models/create_custom_software_source_details.py +41 -0
  380. oci/os_management_hub/models/create_versioned_custom_software_source_details.py +41 -0
  381. oci/os_management_hub/models/custom_software_source.py +41 -0
  382. oci/os_management_hub/models/update_custom_software_source_details.py +43 -2
  383. oci/os_management_hub/models/versioned_custom_software_source.py +41 -0
  384. oci/os_management_hub/onboarding_client.py +6 -6
  385. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  386. oci/os_management_hub/scheduled_job_client.py +7 -7
  387. oci/os_management_hub/software_source_client.py +28 -28
  388. oci/os_management_hub/work_request_client.py +4 -4
  389. oci/osp_gateway/address_rule_service_client.py +1 -1
  390. oci/osp_gateway/address_service_client.py +2 -2
  391. oci/osp_gateway/invoice_service_client.py +5 -5
  392. oci/osp_gateway/subscription_service_client.py +5 -5
  393. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  394. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  395. oci/osub_subscription/commitment_client.py +2 -2
  396. oci/osub_subscription/ratecard_client.py +1 -1
  397. oci/osub_subscription/subscription_client.py +1 -1
  398. oci/osub_usage/computed_usage_client.py +3 -3
  399. oci/psql/models/__init__.py +6 -0
  400. oci/psql/models/backup.py +2 -2
  401. oci/psql/models/backup_summary.py +2 -2
  402. oci/psql/models/configuration.py +117 -31
  403. oci/psql/models/configuration_summary.py +58 -19
  404. oci/psql/models/create_configuration_details.py +60 -21
  405. oci/psql/models/create_db_system_details.py +1 -1
  406. oci/psql/models/default_configuration.py +72 -33
  407. oci/psql/models/default_configuration_summary.py +60 -21
  408. oci/psql/models/management_policy_details.py +10 -2
  409. oci/psql/models/shape_memory_options.py +196 -0
  410. oci/psql/models/shape_ocpu_options.py +103 -0
  411. oci/psql/models/shape_summary.py +87 -2
  412. oci/psql/models/update_db_system_details.py +122 -0
  413. oci/psql/models/update_network_details.py +76 -0
  414. oci/psql/postgresql_client.py +35 -35
  415. oci/queue/queue_admin_client.py +11 -11
  416. oci/queue/queue_client.py +8 -8
  417. oci/recovery/database_recovery_client.py +25 -25
  418. oci/redis/redis_cluster_client.py +11 -11
  419. oci/regions_definitions.py +9 -3
  420. oci/resource_manager/resource_manager_client.py +52 -52
  421. oci/resource_scheduler/schedule_client.py +13 -13
  422. oci/resource_search/resource_search_client.py +3 -3
  423. oci/rover/rover_bundle_client.py +8 -8
  424. oci/rover/rover_cluster_client.py +8 -8
  425. oci/rover/rover_entitlement_client.py +6 -6
  426. oci/rover/rover_node_client.py +15 -15
  427. oci/rover/shape_client.py +1 -1
  428. oci/rover/work_requests_client.py +5 -5
  429. oci/sch/connector_plugins_client.py +2 -2
  430. oci/sch/service_connector_client.py +12 -12
  431. oci/secrets/secrets_client.py +3 -3
  432. oci/service_catalog/service_catalog_client.py +26 -26
  433. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  434. oci/service_mesh/service_mesh_client.py +48 -48
  435. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  436. oci/streaming/stream_admin_client.py +18 -18
  437. oci/streaming/stream_client.py +8 -8
  438. oci/tenant_manager_control_plane/domain_client.py +5 -5
  439. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  440. oci/tenant_manager_control_plane/governance_client.py +2 -2
  441. oci/tenant_manager_control_plane/link_client.py +3 -3
  442. oci/tenant_manager_control_plane/orders_client.py +2 -2
  443. oci/tenant_manager_control_plane/organization_client.py +10 -10
  444. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  445. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  446. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  447. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  448. oci/threat_intelligence/threatintel_client.py +5 -5
  449. oci/usage/resources_client.py +2 -2
  450. oci/usage/rewards_client.py +6 -6
  451. oci/usage/usagelimits_client.py +1 -1
  452. oci/usage_api/usageapi_client.py +33 -33
  453. oci/vault/vaults_client.py +13 -13
  454. oci/vbs_inst/vbs_instance_client.py +10 -10
  455. oci/version.py +1 -1
  456. oci/visual_builder/vb_instance_client.py +13 -13
  457. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  458. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  459. oci/waa/waa_client.py +13 -13
  460. oci/waa/work_request_client.py +4 -4
  461. oci/waas/redirect_client.py +6 -6
  462. oci/waas/waas_client.py +66 -66
  463. oci/waf/waf_client.py +24 -24
  464. oci/work_requests/work_request_client.py +4 -4
  465. {oci-2.130.0.dist-info → oci-2.131.1.dist-info}/METADATA +3 -2
  466. {oci-2.130.0.dist-info → oci-2.131.1.dist-info}/RECORD +470 -353
  467. {oci-2.130.0.dist-info → oci-2.131.1.dist-info}/LICENSE.txt +0 -0
  468. {oci-2.130.0.dist-info → oci-2.131.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  469. {oci-2.130.0.dist-info → oci-2.131.1.dist-info}/WHEEL +0 -0
  470. {oci-2.130.0.dist-info → oci-2.131.1.dist-info}/top_level.txt +0 -0
@@ -598,6 +598,48 @@ class DevopsClientCompositeOperations(object):
598
598
  except Exception as e:
599
599
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
600
600
 
601
+ def create_or_update_git_ref_and_wait_for_state(self, repository_id, create_or_update_git_ref_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
602
+ """
603
+ Calls :py:func:`~oci.devops.DevopsClient.create_or_update_git_ref` and waits for the :py:class:`~oci.devops.models.WorkRequest`
604
+ to enter the given state(s).
605
+
606
+ :param str repository_id: (required)
607
+ Unique repository identifier.
608
+
609
+ :param oci.devops.models.CreateOrUpdateGitRefDetails create_or_update_git_ref_details: (required)
610
+ The information to create a reference with the type specified in the query.
611
+
612
+ :param list[str] wait_for_states:
613
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.WorkRequest.status`
614
+
615
+ :param dict operation_kwargs:
616
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.create_or_update_git_ref`
617
+
618
+ :param dict waiter_kwargs:
619
+ 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``
620
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
621
+ """
622
+ operation_result = self.client.create_or_update_git_ref(repository_id, create_or_update_git_ref_details, **operation_kwargs)
623
+ if not wait_for_states:
624
+ return operation_result
625
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
626
+ if 'opc-work-request-id' not in operation_result.headers:
627
+ return operation_result
628
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
629
+
630
+ try:
631
+ waiter_result = oci.wait_until(
632
+ self.client,
633
+ self.client.get_work_request(wait_for_resource_id),
634
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
635
+ **waiter_kwargs
636
+ )
637
+ result_to_return = waiter_result
638
+
639
+ return result_to_return
640
+ except Exception as e:
641
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
642
+
601
643
  def create_project_and_wait_for_state(self, create_project_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
602
644
  """
603
645
  Calls :py:func:`~oci.devops.DevopsClient.create_project` and waits for the :py:class:`~oci.devops.models.WorkRequest`
@@ -637,6 +679,45 @@ class DevopsClientCompositeOperations(object):
637
679
  except Exception as e:
638
680
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
639
681
 
682
+ def create_pull_request_and_wait_for_state(self, create_pull_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
683
+ """
684
+ Calls :py:func:`~oci.devops.DevopsClient.create_pull_request` and waits for the :py:class:`~oci.devops.models.WorkRequest`
685
+ to enter the given state(s).
686
+
687
+ :param oci.devops.models.CreatePullRequestDetails create_pull_request_details: (required)
688
+ Details for the new PullRequest.
689
+
690
+ :param list[str] wait_for_states:
691
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.WorkRequest.status`
692
+
693
+ :param dict operation_kwargs:
694
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.create_pull_request`
695
+
696
+ :param dict waiter_kwargs:
697
+ 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``
698
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
699
+ """
700
+ operation_result = self.client.create_pull_request(create_pull_request_details, **operation_kwargs)
701
+ if not wait_for_states:
702
+ return operation_result
703
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
704
+ if 'opc-work-request-id' not in operation_result.headers:
705
+ return operation_result
706
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
707
+
708
+ try:
709
+ waiter_result = oci.wait_until(
710
+ self.client,
711
+ self.client.get_work_request(wait_for_resource_id),
712
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
713
+ **waiter_kwargs
714
+ )
715
+ result_to_return = waiter_result
716
+
717
+ return result_to_return
718
+ except Exception as e:
719
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
720
+
640
721
  def create_repository_and_wait_for_state(self, create_repository_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
641
722
  """
642
723
  Calls :py:func:`~oci.devops.DevopsClient.create_repository` and waits for the :py:class:`~oci.devops.models.WorkRequest`
@@ -715,6 +796,48 @@ class DevopsClientCompositeOperations(object):
715
796
  except Exception as e:
716
797
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
717
798
 
799
+ def decline_pull_request_and_wait_for_state(self, pull_request_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
800
+ """
801
+ Calls :py:func:`~oci.devops.DevopsClient.decline_pull_request` and waits for the :py:class:`~oci.devops.models.PullRequest` acted upon
802
+ to enter the given state(s).
803
+
804
+ :param str pull_request_id: (required)
805
+ unique PullRequest identifier
806
+
807
+ :param list[str] wait_for_states:
808
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.PullRequest.lifecycle_state`
809
+
810
+ :param dict operation_kwargs:
811
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.decline_pull_request`
812
+
813
+ :param dict waiter_kwargs:
814
+ 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``
815
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
816
+ """
817
+ operation_result = self.client.decline_pull_request(pull_request_id, **operation_kwargs)
818
+ if not wait_for_states:
819
+ return operation_result
820
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
821
+ pull_request_id = operation_result.data.id
822
+
823
+ try:
824
+ waiter_result = oci.wait_until(
825
+ self.client,
826
+ self.client.get_pull_request(pull_request_id), # noqa: F821
827
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
828
+ **waiter_kwargs
829
+ )
830
+ result_to_return = waiter_result
831
+
832
+ return result_to_return
833
+ except (NameError, TypeError) as e:
834
+ if not e.args:
835
+ e.args = ('',)
836
+ 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"', )
837
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
838
+ except Exception as e:
839
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
840
+
718
841
  def delete_build_pipeline_and_wait_for_state(self, build_pipeline_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
719
842
  """
720
843
  Calls :py:func:`~oci.devops.DevopsClient.delete_build_pipeline` and waits for the :py:class:`~oci.devops.models.WorkRequest`
@@ -1044,6 +1167,48 @@ class DevopsClientCompositeOperations(object):
1044
1167
  except Exception as e:
1045
1168
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1046
1169
 
1170
+ def delete_git_ref_and_wait_for_state(self, repository_id, delete_git_ref_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1171
+ """
1172
+ Calls :py:func:`~oci.devops.DevopsClient.delete_git_ref` and waits for the :py:class:`~oci.devops.models.WorkRequest`
1173
+ to enter the given state(s).
1174
+
1175
+ :param str repository_id: (required)
1176
+ Unique repository identifier.
1177
+
1178
+ :param oci.devops.models.DeleteGitRefDetails delete_git_ref_details: (required)
1179
+ The information to delete a reference.
1180
+
1181
+ :param list[str] wait_for_states:
1182
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.WorkRequest.status`
1183
+
1184
+ :param dict operation_kwargs:
1185
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.delete_git_ref`
1186
+
1187
+ :param dict waiter_kwargs:
1188
+ 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``
1189
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1190
+ """
1191
+ operation_result = self.client.delete_git_ref(repository_id, delete_git_ref_details, **operation_kwargs)
1192
+ if not wait_for_states:
1193
+ return operation_result
1194
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1195
+ if 'opc-work-request-id' not in operation_result.headers:
1196
+ return operation_result
1197
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1198
+
1199
+ try:
1200
+ waiter_result = oci.wait_until(
1201
+ self.client,
1202
+ self.client.get_work_request(wait_for_resource_id),
1203
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1204
+ **waiter_kwargs
1205
+ )
1206
+ result_to_return = waiter_result
1207
+
1208
+ return result_to_return
1209
+ except Exception as e:
1210
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1211
+
1047
1212
  def delete_project_and_wait_for_state(self, project_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1048
1213
  """
1049
1214
  Calls :py:func:`~oci.devops.DevopsClient.delete_project` and waits for the :py:class:`~oci.devops.models.WorkRequest`
@@ -1091,6 +1256,65 @@ class DevopsClientCompositeOperations(object):
1091
1256
  except Exception as e:
1092
1257
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1093
1258
 
1259
+ def delete_pull_request_and_wait_for_state(self, pull_request_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1260
+ """
1261
+ Calls :py:func:`~oci.devops.DevopsClient.delete_pull_request` and waits for the :py:class:`~oci.devops.models.PullRequest` acted upon
1262
+ to enter the given state(s).
1263
+
1264
+ :param str pull_request_id: (required)
1265
+ unique PullRequest identifier
1266
+
1267
+ :param list[str] wait_for_states:
1268
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.PullRequest.lifecycle_state`
1269
+
1270
+ :param dict operation_kwargs:
1271
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.delete_pull_request`
1272
+
1273
+ :param dict waiter_kwargs:
1274
+ 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``
1275
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1276
+ """
1277
+ initial_get_result = self.client.get_pull_request(pull_request_id)
1278
+ operation_result = None
1279
+ try:
1280
+ operation_result = self.client.delete_pull_request(pull_request_id, **operation_kwargs)
1281
+ except oci.exceptions.ServiceError as e:
1282
+ if e.status == 404:
1283
+ return WAIT_RESOURCE_NOT_FOUND
1284
+ else:
1285
+ raise e
1286
+
1287
+ if not wait_for_states:
1288
+ return operation_result
1289
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1290
+
1291
+ try:
1292
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
1293
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_pull_request, 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")
1294
+ else:
1295
+ """
1296
+ If the user does not send in this value, we set it to True by default.
1297
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
1298
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
1299
+ """
1300
+ waiter_kwargs["succeed_on_not_found"] = True
1301
+ waiter_result = oci.wait_until(
1302
+ self.client,
1303
+ initial_get_result, # noqa: F821
1304
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1305
+ **waiter_kwargs
1306
+ )
1307
+ result_to_return = waiter_result
1308
+
1309
+ return result_to_return
1310
+ except (NameError, TypeError) as e:
1311
+ if not e.args:
1312
+ e.args = ('',)
1313
+ 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"', )
1314
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1315
+ except Exception as e:
1316
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1317
+
1094
1318
  def delete_ref_and_wait_for_state(self, repository_id, ref_name, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1095
1319
  """
1096
1320
  Calls :py:func:`~oci.devops.DevopsClient.delete_ref` and waits for the :py:class:`~oci.devops.models.WorkRequest`
@@ -1235,6 +1459,48 @@ class DevopsClientCompositeOperations(object):
1235
1459
  except Exception as e:
1236
1460
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1237
1461
 
1462
+ def merge_pull_request_and_wait_for_state(self, pull_request_id, merge_pull_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1463
+ """
1464
+ Calls :py:func:`~oci.devops.DevopsClient.merge_pull_request` and waits for the :py:class:`~oci.devops.models.WorkRequest`
1465
+ to enter the given state(s).
1466
+
1467
+ :param str pull_request_id: (required)
1468
+ unique PullRequest identifier
1469
+
1470
+ :param oci.devops.models.MergePullRequestDetails merge_pull_request_details: (required)
1471
+ The details about the merge operation.
1472
+
1473
+ :param list[str] wait_for_states:
1474
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.WorkRequest.status`
1475
+
1476
+ :param dict operation_kwargs:
1477
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.merge_pull_request`
1478
+
1479
+ :param dict waiter_kwargs:
1480
+ 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``
1481
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1482
+ """
1483
+ operation_result = self.client.merge_pull_request(pull_request_id, merge_pull_request_details, **operation_kwargs)
1484
+ if not wait_for_states:
1485
+ return operation_result
1486
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1487
+ if 'opc-work-request-id' not in operation_result.headers:
1488
+ return operation_result
1489
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1490
+
1491
+ try:
1492
+ waiter_result = oci.wait_until(
1493
+ self.client,
1494
+ self.client.get_work_request(wait_for_resource_id),
1495
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1496
+ **waiter_kwargs
1497
+ )
1498
+ result_to_return = waiter_result
1499
+
1500
+ return result_to_return
1501
+ except Exception as e:
1502
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1503
+
1238
1504
  def mirror_repository_and_wait_for_state(self, repository_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1239
1505
  """
1240
1506
  Calls :py:func:`~oci.devops.DevopsClient.mirror_repository` and waits for the :py:class:`~oci.devops.models.WorkRequest`
@@ -1319,6 +1585,93 @@ class DevopsClientCompositeOperations(object):
1319
1585
  except Exception as e:
1320
1586
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1321
1587
 
1588
+ def reopen_pull_request_and_wait_for_state(self, pull_request_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1589
+ """
1590
+ Calls :py:func:`~oci.devops.DevopsClient.reopen_pull_request` and waits for the :py:class:`~oci.devops.models.PullRequest` acted upon
1591
+ to enter the given state(s).
1592
+
1593
+ :param str pull_request_id: (required)
1594
+ unique PullRequest identifier
1595
+
1596
+ :param list[str] wait_for_states:
1597
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.PullRequest.lifecycle_state`
1598
+
1599
+ :param dict operation_kwargs:
1600
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.reopen_pull_request`
1601
+
1602
+ :param dict waiter_kwargs:
1603
+ 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``
1604
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1605
+ """
1606
+ operation_result = self.client.reopen_pull_request(pull_request_id, **operation_kwargs)
1607
+ if not wait_for_states:
1608
+ return operation_result
1609
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1610
+ pull_request_id = operation_result.data.id
1611
+
1612
+ try:
1613
+ waiter_result = oci.wait_until(
1614
+ self.client,
1615
+ self.client.get_pull_request(pull_request_id), # noqa: F821
1616
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1617
+ **waiter_kwargs
1618
+ )
1619
+ result_to_return = waiter_result
1620
+
1621
+ return result_to_return
1622
+ except (NameError, TypeError) as e:
1623
+ if not e.args:
1624
+ e.args = ('',)
1625
+ 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"', )
1626
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1627
+ except Exception as e:
1628
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1629
+
1630
+ def review_pull_request_and_wait_for_state(self, pull_request_id, review_pull_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1631
+ """
1632
+ Calls :py:func:`~oci.devops.DevopsClient.review_pull_request` and waits for the :py:class:`~oci.devops.models.PullRequest` acted upon
1633
+ to enter the given state(s).
1634
+
1635
+ :param str pull_request_id: (required)
1636
+ unique PullRequest identifier
1637
+
1638
+ :param oci.devops.models.ReviewPullRequestDetails review_pull_request_details: (required)
1639
+ Details to submit a review.
1640
+
1641
+ :param list[str] wait_for_states:
1642
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.PullRequest.lifecycle_state`
1643
+
1644
+ :param dict operation_kwargs:
1645
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.review_pull_request`
1646
+
1647
+ :param dict waiter_kwargs:
1648
+ 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``
1649
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1650
+ """
1651
+ operation_result = self.client.review_pull_request(pull_request_id, review_pull_request_details, **operation_kwargs)
1652
+ if not wait_for_states:
1653
+ return operation_result
1654
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1655
+ pull_request_id = operation_result.data.id
1656
+
1657
+ try:
1658
+ waiter_result = oci.wait_until(
1659
+ self.client,
1660
+ self.client.get_pull_request(pull_request_id), # noqa: F821
1661
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1662
+ **waiter_kwargs
1663
+ )
1664
+ result_to_return = waiter_result
1665
+
1666
+ return result_to_return
1667
+ except (NameError, TypeError) as e:
1668
+ if not e.args:
1669
+ e.args = ('',)
1670
+ 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"', )
1671
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1672
+ except Exception as e:
1673
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1674
+
1322
1675
  def schedule_cascading_project_deletion_and_wait_for_state(self, project_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1323
1676
  """
1324
1677
  Calls :py:func:`~oci.devops.DevopsClient.schedule_cascading_project_deletion` and waits for the :py:class:`~oci.devops.models.WorkRequest`
@@ -1358,6 +1711,54 @@ class DevopsClientCompositeOperations(object):
1358
1711
  except Exception as e:
1359
1712
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1360
1713
 
1714
+ def sync_repository_and_wait_for_state(self, repository_id, sync_merge_strategy, sync_repository_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1715
+ """
1716
+ Calls :py:func:`~oci.devops.DevopsClient.sync_repository` and waits for the :py:class:`~oci.devops.models.WorkRequest`
1717
+ to enter the given state(s).
1718
+
1719
+ :param str repository_id: (required)
1720
+ Unique repository identifier.
1721
+
1722
+ :param str sync_merge_strategy: (required)
1723
+ If fetch and merge is passed in, the changes from the upstream will be fetched and merged into the destination branch.
1724
+ If discard is passed in, the changes in the fork will be overwritten with the changes brought in from the upstream.
1725
+
1726
+ Allowed values are: "FETCH_AND_MERGE", "DISCARD"
1727
+
1728
+ :param oci.devops.models.SyncRepositoryDetails sync_repository_details: (required)
1729
+ Details required for syncing a repository with its upstream.
1730
+
1731
+ :param list[str] wait_for_states:
1732
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.WorkRequest.status`
1733
+
1734
+ :param dict operation_kwargs:
1735
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.sync_repository`
1736
+
1737
+ :param dict waiter_kwargs:
1738
+ 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``
1739
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1740
+ """
1741
+ operation_result = self.client.sync_repository(repository_id, sync_merge_strategy, sync_repository_details, **operation_kwargs)
1742
+ if not wait_for_states:
1743
+ return operation_result
1744
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1745
+ if 'opc-work-request-id' not in operation_result.headers:
1746
+ return operation_result
1747
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1748
+
1749
+ try:
1750
+ waiter_result = oci.wait_until(
1751
+ self.client,
1752
+ self.client.get_work_request(wait_for_resource_id),
1753
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1754
+ **waiter_kwargs
1755
+ )
1756
+ result_to_return = waiter_result
1757
+
1758
+ return result_to_return
1759
+ except Exception as e:
1760
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1761
+
1361
1762
  def update_build_pipeline_and_wait_for_state(self, build_pipeline_id, update_build_pipeline_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1362
1763
  """
1363
1764
  Calls :py:func:`~oci.devops.DevopsClient.update_build_pipeline` and waits for the :py:class:`~oci.devops.models.WorkRequest`
@@ -1784,6 +2185,48 @@ class DevopsClientCompositeOperations(object):
1784
2185
  except Exception as e:
1785
2186
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1786
2187
 
2188
+ def update_pull_request_and_wait_for_state(self, pull_request_id, update_pull_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2189
+ """
2190
+ Calls :py:func:`~oci.devops.DevopsClient.update_pull_request` and waits for the :py:class:`~oci.devops.models.WorkRequest`
2191
+ to enter the given state(s).
2192
+
2193
+ :param str pull_request_id: (required)
2194
+ unique PullRequest identifier
2195
+
2196
+ :param oci.devops.models.UpdatePullRequestDetails update_pull_request_details: (required)
2197
+ The information to be updated.
2198
+
2199
+ :param list[str] wait_for_states:
2200
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.devops.models.WorkRequest.status`
2201
+
2202
+ :param dict operation_kwargs:
2203
+ A dictionary of keyword arguments to pass to :py:func:`~oci.devops.DevopsClient.update_pull_request`
2204
+
2205
+ :param dict waiter_kwargs:
2206
+ 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``
2207
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
2208
+ """
2209
+ operation_result = self.client.update_pull_request(pull_request_id, update_pull_request_details, **operation_kwargs)
2210
+ if not wait_for_states:
2211
+ return operation_result
2212
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
2213
+ if 'opc-work-request-id' not in operation_result.headers:
2214
+ return operation_result
2215
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
2216
+
2217
+ try:
2218
+ waiter_result = oci.wait_until(
2219
+ self.client,
2220
+ self.client.get_work_request(wait_for_resource_id),
2221
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
2222
+ **waiter_kwargs
2223
+ )
2224
+ result_to_return = waiter_result
2225
+
2226
+ return result_to_return
2227
+ except Exception as e:
2228
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2229
+
1787
2230
  def update_repository_and_wait_for_state(self, repository_id, update_repository_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1788
2231
  """
1789
2232
  Calls :py:func:`~oci.devops.DevopsClient.update_repository` and waits for the :py:class:`~oci.devops.models.WorkRequest`