oci 2.149.2__py3-none-any.whl → 2.150.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 (308) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +28 -28
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +12 -12
  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 +84 -84
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +32 -32
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +6 -6
  37. oci/cloud_bridge/common_client.py +5 -5
  38. oci/cloud_bridge/discovery_client.py +15 -15
  39. oci/cloud_bridge/inventory_client.py +16 -16
  40. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  41. oci/cloud_guard/cloud_guard_client.py +155 -155
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +44 -44
  49. oci/container_instances/container_instance_client.py +18 -18
  50. oci/core/blockstorage_client.py +60 -60
  51. oci/core/compute_client.py +117 -117
  52. oci/core/compute_management_client.py +32 -32
  53. oci/core/virtual_network_client.py +258 -258
  54. oci/dashboard_service/dashboard_client.py +6 -6
  55. oci/dashboard_service/dashboard_group_client.py +6 -6
  56. oci/data_catalog/data_catalog_client.py +149 -149
  57. oci/data_flow/data_flow_client.py +45 -45
  58. oci/data_integration/data_integration_client.py +163 -163
  59. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  60. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  61. oci/data_safe/data_safe_client.py +317 -317
  62. oci/data_science/data_science_client.py +145 -145
  63. oci/database/database_client.py +414 -414
  64. oci/database_management/db_management_client.py +228 -228
  65. oci/database_management/diagnosability_client.py +4 -4
  66. oci/database_management/managed_my_sql_databases_client.py +9 -9
  67. oci/database_management/perfhub_client.py +1 -1
  68. oci/database_management/sql_tuning_client.py +17 -17
  69. oci/database_migration/database_migration_client.py +42 -42
  70. oci/database_tools/database_tools_client.py +23 -23
  71. oci/dblm/db_life_cycle_management_client.py +12 -12
  72. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  73. oci/delegate_access_control/work_request_client.py +4 -4
  74. oci/demand_signal/occ_demand_signal_client.py +7 -7
  75. oci/desktops/desktop_service_client.py +21 -21
  76. oci/devops/devops_client.py +141 -141
  77. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  78. oci/dns/dns_client.py +54 -54
  79. oci/dts/appliance_export_job_client.py +6 -6
  80. oci/dts/shipping_vendors_client.py +1 -1
  81. oci/dts/transfer_appliance_client.py +8 -8
  82. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  83. oci/dts/transfer_device_client.py +5 -5
  84. oci/dts/transfer_job_client.py +6 -6
  85. oci/dts/transfer_package_client.py +7 -7
  86. oci/em_warehouse/em_warehouse_client.py +13 -13
  87. oci/email/email_client.py +31 -31
  88. oci/email_data_plane/email_dp_client.py +1 -1
  89. oci/events/events_client.py +6 -6
  90. oci/file_storage/file_storage_client.py +74 -74
  91. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  92. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  93. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  94. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  95. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  96. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  97. oci/functions/functions_invoke_client.py +8 -3
  98. oci/functions/functions_management_client.py +16 -16
  99. oci/fusion_apps/fusion_applications_client.py +41 -41
  100. oci/generative_ai/generative_ai_client.py +22 -22
  101. oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
  102. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  103. oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
  104. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  105. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  106. oci/golden_gate/golden_gate_client.py +751 -113
  107. oci/golden_gate/golden_gate_client_composite_operations.py +170 -0
  108. oci/golden_gate/models/__init__.py +18 -0
  109. oci/golden_gate/models/add_deployment_local_peer_details.py +101 -0
  110. oci/golden_gate/models/collect_pipeline_diagnostic_details.py +132 -0
  111. oci/golden_gate/models/create_deployment_details.py +132 -4
  112. oci/golden_gate/models/deployment.py +212 -0
  113. oci/golden_gate/models/deployment_peer_collection.py +70 -0
  114. oci/golden_gate/models/deployment_peer_summary.py +464 -0
  115. oci/golden_gate/models/deployment_placement_details.py +103 -0
  116. oci/golden_gate/models/deployment_placement_info.py +101 -0
  117. oci/golden_gate/models/deployment_type_summary.py +69 -2
  118. oci/golden_gate/models/pipeline.py +27 -0
  119. oci/golden_gate/models/pipeline_diagnostic_data.py +220 -0
  120. oci/golden_gate/models/process_options.py +49 -2
  121. oci/golden_gate/models/remove_deployment_local_peer_details.py +101 -0
  122. oci/golden_gate/models/switchover_deployment_peer_details.py +101 -0
  123. oci/golden_gate/models/update_deployment_details.py +31 -0
  124. oci/golden_gate/models/work_request.py +11 -3
  125. oci/golden_gate/models/zero_etl_pipeline.py +7 -0
  126. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  127. oci/governance_rules_control_plane/work_request_client.py +5 -5
  128. oci/healthchecks/health_checks_client.py +17 -17
  129. oci/identity/identity_client.py +145 -145
  130. oci/identity_data_plane/dataplane_client.py +2 -2
  131. oci/identity_domains/identity_domains_client.py +311 -311
  132. oci/integration/integration_instance_client.py +19 -19
  133. oci/jms/java_management_service_client.py +79 -79
  134. oci/jms_java_downloads/java_download_client.py +25 -25
  135. oci/key_management/ekm_client.py +5 -5
  136. oci/key_management/kms_crypto_client.py +6 -6
  137. oci/key_management/kms_hsm_cluster_client.py +12 -12
  138. oci/key_management/kms_management_client.py +21 -21
  139. oci/key_management/kms_vault_client.py +14 -14
  140. oci/key_management/models/__init__.py +4 -0
  141. oci/key_management/models/create_vault_replica_details.py +29 -2
  142. oci/key_management/models/replica_external_vault_metadata.py +111 -0
  143. oci/key_management/models/replica_vault_metadata.py +101 -0
  144. oci/license_manager/license_manager_client.py +18 -18
  145. oci/limits/limits_client.py +4 -4
  146. oci/limits/quotas_client.py +7 -7
  147. oci/load_balancer/load_balancer_client.py +61 -61
  148. oci/lockbox/lockbox_client.py +24 -24
  149. oci/log_analytics/log_analytics_client.py +193 -193
  150. oci/logging/logging_management_client.py +30 -30
  151. oci/loggingingestion/logging_client.py +1 -1
  152. oci/loggingsearch/log_search_client.py +1 -1
  153. oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
  154. oci/management_agent/management_agent_client.py +28 -28
  155. oci/management_dashboard/dashx_apis_client.py +14 -14
  156. oci/marketplace/account_client.py +2 -2
  157. oci/marketplace/marketplace_client.py +30 -30
  158. oci/marketplace_private_offer/attachment_client.py +5 -5
  159. oci/marketplace_private_offer/offer_client.py +6 -6
  160. oci/marketplace_publisher/attachment_client.py +5 -5
  161. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  162. oci/marketplace_publisher/offer_client.py +6 -6
  163. oci/media_services/media_services_client.py +60 -60
  164. oci/media_services/media_stream_client.py +2 -2
  165. oci/mngdmac/mac_device_client.py +3 -3
  166. oci/mngdmac/mac_order_client.py +11 -11
  167. oci/monitoring/monitoring_client.py +18 -18
  168. oci/mysql/channels_client.py +7 -7
  169. oci/mysql/db_backups_client.py +7 -7
  170. oci/mysql/db_system_client.py +17 -17
  171. oci/mysql/mysqlaas_client.py +7 -7
  172. oci/mysql/replicas_client.py +5 -5
  173. oci/mysql/work_requests_client.py +4 -4
  174. oci/network_firewall/network_firewall_client.py +86 -86
  175. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  176. oci/nosql/nosql_client.py +24 -24
  177. oci/object_storage/object_storage_client.py +55 -55
  178. oci/oce/oce_instance_client.py +10 -10
  179. oci/oci_control_center/occ_metrics_client.py +3 -3
  180. oci/ocvp/cluster_client.py +5 -5
  181. oci/ocvp/esxi_host_client.py +8 -8
  182. oci/ocvp/sddc_client.py +14 -14
  183. oci/ocvp/work_request_client.py +4 -4
  184. oci/oda/management_client.py +59 -59
  185. oci/oda/oda_client.py +17 -17
  186. oci/oda/odapackage_client.py +7 -7
  187. oci/onesubscription/billing_schedule_client.py +1 -1
  188. oci/onesubscription/commitment_client.py +2 -2
  189. oci/onesubscription/computed_usage_client.py +3 -3
  190. oci/onesubscription/invoice_summary_client.py +2 -2
  191. oci/onesubscription/organization_subscription_client.py +1 -1
  192. oci/onesubscription/ratecard_client.py +1 -1
  193. oci/onesubscription/subscribed_service_client.py +2 -2
  194. oci/onesubscription/subscription_client.py +1 -1
  195. oci/ons/notification_control_plane_client.py +6 -6
  196. oci/ons/notification_data_plane_client.py +10 -10
  197. oci/opa/opa_instance_client.py +13 -13
  198. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  199. oci/opensearch/opensearch_cluster_client.py +16 -16
  200. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  201. oci/operator_access_control/access_requests_client.py +10 -10
  202. oci/operator_access_control/operator_actions_client.py +2 -2
  203. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  204. oci/operator_access_control/operator_control_client.py +6 -6
  205. oci/opsi/operations_insights_client.py +181 -181
  206. oci/optimizer/optimizer_client.py +26 -26
  207. oci/os_management/event_client.py +8 -8
  208. oci/os_management/os_management_client.py +69 -69
  209. oci/os_management_hub/event_client.py +8 -8
  210. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  211. oci/os_management_hub/managed_instance_client.py +33 -33
  212. oci/os_management_hub/managed_instance_group_client.py +26 -26
  213. oci/os_management_hub/management_station_client.py +10 -10
  214. oci/os_management_hub/onboarding_client.py +13 -13
  215. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  216. oci/os_management_hub/scheduled_job_client.py +7 -7
  217. oci/os_management_hub/software_source_client.py +33 -33
  218. oci/os_management_hub/work_request_client.py +5 -5
  219. oci/osp_gateway/address_rule_service_client.py +1 -1
  220. oci/osp_gateway/address_service_client.py +2 -2
  221. oci/osp_gateway/invoice_service_client.py +5 -5
  222. oci/osp_gateway/subscription_service_client.py +5 -5
  223. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  224. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  225. oci/osub_subscription/commitment_client.py +2 -2
  226. oci/osub_subscription/ratecard_client.py +1 -1
  227. oci/osub_subscription/subscription_client.py +1 -1
  228. oci/osub_usage/computed_usage_client.py +3 -3
  229. oci/psql/postgresql_client.py +34 -34
  230. oci/queue/queue_admin_client.py +11 -11
  231. oci/queue/queue_client.py +8 -8
  232. oci/recovery/database_recovery_client.py +26 -26
  233. oci/redis/redis_cluster_client.py +12 -12
  234. oci/resource_manager/resource_manager_client.py +52 -52
  235. oci/resource_scheduler/schedule_client.py +13 -13
  236. oci/resource_search/resource_search_client.py +3 -3
  237. oci/rover/rover_bundle_client.py +8 -8
  238. oci/rover/rover_cluster_client.py +8 -8
  239. oci/rover/rover_entitlement_client.py +6 -6
  240. oci/rover/rover_node_client.py +15 -15
  241. oci/rover/shape_client.py +1 -1
  242. oci/rover/work_requests_client.py +5 -5
  243. oci/sch/connector_plugins_client.py +4 -4
  244. oci/sch/models/__init__.py +32 -0
  245. oci/sch/models/function_task_details_response.py +158 -0
  246. oci/sch/models/functions_target_details_response.py +192 -0
  247. oci/sch/models/log_rule_task_details_response.py +91 -0
  248. oci/sch/models/logging_analytics_target_details_response.py +130 -0
  249. oci/sch/models/logging_source_details_response.py +91 -0
  250. oci/sch/models/monitoring_source_details_response.py +91 -0
  251. oci/sch/models/monitoring_target_details_response.py +192 -0
  252. oci/sch/models/notifications_target_details_response.py +128 -0
  253. oci/sch/models/object_storage_target_details_response.py +219 -0
  254. oci/sch/models/plugin_source_details_response.py +128 -0
  255. oci/sch/models/private_endpoint_metadata.py +101 -0
  256. oci/sch/models/service_connector.py +19 -15
  257. oci/sch/models/service_connector_summary.py +7 -3
  258. oci/sch/models/source_details.py +5 -5
  259. oci/sch/models/source_details_response.py +158 -0
  260. oci/sch/models/streaming_source_details_response.py +121 -0
  261. oci/sch/models/streaming_target_details_response.py +94 -0
  262. oci/sch/models/target_details.py +5 -5
  263. oci/sch/models/target_details_response.py +174 -0
  264. oci/sch/models/task_details.py +5 -5
  265. oci/sch/models/task_details_response.py +142 -0
  266. oci/sch/service_connector_client.py +14 -14
  267. oci/secrets/secrets_client.py +3 -3
  268. oci/security_attribute/security_attribute_client.py +18 -18
  269. oci/service_catalog/service_catalog_client.py +26 -26
  270. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  271. oci/service_mesh/service_mesh_client.py +48 -48
  272. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  273. oci/streaming/stream_admin_client.py +18 -18
  274. oci/streaming/stream_client.py +8 -8
  275. oci/tenant_manager_control_plane/domain_client.py +5 -5
  276. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  277. oci/tenant_manager_control_plane/governance_client.py +2 -2
  278. oci/tenant_manager_control_plane/link_client.py +3 -3
  279. oci/tenant_manager_control_plane/orders_client.py +2 -2
  280. oci/tenant_manager_control_plane/organization_client.py +10 -10
  281. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  282. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  283. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  284. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  285. oci/threat_intelligence/threatintel_client.py +5 -5
  286. oci/usage/resources_client.py +2 -2
  287. oci/usage/rewards_client.py +6 -6
  288. oci/usage/usagelimits_client.py +1 -1
  289. oci/usage_api/usageapi_client.py +33 -33
  290. oci/vault/vaults_client.py +13 -13
  291. oci/vbs_inst/vbs_instance_client.py +10 -10
  292. oci/version.py +1 -1
  293. oci/visual_builder/vb_instance_client.py +14 -14
  294. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  295. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  296. oci/waa/waa_client.py +13 -13
  297. oci/waa/work_request_client.py +4 -4
  298. oci/waas/redirect_client.py +6 -6
  299. oci/waas/waas_client.py +66 -66
  300. oci/waf/waf_client.py +24 -24
  301. oci/work_requests/work_request_client.py +4 -4
  302. oci/zpr/zpr_client.py +15 -15
  303. {oci-2.149.2.dist-info → oci-2.150.0.dist-info}/METADATA +1 -1
  304. {oci-2.149.2.dist-info → oci-2.150.0.dist-info}/RECORD +308 -281
  305. {oci-2.149.2.dist-info → oci-2.150.0.dist-info}/LICENSE.txt +0 -0
  306. {oci-2.149.2.dist-info → oci-2.150.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  307. {oci-2.149.2.dist-info → oci-2.150.0.dist-info}/WHEEL +0 -0
  308. {oci-2.149.2.dist-info → oci-2.150.0.dist-info}/top_level.txt +0 -0
@@ -117,6 +117,48 @@ class GoldenGateClientCompositeOperations(object):
117
117
  except Exception as e:
118
118
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
119
119
 
120
+ def add_deployment_local_peer_and_wait_for_state(self, deployment_id, add_deployment_local_peer_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
121
+ """
122
+ Calls :py:func:`~oci.golden_gate.GoldenGateClient.add_deployment_local_peer` and waits for the :py:class:`~oci.golden_gate.models.WorkRequest`
123
+ to enter the given state(s).
124
+
125
+ :param str deployment_id: (required)
126
+ A unique Deployment identifier.
127
+
128
+ :param oci.golden_gate.models.AddDeploymentLocalPeerDetails add_deployment_local_peer_details: (required)
129
+ Metadata to add a local deployment
130
+
131
+ :param list[str] wait_for_states:
132
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.golden_gate.models.WorkRequest.status`
133
+
134
+ :param dict operation_kwargs:
135
+ A dictionary of keyword arguments to pass to :py:func:`~oci.golden_gate.GoldenGateClient.add_deployment_local_peer`
136
+
137
+ :param dict waiter_kwargs:
138
+ 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``
139
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
140
+ """
141
+ operation_result = self.client.add_deployment_local_peer(deployment_id, add_deployment_local_peer_details, **operation_kwargs)
142
+ if not wait_for_states:
143
+ return operation_result
144
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
145
+ if 'opc-work-request-id' not in operation_result.headers:
146
+ return operation_result
147
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
148
+
149
+ try:
150
+ waiter_result = oci.wait_until(
151
+ self.client,
152
+ self.client.get_work_request(wait_for_resource_id),
153
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
154
+ **waiter_kwargs
155
+ )
156
+ result_to_return = waiter_result
157
+
158
+ return result_to_return
159
+ except Exception as e:
160
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
161
+
120
162
  def add_deployment_lock_and_wait_for_state(self, deployment_id, add_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
121
163
  """
122
164
  Calls :py:func:`~oci.golden_gate.GoldenGateClient.add_deployment_lock` and waits for the :py:class:`~oci.golden_gate.models.Deployment` acted upon
@@ -463,6 +505,50 @@ class GoldenGateClientCompositeOperations(object):
463
505
  except Exception as e:
464
506
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
465
507
 
508
+ def collect_pipeline_diagnostic_and_wait_for_state(self, pipeline_id, collect_pipeline_diagnostic_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
509
+ """
510
+ Calls :py:func:`~oci.golden_gate.GoldenGateClient.collect_pipeline_diagnostic` and waits for the :py:class:`~oci.golden_gate.models.WorkRequest`
511
+ to enter the given state(s).
512
+
513
+ :param str pipeline_id: (required)
514
+ The `OCID`__ of the pipeline created.
515
+
516
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
517
+
518
+ :param oci.golden_gate.models.CollectPipelineDiagnosticDetails collect_pipeline_diagnostic_details: (required)
519
+ Details for collecting the diagnostic. It includes the object storage information where the diagnostic will be uploaded.
520
+
521
+ :param list[str] wait_for_states:
522
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.golden_gate.models.WorkRequest.status`
523
+
524
+ :param dict operation_kwargs:
525
+ A dictionary of keyword arguments to pass to :py:func:`~oci.golden_gate.GoldenGateClient.collect_pipeline_diagnostic`
526
+
527
+ :param dict waiter_kwargs:
528
+ 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``
529
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
530
+ """
531
+ operation_result = self.client.collect_pipeline_diagnostic(pipeline_id, collect_pipeline_diagnostic_details, **operation_kwargs)
532
+ if not wait_for_states:
533
+ return operation_result
534
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
535
+ if 'opc-work-request-id' not in operation_result.headers:
536
+ return operation_result
537
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
538
+
539
+ try:
540
+ waiter_result = oci.wait_until(
541
+ self.client,
542
+ self.client.get_work_request(wait_for_resource_id),
543
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
544
+ **waiter_kwargs
545
+ )
546
+ result_to_return = waiter_result
547
+
548
+ return result_to_return
549
+ except Exception as e:
550
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
551
+
466
552
  def copy_deployment_backup_and_wait_for_state(self, deployment_backup_id, copy_deployment_backup_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
467
553
  """
468
554
  Calls :py:func:`~oci.golden_gate.GoldenGateClient.copy_deployment_backup` and waits for the :py:class:`~oci.golden_gate.models.WorkRequest`
@@ -1339,6 +1425,48 @@ class GoldenGateClientCompositeOperations(object):
1339
1425
  except Exception as e:
1340
1426
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1341
1427
 
1428
+ def remove_deployment_local_peer_and_wait_for_state(self, deployment_id, remove_deployment_local_peer_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1429
+ """
1430
+ Calls :py:func:`~oci.golden_gate.GoldenGateClient.remove_deployment_local_peer` and waits for the :py:class:`~oci.golden_gate.models.WorkRequest`
1431
+ to enter the given state(s).
1432
+
1433
+ :param str deployment_id: (required)
1434
+ A unique Deployment identifier.
1435
+
1436
+ :param oci.golden_gate.models.RemoveDeploymentLocalPeerDetails remove_deployment_local_peer_details: (required)
1437
+ Metadata to remove a local deployment peer
1438
+
1439
+ :param list[str] wait_for_states:
1440
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.golden_gate.models.WorkRequest.status`
1441
+
1442
+ :param dict operation_kwargs:
1443
+ A dictionary of keyword arguments to pass to :py:func:`~oci.golden_gate.GoldenGateClient.remove_deployment_local_peer`
1444
+
1445
+ :param dict waiter_kwargs:
1446
+ 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``
1447
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1448
+ """
1449
+ operation_result = self.client.remove_deployment_local_peer(deployment_id, remove_deployment_local_peer_details, **operation_kwargs)
1450
+ if not wait_for_states:
1451
+ return operation_result
1452
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1453
+ if 'opc-work-request-id' not in operation_result.headers:
1454
+ return operation_result
1455
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1456
+
1457
+ try:
1458
+ waiter_result = oci.wait_until(
1459
+ self.client,
1460
+ self.client.get_work_request(wait_for_resource_id),
1461
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1462
+ **waiter_kwargs
1463
+ )
1464
+ result_to_return = waiter_result
1465
+
1466
+ return result_to_return
1467
+ except Exception as e:
1468
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1469
+
1342
1470
  def remove_deployment_lock_and_wait_for_state(self, deployment_id, remove_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1343
1471
  """
1344
1472
  Calls :py:func:`~oci.golden_gate.GoldenGateClient.remove_deployment_lock` and waits for the :py:class:`~oci.golden_gate.models.Deployment` acted upon
@@ -1685,6 +1813,48 @@ class GoldenGateClientCompositeOperations(object):
1685
1813
  except Exception as e:
1686
1814
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1687
1815
 
1816
+ def switchover_deployment_peer_and_wait_for_state(self, deployment_id, switchover_deployment_peer_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1817
+ """
1818
+ Calls :py:func:`~oci.golden_gate.GoldenGateClient.switchover_deployment_peer` and waits for the :py:class:`~oci.golden_gate.models.WorkRequest`
1819
+ to enter the given state(s).
1820
+
1821
+ :param str deployment_id: (required)
1822
+ A unique Deployment identifier.
1823
+
1824
+ :param oci.golden_gate.models.SwitchoverDeploymentPeerDetails switchover_deployment_peer_details: (required)
1825
+ Metadata to switchover a deployment to a peer
1826
+
1827
+ :param list[str] wait_for_states:
1828
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.golden_gate.models.WorkRequest.status`
1829
+
1830
+ :param dict operation_kwargs:
1831
+ A dictionary of keyword arguments to pass to :py:func:`~oci.golden_gate.GoldenGateClient.switchover_deployment_peer`
1832
+
1833
+ :param dict waiter_kwargs:
1834
+ 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``
1835
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1836
+ """
1837
+ operation_result = self.client.switchover_deployment_peer(deployment_id, switchover_deployment_peer_details, **operation_kwargs)
1838
+ if not wait_for_states:
1839
+ return operation_result
1840
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1841
+ if 'opc-work-request-id' not in operation_result.headers:
1842
+ return operation_result
1843
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1844
+
1845
+ try:
1846
+ waiter_result = oci.wait_until(
1847
+ self.client,
1848
+ self.client.get_work_request(wait_for_resource_id),
1849
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1850
+ **waiter_kwargs
1851
+ )
1852
+ result_to_return = waiter_result
1853
+
1854
+ return result_to_return
1855
+ except Exception as e:
1856
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1857
+
1688
1858
  def update_connection_and_wait_for_state(self, connection_id, update_connection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1689
1859
  """
1690
1860
  Calls :py:func:`~oci.golden_gate.GoldenGateClient.update_connection` and waits for the :py:class:`~oci.golden_gate.models.WorkRequest`
@@ -6,6 +6,7 @@
6
6
 
7
7
  from __future__ import absolute_import
8
8
 
9
+ from .add_deployment_local_peer_details import AddDeploymentLocalPeerDetails
9
10
  from .add_resource_lock_details import AddResourceLockDetails
10
11
  from .amazon_kinesis_connection import AmazonKinesisConnection
11
12
  from .amazon_kinesis_connection_summary import AmazonKinesisConnectionSummary
@@ -30,6 +31,7 @@ from .change_deployment_backup_compartment_details import ChangeDeploymentBackup
30
31
  from .change_deployment_compartment_details import ChangeDeploymentCompartmentDetails
31
32
  from .change_pipeline_compartment_details import ChangePipelineCompartmentDetails
32
33
  from .collect_deployment_diagnostic_details import CollectDeploymentDiagnosticDetails
34
+ from .collect_pipeline_diagnostic_details import CollectPipelineDiagnosticDetails
33
35
  from .connection import Connection
34
36
  from .connection_assignment import ConnectionAssignment
35
37
  from .connection_assignment_collection import ConnectionAssignmentCollection
@@ -107,6 +109,10 @@ from .deployment_diagnostic_data import DeploymentDiagnosticData
107
109
  from .deployment_environment_collection import DeploymentEnvironmentCollection
108
110
  from .deployment_environment_summary import DeploymentEnvironmentSummary
109
111
  from .deployment_message_collection import DeploymentMessageCollection
112
+ from .deployment_peer_collection import DeploymentPeerCollection
113
+ from .deployment_peer_summary import DeploymentPeerSummary
114
+ from .deployment_placement_details import DeploymentPlacementDetails
115
+ from .deployment_placement_info import DeploymentPlacementInfo
110
116
  from .deployment_summary import DeploymentSummary
111
117
  from .deployment_type_collection import DeploymentTypeCollection
112
118
  from .deployment_type_summary import DeploymentTypeSummary
@@ -170,6 +176,7 @@ from .oracle_nosql_connection import OracleNosqlConnection
170
176
  from .oracle_nosql_connection_summary import OracleNosqlConnectionSummary
171
177
  from .pipeline import Pipeline
172
178
  from .pipeline_collection import PipelineCollection
179
+ from .pipeline_diagnostic_data import PipelineDiagnosticData
173
180
  from .pipeline_initialization_step import PipelineInitializationStep
174
181
  from .pipeline_initialization_steps import PipelineInitializationSteps
175
182
  from .pipeline_running_process_collection import PipelineRunningProcessCollection
@@ -187,6 +194,7 @@ from .recipe_summary_collection import RecipeSummaryCollection
187
194
  from .redis_connection import RedisConnection
188
195
  from .redis_connection_summary import RedisConnectionSummary
189
196
  from .refresh_connection_details import RefreshConnectionDetails
197
+ from .remove_deployment_local_peer_details import RemoveDeploymentLocalPeerDetails
190
198
  from .remove_resource_lock_details import RemoveResourceLockDetails
191
199
  from .replicate_schema_change import ReplicateSchemaChange
192
200
  from .reschedule_deployment_upgrade_details import RescheduleDeploymentUpgradeDetails
@@ -203,6 +211,7 @@ from .start_pipeline_details import StartPipelineDetails
203
211
  from .step_message import StepMessage
204
212
  from .stop_deployment_details import StopDeploymentDetails
205
213
  from .stop_pipeline_details import StopPipelineDetails
214
+ from .switchover_deployment_peer_details import SwitchoverDeploymentPeerDetails
206
215
  from .target_pipeline_connection_details import TargetPipelineConnectionDetails
207
216
  from .test_connection_assignment_details import TestConnectionAssignmentDetails
208
217
  from .test_connection_assignment_error import TestConnectionAssignmentError
@@ -265,6 +274,7 @@ from .zero_etl_pipeline_summary import ZeroEtlPipelineSummary
265
274
 
266
275
  # Maps type names to classes for golden_gate services.
267
276
  golden_gate_type_mapping = {
277
+ "AddDeploymentLocalPeerDetails": AddDeploymentLocalPeerDetails,
268
278
  "AddResourceLockDetails": AddResourceLockDetails,
269
279
  "AmazonKinesisConnection": AmazonKinesisConnection,
270
280
  "AmazonKinesisConnectionSummary": AmazonKinesisConnectionSummary,
@@ -289,6 +299,7 @@ golden_gate_type_mapping = {
289
299
  "ChangeDeploymentCompartmentDetails": ChangeDeploymentCompartmentDetails,
290
300
  "ChangePipelineCompartmentDetails": ChangePipelineCompartmentDetails,
291
301
  "CollectDeploymentDiagnosticDetails": CollectDeploymentDiagnosticDetails,
302
+ "CollectPipelineDiagnosticDetails": CollectPipelineDiagnosticDetails,
292
303
  "Connection": Connection,
293
304
  "ConnectionAssignment": ConnectionAssignment,
294
305
  "ConnectionAssignmentCollection": ConnectionAssignmentCollection,
@@ -366,6 +377,10 @@ golden_gate_type_mapping = {
366
377
  "DeploymentEnvironmentCollection": DeploymentEnvironmentCollection,
367
378
  "DeploymentEnvironmentSummary": DeploymentEnvironmentSummary,
368
379
  "DeploymentMessageCollection": DeploymentMessageCollection,
380
+ "DeploymentPeerCollection": DeploymentPeerCollection,
381
+ "DeploymentPeerSummary": DeploymentPeerSummary,
382
+ "DeploymentPlacementDetails": DeploymentPlacementDetails,
383
+ "DeploymentPlacementInfo": DeploymentPlacementInfo,
369
384
  "DeploymentSummary": DeploymentSummary,
370
385
  "DeploymentTypeCollection": DeploymentTypeCollection,
371
386
  "DeploymentTypeSummary": DeploymentTypeSummary,
@@ -429,6 +444,7 @@ golden_gate_type_mapping = {
429
444
  "OracleNosqlConnectionSummary": OracleNosqlConnectionSummary,
430
445
  "Pipeline": Pipeline,
431
446
  "PipelineCollection": PipelineCollection,
447
+ "PipelineDiagnosticData": PipelineDiagnosticData,
432
448
  "PipelineInitializationStep": PipelineInitializationStep,
433
449
  "PipelineInitializationSteps": PipelineInitializationSteps,
434
450
  "PipelineRunningProcessCollection": PipelineRunningProcessCollection,
@@ -446,6 +462,7 @@ golden_gate_type_mapping = {
446
462
  "RedisConnection": RedisConnection,
447
463
  "RedisConnectionSummary": RedisConnectionSummary,
448
464
  "RefreshConnectionDetails": RefreshConnectionDetails,
465
+ "RemoveDeploymentLocalPeerDetails": RemoveDeploymentLocalPeerDetails,
449
466
  "RemoveResourceLockDetails": RemoveResourceLockDetails,
450
467
  "ReplicateSchemaChange": ReplicateSchemaChange,
451
468
  "RescheduleDeploymentUpgradeDetails": RescheduleDeploymentUpgradeDetails,
@@ -462,6 +479,7 @@ golden_gate_type_mapping = {
462
479
  "StepMessage": StepMessage,
463
480
  "StopDeploymentDetails": StopDeploymentDetails,
464
481
  "StopPipelineDetails": StopPipelineDetails,
482
+ "SwitchoverDeploymentPeerDetails": SwitchoverDeploymentPeerDetails,
465
483
  "TargetPipelineConnectionDetails": TargetPipelineConnectionDetails,
466
484
  "TestConnectionAssignmentDetails": TestConnectionAssignmentDetails,
467
485
  "TestConnectionAssignmentError": TestConnectionAssignmentError,
@@ -0,0 +1,101 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20200407
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 AddDeploymentLocalPeerDetails(object):
14
+ """
15
+ The information about adding a deployment peer in list.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new AddDeploymentLocalPeerDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param availability_domain:
24
+ The value to assign to the availability_domain property of this AddDeploymentLocalPeerDetails.
25
+ :type availability_domain: str
26
+
27
+ :param fault_domain:
28
+ The value to assign to the fault_domain property of this AddDeploymentLocalPeerDetails.
29
+ :type fault_domain: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'availability_domain': 'str',
34
+ 'fault_domain': 'str'
35
+ }
36
+ self.attribute_map = {
37
+ 'availability_domain': 'availabilityDomain',
38
+ 'fault_domain': 'faultDomain'
39
+ }
40
+ self._availability_domain = None
41
+ self._fault_domain = None
42
+
43
+ @property
44
+ def availability_domain(self):
45
+ """
46
+ Gets the availability_domain of this AddDeploymentLocalPeerDetails.
47
+ The availability domain of a placement.
48
+
49
+
50
+ :return: The availability_domain of this AddDeploymentLocalPeerDetails.
51
+ :rtype: str
52
+ """
53
+ return self._availability_domain
54
+
55
+ @availability_domain.setter
56
+ def availability_domain(self, availability_domain):
57
+ """
58
+ Sets the availability_domain of this AddDeploymentLocalPeerDetails.
59
+ The availability domain of a placement.
60
+
61
+
62
+ :param availability_domain: The availability_domain of this AddDeploymentLocalPeerDetails.
63
+ :type: str
64
+ """
65
+ self._availability_domain = availability_domain
66
+
67
+ @property
68
+ def fault_domain(self):
69
+ """
70
+ Gets the fault_domain of this AddDeploymentLocalPeerDetails.
71
+ The fault domain of a placement.
72
+
73
+
74
+ :return: The fault_domain of this AddDeploymentLocalPeerDetails.
75
+ :rtype: str
76
+ """
77
+ return self._fault_domain
78
+
79
+ @fault_domain.setter
80
+ def fault_domain(self, fault_domain):
81
+ """
82
+ Sets the fault_domain of this AddDeploymentLocalPeerDetails.
83
+ The fault domain of a placement.
84
+
85
+
86
+ :param fault_domain: The fault_domain of this AddDeploymentLocalPeerDetails.
87
+ :type: str
88
+ """
89
+ self._fault_domain = fault_domain
90
+
91
+ def __repr__(self):
92
+ return formatted_flat_dict(self)
93
+
94
+ def __eq__(self, other):
95
+ if other is None:
96
+ return False
97
+
98
+ return self.__dict__ == other.__dict__
99
+
100
+ def __ne__(self, other):
101
+ return not self == other
@@ -0,0 +1,132 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20200407
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 CollectPipelineDiagnosticDetails(object):
14
+ """
15
+ Details for collecting pipeline diagnostics
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new CollectPipelineDiagnosticDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param namespace_name:
24
+ The value to assign to the namespace_name property of this CollectPipelineDiagnosticDetails.
25
+ :type namespace_name: str
26
+
27
+ :param bucket_name:
28
+ The value to assign to the bucket_name property of this CollectPipelineDiagnosticDetails.
29
+ :type bucket_name: str
30
+
31
+ :param diagnostic_name_prefix:
32
+ The value to assign to the diagnostic_name_prefix property of this CollectPipelineDiagnosticDetails.
33
+ :type diagnostic_name_prefix: str
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'namespace_name': 'str',
38
+ 'bucket_name': 'str',
39
+ 'diagnostic_name_prefix': 'str'
40
+ }
41
+ self.attribute_map = {
42
+ 'namespace_name': 'namespaceName',
43
+ 'bucket_name': 'bucketName',
44
+ 'diagnostic_name_prefix': 'diagnosticNamePrefix'
45
+ }
46
+ self._namespace_name = None
47
+ self._bucket_name = None
48
+ self._diagnostic_name_prefix = None
49
+
50
+ @property
51
+ def namespace_name(self):
52
+ """
53
+ **[Required]** Gets the namespace_name of this CollectPipelineDiagnosticDetails.
54
+ Name of namespace that serves as a container for all of your buckets
55
+
56
+
57
+ :return: The namespace_name of this CollectPipelineDiagnosticDetails.
58
+ :rtype: str
59
+ """
60
+ return self._namespace_name
61
+
62
+ @namespace_name.setter
63
+ def namespace_name(self, namespace_name):
64
+ """
65
+ Sets the namespace_name of this CollectPipelineDiagnosticDetails.
66
+ Name of namespace that serves as a container for all of your buckets
67
+
68
+
69
+ :param namespace_name: The namespace_name of this CollectPipelineDiagnosticDetails.
70
+ :type: str
71
+ """
72
+ self._namespace_name = namespace_name
73
+
74
+ @property
75
+ def bucket_name(self):
76
+ """
77
+ **[Required]** Gets the bucket_name of this CollectPipelineDiagnosticDetails.
78
+ Name of the bucket where the object is to be uploaded in the object storage
79
+
80
+
81
+ :return: The bucket_name of this CollectPipelineDiagnosticDetails.
82
+ :rtype: str
83
+ """
84
+ return self._bucket_name
85
+
86
+ @bucket_name.setter
87
+ def bucket_name(self, bucket_name):
88
+ """
89
+ Sets the bucket_name of this CollectPipelineDiagnosticDetails.
90
+ Name of the bucket where the object is to be uploaded in the object storage
91
+
92
+
93
+ :param bucket_name: The bucket_name of this CollectPipelineDiagnosticDetails.
94
+ :type: str
95
+ """
96
+ self._bucket_name = bucket_name
97
+
98
+ @property
99
+ def diagnostic_name_prefix(self):
100
+ """
101
+ Gets the diagnostic_name_prefix of this CollectPipelineDiagnosticDetails.
102
+ Name of the diagnostic collected and uploaded to object storage
103
+
104
+
105
+ :return: The diagnostic_name_prefix of this CollectPipelineDiagnosticDetails.
106
+ :rtype: str
107
+ """
108
+ return self._diagnostic_name_prefix
109
+
110
+ @diagnostic_name_prefix.setter
111
+ def diagnostic_name_prefix(self, diagnostic_name_prefix):
112
+ """
113
+ Sets the diagnostic_name_prefix of this CollectPipelineDiagnosticDetails.
114
+ Name of the diagnostic collected and uploaded to object storage
115
+
116
+
117
+ :param diagnostic_name_prefix: The diagnostic_name_prefix of this CollectPipelineDiagnosticDetails.
118
+ :type: str
119
+ """
120
+ self._diagnostic_name_prefix = diagnostic_name_prefix
121
+
122
+ def __repr__(self):
123
+ return formatted_flat_dict(self)
124
+
125
+ def __eq__(self, other):
126
+ if other is None:
127
+ return False
128
+
129
+ return self.__dict__ == other.__dict__
130
+
131
+ def __ne__(self, other):
132
+ return not self == other