oci 2.142.0__py3-none-any.whl → 2.143.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 (321) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +28 -28
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +9 -9
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/base_client.py +2 -2
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +84 -84
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/capacity_management/capacity_management_client.py +32 -32
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +6 -6
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +15 -15
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +155 -155
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +44 -44
  50. oci/container_instances/container_instance_client.py +18 -18
  51. oci/core/blockstorage_client.py +60 -60
  52. oci/core/compute_client.py +102 -102
  53. oci/core/compute_management_client.py +32 -32
  54. oci/core/models/__init__.py +18 -0
  55. oci/core/models/byoasn.py +501 -0
  56. oci/core/models/byoasn_byoip_range.py +173 -0
  57. oci/core/models/byoasn_collection.py +72 -0
  58. oci/core/models/byoasn_summary.py +360 -0
  59. oci/core/models/byoip_range.py +27 -0
  60. oci/core/models/byoip_range_origin_asn.py +138 -0
  61. oci/core/models/change_byoasn_compartment_details.py +76 -0
  62. oci/core/models/create_byoasn_details.py +222 -0
  63. oci/core/models/set_origin_asn_details.py +107 -0
  64. oci/core/models/update_byoasn_details.py +156 -0
  65. oci/core/virtual_network_client.py +1426 -379
  66. oci/core/virtual_network_client_composite_operations.py +229 -0
  67. oci/dashboard_service/dashboard_client.py +6 -6
  68. oci/dashboard_service/dashboard_group_client.py +6 -6
  69. oci/data_catalog/data_catalog_client.py +149 -149
  70. oci/data_flow/data_flow_client.py +45 -45
  71. oci/data_integration/data_integration_client.py +163 -163
  72. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  73. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  74. oci/data_safe/data_safe_client.py +292 -292
  75. oci/data_science/data_science_client.py +92 -92
  76. oci/database/database_client.py +2127 -1266
  77. oci/database/database_client_composite_operations.py +573 -0
  78. oci/database/models/__init__.py +24 -0
  79. oci/database/models/autonomous_dw_database.py +4609 -0
  80. oci/database/models/backup.py +29 -2
  81. oci/database/models/backup_summary.py +29 -2
  82. oci/database/models/convert_to_standalone_details.py +76 -0
  83. oci/database/models/create_data_guard_association_details.py +27 -0
  84. oci/database/models/create_data_guard_association_to_existing_db_system_details.py +7 -0
  85. oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.py +7 -0
  86. oci/database/models/create_data_guard_association_with_new_db_system_details.py +7 -0
  87. oci/database/models/create_database_base.py +13 -3
  88. oci/database/models/create_database_details.py +29 -2
  89. oci/database/models/create_database_from_backup.py +1 -1
  90. oci/database/models/create_database_from_backup_details.py +27 -0
  91. oci/database/models/create_new_database_details.py +1 -1
  92. oci/database/models/create_stand_by_database_details.py +108 -0
  93. oci/database/models/create_standby_details.py +396 -0
  94. oci/database/models/data_guard_group.py +132 -0
  95. oci/database/models/data_guard_group_member.py +406 -0
  96. oci/database/models/database.py +56 -2
  97. oci/database/models/database_summary.py +56 -2
  98. oci/database/models/encryption_key_location_details.py +101 -0
  99. oci/database/models/external_hsm_encryption_details.py +82 -0
  100. oci/database/models/failover_data_guard_details.py +76 -0
  101. oci/database/models/reinstate_data_guard_details.py +111 -0
  102. oci/database/models/switch_over_data_guard_details.py +76 -0
  103. oci/database/models/update_autonomous_database_details.py +37 -2
  104. oci/database/models/update_data_guard_details.py +241 -0
  105. oci/database_management/db_management_client.py +211 -211
  106. oci/database_management/diagnosability_client.py +4 -4
  107. oci/database_management/managed_my_sql_databases_client.py +7 -7
  108. oci/database_management/perfhub_client.py +1 -1
  109. oci/database_management/sql_tuning_client.py +17 -17
  110. oci/database_migration/database_migration_client.py +42 -42
  111. oci/database_tools/database_tools_client.py +23 -23
  112. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  113. oci/delegate_access_control/work_request_client.py +4 -4
  114. oci/demand_signal/occ_demand_signal_client.py +7 -7
  115. oci/desktops/desktop_service_client.py +21 -21
  116. oci/devops/devops_client.py +141 -141
  117. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  118. oci/dns/dns_client.py +54 -54
  119. oci/dts/appliance_export_job_client.py +6 -6
  120. oci/dts/shipping_vendors_client.py +1 -1
  121. oci/dts/transfer_appliance_client.py +8 -8
  122. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  123. oci/dts/transfer_device_client.py +5 -5
  124. oci/dts/transfer_job_client.py +6 -6
  125. oci/dts/transfer_package_client.py +7 -7
  126. oci/em_warehouse/em_warehouse_client.py +13 -13
  127. oci/email/email_client.py +31 -31
  128. oci/email_data_plane/email_dp_client.py +1 -1
  129. oci/events/events_client.py +6 -6
  130. oci/file_storage/file_storage_client.py +68 -68
  131. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  132. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  133. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  134. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  135. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  136. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  137. oci/functions/functions_invoke_client.py +1 -1
  138. oci/functions/functions_management_client.py +16 -16
  139. oci/fusion_apps/fusion_applications_client.py +41 -41
  140. oci/generative_ai/generative_ai_client.py +22 -22
  141. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  142. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  143. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  144. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  145. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  146. oci/golden_gate/golden_gate_client.py +84 -84
  147. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  148. oci/governance_rules_control_plane/work_request_client.py +5 -5
  149. oci/healthchecks/health_checks_client.py +17 -17
  150. oci/identity/identity_client.py +145 -145
  151. oci/identity_data_plane/dataplane_client.py +2 -2
  152. oci/identity_domains/identity_domains_client.py +311 -311
  153. oci/integration/integration_instance_client.py +19 -19
  154. oci/jms/java_management_service_client.py +75 -75
  155. oci/jms_java_downloads/java_download_client.py +25 -25
  156. oci/key_management/ekm_client.py +5 -5
  157. oci/key_management/kms_crypto_client.py +6 -6
  158. oci/key_management/kms_hsm_cluster_client.py +12 -12
  159. oci/key_management/kms_management_client.py +21 -21
  160. oci/key_management/kms_vault_client.py +14 -14
  161. oci/license_manager/license_manager_client.py +18 -18
  162. oci/limits/limits_client.py +4 -4
  163. oci/limits/quotas_client.py +7 -7
  164. oci/load_balancer/load_balancer_client.py +61 -61
  165. oci/lockbox/lockbox_client.py +24 -24
  166. oci/log_analytics/log_analytics_client.py +193 -193
  167. oci/logging/logging_management_client.py +30 -30
  168. oci/loggingingestion/logging_client.py +1 -1
  169. oci/loggingsearch/log_search_client.py +1 -1
  170. oci/management_agent/management_agent_client.py +28 -28
  171. oci/management_dashboard/dashx_apis_client.py +14 -14
  172. oci/marketplace/account_client.py +2 -2
  173. oci/marketplace/marketplace_client.py +30 -30
  174. oci/marketplace_private_offer/attachment_client.py +5 -5
  175. oci/marketplace_private_offer/offer_client.py +6 -6
  176. oci/marketplace_publisher/attachment_client.py +5 -5
  177. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  178. oci/marketplace_publisher/offer_client.py +6 -6
  179. oci/media_services/media_services_client.py +60 -60
  180. oci/media_services/media_stream_client.py +2 -2
  181. oci/monitoring/monitoring_client.py +18 -18
  182. oci/mysql/channels_client.py +7 -7
  183. oci/mysql/db_backups_client.py +7 -7
  184. oci/mysql/db_system_client.py +17 -17
  185. oci/mysql/mysqlaas_client.py +7 -7
  186. oci/mysql/replicas_client.py +5 -5
  187. oci/mysql/work_requests_client.py +4 -4
  188. oci/network_firewall/network_firewall_client.py +86 -86
  189. oci/network_load_balancer/models/__init__.py +2 -0
  190. oci/network_load_balancer/models/backend.py +8 -8
  191. oci/network_load_balancer/models/backend_details.py +4 -4
  192. oci/network_load_balancer/models/backend_operational_status.py +92 -0
  193. oci/network_load_balancer/models/backend_set.py +64 -2
  194. oci/network_load_balancer/models/backend_set_details.py +64 -2
  195. oci/network_load_balancer/models/backend_set_summary.py +64 -2
  196. oci/network_load_balancer/models/backend_summary.py +8 -8
  197. oci/network_load_balancer/models/create_backend_details.py +8 -8
  198. oci/network_load_balancer/models/create_backend_set_details.py +64 -2
  199. oci/network_load_balancer/models/create_listener_details.py +3 -3
  200. oci/network_load_balancer/models/create_network_load_balancer_details.py +6 -6
  201. oci/network_load_balancer/models/health_checker.py +2 -2
  202. oci/network_load_balancer/models/health_checker_details.py +2 -2
  203. oci/network_load_balancer/models/listener.py +3 -3
  204. oci/network_load_balancer/models/listener_details.py +3 -3
  205. oci/network_load_balancer/models/listener_summary.py +3 -3
  206. oci/network_load_balancer/models/network_load_balancer.py +6 -6
  207. oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
  208. oci/network_load_balancer/models/update_backend_details.py +6 -6
  209. oci/network_load_balancer/models/update_backend_set_details.py +64 -2
  210. oci/network_load_balancer/models/update_listener_details.py +3 -3
  211. oci/network_load_balancer/network_load_balancer_client.py +150 -34
  212. oci/nosql/nosql_client.py +24 -24
  213. oci/object_storage/object_storage_client.py +55 -55
  214. oci/oce/oce_instance_client.py +10 -10
  215. oci/oci_control_center/occ_metrics_client.py +3 -3
  216. oci/ocvp/cluster_client.py +5 -5
  217. oci/ocvp/esxi_host_client.py +8 -8
  218. oci/ocvp/sddc_client.py +14 -14
  219. oci/ocvp/work_request_client.py +4 -4
  220. oci/oda/management_client.py +59 -59
  221. oci/oda/oda_client.py +17 -17
  222. oci/oda/odapackage_client.py +7 -7
  223. oci/onesubscription/billing_schedule_client.py +1 -1
  224. oci/onesubscription/commitment_client.py +2 -2
  225. oci/onesubscription/computed_usage_client.py +3 -3
  226. oci/onesubscription/invoice_summary_client.py +2 -2
  227. oci/onesubscription/organization_subscription_client.py +1 -1
  228. oci/onesubscription/ratecard_client.py +1 -1
  229. oci/onesubscription/subscribed_service_client.py +2 -2
  230. oci/onesubscription/subscription_client.py +1 -1
  231. oci/ons/notification_control_plane_client.py +6 -6
  232. oci/ons/notification_data_plane_client.py +10 -10
  233. oci/opa/opa_instance_client.py +13 -13
  234. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  235. oci/opensearch/opensearch_cluster_client.py +16 -16
  236. oci/operator_access_control/access_requests_client.py +10 -10
  237. oci/operator_access_control/operator_actions_client.py +2 -2
  238. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  239. oci/operator_access_control/operator_control_client.py +6 -6
  240. oci/opsi/operations_insights_client.py +180 -180
  241. oci/optimizer/optimizer_client.py +26 -26
  242. oci/os_management/event_client.py +8 -8
  243. oci/os_management/os_management_client.py +69 -69
  244. oci/os_management_hub/event_client.py +8 -8
  245. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  246. oci/os_management_hub/managed_instance_client.py +31 -31
  247. oci/os_management_hub/managed_instance_group_client.py +25 -25
  248. oci/os_management_hub/management_station_client.py +10 -10
  249. oci/os_management_hub/onboarding_client.py +6 -6
  250. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  251. oci/os_management_hub/scheduled_job_client.py +7 -7
  252. oci/os_management_hub/software_source_client.py +27 -27
  253. oci/os_management_hub/work_request_client.py +4 -4
  254. oci/osp_gateway/address_rule_service_client.py +1 -1
  255. oci/osp_gateway/address_service_client.py +2 -2
  256. oci/osp_gateway/invoice_service_client.py +5 -5
  257. oci/osp_gateway/subscription_service_client.py +5 -5
  258. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  259. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  260. oci/osub_subscription/commitment_client.py +2 -2
  261. oci/osub_subscription/ratecard_client.py +1 -1
  262. oci/osub_subscription/subscription_client.py +1 -1
  263. oci/osub_usage/computed_usage_client.py +3 -3
  264. oci/psql/postgresql_client.py +33 -33
  265. oci/queue/queue_admin_client.py +11 -11
  266. oci/queue/queue_client.py +8 -8
  267. oci/recovery/database_recovery_client.py +26 -26
  268. oci/redis/redis_cluster_client.py +12 -12
  269. oci/resource_manager/resource_manager_client.py +52 -52
  270. oci/resource_scheduler/schedule_client.py +13 -13
  271. oci/resource_search/resource_search_client.py +3 -3
  272. oci/rover/rover_bundle_client.py +8 -8
  273. oci/rover/rover_cluster_client.py +8 -8
  274. oci/rover/rover_entitlement_client.py +6 -6
  275. oci/rover/rover_node_client.py +15 -15
  276. oci/rover/shape_client.py +1 -1
  277. oci/rover/work_requests_client.py +5 -5
  278. oci/sch/connector_plugins_client.py +2 -2
  279. oci/sch/service_connector_client.py +12 -12
  280. oci/secrets/secrets_client.py +3 -3
  281. oci/security_attribute/security_attribute_client.py +18 -18
  282. oci/service_catalog/service_catalog_client.py +26 -26
  283. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  284. oci/service_mesh/service_mesh_client.py +48 -48
  285. oci/stack_monitoring/stack_monitoring_client.py +71 -71
  286. oci/streaming/stream_admin_client.py +18 -18
  287. oci/streaming/stream_client.py +8 -8
  288. oci/tenant_manager_control_plane/domain_client.py +5 -5
  289. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  290. oci/tenant_manager_control_plane/governance_client.py +2 -2
  291. oci/tenant_manager_control_plane/link_client.py +3 -3
  292. oci/tenant_manager_control_plane/orders_client.py +2 -2
  293. oci/tenant_manager_control_plane/organization_client.py +10 -10
  294. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  295. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  296. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  297. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  298. oci/threat_intelligence/threatintel_client.py +5 -5
  299. oci/usage/resources_client.py +2 -2
  300. oci/usage/rewards_client.py +6 -6
  301. oci/usage/usagelimits_client.py +1 -1
  302. oci/usage_api/usageapi_client.py +33 -33
  303. oci/vault/vaults_client.py +13 -13
  304. oci/vbs_inst/vbs_instance_client.py +10 -10
  305. oci/version.py +1 -1
  306. oci/visual_builder/vb_instance_client.py +14 -14
  307. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  308. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  309. oci/waa/waa_client.py +13 -13
  310. oci/waa/work_request_client.py +4 -4
  311. oci/waas/redirect_client.py +6 -6
  312. oci/waas/waas_client.py +66 -66
  313. oci/waf/waf_client.py +24 -24
  314. oci/work_requests/work_request_client.py +4 -4
  315. oci/zpr/zpr_client.py +15 -15
  316. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/METADATA +1 -1
  317. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/RECORD +321 -299
  318. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/LICENSE.txt +0 -0
  319. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  320. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/WHEEL +0 -0
  321. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,82 @@
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: 20160918
6
+
7
+ from .encryption_key_location_details import EncryptionKeyLocationDetails
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 ExternalHsmEncryptionDetails(EncryptionKeyLocationDetails):
14
+ """
15
+ Details for External HSM Input
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ExternalHsmEncryptionDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.ExternalHsmEncryptionDetails.provider_type` attribute
21
+ of this class is ``EXTERNAL`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param provider_type:
25
+ The value to assign to the provider_type property of this ExternalHsmEncryptionDetails.
26
+ Allowed values for this property are: "EXTERNAL"
27
+ :type provider_type: str
28
+
29
+ :param hsm_password:
30
+ The value to assign to the hsm_password property of this ExternalHsmEncryptionDetails.
31
+ :type hsm_password: str
32
+
33
+ """
34
+ self.swagger_types = {
35
+ 'provider_type': 'str',
36
+ 'hsm_password': 'str'
37
+ }
38
+
39
+ self.attribute_map = {
40
+ 'provider_type': 'providerType',
41
+ 'hsm_password': 'hsmPassword'
42
+ }
43
+
44
+ self._provider_type = None
45
+ self._hsm_password = None
46
+ self._provider_type = 'EXTERNAL'
47
+
48
+ @property
49
+ def hsm_password(self):
50
+ """
51
+ **[Required]** Gets the hsm_password of this ExternalHsmEncryptionDetails.
52
+ Provide the HSM password as you would in RDBMS for External HSM.
53
+
54
+
55
+ :return: The hsm_password of this ExternalHsmEncryptionDetails.
56
+ :rtype: str
57
+ """
58
+ return self._hsm_password
59
+
60
+ @hsm_password.setter
61
+ def hsm_password(self, hsm_password):
62
+ """
63
+ Sets the hsm_password of this ExternalHsmEncryptionDetails.
64
+ Provide the HSM password as you would in RDBMS for External HSM.
65
+
66
+
67
+ :param hsm_password: The hsm_password of this ExternalHsmEncryptionDetails.
68
+ :type: str
69
+ """
70
+ self._hsm_password = hsm_password
71
+
72
+ def __repr__(self):
73
+ return formatted_flat_dict(self)
74
+
75
+ def __eq__(self, other):
76
+ if other is None:
77
+ return False
78
+
79
+ return self.__dict__ == other.__dict__
80
+
81
+ def __ne__(self, other):
82
+ return not self == other
@@ -0,0 +1,76 @@
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: 20160918
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 FailoverDataGuardDetails(object):
14
+ """
15
+ The Data Guard failover parameters.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new FailoverDataGuardDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param database_admin_password:
24
+ The value to assign to the database_admin_password property of this FailoverDataGuardDetails.
25
+ :type database_admin_password: str
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'database_admin_password': 'str'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'database_admin_password': 'databaseAdminPassword'
34
+ }
35
+
36
+ self._database_admin_password = None
37
+
38
+ @property
39
+ def database_admin_password(self):
40
+ """
41
+ **[Required]** Gets the database_admin_password of this FailoverDataGuardDetails.
42
+ The administrator password of the primary database in this Data Guard association.
43
+
44
+ **The password MUST be the same as the primary admin password.**
45
+
46
+
47
+ :return: The database_admin_password of this FailoverDataGuardDetails.
48
+ :rtype: str
49
+ """
50
+ return self._database_admin_password
51
+
52
+ @database_admin_password.setter
53
+ def database_admin_password(self, database_admin_password):
54
+ """
55
+ Sets the database_admin_password of this FailoverDataGuardDetails.
56
+ The administrator password of the primary database in this Data Guard association.
57
+
58
+ **The password MUST be the same as the primary admin password.**
59
+
60
+
61
+ :param database_admin_password: The database_admin_password of this FailoverDataGuardDetails.
62
+ :type: str
63
+ """
64
+ self._database_admin_password = database_admin_password
65
+
66
+ def __repr__(self):
67
+ return formatted_flat_dict(self)
68
+
69
+ def __eq__(self, other):
70
+ if other is None:
71
+ return False
72
+
73
+ return self.__dict__ == other.__dict__
74
+
75
+ def __ne__(self, other):
76
+ return not self == other
@@ -0,0 +1,111 @@
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: 20160918
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 ReinstateDataGuardDetails(object):
14
+ """
15
+ The Data Guard reinstate parameters.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ReinstateDataGuardDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param database_admin_password:
24
+ The value to assign to the database_admin_password property of this ReinstateDataGuardDetails.
25
+ :type database_admin_password: str
26
+
27
+ :param source_database_id:
28
+ The value to assign to the source_database_id property of this ReinstateDataGuardDetails.
29
+ :type source_database_id: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'database_admin_password': 'str',
34
+ 'source_database_id': 'str'
35
+ }
36
+
37
+ self.attribute_map = {
38
+ 'database_admin_password': 'databaseAdminPassword',
39
+ 'source_database_id': 'sourceDatabaseId'
40
+ }
41
+
42
+ self._database_admin_password = None
43
+ self._source_database_id = None
44
+
45
+ @property
46
+ def database_admin_password(self):
47
+ """
48
+ **[Required]** Gets the database_admin_password of this ReinstateDataGuardDetails.
49
+ The administrator password of the primary database in this Data Guard association.
50
+
51
+ **The password MUST be the same as the primary admin password.**
52
+
53
+
54
+ :return: The database_admin_password of this ReinstateDataGuardDetails.
55
+ :rtype: str
56
+ """
57
+ return self._database_admin_password
58
+
59
+ @database_admin_password.setter
60
+ def database_admin_password(self, database_admin_password):
61
+ """
62
+ Sets the database_admin_password of this ReinstateDataGuardDetails.
63
+ The administrator password of the primary database in this Data Guard association.
64
+
65
+ **The password MUST be the same as the primary admin password.**
66
+
67
+
68
+ :param database_admin_password: The database_admin_password of this ReinstateDataGuardDetails.
69
+ :type: str
70
+ """
71
+ self._database_admin_password = database_admin_password
72
+
73
+ @property
74
+ def source_database_id(self):
75
+ """
76
+ **[Required]** Gets the source_database_id of this ReinstateDataGuardDetails.
77
+ The `OCID`__ of the source (primary) database in the Data Guard group.
78
+
79
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
80
+
81
+
82
+ :return: The source_database_id of this ReinstateDataGuardDetails.
83
+ :rtype: str
84
+ """
85
+ return self._source_database_id
86
+
87
+ @source_database_id.setter
88
+ def source_database_id(self, source_database_id):
89
+ """
90
+ Sets the source_database_id of this ReinstateDataGuardDetails.
91
+ The `OCID`__ of the source (primary) database in the Data Guard group.
92
+
93
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
94
+
95
+
96
+ :param source_database_id: The source_database_id of this ReinstateDataGuardDetails.
97
+ :type: str
98
+ """
99
+ self._source_database_id = source_database_id
100
+
101
+ def __repr__(self):
102
+ return formatted_flat_dict(self)
103
+
104
+ def __eq__(self, other):
105
+ if other is None:
106
+ return False
107
+
108
+ return self.__dict__ == other.__dict__
109
+
110
+ def __ne__(self, other):
111
+ return not self == other
@@ -0,0 +1,76 @@
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: 20160918
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 SwitchOverDataGuardDetails(object):
14
+ """
15
+ The Data Guard switchover parameters.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new SwitchOverDataGuardDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param database_admin_password:
24
+ The value to assign to the database_admin_password property of this SwitchOverDataGuardDetails.
25
+ :type database_admin_password: str
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'database_admin_password': 'str'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'database_admin_password': 'databaseAdminPassword'
34
+ }
35
+
36
+ self._database_admin_password = None
37
+
38
+ @property
39
+ def database_admin_password(self):
40
+ """
41
+ **[Required]** Gets the database_admin_password of this SwitchOverDataGuardDetails.
42
+ The administrator password of the primary database in this Data Guard association.
43
+
44
+ **The password MUST be the same as the primary admin password.**
45
+
46
+
47
+ :return: The database_admin_password of this SwitchOverDataGuardDetails.
48
+ :rtype: str
49
+ """
50
+ return self._database_admin_password
51
+
52
+ @database_admin_password.setter
53
+ def database_admin_password(self, database_admin_password):
54
+ """
55
+ Sets the database_admin_password of this SwitchOverDataGuardDetails.
56
+ The administrator password of the primary database in this Data Guard association.
57
+
58
+ **The password MUST be the same as the primary admin password.**
59
+
60
+
61
+ :param database_admin_password: The database_admin_password of this SwitchOverDataGuardDetails.
62
+ :type: str
63
+ """
64
+ self._database_admin_password = database_admin_password
65
+
66
+ def __repr__(self):
67
+ return formatted_flat_dict(self)
68
+
69
+ def __eq__(self, other):
70
+ if other is None:
71
+ return False
72
+
73
+ return self.__dict__ == other.__dict__
74
+
75
+ def __ne__(self, other):
76
+ return not self == other
@@ -313,6 +313,10 @@ class UpdateAutonomousDatabaseDetails(object):
313
313
  The value to assign to the encryption_key property of this UpdateAutonomousDatabaseDetails.
314
314
  :type encryption_key: oci.database.models.AutonomousDatabaseEncryptionKeyDetails
315
315
 
316
+ :param is_disconnect_peer:
317
+ The value to assign to the is_disconnect_peer property of this UpdateAutonomousDatabaseDetails.
318
+ :type is_disconnect_peer: bool
319
+
316
320
  """
