oci 2.126.2__py3-none-any.whl → 2.126.4__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 (392) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +22 -22
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +10 -10
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +23 -23
  10. oci/announcements_service/announcement_client.py +4 -4
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  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 +8 -8
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +2338 -522
  31. oci/bds/bds_client_composite_operations.py +403 -0
  32. oci/bds/models/__init__.py +32 -0
  33. oci/bds/models/backup_node_details.py +99 -0
  34. oci/bds/models/create_node_backup_configuration_details.py +223 -0
  35. oci/bds/models/create_node_replace_configuration_details.py +192 -0
  36. oci/bds/models/level_type_details.py +109 -0
  37. oci/bds/models/node.py +64 -2
  38. oci/bds/models/node_backup.py +388 -0
  39. oci/bds/models/node_backup_configuration.py +410 -0
  40. oci/bds/models/node_backup_configuration_summary.py +254 -0
  41. oci/bds/models/node_backup_summary.py +289 -0
  42. oci/bds/models/node_level_details.py +82 -0
  43. oci/bds/models/node_replace_configuration.py +364 -0
  44. oci/bds/models/node_replace_configuration_summary.py +254 -0
  45. oci/bds/models/node_type_level_details.py +82 -0
  46. oci/bds/models/remove_node_replace_configuration_details.py +72 -0
  47. oci/bds/models/replace_node_details.py +165 -0
  48. oci/bds/models/update_node_backup_configuration_details.py +223 -0
  49. oci/bds/models/update_node_replace_configuration_details.py +161 -0
  50. oci/bds/models/work_request.py +39 -3
  51. oci/blockchain/blockchain_platform_client.py +27 -27
  52. oci/budget/budget_client.py +10 -10
  53. oci/capacity_management/capacity_management_client.py +19 -19
  54. oci/certificates/certificates_client.py +5 -5
  55. oci/certificates_management/certificates_management_client.py +32 -32
  56. oci/cims/incident_client.py +8 -8
  57. oci/cims/user_client.py +1 -1
  58. oci/cloud_bridge/common_client.py +5 -5
  59. oci/cloud_bridge/discovery_client.py +14 -14
  60. oci/cloud_bridge/inventory_client.py +16 -16
  61. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  62. oci/cloud_guard/cloud_guard_client.py +155 -155
  63. oci/cloud_migrations/migration_client.py +43 -43
  64. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +26 -26
  65. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  66. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  67. oci/compute_instance_agent/plugin_client.py +2 -2
  68. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  69. oci/container_engine/container_engine_client.py +44 -44
  70. oci/container_instances/container_instance_client.py +18 -18
  71. oci/core/blockstorage_client.py +60 -60
  72. oci/core/compute_client.py +99 -99
  73. oci/core/compute_management_client.py +32 -32
  74. oci/core/virtual_network_client.py +247 -247
  75. oci/dashboard_service/dashboard_client.py +6 -6
  76. oci/dashboard_service/dashboard_group_client.py +6 -6
  77. oci/data_catalog/data_catalog_client.py +149 -149
  78. oci/data_flow/data_flow_client.py +42 -42
  79. oci/data_integration/data_integration_client.py +163 -163
  80. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  81. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  82. oci/data_safe/data_safe_client.py +278 -278
  83. oci/data_science/data_science_client.py +124 -98
  84. oci/data_science/models/__init__.py +10 -0
  85. oci/data_science/models/fast_launch_job_config_summary.py +7 -3
  86. oci/data_science/models/job_shape_summary.py +7 -3
  87. oci/data_science/models/model_deployment_shape_summary.py +7 -3
  88. oci/data_science/models/notebook_session_shape_summary.py +7 -3
  89. oci/data_science/models/pipeline_container_configuration_details.py +101 -0
  90. oci/data_science/models/pipeline_container_step_details.py +164 -0
  91. oci/data_science/models/pipeline_container_step_run.py +87 -0
  92. oci/data_science/models/pipeline_container_step_update_details.py +99 -0
  93. oci/data_science/models/pipeline_custom_script_step_details.py +1 -1
  94. oci/data_science/models/pipeline_custom_script_step_run.py +1 -1
  95. oci/data_science/models/pipeline_custom_script_step_update_details.py +30 -3
  96. oci/data_science/models/pipeline_infrastructure_configuration_details.py +31 -0
  97. oci/data_science/models/pipeline_ml_job_step_details.py +1 -1
  98. oci/data_science/models/pipeline_ml_job_step_run.py +1 -1
  99. oci/data_science/models/pipeline_ml_job_step_update_details.py +1 -1
  100. oci/data_science/models/pipeline_ocir_container_configuration_details.py +228 -0
  101. oci/data_science/models/pipeline_step_details.py +11 -3
  102. oci/data_science/models/pipeline_step_override_details.py +29 -2
  103. oci/data_science/models/pipeline_step_run.py +11 -3
  104. oci/data_science/models/pipeline_step_update_details.py +11 -3
  105. oci/data_science/models/update_pipeline_details.py +29 -2
  106. oci/database/database_client.py +333 -333
  107. oci/database/models/create_vm_cluster_details.py +33 -2
  108. oci/database/models/exadata_infrastructure.py +31 -0
  109. oci/database/models/exadata_infrastructure_summary.py +31 -0
  110. oci/database/models/update_vm_cluster_details.py +33 -2
  111. oci/database/models/vm_cluster.py +33 -2
  112. oci/database/models/vm_cluster_summary.py +33 -2
  113. oci/database_management/db_management_client.py +206 -206
  114. oci/database_management/diagnosability_client.py +4 -4
  115. oci/database_management/managed_my_sql_databases_client.py +7 -7
  116. oci/database_management/perfhub_client.py +1 -1
  117. oci/database_management/sql_tuning_client.py +17 -17
  118. oci/database_migration/database_migration_client.py +41 -41
  119. oci/database_tools/database_tools_client.py +23 -23
  120. oci/desktops/desktop_service_client.py +21 -21
  121. oci/devops/devops_client.py +89 -89
  122. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  123. oci/dns/dns_client.py +52 -52
  124. oci/dts/appliance_export_job_client.py +6 -6
  125. oci/dts/shipping_vendors_client.py +1 -1
  126. oci/dts/transfer_appliance_client.py +8 -8
  127. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  128. oci/dts/transfer_device_client.py +5 -5
  129. oci/dts/transfer_job_client.py +6 -6
  130. oci/dts/transfer_package_client.py +7 -7
  131. oci/em_warehouse/em_data_lake_client.py +13 -13
  132. oci/em_warehouse/em_warehouse_client.py +13 -13
  133. oci/email/email_client.py +608 -28
  134. oci/email/email_client_composite_operations.py +132 -0
  135. oci/email/models/__init__.py +10 -0
  136. oci/email/models/create_email_domain_details.py +31 -0
  137. oci/email/models/create_email_return_path_details.py +239 -0
  138. oci/email/models/email_domain.py +82 -0
  139. oci/email/models/email_return_path.py +577 -0
  140. oci/email/models/email_return_path_collection.py +72 -0
  141. oci/email/models/email_return_path_summary.py +444 -0
  142. oci/email/models/sender.py +15 -3
  143. oci/email/models/update_email_domain_details.py +31 -0
  144. oci/email/models/update_email_return_path_details.py +156 -0
  145. oci/email/models/work_request.py +15 -3
  146. oci/email/models/work_request_summary.py +15 -3
  147. oci/email_data_plane/email_dp_client.py +1 -1
  148. oci/events/events_client.py +6 -6
  149. oci/file_storage/file_storage_client.py +50 -50
  150. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  151. oci/functions/functions_invoke_client.py +1 -1
  152. oci/functions/functions_management_client.py +16 -16
  153. oci/fusion_apps/data_masking_activity_client.py +3 -3
  154. oci/fusion_apps/fusion_applications_client.py +39 -39
  155. oci/fusion_apps/fusion_environment_client.py +15 -15
  156. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  157. oci/fusion_apps/refresh_activity_client.py +4 -4
  158. oci/fusion_apps/scheduled_activity_client.py +2 -2
  159. oci/fusion_apps/service_attachment_client.py +2 -2
  160. oci/generative_ai/generative_ai_client.py +22 -22
  161. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  162. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  163. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  164. oci/golden_gate/golden_gate_client.py +61 -61
  165. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  166. oci/governance_rules_control_plane/work_request_client.py +5 -5
  167. oci/healthchecks/health_checks_client.py +17 -17
  168. oci/identity/identity_client.py +145 -145
  169. oci/identity_data_plane/dataplane_client.py +2 -2
  170. oci/identity_domains/identity_domains_client.py +300 -300
  171. oci/integration/integration_instance_client.py +15 -15
  172. oci/jms/java_management_service_client.py +66 -66
  173. oci/jms_java_downloads/java_download_client.py +25 -25
  174. oci/key_management/ekm_client.py +5 -5
  175. oci/key_management/kms_crypto_client.py +6 -6
  176. oci/key_management/kms_hsm_cluster_client.py +12 -12
  177. oci/key_management/kms_management_client.py +21 -21
  178. oci/key_management/kms_vault_client.py +14 -14
  179. oci/license_manager/license_manager_client.py +18 -18
  180. oci/limits/limits_client.py +4 -4
  181. oci/limits/quotas_client.py +7 -7
  182. oci/load_balancer/load_balancer_client.py +61 -61
  183. oci/load_balancer/models/ssl_configuration.py +41 -0
  184. oci/load_balancer/models/ssl_configuration_details.py +41 -0
  185. oci/lockbox/lockbox_client.py +24 -24
  186. oci/log_analytics/log_analytics_client.py +193 -193
  187. oci/logging/logging_management_client.py +30 -30
  188. oci/loggingingestion/logging_client.py +1 -1
  189. oci/loggingsearch/log_search_client.py +1 -1
  190. oci/management_agent/management_agent_client.py +28 -28
  191. oci/management_dashboard/dashx_apis_client.py +14 -14
  192. oci/marketplace/account_client.py +2 -2
  193. oci/marketplace/marketplace_client.py +30 -30
  194. oci/marketplace_private_offer/__init__.py +16 -0
  195. oci/marketplace_private_offer/attachment_client.py +719 -0
  196. oci/marketplace_private_offer/attachment_client_composite_operations.py +71 -0
  197. oci/marketplace_private_offer/models/__init__.py +48 -0
  198. oci/marketplace_private_offer/models/attachment.py +446 -0
  199. oci/marketplace_private_offer/models/attachment_collection.py +72 -0
  200. oci/marketplace_private_offer/models/attachment_summary.py +293 -0
  201. oci/marketplace_private_offer/models/buyer_information.py +161 -0
  202. oci/marketplace_private_offer/models/contact.py +134 -0
  203. oci/marketplace_private_offer/models/create_attachment_details.py +134 -0
  204. oci/marketplace_private_offer/models/create_offer_details.py +498 -0
  205. oci/marketplace_private_offer/models/custom_field.py +103 -0
  206. oci/marketplace_private_offer/models/offer.py +787 -0
  207. oci/marketplace_private_offer/models/offer_collection.py +72 -0
  208. oci/marketplace_private_offer/models/offer_internal_detail.py +103 -0
  209. oci/marketplace_private_offer/models/offer_summary.py +591 -0
  210. oci/marketplace_private_offer/models/pricing.py +146 -0
  211. oci/marketplace_private_offer/models/publisher_summary.py +710 -0
  212. oci/marketplace_private_offer/models/resource_bundle.py +205 -0
  213. oci/marketplace_private_offer/models/seller_information.py +99 -0
  214. oci/marketplace_private_offer/models/update_offer_details.py +467 -0
  215. oci/marketplace_private_offer/models/upload_data.py +134 -0
  216. oci/marketplace_private_offer/offer_client.py +789 -0
  217. oci/marketplace_private_offer/offer_client_composite_operations.py +172 -0
  218. oci/marketplace_publisher/__init__.py +5 -1
  219. oci/marketplace_publisher/attachment_client.py +719 -0
  220. oci/marketplace_publisher/attachment_client_composite_operations.py +121 -0
  221. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  222. oci/marketplace_publisher/models/__init__.py +32 -0
  223. oci/marketplace_publisher/models/attachment.py +446 -0
  224. oci/marketplace_publisher/models/attachment_collection.py +72 -0
  225. oci/marketplace_publisher/models/attachment_summary.py +293 -0
  226. oci/marketplace_publisher/models/buyer_information.py +161 -0
  227. oci/marketplace_publisher/models/contact.py +134 -0
  228. oci/marketplace_publisher/models/create_attachment_details.py +134 -0
  229. oci/marketplace_publisher/models/create_offer_details.py +498 -0
  230. oci/marketplace_publisher/models/custom_field.py +103 -0
  231. oci/marketplace_publisher/models/offer.py +787 -0
  232. oci/marketplace_publisher/models/offer_collection.py +72 -0
  233. oci/marketplace_publisher/models/offer_internal_detail.py +103 -0
  234. oci/marketplace_publisher/models/offer_summary.py +591 -0
  235. oci/marketplace_publisher/models/pricing.py +146 -0
  236. oci/marketplace_publisher/models/resource_bundle.py +205 -0
  237. oci/marketplace_publisher/models/seller_information.py +99 -0
  238. oci/marketplace_publisher/models/update_offer_details.py +467 -0
  239. oci/marketplace_publisher/models/work_request.py +23 -3
  240. oci/marketplace_publisher/models/work_request_summary.py +23 -3
  241. oci/marketplace_publisher/offer_client.py +789 -0
  242. oci/marketplace_publisher/offer_client_composite_operations.py +160 -0
  243. oci/media_services/media_services_client.py +60 -60
  244. oci/media_services/media_stream_client.py +2 -2
  245. oci/monitoring/monitoring_client.py +18 -18
  246. oci/mysql/channels_client.py +7 -7
  247. oci/mysql/db_backups_client.py +6 -6
  248. oci/mysql/db_system_client.py +17 -17
  249. oci/mysql/mysqlaas_client.py +7 -7
  250. oci/mysql/replicas_client.py +5 -5
  251. oci/mysql/work_requests_client.py +4 -4
  252. oci/network_firewall/network_firewall_client.py +80 -80
  253. oci/network_load_balancer/models/create_listener_details.py +33 -2
  254. oci/network_load_balancer/models/listener.py +33 -2
  255. oci/network_load_balancer/models/listener_details.py +33 -2
  256. oci/network_load_balancer/models/listener_summary.py +33 -2
  257. oci/network_load_balancer/models/update_listener_details.py +33 -2
  258. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  259. oci/nosql/nosql_client.py +24 -24
  260. oci/object_storage/object_storage_client.py +50 -50
  261. oci/oce/oce_instance_client.py +10 -10
  262. oci/oci_control_center/occ_metrics_client.py +3 -3
  263. oci/ocvp/cluster_client.py +5 -5
  264. oci/ocvp/esxi_host_client.py +8 -8
  265. oci/ocvp/sddc_client.py +14 -14
  266. oci/ocvp/work_request_client.py +4 -4
  267. oci/oda/management_client.py +59 -59
  268. oci/oda/oda_client.py +17 -17
  269. oci/oda/odapackage_client.py +7 -7
  270. oci/onesubscription/billing_schedule_client.py +1 -1
  271. oci/onesubscription/commitment_client.py +2 -2
  272. oci/onesubscription/computed_usage_client.py +3 -3
  273. oci/onesubscription/invoice_summary_client.py +2 -2
  274. oci/onesubscription/organization_subscription_client.py +1 -1
  275. oci/onesubscription/ratecard_client.py +1 -1
  276. oci/onesubscription/subscribed_service_client.py +2 -2
  277. oci/onesubscription/subscription_client.py +1 -1
  278. oci/ons/notification_control_plane_client.py +6 -6
  279. oci/ons/notification_data_plane_client.py +10 -10
  280. oci/opa/opa_instance_client.py +13 -13
  281. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  282. oci/opensearch/opensearch_cluster_client.py +14 -14
  283. oci/operator_access_control/access_requests_client.py +10 -10
  284. oci/operator_access_control/operator_actions_client.py +2 -2
  285. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  286. oci/operator_access_control/operator_control_client.py +6 -6
  287. oci/opsi/operations_insights_client.py +175 -175
  288. oci/optimizer/optimizer_client.py +26 -26
  289. oci/os_management/event_client.py +8 -8
  290. oci/os_management/os_management_client.py +69 -69
  291. oci/os_management_hub/event_client.py +8 -8
  292. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  293. oci/os_management_hub/managed_instance_client.py +31 -31
  294. oci/os_management_hub/managed_instance_group_client.py +25 -25
  295. oci/os_management_hub/management_station_client.py +10 -10
  296. oci/os_management_hub/onboarding_client.py +6 -6
  297. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  298. oci/os_management_hub/scheduled_job_client.py +7 -7
  299. oci/os_management_hub/software_source_client.py +27 -27
  300. oci/os_management_hub/work_request_client.py +4 -4
  301. oci/osp_gateway/address_rule_service_client.py +1 -1
  302. oci/osp_gateway/address_service_client.py +2 -2
  303. oci/osp_gateway/invoice_service_client.py +5 -5
  304. oci/osp_gateway/subscription_service_client.py +5 -5
  305. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  306. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  307. oci/osub_subscription/commitment_client.py +2 -2
  308. oci/osub_subscription/ratecard_client.py +1 -1
  309. oci/osub_subscription/subscription_client.py +1 -1
  310. oci/osub_usage/computed_usage_client.py +3 -3
  311. oci/psql/postgresql_client.py +33 -33
  312. oci/queue/queue_admin_client.py +11 -11
  313. oci/queue/queue_client.py +8 -8
  314. oci/recovery/database_recovery_client.py +25 -25
  315. oci/redis/redis_cluster_client.py +11 -11
  316. oci/resource_manager/resource_manager_client.py +52 -52
  317. oci/resource_scheduler/__init__.py +14 -0
  318. oci/resource_scheduler/models/__init__.py +58 -0
  319. oci/resource_scheduler/models/compartment_id_resource_filter.py +113 -0
  320. oci/resource_scheduler/models/create_schedule_details.py +487 -0
  321. oci/resource_scheduler/models/defined_tag_filter_value.py +134 -0
  322. oci/resource_scheduler/models/defined_tags_resource_filter.py +82 -0
  323. oci/resource_scheduler/models/lifecycle_state_resource_filter.py +82 -0
  324. oci/resource_scheduler/models/resource.py +121 -0
  325. oci/resource_scheduler/models/resource_filter.py +133 -0
  326. oci/resource_scheduler/models/resource_type.py +72 -0
  327. oci/resource_scheduler/models/resource_type_collection.py +72 -0
  328. oci/resource_scheduler/models/resource_type_resource_filter.py +82 -0
  329. oci/resource_scheduler/models/schedule.py +787 -0
  330. oci/resource_scheduler/models/schedule_collection.py +72 -0
  331. oci/resource_scheduler/models/schedule_summary.py +815 -0
  332. oci/resource_scheduler/models/time_created_resource_filter.py +134 -0
  333. oci/resource_scheduler/models/update_schedule_details.py +452 -0
  334. oci/resource_scheduler/models/work_request.py +455 -0
  335. oci/resource_scheduler/models/work_request_error.py +146 -0
  336. oci/resource_scheduler/models/work_request_error_collection.py +72 -0
  337. oci/resource_scheduler/models/work_request_log_entry.py +109 -0
  338. oci/resource_scheduler/models/work_request_log_entry_collection.py +72 -0
  339. oci/resource_scheduler/models/work_request_resource.py +207 -0
  340. oci/resource_scheduler/models/work_request_summary.py +453 -0
  341. oci/resource_scheduler/models/work_request_summary_collection.py +72 -0
  342. oci/resource_scheduler/schedule_client.py +1778 -0
  343. oci/resource_scheduler/schedule_client_composite_operations.py +258 -0
  344. oci/resource_search/resource_search_client.py +3 -3
  345. oci/rover/rover_bundle_client.py +8 -8
  346. oci/rover/rover_cluster_client.py +8 -8
  347. oci/rover/rover_entitlement_client.py +6 -6
  348. oci/rover/rover_node_client.py +15 -15
  349. oci/rover/shape_client.py +1 -1
  350. oci/rover/work_requests_client.py +5 -5
  351. oci/sch/connector_plugins_client.py +2 -2
  352. oci/sch/service_connector_client.py +12 -12
  353. oci/secrets/secrets_client.py +3 -3
  354. oci/service_catalog/service_catalog_client.py +26 -26
  355. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  356. oci/service_mesh/service_mesh_client.py +48 -48
  357. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  358. oci/streaming/stream_admin_client.py +18 -18
  359. oci/streaming/stream_client.py +8 -8
  360. oci/tenant_manager_control_plane/domain_client.py +5 -5
  361. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  362. oci/tenant_manager_control_plane/governance_client.py +2 -2
  363. oci/tenant_manager_control_plane/link_client.py +3 -3
  364. oci/tenant_manager_control_plane/orders_client.py +2 -2
  365. oci/tenant_manager_control_plane/organization_client.py +10 -10
  366. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  367. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  368. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  369. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  370. oci/threat_intelligence/threatintel_client.py +5 -5
  371. oci/usage/resources_client.py +2 -2
  372. oci/usage/rewards_client.py +6 -6
  373. oci/usage/usagelimits_client.py +1 -1
  374. oci/usage_api/usageapi_client.py +33 -33
  375. oci/vault/vaults_client.py +13 -13
  376. oci/vbs_inst/vbs_instance_client.py +10 -10
  377. oci/version.py +1 -1
  378. oci/visual_builder/vb_instance_client.py +13 -13
  379. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  380. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  381. oci/waa/waa_client.py +13 -13
  382. oci/waa/work_request_client.py +4 -4
  383. oci/waas/redirect_client.py +6 -6
  384. oci/waas/waas_client.py +66 -66
  385. oci/waf/waf_client.py +24 -24
  386. oci/work_requests/work_request_client.py +4 -4
  387. {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/METADATA +1 -1
  388. {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/RECORD +392 -295
  389. {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/LICENSE.txt +0 -0
  390. {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  391. {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/WHEEL +0 -0
  392. {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,172 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220901
6
+
7
+ import oci # noqa: F401
8
+ from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
9
+
10
+
11
+ class OfferClientCompositeOperations(object):
12
+ """
13
+ This class provides a wrapper around :py:class:`~oci.marketplace_private_offer.OfferClient` and offers convenience methods
14
+ for operations that would otherwise need to be chained together. For example, instead of performing an action
15
+ on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
16
+ to enter a given state, you can call a single method in this class to accomplish the same functionality
17
+ """
18
+
19
+ def __init__(self, client, **kwargs):
20
+ """
21
+ Creates a new OfferClientCompositeOperations object
22
+
23
+ :param OfferClient client:
24
+ The service client which will be wrapped by this object
25
+ """
26
+ self.client = client
27
+
28
+ def create_offer_and_wait_for_state(self, create_offer_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
+ """
30
+ Calls :py:func:`~oci.marketplace_private_offer.OfferClient.create_offer` and waits for the :py:class:`~oci.marketplace_private_offer.models.Offer` acted upon
31
+ to enter the given state(s).
32
+
33
+ :param oci.marketplace_private_offer.models.CreateOfferDetails create_offer_details: (required)
34
+ Details for the new Offer.
35
+
36
+ :param list[str] wait_for_states:
37
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.marketplace_private_offer.models.Offer.lifecycle_state`
38
+
39
+ :param dict operation_kwargs:
40
+ A dictionary of keyword arguments to pass to :py:func:`~oci.marketplace_private_offer.OfferClient.create_offer`
41
+
42
+ :param dict waiter_kwargs:
43
+ 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``
44
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
45
+ """
46
+ operation_result = self.client.create_offer(create_offer_details, **operation_kwargs)
47
+ if not wait_for_states:
48
+ return operation_result
49
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
50
+ offer_id = operation_result.data.id
51
+
52
+ try:
53
+ waiter_result = oci.wait_until(
54
+ self.client,
55
+ self.client.get_offer(offer_id), # noqa: F821
56
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
57
+ **waiter_kwargs
58
+ )
59
+ result_to_return = waiter_result
60
+
61
+ return result_to_return
62
+ except (NameError, TypeError) as e:
63
+ if not e.args:
64
+ e.args = ('',)
65
+ 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"', )
66
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
67
+ except Exception as e:
68
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
69
+
70
+ def delete_offer_and_wait_for_state(self, offer_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
71
+ """
72
+ Calls :py:func:`~oci.marketplace_private_offer.OfferClient.delete_offer` and waits for the :py:class:`~oci.marketplace_private_offer.models.Offer` acted upon
73
+ to enter the given state(s).
74
+
75
+ :param str offer_id: (required)
76
+ unique Offer identifier
77
+
78
+ :param list[str] wait_for_states:
79
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.marketplace_private_offer.models.Offer.lifecycle_state`
80
+
81
+ :param dict operation_kwargs:
82
+ A dictionary of keyword arguments to pass to :py:func:`~oci.marketplace_private_offer.OfferClient.delete_offer`
83
+
84
+ :param dict waiter_kwargs:
85
+ 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``
86
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
87
+ """
88
+ initial_get_result = self.client.get_offer(offer_id)
89
+ operation_result = None
90
+ try:
91
+ operation_result = self.client.delete_offer(offer_id, **operation_kwargs)
92
+ except oci.exceptions.ServiceError as e:
93
+ if e.status == 404:
94
+ return WAIT_RESOURCE_NOT_FOUND
95
+ else:
96
+ raise e
97
+
98
+ if not wait_for_states:
99
+ return operation_result
100
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
101
+
102
+ try:
103
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
104
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_offer, 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")
105
+ else:
106
+ """
107
+ If the user does not send in this value, we set it to True by default.
108
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
109
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
110
+ """
111
+ waiter_kwargs["succeed_on_not_found"] = True
112
+ waiter_result = oci.wait_until(
113
+ self.client,
114
+ initial_get_result, # noqa: F821
115
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
116
+ **waiter_kwargs
117
+ )
118
+ result_to_return = waiter_result
119
+
120
+ return result_to_return
121
+ except (NameError, TypeError) as e:
122
+ if not e.args:
123
+ e.args = ('',)
124
+ 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"', )
125
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
126
+ except Exception as e:
127
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
128
+
129
+ def update_offer_and_wait_for_state(self, offer_id, update_offer_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
130
+ """
131
+ Calls :py:func:`~oci.marketplace_private_offer.OfferClient.update_offer` and waits for the :py:class:`~oci.marketplace_private_offer.models.Offer` acted upon
132
+ to enter the given state(s).
133
+
134
+ :param str offer_id: (required)
135
+ unique Offer identifier
136
+
137
+ :param oci.marketplace_private_offer.models.UpdateOfferDetails update_offer_details: (required)
138
+ The information to be updated.
139
+
140
+ :param list[str] wait_for_states:
141
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.marketplace_private_offer.models.Offer.lifecycle_state`
142
+
143
+ :param dict operation_kwargs:
144
+ A dictionary of keyword arguments to pass to :py:func:`~oci.marketplace_private_offer.OfferClient.update_offer`
145
+
146
+ :param dict waiter_kwargs:
147
+ 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``
148
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
149
+ """
150
+ operation_result = self.client.update_offer(offer_id, update_offer_details, **operation_kwargs)
151
+ if not wait_for_states:
152
+ return operation_result
153
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
154
+ offer_id = operation_result.data.id
155
+
156
+ try:
157
+ waiter_result = oci.wait_until(
158
+ self.client,
159
+ self.client.get_offer(offer_id), # noqa: F821
160
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
161
+ **waiter_kwargs
162
+ )
163
+ result_to_return = waiter_result
164
+
165
+ return result_to_return
166
+ except (NameError, TypeError) as e:
167
+ if not e.args:
168
+ e.args = ('',)
169
+ 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"', )
170
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
171
+ except Exception as e:
172
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
@@ -7,8 +7,12 @@
7
7
  from __future__ import absolute_import
8
8
 
9
9
 
10
+ from .attachment_client import AttachmentClient
11
+ from .attachment_client_composite_operations import AttachmentClientCompositeOperations
10
12
  from .marketplace_publisher_client import MarketplacePublisherClient
11
13
  from .marketplace_publisher_client_composite_operations import MarketplacePublisherClientCompositeOperations
14
+ from .offer_client import OfferClient
15
+ from .offer_client_composite_operations import OfferClientCompositeOperations
12
16
  from . import models
13
17
 
14
- __all__ = ["MarketplacePublisherClient", "MarketplacePublisherClientCompositeOperations", "models"]
18
+ __all__ = ["AttachmentClient", "AttachmentClientCompositeOperations", "MarketplacePublisherClient", "MarketplacePublisherClientCompositeOperations", "OfferClient", "OfferClientCompositeOperations", "models"]