oci 2.126.3__py3-none-any.whl → 2.127.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) 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 +494 -38
  54. oci/capacity_management/models/__init__.py +4 -2
  55. oci/capacity_management/models/create_occ_capacity_request_details.py +32 -1
  56. oci/capacity_management/models/metadata_details.py +7 -3
  57. oci/capacity_management/models/occ_availability_catalog.py +2 -2
  58. oci/capacity_management/models/occ_availability_catalog_summary.py +2 -2
  59. oci/capacity_management/models/occ_availability_summary.py +99 -40
  60. oci/capacity_management/models/occ_capacity_request.py +47 -0
  61. oci/capacity_management/models/occ_capacity_request_base_details.py +96 -32
  62. oci/capacity_management/models/occ_capacity_request_summary.py +31 -0
  63. oci/capacity_management/models/occ_overview_collection.py +72 -0
  64. oci/capacity_management/models/occ_overview_summary.py +413 -0
  65. oci/certificates/certificates_client.py +5 -5
  66. oci/certificates_management/certificates_management_client.py +32 -32
  67. oci/cims/incident_client.py +8 -8
  68. oci/cims/user_client.py +1 -1
  69. oci/cloud_bridge/common_client.py +5 -5
  70. oci/cloud_bridge/discovery_client.py +14 -14
  71. oci/cloud_bridge/inventory_client.py +16 -16
  72. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  73. oci/cloud_guard/cloud_guard_client.py +155 -155
  74. oci/cloud_migrations/migration_client.py +43 -43
  75. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +26 -26
  76. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  77. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  78. oci/compute_instance_agent/plugin_client.py +2 -2
  79. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  80. oci/container_engine/container_engine_client.py +44 -44
  81. oci/container_instances/container_instance_client.py +18 -18
  82. oci/core/blockstorage_client.py +60 -60
  83. oci/core/compute_client.py +99 -99
  84. oci/core/compute_management_client.py +32 -32
  85. oci/core/virtual_network_client.py +247 -247
  86. oci/dashboard_service/dashboard_client.py +6 -6
  87. oci/dashboard_service/dashboard_group_client.py +6 -6
  88. oci/data_catalog/data_catalog_client.py +149 -149
  89. oci/data_flow/data_flow_client.py +42 -42
  90. oci/data_integration/data_integration_client.py +163 -163
  91. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  92. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  93. oci/data_safe/data_safe_client.py +278 -278
  94. oci/data_science/data_science_client.py +124 -98
  95. oci/data_science/models/__init__.py +10 -0
  96. oci/data_science/models/fast_launch_job_config_summary.py +7 -3
  97. oci/data_science/models/job_shape_summary.py +7 -3
  98. oci/data_science/models/model_deployment_shape_summary.py +7 -3
  99. oci/data_science/models/notebook_session_shape_summary.py +7 -3
  100. oci/data_science/models/pipeline_container_configuration_details.py +101 -0
  101. oci/data_science/models/pipeline_container_step_details.py +164 -0
  102. oci/data_science/models/pipeline_container_step_run.py +87 -0
  103. oci/data_science/models/pipeline_container_step_update_details.py +99 -0
  104. oci/data_science/models/pipeline_custom_script_step_details.py +1 -1
  105. oci/data_science/models/pipeline_custom_script_step_run.py +1 -1
  106. oci/data_science/models/pipeline_custom_script_step_update_details.py +30 -3
  107. oci/data_science/models/pipeline_infrastructure_configuration_details.py +31 -0
  108. oci/data_science/models/pipeline_ml_job_step_details.py +1 -1
  109. oci/data_science/models/pipeline_ml_job_step_run.py +1 -1
  110. oci/data_science/models/pipeline_ml_job_step_update_details.py +1 -1
  111. oci/data_science/models/pipeline_ocir_container_configuration_details.py +228 -0
  112. oci/data_science/models/pipeline_step_details.py +11 -3
  113. oci/data_science/models/pipeline_step_override_details.py +29 -2
  114. oci/data_science/models/pipeline_step_run.py +11 -3
  115. oci/data_science/models/pipeline_step_update_details.py +11 -3
  116. oci/data_science/models/update_pipeline_details.py +29 -2
  117. oci/database/database_client.py +333 -333
  118. oci/database/models/database_connection_credentials_by_details.py +7 -3
  119. oci/database/models/database_ssl_connection_credentials.py +7 -3
  120. oci/database/models/enable_database_management_details.py +7 -3
  121. oci/database/models/enable_pluggable_database_management_details.py +7 -3
  122. oci/database/models/modify_database_management_details.py +7 -3
  123. oci/database/models/modify_pluggable_database_management_details.py +7 -3
  124. oci/database_management/db_management_client.py +478 -206
  125. oci/database_management/diagnosability_client.py +4 -4
  126. oci/database_management/managed_my_sql_databases_client.py +7 -7
  127. oci/database_management/models/__init__.py +10 -0
  128. oci/database_management/models/basic_named_credential_content.py +7 -3
  129. oci/database_management/models/basic_preferred_credential.py +7 -3
  130. oci/database_management/models/data_points.py +103 -0
  131. oci/database_management/models/database_connection_credentials_by_details.py +7 -3
  132. oci/database_management/models/database_password_credential_details.py +7 -3
  133. oci/database_management/models/database_secret_credential_details.py +7 -3
  134. oci/database_management/models/database_ssl_connection_credentials.py +7 -3
  135. oci/database_management/models/database_usage_metrics.py +183 -0
  136. oci/database_management/models/dataguard_performance_metrics.py +72 -0
  137. oci/database_management/models/peer_database_metrics.py +72 -0
  138. oci/database_management/models/performance_metrics.py +165 -0
  139. oci/database_management/models/performance_metrics_data.py +387 -0
  140. oci/database_management/models/preferred_credential_summary.py +7 -3
  141. oci/database_management/models/test_basic_preferred_credential_details.py +7 -3
  142. oci/database_management/models/update_basic_preferred_credential_details.py +7 -3
  143. oci/database_management/perfhub_client.py +1 -1
  144. oci/database_management/sql_tuning_client.py +17 -17
  145. oci/database_migration/database_migration_client.py +41 -41
  146. oci/database_tools/database_tools_client.py +23 -23
  147. oci/demand_signal/__init__.py +14 -0
  148. oci/demand_signal/models/__init__.py +48 -0
  149. oci/demand_signal/models/change_occ_demand_signal_compartment_details.py +76 -0
  150. oci/demand_signal/models/create_occ_demand_signal_details.py +251 -0
  151. oci/demand_signal/models/occ_demand_signal.py +501 -0
  152. oci/demand_signal/models/occ_demand_signal_collection.py +72 -0
  153. oci/demand_signal/models/occ_demand_signal_data.py +134 -0
  154. oci/demand_signal/models/occ_demand_signal_summary.py +430 -0
  155. oci/demand_signal/models/occ_demand_signal_value.py +134 -0
  156. oci/demand_signal/models/patch_insert_instruction.py +171 -0
  157. oci/demand_signal/models/patch_insert_multiple_instruction.py +171 -0
  158. oci/demand_signal/models/patch_instruction.py +192 -0
  159. oci/demand_signal/models/patch_merge_instruction.py +97 -0
  160. oci/demand_signal/models/patch_move_instruction.py +147 -0
  161. oci/demand_signal/models/patch_occ_demand_signal_details.py +72 -0
  162. oci/demand_signal/models/patch_prohibit_instruction.py +100 -0
  163. oci/demand_signal/models/patch_remove_instruction.py +59 -0
  164. oci/demand_signal/models/patch_replace_instruction.py +92 -0
  165. oci/demand_signal/models/patch_require_instruction.py +99 -0
  166. oci/demand_signal/models/update_occ_demand_signal_details.py +185 -0
  167. oci/demand_signal/occ_demand_signal_client.py +953 -0
  168. oci/demand_signal/occ_demand_signal_client_composite_operations.py +176 -0
  169. oci/desktops/desktop_service_client.py +21 -21
  170. oci/devops/devops_client.py +89 -89
  171. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  172. oci/dns/dns_client.py +52 -52
  173. oci/dts/appliance_export_job_client.py +6 -6
  174. oci/dts/shipping_vendors_client.py +1 -1
  175. oci/dts/transfer_appliance_client.py +8 -8
  176. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  177. oci/dts/transfer_device_client.py +5 -5
  178. oci/dts/transfer_job_client.py +6 -6
  179. oci/dts/transfer_package_client.py +7 -7
  180. oci/em_warehouse/em_data_lake_client.py +13 -13
  181. oci/em_warehouse/em_warehouse_client.py +13 -13
  182. oci/email/email_client.py +31 -31
  183. oci/email_data_plane/email_dp_client.py +1 -1
  184. oci/events/events_client.py +6 -6
  185. oci/file_storage/file_storage_client.py +50 -50
  186. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  187. oci/functions/functions_invoke_client.py +1 -1
  188. oci/functions/functions_management_client.py +16 -16
  189. oci/fusion_apps/data_masking_activity_client.py +3 -3
  190. oci/fusion_apps/fusion_applications_client.py +39 -39
  191. oci/fusion_apps/fusion_environment_client.py +15 -15
  192. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  193. oci/fusion_apps/refresh_activity_client.py +4 -4
  194. oci/fusion_apps/scheduled_activity_client.py +2 -2
  195. oci/fusion_apps/service_attachment_client.py +2 -2
  196. oci/generative_ai/generative_ai_client.py +22 -22
  197. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  198. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  199. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  200. oci/golden_gate/golden_gate_client.py +61 -61
  201. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  202. oci/governance_rules_control_plane/work_request_client.py +5 -5
  203. oci/healthchecks/health_checks_client.py +17 -17
  204. oci/identity/identity_client.py +145 -145
  205. oci/identity_data_plane/dataplane_client.py +2 -2
  206. oci/identity_domains/identity_domains_client.py +300 -300
  207. oci/integration/integration_instance_client.py +15 -15
  208. oci/jms/java_management_service_client.py +66 -66
  209. oci/jms_java_downloads/java_download_client.py +27 -26
  210. oci/jms_java_downloads/models/create_java_download_report_details.py +80 -6
  211. oci/jms_java_downloads/models/create_java_license_acceptance_record_details.py +76 -2
  212. oci/jms_java_downloads/models/java_download_count_aggregation.py +2 -2
  213. oci/jms_java_downloads/models/java_download_record.py +2 -2
  214. oci/jms_java_downloads/models/java_download_record_summary.py +2 -2
  215. oci/jms_java_downloads/models/java_download_report.py +174 -2
  216. oci/jms_java_downloads/models/java_download_report_summary.py +174 -2
  217. oci/jms_java_downloads/models/java_download_token.py +24 -8
  218. oci/jms_java_downloads/models/java_download_token_summary.py +24 -8
  219. oci/jms_java_downloads/models/java_license_acceptance_record.py +4 -4
  220. oci/jms_java_downloads/models/java_license_acceptance_record_summary.py +4 -4
  221. oci/jms_java_downloads/models/request_summarized_java_download_counts_details.py +2 -2
  222. oci/jms_java_downloads/models/update_java_license_acceptance_record_details.py +76 -2
  223. oci/key_management/ekm_client.py +5 -5
  224. oci/key_management/kms_crypto_client.py +6 -6
  225. oci/key_management/kms_hsm_cluster_client.py +12 -12
  226. oci/key_management/kms_management_client.py +21 -21
  227. oci/key_management/kms_vault_client.py +14 -14
  228. oci/license_manager/license_manager_client.py +18 -18
  229. oci/limits/limits_client.py +4 -4
  230. oci/limits/quotas_client.py +7 -7
  231. oci/load_balancer/load_balancer_client.py +61 -61
  232. oci/lockbox/lockbox_client.py +24 -24
  233. oci/log_analytics/log_analytics_client.py +193 -193
  234. oci/logging/logging_management_client.py +30 -30
  235. oci/loggingingestion/logging_client.py +1 -1
  236. oci/loggingsearch/log_search_client.py +1 -1
  237. oci/management_agent/management_agent_client.py +28 -28
  238. oci/management_dashboard/dashx_apis_client.py +14 -14
  239. oci/marketplace/account_client.py +2 -2
  240. oci/marketplace/marketplace_client.py +30 -30
  241. oci/marketplace_private_offer/attachment_client.py +5 -5
  242. oci/marketplace_private_offer/offer_client.py +6 -6
  243. oci/marketplace_publisher/attachment_client.py +5 -5
  244. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  245. oci/marketplace_publisher/offer_client.py +6 -6
  246. oci/media_services/media_services_client.py +60 -60
  247. oci/media_services/media_stream_client.py +2 -2
  248. oci/monitoring/monitoring_client.py +18 -18
  249. oci/mysql/channels_client.py +7 -7
  250. oci/mysql/db_backups_client.py +6 -6
  251. oci/mysql/db_system_client.py +17 -17
  252. oci/mysql/mysqlaas_client.py +7 -7
  253. oci/mysql/replicas_client.py +5 -5
  254. oci/mysql/work_requests_client.py +4 -4
  255. oci/network_firewall/network_firewall_client.py +80 -80
  256. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  257. oci/nosql/nosql_client.py +24 -24
  258. oci/object_storage/object_storage_client.py +50 -50
  259. oci/oce/oce_instance_client.py +10 -10
  260. oci/oci_control_center/occ_metrics_client.py +3 -3
  261. oci/ocvp/cluster_client.py +5 -5
  262. oci/ocvp/esxi_host_client.py +8 -8
  263. oci/ocvp/sddc_client.py +14 -14
  264. oci/ocvp/work_request_client.py +4 -4
  265. oci/oda/management_client.py +59 -59
  266. oci/oda/oda_client.py +17 -17
  267. oci/oda/odapackage_client.py +7 -7
  268. oci/onesubscription/billing_schedule_client.py +1 -1
  269. oci/onesubscription/commitment_client.py +2 -2
  270. oci/onesubscription/computed_usage_client.py +3 -3
  271. oci/onesubscription/invoice_summary_client.py +2 -2
  272. oci/onesubscription/organization_subscription_client.py +1 -1
  273. oci/onesubscription/ratecard_client.py +1 -1
  274. oci/onesubscription/subscribed_service_client.py +2 -2
  275. oci/onesubscription/subscription_client.py +1 -1
  276. oci/ons/notification_control_plane_client.py +6 -6
  277. oci/ons/notification_data_plane_client.py +10 -10
  278. oci/opa/opa_instance_client.py +13 -13
  279. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  280. oci/opensearch/opensearch_cluster_client.py +14 -14
  281. oci/operator_access_control/access_requests_client.py +10 -10
  282. oci/operator_access_control/operator_actions_client.py +2 -2
  283. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  284. oci/operator_access_control/operator_control_client.py +6 -6
  285. oci/opsi/operations_insights_client.py +175 -175
  286. oci/optimizer/optimizer_client.py +26 -26
  287. oci/os_management/event_client.py +8 -8
  288. oci/os_management/os_management_client.py +69 -69
  289. oci/os_management_hub/event_client.py +8 -8
  290. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  291. oci/os_management_hub/managed_instance_client.py +31 -31
  292. oci/os_management_hub/managed_instance_group_client.py +25 -25
  293. oci/os_management_hub/management_station_client.py +10 -10
  294. oci/os_management_hub/onboarding_client.py +6 -6
  295. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  296. oci/os_management_hub/scheduled_job_client.py +7 -7
  297. oci/os_management_hub/software_source_client.py +27 -27
  298. oci/os_management_hub/work_request_client.py +4 -4
  299. oci/osp_gateway/address_rule_service_client.py +1 -1
  300. oci/osp_gateway/address_service_client.py +2 -2
  301. oci/osp_gateway/invoice_service_client.py +5 -5
  302. oci/osp_gateway/subscription_service_client.py +5 -5
  303. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  304. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  305. oci/osub_subscription/commitment_client.py +2 -2
  306. oci/osub_subscription/ratecard_client.py +1 -1
  307. oci/osub_subscription/subscription_client.py +1 -1
  308. oci/osub_usage/computed_usage_client.py +3 -3
  309. oci/psql/postgresql_client.py +33 -33
  310. oci/queue/queue_admin_client.py +11 -11
  311. oci/queue/queue_client.py +8 -8
  312. oci/recovery/database_recovery_client.py +25 -25
  313. oci/redis/redis_cluster_client.py +11 -11
  314. oci/resource_manager/resource_manager_client.py +52 -52
  315. oci/resource_scheduler/__init__.py +14 -0
  316. oci/resource_scheduler/models/__init__.py +58 -0
  317. oci/resource_scheduler/models/compartment_id_resource_filter.py +113 -0
  318. oci/resource_scheduler/models/create_schedule_details.py +487 -0
  319. oci/resource_scheduler/models/defined_tag_filter_value.py +134 -0
  320. oci/resource_scheduler/models/defined_tags_resource_filter.py +82 -0
  321. oci/resource_scheduler/models/lifecycle_state_resource_filter.py +82 -0
  322. oci/resource_scheduler/models/resource.py +121 -0
  323. oci/resource_scheduler/models/resource_filter.py +133 -0
  324. oci/resource_scheduler/models/resource_type.py +72 -0
  325. oci/resource_scheduler/models/resource_type_collection.py +72 -0
  326. oci/resource_scheduler/models/resource_type_resource_filter.py +82 -0
  327. oci/resource_scheduler/models/schedule.py +787 -0
  328. oci/resource_scheduler/models/schedule_collection.py +72 -0
  329. oci/resource_scheduler/models/schedule_summary.py +815 -0
  330. oci/resource_scheduler/models/time_created_resource_filter.py +134 -0
  331. oci/resource_scheduler/models/update_schedule_details.py +452 -0
  332. oci/resource_scheduler/models/work_request.py +455 -0
  333. oci/resource_scheduler/models/work_request_error.py +146 -0
  334. oci/resource_scheduler/models/work_request_error_collection.py +72 -0
  335. oci/resource_scheduler/models/work_request_log_entry.py +109 -0
  336. oci/resource_scheduler/models/work_request_log_entry_collection.py +72 -0
  337. oci/resource_scheduler/models/work_request_resource.py +207 -0
  338. oci/resource_scheduler/models/work_request_summary.py +453 -0
  339. oci/resource_scheduler/models/work_request_summary_collection.py +72 -0
  340. oci/resource_scheduler/schedule_client.py +1778 -0
  341. oci/resource_scheduler/schedule_client_composite_operations.py +258 -0
  342. oci/resource_search/resource_search_client.py +3 -3
  343. oci/rover/rover_bundle_client.py +8 -8
  344. oci/rover/rover_cluster_client.py +8 -8
  345. oci/rover/rover_entitlement_client.py +6 -6
  346. oci/rover/rover_node_client.py +15 -15
  347. oci/rover/shape_client.py +1 -1
  348. oci/rover/work_requests_client.py +5 -5
  349. oci/sch/connector_plugins_client.py +2 -2
  350. oci/sch/service_connector_client.py +12 -12
  351. oci/secrets/secrets_client.py +3 -3
  352. oci/service_catalog/service_catalog_client.py +26 -26
  353. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  354. oci/service_mesh/service_mesh_client.py +48 -48
  355. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  356. oci/streaming/stream_admin_client.py +18 -18
  357. oci/streaming/stream_client.py +8 -8
  358. oci/tenant_manager_control_plane/domain_client.py +5 -5
  359. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  360. oci/tenant_manager_control_plane/governance_client.py +2 -2
  361. oci/tenant_manager_control_plane/link_client.py +3 -3
  362. oci/tenant_manager_control_plane/orders_client.py +2 -2
  363. oci/tenant_manager_control_plane/organization_client.py +10 -10
  364. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  365. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  366. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  367. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  368. oci/threat_intelligence/threatintel_client.py +5 -5
  369. oci/usage/resources_client.py +2 -2
  370. oci/usage/rewards_client.py +6 -6
  371. oci/usage/usagelimits_client.py +1 -1
  372. oci/usage_api/usageapi_client.py +33 -33
  373. oci/vault/vaults_client.py +13 -13
  374. oci/vbs_inst/vbs_instance_client.py +10 -10
  375. oci/version.py +1 -1
  376. oci/visual_builder/vb_instance_client.py +13 -13
  377. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  378. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  379. oci/waa/waa_client.py +13 -13
  380. oci/waa/work_request_client.py +4 -4
  381. oci/waas/redirect_client.py +6 -6
  382. oci/waas/waas_client.py +66 -66
  383. oci/waf/waf_client.py +24 -24
  384. oci/work_requests/work_request_client.py +4 -4
  385. {oci-2.126.3.dist-info → oci-2.127.0.dist-info}/METADATA +1 -1
  386. {oci-2.126.3.dist-info → oci-2.127.0.dist-info}/RECORD +390 -313
  387. {oci-2.126.3.dist-info → oci-2.127.0.dist-info}/LICENSE.txt +0 -0
  388. {oci-2.126.3.dist-info → oci-2.127.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  389. {oci-2.126.3.dist-info → oci-2.127.0.dist-info}/WHEEL +0 -0
  390. {oci-2.126.3.dist-info → oci-2.127.0.dist-info}/top_level.txt +0 -0
@@ -364,6 +364,48 @@ class BdsClientCompositeOperations(object):
364
364
  except Exception as e:
365
365
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
366
366
 
367
+ def backup_node_and_wait_for_state(self, bds_instance_id, backup_node_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
368
+ """
369
+ Calls :py:func:`~oci.bds.BdsClient.backup_node` and waits for the :py:class:`~oci.bds.models.WorkRequest`
370
+ to enter the given state(s).
371
+
372
+ :param str bds_instance_id: (required)
373
+ The OCID of the cluster.
374
+
375
+ :param oci.bds.models.BackupNodeDetails backup_node_details: (required)
376
+ Details for Taking the node's backup
377
+
378
+ :param list[str] wait_for_states:
379
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
380
+
381
+ :param dict operation_kwargs:
382
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.backup_node`
383
+
384
+ :param dict waiter_kwargs:
385
+ 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``
386
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
387
+ """
388
+ operation_result = self.client.backup_node(bds_instance_id, backup_node_details, **operation_kwargs)
389
+ if not wait_for_states:
390
+ return operation_result
391
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
392
+ if 'opc-work-request-id' not in operation_result.headers:
393
+ return operation_result
394
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
395
+
396
+ try:
397
+ waiter_result = oci.wait_until(
398
+ self.client,
399
+ self.client.get_work_request(wait_for_resource_id),
400
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
401
+ **waiter_kwargs
402
+ )
403
+ result_to_return = waiter_result
404
+
405
+ return result_to_return
406
+ except Exception as e:
407
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
408
+
367
409
  def change_bds_instance_compartment_and_wait_for_state(self, bds_instance_id, change_bds_instance_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
368
410
  """
369
411
  Calls :py:func:`~oci.bds.BdsClient.change_bds_instance_compartment` and waits for the :py:class:`~oci.bds.models.WorkRequest`
@@ -571,6 +613,90 @@ class BdsClientCompositeOperations(object):
571
613
  except Exception as e:
572
614
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
573
615
 
616
+ def create_node_backup_configuration_and_wait_for_state(self, bds_instance_id, create_node_backup_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
617
+ """
618
+ Calls :py:func:`~oci.bds.BdsClient.create_node_backup_configuration` and waits for the :py:class:`~oci.bds.models.WorkRequest`
619
+ to enter the given state(s).
620
+
621
+ :param str bds_instance_id: (required)
622
+ The OCID of the cluster.
623
+
624
+ :param oci.bds.models.CreateNodeBackupConfigurationDetails create_node_backup_configuration_details: (required)
625
+ Details for adding nodeBackupConfiguration to the BDS cluster.
626
+
627
+ :param list[str] wait_for_states:
628
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
629
+
630
+ :param dict operation_kwargs:
631
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.create_node_backup_configuration`
632
+
633
+ :param dict waiter_kwargs:
634
+ 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``
635
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
636
+ """
637
+ operation_result = self.client.create_node_backup_configuration(bds_instance_id, create_node_backup_configuration_details, **operation_kwargs)
638
+ if not wait_for_states:
639
+ return operation_result
640
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
641
+ if 'opc-work-request-id' not in operation_result.headers:
642
+ return operation_result
643
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
644
+
645
+ try:
646
+ waiter_result = oci.wait_until(
647
+ self.client,
648
+ self.client.get_work_request(wait_for_resource_id),
649
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
650
+ **waiter_kwargs
651
+ )
652
+ result_to_return = waiter_result
653
+
654
+ return result_to_return
655
+ except Exception as e:
656
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
657
+
658
+ def create_node_replace_configuration_and_wait_for_state(self, bds_instance_id, create_node_replace_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
659
+ """
660
+ Calls :py:func:`~oci.bds.BdsClient.create_node_replace_configuration` and waits for the :py:class:`~oci.bds.models.WorkRequest`
661
+ to enter the given state(s).
662
+
663
+ :param str bds_instance_id: (required)
664
+ The OCID of the cluster.
665
+
666
+ :param oci.bds.models.CreateNodeReplaceConfigurationDetails create_node_replace_configuration_details: (required)
667
+ Details for adding nodeReplaceConfiguration to the BDS cluster.
668
+
669
+ :param list[str] wait_for_states:
670
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
671
+
672
+ :param dict operation_kwargs:
673
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.create_node_replace_configuration`
674
+
675
+ :param dict waiter_kwargs:
676
+ 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``
677
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
678
+ """
679
+ operation_result = self.client.create_node_replace_configuration(bds_instance_id, create_node_replace_configuration_details, **operation_kwargs)
680
+ if not wait_for_states:
681
+ return operation_result
682
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
683
+ if 'opc-work-request-id' not in operation_result.headers:
684
+ return operation_result
685
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
686
+
687
+ try:
688
+ waiter_result = oci.wait_until(
689
+ self.client,
690
+ self.client.get_work_request(wait_for_resource_id),
691
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
692
+ **waiter_kwargs
693
+ )
694
+ result_to_return = waiter_result
695
+
696
+ return result_to_return
697
+ except Exception as e:
698
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
699
+
574
700
  def delete_bds_api_key_and_wait_for_state(self, bds_instance_id, api_key_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
575
701
  """
576
702
  Calls :py:func:`~oci.bds.BdsClient.delete_bds_api_key` and waits for the :py:class:`~oci.bds.models.WorkRequest`
@@ -718,6 +844,106 @@ class BdsClientCompositeOperations(object):
718
844
  except Exception as e:
719
845
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
720
846
 
847
+ def delete_node_backup_and_wait_for_state(self, bds_instance_id, node_backup_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
848
+ """
849
+ Calls :py:func:`~oci.bds.BdsClient.delete_node_backup` and waits for the :py:class:`~oci.bds.models.WorkRequest`
850
+ to enter the given state(s).
851
+
852
+ :param str bds_instance_id: (required)
853
+ The OCID of the cluster.
854
+
855
+ :param str node_backup_id: (required)
856
+ Unique assigned identifier of the nodeBackupId.
857
+
858
+ :param list[str] wait_for_states:
859
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
860
+
861
+ :param dict operation_kwargs:
862
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.delete_node_backup`
863
+
864
+ :param dict waiter_kwargs:
865
+ 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``
866
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
867
+ """
868
+ operation_result = None
869
+ try:
870
+ operation_result = self.client.delete_node_backup(bds_instance_id, node_backup_id, **operation_kwargs)
871
+ except oci.exceptions.ServiceError as e:
872
+ if e.status == 404:
873
+ return WAIT_RESOURCE_NOT_FOUND
874
+ else:
875
+ raise e
876
+
877
+ if not wait_for_states:
878
+ return operation_result
879
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
880
+ if 'opc-work-request-id' not in operation_result.headers:
881
+ return operation_result
882
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
883
+
884
+ try:
885
+ waiter_result = oci.wait_until(
886
+ self.client,
887
+ self.client.get_work_request(wait_for_resource_id),
888
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
889
+ **waiter_kwargs
890
+ )
891
+ result_to_return = waiter_result
892
+
893
+ return result_to_return
894
+ except Exception as e:
895
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
896
+
897
+ def delete_node_backup_configuration_and_wait_for_state(self, bds_instance_id, node_backup_configuration_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
898
+ """
899
+ Calls :py:func:`~oci.bds.BdsClient.delete_node_backup_configuration` and waits for the :py:class:`~oci.bds.models.WorkRequest`
900
+ to enter the given state(s).
901
+
902
+ :param str bds_instance_id: (required)
903
+ The OCID of the cluster.
904
+
905
+ :param str node_backup_configuration_id: (required)
906
+ Unique Oracle-assigned identifier of the NodeBackupConfiguration.
907
+
908
+ :param list[str] wait_for_states:
909
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
910
+
911
+ :param dict operation_kwargs:
912
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.delete_node_backup_configuration`
913
+
914
+ :param dict waiter_kwargs:
915
+ 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``
916
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
917
+ """
918
+ operation_result = None
919
+ try:
920
+ operation_result = self.client.delete_node_backup_configuration(bds_instance_id, node_backup_configuration_id, **operation_kwargs)
921
+ except oci.exceptions.ServiceError as e:
922
+ if e.status == 404:
923
+ return WAIT_RESOURCE_NOT_FOUND
924
+ else:
925
+ raise e
926
+
927
+ if not wait_for_states:
928
+ return operation_result
929
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
930
+ if 'opc-work-request-id' not in operation_result.headers:
931
+ return operation_result
932
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
933
+
934
+ try:
935
+ waiter_result = oci.wait_until(
936
+ self.client,
937
+ self.client.get_work_request(wait_for_resource_id),
938
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
939
+ **waiter_kwargs
940
+ )
941
+ result_to_return = waiter_result
942
+
943
+ return result_to_return
944
+ except Exception as e:
945
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
946
+
721
947
  def disable_certificate_and_wait_for_state(self, bds_instance_id, disable_certificate_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
722
948
  """
723
949
  Calls :py:func:`~oci.bds.BdsClient.disable_certificate` and waits for the :py:class:`~oci.bds.models.WorkRequest`
@@ -1099,6 +1325,51 @@ class BdsClientCompositeOperations(object):
1099
1325
  except Exception as e:
1100
1326
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1101
1327
 
1328
+ def remove_node_replace_configuration_and_wait_for_state(self, bds_instance_id, node_replace_configuration_id, remove_node_replace_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1329
+ """
1330
+ Calls :py:func:`~oci.bds.BdsClient.remove_node_replace_configuration` and waits for the :py:class:`~oci.bds.models.WorkRequest`
1331
+ to enter the given state(s).
1332
+
1333
+ :param str bds_instance_id: (required)
1334
+ The OCID of the cluster.
1335
+
1336
+ :param str node_replace_configuration_id: (required)
1337
+ Unique Oracle-assigned identifier of the NodeReplaceConfiguration.
1338
+
1339
+ :param oci.bds.models.RemoveNodeReplaceConfigurationDetails remove_node_replace_configuration_details: (required)
1340
+ Details for removing NodeReplaceConfiguration
1341
+
1342
+ :param list[str] wait_for_states:
1343
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
1344
+
1345
+ :param dict operation_kwargs:
1346
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.remove_node_replace_configuration`
1347
+
1348
+ :param dict waiter_kwargs:
1349
+ 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``
1350
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1351
+ """
1352
+ operation_result = self.client.remove_node_replace_configuration(bds_instance_id, node_replace_configuration_id, remove_node_replace_configuration_details, **operation_kwargs)
1353
+ if not wait_for_states:
1354
+ return operation_result
1355
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1356
+ if 'opc-work-request-id' not in operation_result.headers:
1357
+ return operation_result
1358
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1359
+
1360
+ try:
1361
+ waiter_result = oci.wait_until(
1362
+ self.client,
1363
+ self.client.get_work_request(wait_for_resource_id),
1364
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1365
+ **waiter_kwargs
1366
+ )
1367
+ result_to_return = waiter_result
1368
+
1369
+ return result_to_return
1370
+ except Exception as e:
1371
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1372
+
1102
1373
  def renew_certificate_and_wait_for_state(self, bds_instance_id, renew_certificate_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1103
1374
  """
1104
1375
  Calls :py:func:`~oci.bds.BdsClient.renew_certificate` and waits for the :py:class:`~oci.bds.models.WorkRequest`
@@ -1141,6 +1412,48 @@ class BdsClientCompositeOperations(object):
1141
1412
  except Exception as e:
1142
1413
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1143
1414
 
1415
+ def replace_node_and_wait_for_state(self, bds_instance_id, replace_node_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1416
+ """
1417
+ Calls :py:func:`~oci.bds.BdsClient.replace_node` and waits for the :py:class:`~oci.bds.models.WorkRequest`
1418
+ to enter the given state(s).
1419
+
1420
+ :param str bds_instance_id: (required)
1421
+ The OCID of the cluster.
1422
+
1423
+ :param oci.bds.models.ReplaceNodeDetails replace_node_details: (required)
1424
+ Details for Replacing the node.
1425
+
1426
+ :param list[str] wait_for_states:
1427
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
1428
+
1429
+ :param dict operation_kwargs:
1430
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.replace_node`
1431
+
1432
+ :param dict waiter_kwargs:
1433
+ 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``
1434
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1435
+ """
1436
+ operation_result = self.client.replace_node(bds_instance_id, replace_node_details, **operation_kwargs)
1437
+ if not wait_for_states:
1438
+ return operation_result
1439
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1440
+ if 'opc-work-request-id' not in operation_result.headers:
1441
+ return operation_result
1442
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1443
+
1444
+ try:
1445
+ waiter_result = oci.wait_until(
1446
+ self.client,
1447
+ self.client.get_work_request(wait_for_resource_id),
1448
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1449
+ **waiter_kwargs
1450
+ )
1451
+ result_to_return = waiter_result
1452
+
1453
+ return result_to_return
1454
+ except Exception as e:
1455
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1456
+
1144
1457
  def restart_node_and_wait_for_state(self, bds_instance_id, restart_node_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1145
1458
  """
1146
1459
  Calls :py:func:`~oci.bds.BdsClient.restart_node` and waits for the :py:class:`~oci.bds.models.WorkRequest`
@@ -1488,3 +1801,93 @@ class BdsClientCompositeOperations(object):
1488
1801
  return result_to_return
1489
1802
  except Exception as e:
1490
1803
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1804
+
1805
+ def update_node_backup_configuration_and_wait_for_state(self, bds_instance_id, node_backup_configuration_id, update_node_backup_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1806
+ """
1807
+ Calls :py:func:`~oci.bds.BdsClient.update_node_backup_configuration` and waits for the :py:class:`~oci.bds.models.WorkRequest`
1808
+ to enter the given state(s).
1809
+
1810
+ :param str bds_instance_id: (required)
1811
+ The OCID of the cluster.
1812
+
1813
+ :param str node_backup_configuration_id: (required)
1814
+ Unique Oracle-assigned identifier of the NodeBackupConfiguration.
1815
+
1816
+ :param oci.bds.models.UpdateNodeBackupConfigurationDetails update_node_backup_configuration_details: (required)
1817
+ Details for updating the NodeBackupConfiguration.
1818
+
1819
+ :param list[str] wait_for_states:
1820
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
1821
+
1822
+ :param dict operation_kwargs:
1823
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.update_node_backup_configuration`
1824
+
1825
+ :param dict waiter_kwargs:
1826
+ 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``
1827
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1828
+ """
1829
+ operation_result = self.client.update_node_backup_configuration(bds_instance_id, node_backup_configuration_id, update_node_backup_configuration_details, **operation_kwargs)
1830
+ if not wait_for_states:
1831
+ return operation_result
1832
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1833
+ if 'opc-work-request-id' not in operation_result.headers:
1834
+ return operation_result
1835
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1836
+
1837
+ try:
1838
+ waiter_result = oci.wait_until(
1839
+ self.client,
1840
+ self.client.get_work_request(wait_for_resource_id),
1841
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1842
+ **waiter_kwargs
1843
+ )
1844
+ result_to_return = waiter_result
1845
+
1846
+ return result_to_return
1847
+ except Exception as e:
1848
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1849
+
1850
+ def update_node_replace_configuration_and_wait_for_state(self, bds_instance_id, node_replace_configuration_id, update_node_replace_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1851
+ """
1852
+ Calls :py:func:`~oci.bds.BdsClient.update_node_replace_configuration` and waits for the :py:class:`~oci.bds.models.WorkRequest`
1853
+ to enter the given state(s).
1854
+
1855
+ :param str bds_instance_id: (required)
1856
+ The OCID of the cluster.
1857
+
1858
+ :param str node_replace_configuration_id: (required)
1859
+ Unique Oracle-assigned identifier of the NodeReplaceConfiguration.
1860
+
1861
+ :param oci.bds.models.UpdateNodeReplaceConfigurationDetails update_node_replace_configuration_details: (required)
1862
+ Details for updating the nodeReplaceConfiguration.
1863
+
1864
+ :param list[str] wait_for_states:
1865
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.bds.models.WorkRequest.status`
1866
+
1867
+ :param dict operation_kwargs:
1868
+ A dictionary of keyword arguments to pass to :py:func:`~oci.bds.BdsClient.update_node_replace_configuration`
1869
+
1870
+ :param dict waiter_kwargs:
1871
+ 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``
1872
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1873
+ """
1874
+ operation_result = self.client.update_node_replace_configuration(bds_instance_id, node_replace_configuration_id, update_node_replace_configuration_details, **operation_kwargs)
1875
+ if not wait_for_states:
1876
+ return operation_result
1877
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1878
+ if 'opc-work-request-id' not in operation_result.headers:
1879
+ return operation_result
1880
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1881
+
1882
+ try:
1883
+ waiter_result = oci.wait_until(
1884
+ self.client,
1885
+ self.client.get_work_request(wait_for_resource_id),
1886
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1887
+ **waiter_kwargs
1888
+ )
1889
+ result_to_return = waiter_result
1890
+
1891
+ return result_to_return
1892
+ except Exception as e:
1893
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
@@ -25,6 +25,7 @@ from .auto_scale_policy_metric_rule import AutoScalePolicyMetricRule
25
25
  from .auto_scale_policy_rule import AutoScalePolicyRule
26
26
  from .auto_scaling_configuration import AutoScalingConfiguration
27
27
  from .auto_scaling_configuration_summary import AutoScalingConfigurationSummary
28
+ from .backup_node_details import BackupNodeDetails
28
29
  from .batching_based_patching_configs import BatchingBasedPatchingConfigs
29
30
  from .bds_api_key import BdsApiKey
30
31
  from .bds_api_key_summary import BdsApiKeySummary
@@ -42,7 +43,9 @@ from .cluster_details import ClusterDetails
42
43
  from .create_bds_api_key_details import CreateBdsApiKeyDetails
43
44
  from .create_bds_instance_details import CreateBdsInstanceDetails
44
45
  from .create_bds_metastore_configuration_details import CreateBdsMetastoreConfigurationDetails
46
+ from .create_node_backup_configuration_details import CreateNodeBackupConfigurationDetails
45
47
  from .create_node_details import CreateNodeDetails
48
+ from .create_node_replace_configuration_details import CreateNodeReplaceConfigurationDetails
46
49
  from .day_based_horizontal_scaling_schedule_details import DayBasedHorizontalScalingScheduleDetails
47
50
  from .day_based_vertical_scaling_schedule_details import DayBasedVerticalScalingScheduleDetails
48
51
  from .default_error import DefaultError
@@ -56,6 +59,7 @@ from .host_specific_certificate_details import HostSpecificCertificateDetails
56
59
  from .install_os_patch_details import InstallOsPatchDetails
57
60
  from .install_patch_details import InstallPatchDetails
58
61
  from .kerberos_details import KerberosDetails
62
+ from .level_type_details import LevelTypeDetails
59
63
  from .metric_based_horizontal_scale_in_config import MetricBasedHorizontalScaleInConfig
60
64
  from .metric_based_horizontal_scale_out_config import MetricBasedHorizontalScaleOutConfig
61
65
  from .metric_based_horizontal_scaling_policy_details import MetricBasedHorizontalScalingPolicyDetails
@@ -65,6 +69,14 @@ from .metric_based_vertical_scaling_policy_details import MetricBasedVerticalSca
65
69
  from .metric_threshold_rule import MetricThresholdRule
66
70
  from .network_config import NetworkConfig
67
71
  from .node import Node
72
+ from .node_backup import NodeBackup
73
+ from .node_backup_configuration import NodeBackupConfiguration
74
+ from .node_backup_configuration_summary import NodeBackupConfigurationSummary
75
+ from .node_backup_summary import NodeBackupSummary
76
+ from .node_level_details import NodeLevelDetails
77
+ from .node_replace_configuration import NodeReplaceConfiguration
78
+ from .node_replace_configuration_summary import NodeReplaceConfigurationSummary
79
+ from .node_type_level_details import NodeTypeLevelDetails
68
80
  from .os_patch_details import OsPatchDetails
69
81
  from .os_patch_package_summary import OsPatchPackageSummary
70
82
  from .os_patch_summary import OsPatchSummary
@@ -75,7 +87,9 @@ from .remove_auto_scaling_configuration_details import RemoveAutoScalingConfigur
75
87
  from .remove_cloud_sql_details import RemoveCloudSqlDetails
76
88
  from .remove_kafka_details import RemoveKafkaDetails
77
89
  from .remove_node_details import RemoveNodeDetails
90
+ from .remove_node_replace_configuration_details import RemoveNodeReplaceConfigurationDetails
78
91
  from .renew_certificate_details import RenewCertificateDetails
92
+ from .replace_node_details import ReplaceNodeDetails
79
93
  from .restart_node_details import RestartNodeDetails
80
94
  from .schedule_based_horizontal_scaling_policy_details import ScheduleBasedHorizontalScalingPolicyDetails
81
95
  from .schedule_based_vertical_scaling_policy_details import ScheduleBasedVerticalScalingPolicyDetails
@@ -92,6 +106,8 @@ from .update_bds_instance_details import UpdateBdsInstanceDetails
92
106
  from .update_bds_metastore_configuration_details import UpdateBdsMetastoreConfigurationDetails
93
107
  from .update_metric_based_horizontal_scaling_policy_details import UpdateMetricBasedHorizontalScalingPolicyDetails
94
108
  from .update_metric_based_vertical_scaling_policy_details import UpdateMetricBasedVerticalScalingPolicyDetails
109
+ from .update_node_backup_configuration_details import UpdateNodeBackupConfigurationDetails
110
+ from .update_node_replace_configuration_details import UpdateNodeReplaceConfigurationDetails
95
111
  from .update_schedule_based_horizontal_scaling_policy_details import UpdateScheduleBasedHorizontalScalingPolicyDetails
96
112
  from .update_schedule_based_vertical_scaling_policy_details import UpdateScheduleBasedVerticalScalingPolicyDetails
97
113
  from .vertical_scaling_schedule_details import VerticalScalingScheduleDetails
@@ -122,6 +138,7 @@ bds_type_mapping = {
122
138
  "AutoScalePolicyRule": AutoScalePolicyRule,
123
139
  "AutoScalingConfiguration": AutoScalingConfiguration,
124
140
  "AutoScalingConfigurationSummary": AutoScalingConfigurationSummary,
141
+ "BackupNodeDetails": BackupNodeDetails,
125
142
  "BatchingBasedPatchingConfigs": BatchingBasedPatchingConfigs,
126
143
  "BdsApiKey": BdsApiKey,
127
144
  "BdsApiKeySummary": BdsApiKeySummary,
@@ -139,7 +156,9 @@ bds_type_mapping = {
139
156
  "CreateBdsApiKeyDetails": CreateBdsApiKeyDetails,
140
157
  "CreateBdsInstanceDetails": CreateBdsInstanceDetails,
141
158
  "CreateBdsMetastoreConfigurationDetails": CreateBdsMetastoreConfigurationDetails,
159
+ "CreateNodeBackupConfigurationDetails": CreateNodeBackupConfigurationDetails,
142
160
  "CreateNodeDetails": CreateNodeDetails,
161
+ "CreateNodeReplaceConfigurationDetails": CreateNodeReplaceConfigurationDetails,
143
162
  "DayBasedHorizontalScalingScheduleDetails": DayBasedHorizontalScalingScheduleDetails,
144
163
  "DayBasedVerticalScalingScheduleDetails": DayBasedVerticalScalingScheduleDetails,
145
164
  "DefaultError": DefaultError,
@@ -153,6 +172,7 @@ bds_type_mapping = {
153
172
  "InstallOsPatchDetails": InstallOsPatchDetails,
154
173
  "InstallPatchDetails": InstallPatchDetails,
155
174
  "KerberosDetails": KerberosDetails,
175
+ "LevelTypeDetails": LevelTypeDetails,
156
176
  "MetricBasedHorizontalScaleInConfig": MetricBasedHorizontalScaleInConfig,
157
177
  "MetricBasedHorizontalScaleOutConfig": MetricBasedHorizontalScaleOutConfig,
158
178
  "MetricBasedHorizontalScalingPolicyDetails": MetricBasedHorizontalScalingPolicyDetails,
@@ -162,6 +182,14 @@ bds_type_mapping = {
162
182
  "MetricThresholdRule": MetricThresholdRule,
163
183
  "NetworkConfig": NetworkConfig,
164
184
  "Node": Node,
185
+ "NodeBackup": NodeBackup,
186
+ "NodeBackupConfiguration": NodeBackupConfiguration,
187
+ "NodeBackupConfigurationSummary": NodeBackupConfigurationSummary,
188
+ "NodeBackupSummary": NodeBackupSummary,
189
+ "NodeLevelDetails": NodeLevelDetails,
190
+ "NodeReplaceConfiguration": NodeReplaceConfiguration,
191
+ "NodeReplaceConfigurationSummary": NodeReplaceConfigurationSummary,
192
+ "NodeTypeLevelDetails": NodeTypeLevelDetails,
165
193
  "OsPatchDetails": OsPatchDetails,
166
194
  "OsPatchPackageSummary": OsPatchPackageSummary,
167
195
  "OsPatchSummary": OsPatchSummary,
@@ -172,7 +200,9 @@ bds_type_mapping = {
172
200
  "RemoveCloudSqlDetails": RemoveCloudSqlDetails,
173
201
  "RemoveKafkaDetails": RemoveKafkaDetails,
174
202
  "RemoveNodeDetails": RemoveNodeDetails,
203
+ "RemoveNodeReplaceConfigurationDetails": RemoveNodeReplaceConfigurationDetails,
175
204
  "RenewCertificateDetails": RenewCertificateDetails,
205
+ "ReplaceNodeDetails": ReplaceNodeDetails,
176
206
  "RestartNodeDetails": RestartNodeDetails,
177
207
  "ScheduleBasedHorizontalScalingPolicyDetails": ScheduleBasedHorizontalScalingPolicyDetails,
178
208
  "ScheduleBasedVerticalScalingPolicyDetails": ScheduleBasedVerticalScalingPolicyDetails,
@@ -189,6 +219,8 @@ bds_type_mapping = {
189
219
  "UpdateBdsMetastoreConfigurationDetails": UpdateBdsMetastoreConfigurationDetails,
190
220
  "UpdateMetricBasedHorizontalScalingPolicyDetails": UpdateMetricBasedHorizontalScalingPolicyDetails,
191
221
  "UpdateMetricBasedVerticalScalingPolicyDetails": UpdateMetricBasedVerticalScalingPolicyDetails,
222
+ "UpdateNodeBackupConfigurationDetails": UpdateNodeBackupConfigurationDetails,
223
+ "UpdateNodeReplaceConfigurationDetails": UpdateNodeReplaceConfigurationDetails,
192
224
  "UpdateScheduleBasedHorizontalScalingPolicyDetails": UpdateScheduleBasedHorizontalScalingPolicyDetails,
193
225
  "UpdateScheduleBasedVerticalScalingPolicyDetails": UpdateScheduleBasedVerticalScalingPolicyDetails,
194
226
  "VerticalScalingScheduleDetails": VerticalScalingScheduleDetails,
@@ -0,0 +1,99 @@
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: 20190531
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class BackupNodeDetails(object):
14
+ """
15
+ The information about the nodes to backup.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new BackupNodeDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param level_type_details:
24
+ The value to assign to the level_type_details property of this BackupNodeDetails.
25
+ :type level_type_details: oci.bds.models.LevelTypeDetails
26
+
27
+ :param backup_type:
28
+ The value to assign to the backup_type property of this BackupNodeDetails.
29
+ :type backup_type: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'level_type_details': 'LevelTypeDetails',
34
+ 'backup_type': 'str'
35
+ }
36
+
37
+ self.attribute_map = {
38
+ 'level_type_details': 'levelTypeDetails',
39
+ 'backup_type': 'backupType'
40
+ }
41
+
42
+ self._level_type_details = None
43
+ self._backup_type = None
44
+
45
+ @property
46
+ def level_type_details(self):
47
+ """
48
+ **[Required]** Gets the level_type_details of this BackupNodeDetails.
49
+
50
+ :return: The level_type_details of this BackupNodeDetails.
51
+ :rtype: oci.bds.models.LevelTypeDetails
52
+ """
53
+ return self._level_type_details
54
+
55
+ @level_type_details.setter
56
+ def level_type_details(self, level_type_details):
57
+ """
58
+ Sets the level_type_details of this BackupNodeDetails.
59
+
60
+ :param level_type_details: The level_type_details of this BackupNodeDetails.
61
+ :type: oci.bds.models.LevelTypeDetails
62
+ """
63
+ self._level_type_details = level_type_details
64
+
65
+ @property
66
+ def backup_type(self):
67
+ """
68
+ Gets the backup_type of this BackupNodeDetails.
69
+ Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
70
+
71
+
72
+ :return: The backup_type of this BackupNodeDetails.
73
+ :rtype: str
74
+ """
75
+ return self._backup_type
76
+
77
+ @backup_type.setter
78
+ def backup_type(self, backup_type):
79
+ """
80
+ Sets the backup_type of this BackupNodeDetails.
81
+ Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
82
+
83
+
84
+ :param backup_type: The backup_type of this BackupNodeDetails.
85
+ :type: str
86
+ """
87
+ self._backup_type = backup_type
88
+
89
+ def __repr__(self):
90
+ return formatted_flat_dict(self)
91
+
92
+ def __eq__(self, other):
93
+ if other is None:
94
+ return False
95
+
96
+ return self.__dict__ == other.__dict__
97
+
98
+ def __ne__(self, other):
99
+ return not self == other