317
321
  self.swagger_types = {
318
322
  'backup_retention_period_in_days': 'int',
@@ -368,7 +372,8 @@ class UpdateAutonomousDatabaseDetails(object):
368
372
  'db_tools_details': 'list[DatabaseTool]',
369
373
  'secret_id': 'str',
370
374
  'secret_version_number': 'int',
371
- 'encryption_key': 'AutonomousDatabaseEncryptionKeyDetails'
375
+ 'encryption_key': 'AutonomousDatabaseEncryptionKeyDetails',
376
+ 'is_disconnect_peer': 'bool'
372
377
  }
373
378
 
374
379
  self.attribute_map = {
@@ -425,7 +430,8 @@ class UpdateAutonomousDatabaseDetails(object):
425
430
  'db_tools_details': 'dbToolsDetails',
426
431
  'secret_id': 'secretId',
427
432
  'secret_version_number': 'secretVersionNumber',
428
- 'encryption_key': 'encryptionKey'
433
+ 'encryption_key': 'encryptionKey',
434
+ 'is_disconnect_peer': 'isDisconnectPeer'
429
435
  }
430
436
 
431
437
  self._backup_retention_period_in_days = None
@@ -482,6 +488,7 @@ class UpdateAutonomousDatabaseDetails(object):
482
488
  self._secret_id = None
