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,108 @@
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 .create_database_base import CreateDatabaseBase
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 CreateStandByDatabaseDetails(CreateDatabaseBase):
14
+ """
15
+ Details for creating a new standby database.
16
+
17
+ **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
18
+ """
19
+
20
+ def __init__(self, **kwargs):
21
+ """
22
+ Initializes a new CreateStandByDatabaseDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.CreateStandByDatabaseDetails.source` attribute
23
+ of this class is ``DATAGUARD`` and it should not be changed.
24
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
25
+
26
+ :param db_home_id:
27
+ The value to assign to the db_home_id property of this CreateStandByDatabaseDetails.
28
+ :type db_home_id: str
29
+
30
+ :param db_version:
31
+ The value to assign to the db_version property of this CreateStandByDatabaseDetails.
32
+ :type db_version: str
33
+
34
+ :param source:
35
+ The value to assign to the source property of this CreateStandByDatabaseDetails.
36
+ Allowed values for this property are: "NONE", "DB_BACKUP", "DATAGUARD"
37
+ :type source: str
38
+
39
+ :param kms_key_id:
40
+ The value to assign to the kms_key_id property of this CreateStandByDatabaseDetails.
41
+ :type kms_key_id: str
42
+
43
+ :param kms_key_version_id:
44
+ The value to assign to the kms_key_version_id property of this CreateStandByDatabaseDetails.
45
+ :type kms_key_version_id: str
46
+
47
+ :param database:
48
+ The value to assign to the database property of this CreateStandByDatabaseDetails.
49
+ :type database: oci.database.models.CreateStandbyDetails
50
+
51
+ """
52
+ self.swagger_types = {
53
+ 'db_home_id': 'str',
54
+ 'db_version': 'str',
55
+ 'source': 'str',
56
+ 'kms_key_id': 'str',
57
+ 'kms_key_version_id': 'str',
58
+ 'database': 'CreateStandbyDetails'
59
+ }
60
+
61
+ self.attribute_map = {
62
+ 'db_home_id': 'dbHomeId',
63
+ 'db_version': 'dbVersion',
64
+ 'source': 'source',
65
+ 'kms_key_id': 'kmsKeyId',
66
+ 'kms_key_version_id': 'kmsKeyVersionId',
67
+ 'database': 'database'
68
+ }
69
+
70
+ self._db_home_id = None
71
+ self._db_version = None
72
+ self._source = None
73
+ self._kms_key_id = None
74
+ self._kms_key_version_id = None
75
+ self._database = None
76
+ self._source = 'DATAGUARD'
77
+
78
+ @property
79
+ def database(self):
80
+ """
81
+ **[Required]** Gets the database of this CreateStandByDatabaseDetails.
82
+
83
+ :return: The database of this CreateStandByDatabaseDetails.
84
+ :rtype: oci.database.models.CreateStandbyDetails
85
+ """
86
+ return self._database
87
+
88
+ @database.setter
89
+ def database(self, database):
90
+ """
91
+ Sets the database of this CreateStandByDatabaseDetails.
92
+
93
+ :param database: The database of this CreateStandByDatabaseDetails.
94
+ :type: oci.database.models.CreateStandbyDetails
95
+ """
96
+ self._database = database
97
+
98
+ def __repr__(self):
99
+ return formatted_flat_dict(self)
100
+
101
+ def __eq__(self, other):
102
+ if other is None:
103
+ return False
104
+
105
+ return self.__dict__ == other.__dict__
106
+
107
+ def __ne__(self, other):
108
+ return not self == other
@@ -0,0 +1,396 @@
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 CreateStandbyDetails(object):
14
+ """
15
+ Standby Creation Details.
16
+ """
17
+
18
+ #: A constant which can be used with the protection_mode property of a CreateStandbyDetails.
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 CreateStandbyDetails.
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 CreateStandbyDetails.
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 CreateStandbyDetails.
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 CreateStandbyDetails.
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 CreateStandbyDetails.
39
+ #: This constant has a value of "FASTSYNC"
40
+ TRANSPORT_TYPE_FASTSYNC = "FASTSYNC"
41
+
42
+ def __init__(self, **kwargs):
43
+ """
44
+ Initializes a new CreateStandbyDetails object with values from keyword arguments.
45
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
46
+
47
+ :param source_database_id:
48
+ The value to assign to the source_database_id property of this CreateStandbyDetails.
49
+ :type source_database_id: str
50
+
51
+ :param database_admin_password:
52
+ The value to assign to the database_admin_password property of this CreateStandbyDetails.
53
+ :type database_admin_password: str
54
+
55
+ :param source_tde_wallet_password:
56
+ The value to assign to the source_tde_wallet_password property of this CreateStandbyDetails.
57
+ :type source_tde_wallet_password: str
58
+
59
+ :param source_encryption_key_location_details:
60
+ The value to assign to the source_encryption_key_location_details property of this CreateStandbyDetails.
61
+ :type source_encryption_key_location_details: oci.database.models.EncryptionKeyLocationDetails
62
+
63
+ :param is_active_data_guard_enabled:
64
+ The value to assign to the is_active_data_guard_enabled property of this CreateStandbyDetails.
65
+ :type is_active_data_guard_enabled: bool
66
+
67
+ :param db_unique_name:
68
+ The value to assign to the db_unique_name property of this CreateStandbyDetails.
69
+ :type db_unique_name: str
70
+
71
+ :param sid_prefix:
72
+ The value to assign to the sid_prefix property of this CreateStandbyDetails.
73
+ :type sid_prefix: str
74
+
75
+ :param protection_mode:
76
+ The value to assign to the protection_mode property of this CreateStandbyDetails.
77
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"
78
+ :type protection_mode: str
79
+
80
+ :param transport_type:
81
+ The value to assign to the transport_type property of this CreateStandbyDetails.
82
+ Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC"
83
+ :type transport_type: str
84
+
85
+ """
86
+ self.swagger_types = {
87
+ 'source_database_id': 'str',
88
+ 'database_admin_password': 'str',
89
+ 'source_tde_wallet_password': 'str',
90
+ 'source_encryption_key_location_details': 'EncryptionKeyLocationDetails',
91
+ 'is_active_data_guard_enabled': 'bool',
92
+ 'db_unique_name': 'str',
93
+ 'sid_prefix': 'str',
94
+ 'protection_mode': 'str',
95
+ 'transport_type': 'str'
96
+ }
97
+
98
+ self.attribute_map = {
99
+ 'source_database_id': 'sourceDatabaseId',
100
+ 'database_admin_password': 'databaseAdminPassword',
101
+ 'source_tde_wallet_password': 'sourceTdeWalletPassword',
102
+ 'source_encryption_key_location_details': 'sourceEncryptionKeyLocationDetails',
103
+ 'is_active_data_guard_enabled': 'isActiveDataGuardEnabled',
104
+ 'db_unique_name': 'dbUniqueName',
105
+ 'sid_prefix': 'sidPrefix',
106
+ 'protection_mode': 'protectionMode',
107
+ 'transport_type': 'transportType'
108
+ }
109
+
110
+ self._source_database_id = None
111
+ self._database_admin_password = None
112
+ self._source_tde_wallet_password = None
113
+ self._source_encryption_key_location_details = None
114
+ self._is_active_data_guard_enabled = None
115
+ self._db_unique_name = None
116
+ self._sid_prefix = None
117
+ self._protection_mode = None
118
+ self._transport_type = None
119
+
120
+ @property
121
+ def source_database_id(self):
122
+ """
123
+ **[Required]** Gets the source_database_id of this CreateStandbyDetails.
124
+ The `OCID`__ of the source database.
125
+
126
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
127
+
128
+
129
+ :return: The source_database_id of this CreateStandbyDetails.
130
+ :rtype: str
131
+ """
132
+ return self._source_database_id
133
+
134
+ @source_database_id.setter
135
+ def source_database_id(self, source_database_id):
136
+ """
137
+ Sets the source_database_id of this CreateStandbyDetails.
138
+ The `OCID`__ of the source database.
139
+
140
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
141
+
142
+
143
+ :param source_database_id: The source_database_id of this CreateStandbyDetails.
144
+ :type: str
145
+ """
146
+ self._source_database_id = source_database_id
147
+
148
+ @property
149
+ def database_admin_password(self):
150
+ """
151
+ **[Required]** Gets the database_admin_password of this CreateStandbyDetails.
152
+ The administrator password of the primary database in this Data Guard association.
153
+
154
+ **The password MUST be the same as the primary admin password.**
155
+
156
+
157
+ :return: The database_admin_password of this CreateStandbyDetails.
158
+ :rtype: str
159
+ """
160
+ return self._database_admin_password
161
+
162
+ @database_admin_password.setter
163
+ def database_admin_password(self, database_admin_password):
164
+ """
165
+ Sets the database_admin_password of this CreateStandbyDetails.
166
+ The administrator password of the primary database in this Data Guard association.
167
+
168
+ **The password MUST be the same as the primary admin password.**
169
+
170
+
171
+ :param database_admin_password: The database_admin_password of this CreateStandbyDetails.
172
+ :type: str
173
+ """
174
+ self._database_admin_password = database_admin_password
175
+
176
+ @property
177
+ def source_tde_wallet_password(self):
178
+ """
179
+ **[Required]** Gets the source_tde_wallet_password of this CreateStandbyDetails.
180
+ The TDE wallet password of the source database specified by 'sourceDatabaseId'.
181
+
182
+
183
+ :return: The source_tde_wallet_password of this CreateStandbyDetails.
184
+ :rtype: str
185
+ """
186
+ return self._source_tde_wallet_password
187
+
188
+ @source_tde_wallet_password.setter
189
+ def source_tde_wallet_password(self, source_tde_wallet_password):
190
+ """
191
+ Sets the source_tde_wallet_password of this CreateStandbyDetails.
192
+ The TDE wallet password of the source database specified by 'sourceDatabaseId'.
193
+
194
+
195
+ :param source_tde_wallet_password: The source_tde_wallet_password of this CreateStandbyDetails.
196
+ :type: str
197
+ """
198
+ self._source_tde_wallet_password = source_tde_wallet_password
199
+
200
+ @property
201
+ def source_encryption_key_location_details(self):
202
+ """
203
+ Gets the source_encryption_key_location_details of this CreateStandbyDetails.
204
+
205
+ :return: The source_encryption_key_location_details of this CreateStandbyDetails.
206
+ :rtype: oci.database.models.EncryptionKeyLocationDetails
207
+ """
208
+ return self._source_encryption_key_location_details
209
+
210
+ @source_encryption_key_location_details.setter
211
+ def source_encryption_key_location_details(self, source_encryption_key_location_details):
212
+ """
213
+ Sets the source_encryption_key_location_details of this CreateStandbyDetails.
214
+
215
+ :param source_encryption_key_location_details: The source_encryption_key_location_details of this CreateStandbyDetails.
216
+ :type: oci.database.models.EncryptionKeyLocationDetails
217
+ """
218
+ self._source_encryption_key_location_details = source_encryption_key_location_details
219
+
220
+ @property
221
+ def is_active_data_guard_enabled(self):
222
+ """
223
+ Gets the is_active_data_guard_enabled of this CreateStandbyDetails.
224
+ True if active Data Guard is enabled.
225
+
226
+
227
+ :return: The is_active_data_guard_enabled of this CreateStandbyDetails.
228
+ :rtype: bool
229
+ """
230
+ return self._is_active_data_guard_enabled
231
+
232
+ @is_active_data_guard_enabled.setter
233
+ def is_active_data_guard_enabled(self, is_active_data_guard_enabled):
234
+ """
235
+ Sets the is_active_data_guard_enabled of this CreateStandbyDetails.
236
+ True if active Data Guard is enabled.
237
+
238
+
239
+ :param is_active_data_guard_enabled: The is_active_data_guard_enabled of this CreateStandbyDetails.
240
+ :type: bool
241
+ """
242
+ self._is_active_data_guard_enabled = is_active_data_guard_enabled
243
+
244
+ @property
245
+ def db_unique_name(self):
246
+ """
247
+ Gets the db_unique_name of this CreateStandbyDetails.
248
+ Specifies the `DB_UNIQUE_NAME` of the peer database to be created.
249
+
250
+
251
+ :return: The db_unique_name of this CreateStandbyDetails.
252
+ :rtype: str
253
+ """
254
+ return self._db_unique_name
255
+
256
+ @db_unique_name.setter
257
+ def db_unique_name(self, db_unique_name):
258
+ """
259
+ Sets the db_unique_name of this CreateStandbyDetails.
260
+ Specifies the `DB_UNIQUE_NAME` of the peer database to be created.
261
+
262
+
263
+ :param db_unique_name: The db_unique_name of this CreateStandbyDetails.
264
+ :type: str
265
+ """
266
+ self._db_unique_name = db_unique_name
267
+
268
+ @property
269
+ def sid_prefix(self):
270
+ """
271
+ Gets the sid_prefix of this CreateStandbyDetails.
272
+ Specifies a prefix for the `Oracle SID` of the database to be created.
273
+
274
+
275
+ :return: The sid_prefix of this CreateStandbyDetails.
276
+ :rtype: str
277
+ """
278
+ return self._sid_prefix
279
+
280
+ @sid_prefix.setter
281
+ def sid_prefix(self, sid_prefix):
282
+ """
283
+ Sets the sid_prefix of this CreateStandbyDetails.
284
+ Specifies a prefix for the `Oracle SID` of the database to be created.
285
+
286
+
287
+ :param sid_prefix: The sid_prefix of this CreateStandbyDetails.
288
+ :type: str
289
+ """
290
+ self._sid_prefix = sid_prefix
291
+
292
+ @property
293
+ def protection_mode(self):
294
+ """
295
+ **[Required]** Gets the protection_mode of this CreateStandbyDetails.
296
+ The protection mode of this Data Guard. For more information, see
297
+ `Oracle Data Guard Protection Modes`__
298
+ in the Oracle Data Guard documentation.
299
+
300
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
301
+
302
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"
303
+
304
+
305
+ :return: The protection_mode of this CreateStandbyDetails.
306
+ :rtype: str
307
+ """
308
+ return self._protection_mode
309
+
310
+ @protection_mode.setter
311
+ def protection_mode(self, protection_mode):
312
+ """
313
+ Sets the protection_mode of this CreateStandbyDetails.
314
+ The protection mode of this Data Guard. For more information, see
315
+ `Oracle Data Guard Protection Modes`__
316
+ in the Oracle Data Guard documentation.
317
+
318
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
319
+
320
+
321
+ :param protection_mode: The protection_mode of this CreateStandbyDetails.
322
+ :type: str
323
+ """
324
+ allowed_values = ["MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"]
325
+ if not value_allowed_none_or_none_sentinel(protection_mode, allowed_values):
326
+ raise ValueError(
327
+ f"Invalid value for `protection_mode`, must be None or one of {allowed_values}"
328
+ )
329
+ self._protection_mode = protection_mode
330
+
331
+ @property
332
+ def transport_type(self):
333
+ """
334
+ **[Required]** Gets the transport_type of this CreateStandbyDetails.
335
+ The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
336
+
337
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
338
+ * MAXIMUM_PERFORMANCE - ASYNC
339
+ * MAXIMUM_PROTECTION - SYNC
340
+
341
+ For more information, see
342
+ `Redo Transport Services`__
343
+ in the Oracle Data Guard documentation.
344
+
345
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
346
+
347
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400
348
+
349
+ Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC"
350
+
351
+
352
+ :return: The transport_type of this CreateStandbyDetails.
353
+ :rtype: str
354
+ """
355
+ return self._transport_type
356
+
357
+ @transport_type.setter
358
+ def transport_type(self, transport_type):
359
+ """
360
+ Sets the transport_type of this CreateStandbyDetails.
361
+ The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
362
+
363
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
364
+ * MAXIMUM_PERFORMANCE - ASYNC
365
+ * MAXIMUM_PROTECTION - SYNC
366
+
367
+ For more information, see
368
+ `Redo Transport Services`__
369
+ in the Oracle Data Guard documentation.
370
+
371
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
372
+
373
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400
374
+
375
+
376
+ :param transport_type: The transport_type of this CreateStandbyDetails.
377
+ :type: str
378
+ """
379
+ allowed_values = ["SYNC", "ASYNC", "FASTSYNC"]
380
+ if not value_allowed_none_or_none_sentinel(transport_type, allowed_values):
381
+ raise ValueError(
382
+ f"Invalid value for `transport_type`, must be None or one of {allowed_values}"
383
+ )
384
+ self._transport_type = transport_type
385
+
386
+ def __repr__(self):
387
+ return formatted_flat_dict(self)
388
+
389
+ def __eq__(self, other):
390
+ if other is None:
391
+ return False
392
+
393
+ return self.__dict__ == other.__dict__
394
+
395
+ def __ne__(self, other):
396
+ 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: 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 DataGuardGroup(object):
14
+ """
15
+ Details of Data Guard setup that the given database is part of.
16
+ Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
17
+ """
18
+
19
+ #: A constant which can be used with the protection_mode property of a DataGuardGroup.
20
+ #: This constant has a value of "MAXIMUM_AVAILABILITY"
21
+ PROTECTION_MODE_MAXIMUM_AVAILABILITY = "MAXIMUM_AVAILABILITY"
22
+
23
+ #: A constant which can be used with the protection_mode property of a DataGuardGroup.
24
+ #: This constant has a value of "MAXIMUM_PERFORMANCE"
25
+ PROTECTION_MODE_MAXIMUM_PERFORMANCE = "MAXIMUM_PERFORMANCE"
26
+
27
+ #: A constant which can be used with the protection_mode property of a DataGuardGroup.
28
+ #: This constant has a value of "MAXIMUM_PROTECTION"
29
+ PROTECTION_MODE_MAXIMUM_PROTECTION = "MAXIMUM_PROTECTION"
30
+
31
+ def __init__(self, **kwargs):
32
+ """
33
+ Initializes a new DataGuardGroup object with values from keyword arguments.
34
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
35
+
36
+ :param members:
37
+ The value to assign to the members property of this DataGuardGroup.
38
+ :type members: list[oci.database.models.DataGuardGroupMember]
39
+
40
+ :param protection_mode:
41
+ The value to assign to the protection_mode property of this DataGuardGroup.
42
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION", 'UNKNOWN_ENUM_VALUE'.
43
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
44
+ :type protection_mode: str
45
+
46
+ """
47
+ self.swagger_types = {
48
+ 'members': 'list[DataGuardGroupMember]',
49
+ 'protection_mode': 'str'
50
+ }
51
+
52
+ self.attribute_map = {
53
+ 'members': 'members',
54
+ 'protection_mode': 'protectionMode'
55
+ }
56
+
57
+ self._members = None
58
+ self._protection_mode = None
59
+
60
+ @property
61
+ def members(self):
62
+ """
63
+ Gets the members of this DataGuardGroup.
64
+ List of Data Guard members, representing each database that is part of Data Guard.
65
+
66
+
67
+ :return: The members of this DataGuardGroup.
68
+ :rtype: list[oci.database.models.DataGuardGroupMember]
69
+ """
70
+ return self._members
71
+
72
+ @members.setter
73
+ def members(self, members):
74
+ """
75
+ Sets the members of this DataGuardGroup.
76
+ List of Data Guard members, representing each database that is part of Data Guard.
77
+
78
+
79
+ :param members: The members of this DataGuardGroup.
80
+ :type: list[oci.database.models.DataGuardGroupMember]
81
+ """
82
+ self._members = members
83
+
84
+ @property
85
+ def protection_mode(self):
86
+ """
87
+ Gets the protection_mode of this DataGuardGroup.
88
+ The protection mode of this Data Guard. For more information, see
89
+ `Oracle Data Guard Protection Modes`__
90
+ in the Oracle Data Guard documentation.
91
+
92
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
93
+
94
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION", 'UNKNOWN_ENUM_VALUE'.
95
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
96
+
97
+
98
+ :return: The protection_mode of this DataGuardGroup.
99
+ :rtype: str
100
+ """
101
+ return self._protection_mode
102
+
103
+ @protection_mode.setter
104
+ def protection_mode(self, protection_mode):
105
+ """
106
+ Sets the protection_mode of this DataGuardGroup.
107
+ The protection mode of this Data Guard. For more information, see
108
+ `Oracle Data Guard Protection Modes`__
109
+ in the Oracle Data Guard documentation.
110
+
111
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
112
+
113
+
114
+ :param protection_mode: The protection_mode of this DataGuardGroup.
115
+ :type: str
116
+ """
117
+ allowed_values = ["MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"]
118
+ if not value_allowed_none_or_none_sentinel(protection_mode, allowed_values):
119
+ protection_mode = 'UNKNOWN_ENUM_VALUE'
120
+ self._protection_mode = protection_mode
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