483
489
  self._secret_version_number = None
484
490
  self._encryption_key = None
491
+ self._is_disconnect_peer = None
485
492
 
486
493
  @property
487
494
  def backup_retention_period_in_days(self):
@@ -2170,6 +2177,34 @@ class UpdateAutonomousDatabaseDetails(object):
2170
2177
  """
2171
2178
  self._encryption_key = encryption_key
2172
2179
 
2180
+ @property
2181
+ def is_disconnect_peer(self):
2182
+ """
2183
+ Gets the is_disconnect_peer of this UpdateAutonomousDatabaseDetails.
2184
+ If true, this will disconnect the Autonomous Database from its peer and the Autonomous Database can work permanently as a standalone database.
2185
+
2186
+ To disconnect a cross region standby, please also provide the OCID of the standby database in the `peerDbId` parameter.
2187
+
2188
+
2189
+ :return: The is_disconnect_peer of this UpdateAutonomousDatabaseDetails.
2190
+ :rtype: bool
2191
+ """
2192
+ return self._is_disconnect_peer
2193
+
2194
+ @is_disconnect_peer.setter
2195
+ def is_disconnect_peer(self, is_disconnect_peer):
2196
+ """
2197
+ Sets the is_disconnect_peer of this UpdateAutonomousDatabaseDetails.
2198
+ If true, this will disconnect the Autonomous Database from its peer and the Autonomous Database can work permanently as a standalone database.
2199
+
2200
+ To disconnect a cross region standby, please also provide the OCID of the standby database in the `peerDbId` parameter.
2201
+
2202
+
2203
+ :param is_disconnect_peer: The is_disconnect_peer of this UpdateAutonomousDatabaseDetails.
2204
+ :type: bool
2205
+ """
2206
+ self._is_disconnect_peer = is_disconnect_peer
2207
+
2173
2208
  def __repr__(self):
2174
2209
  return formatted_flat_dict(self)
2175
2210
 
@@ -0,0 +1,241 @@
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: 20160918
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 UpdateDataGuardDetails(object):
14
+ """
15
+ The properties for updating a standby database.
16
+ """
17
+
18
+ #: A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
19
+ #: This constant has a value of "MAXIMUM_AVAILABILITY"
20
+ PROTECTION_MODE_MAXIMUM_AVAILABILITY = "MAXIMUM_AVAILABILITY"
21
+
22
+ #: A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
23
+ #: This constant has a value of "MAXIMUM_PERFORMANCE"
24
+ PROTECTION_MODE_MAXIMUM_PERFORMANCE = "MAXIMUM_PERFORMANCE"
25
+
26
+ #: A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
27
+ #: This constant has a value of "MAXIMUM_PROTECTION"
28
+ PROTECTION_MODE_MAXIMUM_PROTECTION = "MAXIMUM_PROTECTION"
29
+
30
+ #: A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
31
+ #: This constant has a value of "SYNC"
32
+ TRANSPORT_TYPE_SYNC = "SYNC"
33
+
34
+ #: A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
35
+ #: This constant has a value of "ASYNC"
36
+ TRANSPORT_TYPE_ASYNC = "ASYNC"
37
+
38
+ #: A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
39
+ #: This constant has a value of "FASTSYNC"
40
+ TRANSPORT_TYPE_FASTSYNC = "FASTSYNC"
41
+
42
+ def __init__(self, **kwargs):
43
+ """
44
+ Initializes a new UpdateDataGuardDetails object with values from keyword arguments.
45
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
46
+
47
+ :param database_admin_password:
48
+ The value to assign to the database_admin_password property of this UpdateDataGuardDetails.
49
+ :type database_admin_password: str
50
+
51
+ :param protection_mode:
52
+ The value to assign to the protection_mode property of this UpdateDataGuardDetails.
53
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"
54
+ :type protection_mode: str
55
+
56
+ :param transport_type:
57
+ The value to assign to the transport_type property of this UpdateDataGuardDetails.
58
+ Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC"
59
+ :type transport_type: str
60
+
61
+ :param is_active_data_guard_enabled:
62
+ The value to assign to the is_active_data_guard_enabled property of this UpdateDataGuardDetails.
63
+ :type is_active_data_guard_enabled: bool
64
+
65
+ """
66
+ self.swagger_types = {
67
+ 'database_admin_password': 'str',
68
+ 'protection_mode': 'str',
69
+ 'transport_type': 'str',
70
+ 'is_active_data_guard_enabled': 'bool'
71
+ }
72
+
73
+ self.attribute_map = {
74
+ 'database_admin_password': 'databaseAdminPassword',
75
+ 'protection_mode': 'protectionMode',
76
+ 'transport_type': 'transportType',
77
+ 'is_active_data_guard_enabled': 'isActiveDataGuardEnabled'
78
+ }
79
+
80
+ self._database_admin_password = None
81
+ self._protection_mode = None
82
+ self._transport_type = None
83
+ self._is_active_data_guard_enabled = None
84
+
85
+ @property
86
+ def database_admin_password(self):
87
+ """
88
+ Gets the database_admin_password of this UpdateDataGuardDetails.
89
+ The administrator password of the primary database in this Data Guard association.
90
+
91
+ **The password MUST be the same as the primary admin password.**
92
+
93
+
94
+ :return: The database_admin_password of this UpdateDataGuardDetails.
95
+ :rtype: str
96
+ """
97
+ return self._database_admin_password
98
+
99
+ @database_admin_password.setter
100
+ def database_admin_password(self, database_admin_password):
101
+ """
102
+ Sets the database_admin_password of this UpdateDataGuardDetails.
103
+ The administrator password of the primary database in this Data Guard association.
104
+
105
+ **The password MUST be the same as the primary admin password.**
106
+
107
+
108
+ :param database_admin_password: The database_admin_password of this UpdateDataGuardDetails.
109
+ :type: str
110
+ """
111
+ self._database_admin_password = database_admin_password
112
+
113
+ @property
114
+ def protection_mode(self):
115
+ """
116
+ Gets the protection_mode of this UpdateDataGuardDetails.
117
+ The protection mode of this Data Guard. For more information, see
118
+ `Oracle Data Guard Protection Modes`__
119
+ in the Oracle Data Guard documentation.
120
+
121
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
122
+
123
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"
124
+
125
+
126
+ :return: The protection_mode of this UpdateDataGuardDetails.
127
+ :rtype: str
128
+ """
129
+ return self._protection_mode
130
+
131
+ @protection_mode.setter
132
+ def protection_mode(self, protection_mode):
133
+ """
134
+ Sets the protection_mode of this UpdateDataGuardDetails.
135
+ The protection mode of this Data Guard. For more information, see
136
+ `Oracle Data Guard Protection Modes`__
137
+ in the Oracle Data Guard documentation.
138
+
139
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
140
+
141
+
142
+ :param protection_mode: The protection_mode of this UpdateDataGuardDetails.
143
+ :type: str
144
+ """
145
+ allowed_values = ["MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"]
146
+ if not value_allowed_none_or_none_sentinel(protection_mode, allowed_values):
147
+ raise ValueError(
148
+ f"Invalid value for `protection_mode`, must be None or one of {allowed_values}"
149
+ )
150
+ self._protection_mode = protection_mode
151
+
152
+ @property
153
+ def transport_type(self):
154
+ """
155
+ Gets the transport_type of this UpdateDataGuardDetails.
156
+ The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
157
+
158
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
159
+ * MAXIMUM_PERFORMANCE - ASYNC
160
+ * MAXIMUM_PROTECTION - SYNC
161
+
162
+ For more information, see
163
+ `Redo Transport Services`__
164
+ in the Oracle Data Guard documentation.
165
+
166
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
167
+
168
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400
169
+
170
+ Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC"
171
+
172
+
173
+ :return: The transport_type of this UpdateDataGuardDetails.
174
+ :rtype: str
175
+ """
176
+ return self._transport_type
177
+
178
+ @transport_type.setter
179
+ def transport_type(self, transport_type):
180
+ """
181
+ Sets the transport_type of this UpdateDataGuardDetails.
182
+ The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
183
+
184
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
185
+ * MAXIMUM_PERFORMANCE - ASYNC
186
+ * MAXIMUM_PROTECTION - SYNC
187
+
188
+ For more information, see
189
+ `Redo Transport Services`__
190
+ in the Oracle Data Guard documentation.
191
+
192
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
193
+
194
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400
195
+
196
+
197
+ :param transport_type: The transport_type of this UpdateDataGuardDetails.
198
+ :type: str
199
+ """
200
+ allowed_values = ["SYNC", "ASYNC", "FASTSYNC"]
201
+ if not value_allowed_none_or_none_sentinel(transport_type, allowed_values):
202
+ raise ValueError(
203
+ f"Invalid value for `transport_type`, must be None or one of {allowed_values}"
204
+ )
205
+ self._transport_type = transport_type
206
+
207
+ @property
208
+ def is_active_data_guard_enabled(self):
209
+ """
210
+ Gets the is_active_data_guard_enabled of this UpdateDataGuardDetails.
211
+ True if active Data Guard is enabled.
212
+
213
+
214
+ :return: The is_active_data_guard_enabled of this UpdateDataGuardDetails.
215
+ :rtype: bool
216
+ """
217
+ return self._is_active_data_guard_enabled
218
+
219
+ @is_active_data_guard_enabled.setter
220
+ def is_active_data_guard_enabled(self, is_active_data_guard_enabled):
221
+ """
222
+ Sets the is_active_data_guard_enabled of this UpdateDataGuardDetails.
223
+ True if active Data Guard is enabled.
224
+
225
+
226
+ :param is_active_data_guard_enabled: The is_active_data_guard_enabled of this UpdateDataGuardDetails.
227
+ :type: bool
228
+ """
229
+ self._is_active_data_guard_enabled = is_active_data_guard_enabled
230
+
231
+ def __repr__(self):
232
+ return formatted_flat_dict(self)
233
+
234
+ def __eq__(self, other):
235
+ if other is None:
236
+ return False
237
+
238
+ return self.__dict__ == other.__dict__
239
+
240
+ def __ne__(self, other):
241
+ return not self == other