oci 2.118.2__py3-none-any.whl → 2.119.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 +100 -47
  3. oci/adm/application_dependency_management_client_composite_operations.py +10 -5
  4. oci/adm/models/application_dependency.py +36 -3
  5. oci/adm/models/application_dependency_recommendation_summary.py +64 -2
  6. oci/adm/models/application_dependency_vulnerability_summary.py +35 -2
  7. oci/adm/models/create_vulnerability_audit_details.py +3 -3
  8. oci/adm/models/detect_configuration.py +65 -2
  9. oci/adm/models/usage_data_details.py +2 -1
  10. oci/adm/models/usage_data_via_object_storage_tuple_details.py +2 -1
  11. oci/adm/models/vulnerability.py +92 -2
  12. oci/adm/models/vulnerability_audit.py +133 -11
  13. oci/adm/models/vulnerability_audit_configuration.py +63 -0
  14. oci/adm/models/vulnerability_audit_summary.py +124 -6
  15. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  16. oci/ai_document/ai_service_document_client.py +22 -22
  17. oci/ai_language/ai_service_language_client.py +36 -36
  18. oci/ai_speech/ai_service_speech_client.py +9 -9
  19. oci/ai_vision/ai_service_vision_client.py +25 -25
  20. oci/analytics/analytics_client.py +23 -23
  21. oci/announcements_service/announcement_client.py +4 -4
  22. oci/announcements_service/announcement_subscription_client.py +9 -9
  23. oci/announcements_service/announcements_preferences_client.py +4 -4
  24. oci/apigateway/api_gateway_client.py +21 -21
  25. oci/apigateway/deployment_client.py +6 -6
  26. oci/apigateway/gateway_client.py +6 -6
  27. oci/apigateway/subscribers_client.py +6 -6
  28. oci/apigateway/usage_plans_client.py +6 -6
  29. oci/apigateway/work_requests_client.py +5 -5
  30. oci/apm_config/config_client.py +8 -8
  31. oci/apm_control_plane/apm_domain_client.py +14 -14
  32. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  33. oci/apm_traces/query_client.py +2 -2
  34. oci/apm_traces/trace_client.py +4 -4
  35. oci/application_migration/application_migration_client.py +19 -19
  36. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  37. oci/artifacts/artifacts_client.py +32 -32
  38. oci/audit/audit_client.py +3 -3
  39. oci/autoscaling/auto_scaling_client.py +11 -11
  40. oci/bastion/bastion_client.py +15 -15
  41. oci/bds/bds_client.py +51 -51
  42. oci/blockchain/blockchain_platform_client.py +27 -27
  43. oci/budget/budget_client.py +10 -10
  44. oci/certificates/certificates_client.py +5 -5
  45. oci/certificates_management/certificates_management_client.py +32 -32
  46. oci/cims/incident_client.py +8 -8
  47. oci/cims/user_client.py +1 -1
  48. oci/cloud_bridge/common_client.py +5 -5
  49. oci/cloud_bridge/discovery_client.py +14 -14
  50. oci/cloud_bridge/inventory_client.py +16 -16
  51. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  52. oci/cloud_guard/cloud_guard_client.py +133 -133
  53. oci/cloud_migrations/migration_client.py +43 -43
  54. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  55. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  56. oci/compute_instance_agent/plugin_client.py +2 -2
  57. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  58. oci/container_engine/container_engine_client.py +44 -44
  59. oci/container_instances/container_instance_client.py +25 -20
  60. oci/core/blockstorage_client.py +60 -60
  61. oci/core/compute_client.py +99 -99
  62. oci/core/compute_management_client.py +32 -32
  63. oci/core/virtual_network_client.py +242 -242
  64. oci/dashboard_service/dashboard_client.py +6 -6
  65. oci/dashboard_service/dashboard_group_client.py +6 -6
  66. oci/data_catalog/data_catalog_client.py +147 -147
  67. oci/data_flow/data_flow_client.py +42 -42
  68. oci/data_integration/data_integration_client.py +163 -163
  69. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  70. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  71. oci/data_safe/data_safe_client.py +4081 -1170
  72. oci/data_safe/data_safe_client_composite_operations.py +257 -0
  73. oci/data_safe/models/__init__.py +60 -0
  74. oci/data_safe/models/audit_event_summary.py +109 -0
  75. oci/data_safe/models/audit_trail.py +191 -0
  76. oci/data_safe/models/audit_trail_summary.py +31 -0
  77. oci/data_safe/models/available_audit_volume_summary.py +62 -0
  78. oci/data_safe/models/calculate_audit_volume_available_details.py +34 -3
  79. oci/data_safe/models/create_peer_target_database_details.py +188 -0
  80. oci/data_safe/models/create_target_database_details.py +31 -0
  81. oci/data_safe/models/database_table_access_entry.py +837 -0
  82. oci/data_safe/models/database_table_access_entry_collection.py +72 -0
  83. oci/data_safe/models/database_table_access_entry_summary.py +835 -0
  84. oci/data_safe/models/database_view_access_entry.py +772 -0
  85. oci/data_safe/models/database_view_access_entry_collection.py +72 -0
  86. oci/data_safe/models/database_view_access_entry_summary.py +771 -0
  87. oci/data_safe/models/diffs.py +7 -3
  88. oci/data_safe/models/finding.py +347 -5
  89. oci/data_safe/models/finding_analytics_collection.py +72 -0
  90. oci/data_safe/models/finding_analytics_dimensions.py +299 -0
  91. oci/data_safe/models/finding_analytics_summary.py +148 -0
  92. oci/data_safe/models/finding_summary.py +316 -5
  93. oci/data_safe/models/findings_change_audit_log_collection.py +72 -0
  94. oci/data_safe/models/findings_change_audit_log_summary.py +458 -0
  95. oci/data_safe/models/peer_target_database.py +414 -0
  96. oci/data_safe/models/peer_target_database_collection.py +134 -0
  97. oci/data_safe/models/peer_target_database_summary.py +360 -0
  98. oci/data_safe/models/role_grant_path_collection.py +72 -0
  99. oci/data_safe/models/role_grant_path_summary.py +169 -0
  100. oci/data_safe/models/security_assessment_statistics.py +29 -2
  101. oci/data_safe/models/security_feature_analytics_collection.py +72 -0
  102. oci/data_safe/models/security_feature_analytics_dimensions.py +124 -0
  103. oci/data_safe/models/security_feature_analytics_summary.py +142 -0
  104. oci/data_safe/models/security_feature_collection.py +72 -0
  105. oci/data_safe/models/security_feature_summary.py +773 -0
  106. oci/data_safe/models/security_policy_report.py +475 -0
  107. oci/data_safe/models/security_policy_report_collection.py +72 -0
  108. oci/data_safe/models/security_policy_report_summary.py +442 -0
  109. oci/data_safe/models/target_database.py +31 -0
  110. oci/data_safe/models/update_finding_details.py +134 -0
  111. oci/data_safe/models/update_peer_target_database_details.py +157 -0
  112. oci/data_safe/models/update_report_details.py +119 -0
  113. oci/data_safe/models/user_access_analytics_collection.py +72 -0
  114. oci/data_safe/models/user_access_analytics_summary.py +103 -0
  115. oci/data_safe/models/user_summary.py +64 -2
  116. oci/data_safe/models/work_request.py +35 -3
  117. oci/data_safe/models/work_request_summary.py +35 -3
  118. oci/data_science/data_science_client.py +91 -91
  119. oci/database/database_client.py +327 -327
  120. oci/database_management/db_management_client.py +182 -182
  121. oci/database_management/diagnosability_client.py +4 -4
  122. oci/database_management/managed_my_sql_databases_client.py +6 -6
  123. oci/database_management/perfhub_client.py +1 -1
  124. oci/database_management/sql_tuning_client.py +17 -17
  125. oci/database_migration/database_migration_client.py +41 -41
  126. oci/database_tools/database_tools_client.py +23 -23
  127. oci/devops/devops_client.py +89 -89
  128. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  129. oci/dns/dns_client.py +52 -52
  130. oci/dts/appliance_export_job_client.py +6 -6
  131. oci/dts/shipping_vendors_client.py +1 -1
  132. oci/dts/transfer_appliance_client.py +8 -8
  133. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  134. oci/dts/transfer_device_client.py +5 -5
  135. oci/dts/transfer_job_client.py +6 -6
  136. oci/dts/transfer_package_client.py +7 -7
  137. oci/em_warehouse/em_data_lake_client.py +13 -13
  138. oci/em_warehouse/em_warehouse_client.py +13 -13
  139. oci/email/email_client.py +25 -25
  140. oci/events/events_client.py +6 -6
  141. oci/file_storage/file_storage_client.py +50 -50
  142. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  143. oci/functions/functions_invoke_client.py +1 -1
  144. oci/functions/functions_management_client.py +16 -16
  145. oci/fusion_apps/data_masking_activity_client.py +3 -3
  146. oci/fusion_apps/fusion_applications_client.py +39 -39
  147. oci/fusion_apps/fusion_environment_client.py +15 -15
  148. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  149. oci/fusion_apps/refresh_activity_client.py +4 -4
  150. oci/fusion_apps/scheduled_activity_client.py +2 -2
  151. oci/fusion_apps/service_attachment_client.py +2 -2
  152. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  153. oci/golden_gate/golden_gate_client.py +61 -61
  154. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  155. oci/governance_rules_control_plane/work_request_client.py +5 -5
  156. oci/healthchecks/health_checks_client.py +17 -17
  157. oci/identity/identity_client.py +145 -145
  158. oci/identity_data_plane/dataplane_client.py +2 -2
  159. oci/identity_domains/identity_domains_client.py +558 -558
  160. oci/integration/integration_instance_client.py +15 -15
  161. oci/jms/java_management_service_client.py +66 -66
  162. oci/jms_java_downloads/java_download_client.py +25 -25
  163. oci/key_management/ekm_client.py +5 -5
  164. oci/key_management/kms_crypto_client.py +6 -6
  165. oci/key_management/kms_management_client.py +21 -21
  166. oci/key_management/kms_vault_client.py +14 -14
  167. oci/license_manager/license_manager_client.py +18 -18
  168. oci/limits/limits_client.py +4 -4
  169. oci/limits/quotas_client.py +7 -7
  170. oci/load_balancer/load_balancer_client.py +61 -61
  171. oci/lockbox/lockbox_client.py +23 -23
  172. oci/log_analytics/log_analytics_client.py +193 -193
  173. oci/logging/logging_management_client.py +30 -30
  174. oci/loggingingestion/logging_client.py +1 -1
  175. oci/loggingsearch/log_search_client.py +1 -1
  176. oci/management_agent/management_agent_client.py +23 -23
  177. oci/management_dashboard/dashx_apis_client.py +14 -14
  178. oci/marketplace/account_client.py +2 -2
  179. oci/marketplace/marketplace_client.py +30 -30
  180. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  181. oci/media_services/media_services_client.py +48 -48
  182. oci/media_services/media_stream_client.py +2 -2
  183. oci/monitoring/models/__init__.py +18 -0
  184. oci/monitoring/models/aggregated_datapoint.py +2 -2
  185. oci/monitoring/models/alarm.py +8 -10
  186. oci/monitoring/models/alarm_history_entry.py +4 -4
  187. oci/monitoring/models/alarm_status_summary.py +4 -4
  188. oci/monitoring/models/alarm_summary.py +43 -6
  189. oci/monitoring/models/alarm_suppression.py +506 -0
  190. oci/monitoring/models/alarm_suppression_alarm_target.py +86 -0
  191. oci/monitoring/models/alarm_suppression_collection.py +72 -0
  192. oci/monitoring/models/alarm_suppression_history_item.py +335 -0
  193. oci/monitoring/models/alarm_suppression_history_item_collection.py +72 -0
  194. oci/monitoring/models/alarm_suppression_summary.py +490 -0
  195. oci/monitoring/models/alarm_suppression_target.py +101 -0
  196. oci/monitoring/models/create_alarm_details.py +2 -4
  197. oci/monitoring/models/create_alarm_suppression_details.py +327 -0
  198. oci/monitoring/models/datapoint.py +2 -2
  199. oci/monitoring/models/list_metrics_details.py +2 -2
  200. oci/monitoring/models/metric.py +2 -2
  201. oci/monitoring/models/metric_data.py +2 -2
  202. oci/monitoring/models/metric_data_details.py +6 -6
  203. oci/monitoring/models/summarize_alarm_suppression_history_details.py +164 -0
  204. oci/monitoring/models/summarize_metrics_data_details.py +12 -6
  205. oci/monitoring/models/suppression.py +6 -5
  206. oci/monitoring/models/update_alarm_details.py +2 -4
  207. oci/monitoring/monitoring_client.py +737 -89
  208. oci/monitoring/monitoring_client_composite_operations.py +105 -0
  209. oci/mysql/channels_client.py +7 -7
  210. oci/mysql/db_backups_client.py +6 -6
  211. oci/mysql/db_system_client.py +17 -17
  212. oci/mysql/mysqlaas_client.py +7 -7
  213. oci/mysql/replicas_client.py +5 -5
  214. oci/mysql/work_requests_client.py +4 -4
  215. oci/network_firewall/network_firewall_client.py +80 -80
  216. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  217. oci/nosql/nosql_client.py +24 -24
  218. oci/object_storage/object_storage_client.py +50 -50
  219. oci/oce/oce_instance_client.py +10 -10
  220. oci/oci_control_center/occ_metrics_client.py +3 -3
  221. oci/ocvp/cluster_client.py +5 -5
  222. oci/ocvp/esxi_host_client.py +8 -8
  223. oci/ocvp/sddc_client.py +14 -14
  224. oci/ocvp/work_request_client.py +4 -4
  225. oci/oda/management_client.py +56 -56
  226. oci/oda/oda_client.py +17 -17
  227. oci/oda/odapackage_client.py +7 -7
  228. oci/onesubscription/billing_schedule_client.py +1 -1
  229. oci/onesubscription/commitment_client.py +2 -2
  230. oci/onesubscription/computed_usage_client.py +3 -3
  231. oci/onesubscription/invoice_summary_client.py +2 -2
  232. oci/onesubscription/organization_subscription_client.py +1 -1
  233. oci/onesubscription/ratecard_client.py +1 -1
  234. oci/onesubscription/subscribed_service_client.py +2 -2
  235. oci/onesubscription/subscription_client.py +1 -1
  236. oci/ons/notification_control_plane_client.py +6 -6
  237. oci/ons/notification_data_plane_client.py +10 -10
  238. oci/opa/opa_instance_client.py +11 -11
  239. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  240. oci/opensearch/opensearch_cluster_client.py +14 -14
  241. oci/operator_access_control/access_requests_client.py +9 -9
  242. oci/operator_access_control/operator_actions_client.py +2 -2
  243. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  244. oci/operator_access_control/operator_control_client.py +6 -6
  245. oci/opsi/operations_insights_client.py +175 -175
  246. oci/optimizer/optimizer_client.py +26 -26
  247. oci/os_management/event_client.py +8 -8
  248. oci/os_management/os_management_client.py +69 -69
  249. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  250. oci/os_management_hub/managed_instance_client.py +22 -22
  251. oci/os_management_hub/managed_instance_group_client.py +22 -22
  252. oci/os_management_hub/management_station_client.py +8 -8
  253. oci/os_management_hub/onboarding_client.py +5 -5
  254. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  255. oci/os_management_hub/scheduled_job_client.py +6 -6
  256. oci/os_management_hub/software_source_client.py +22 -22
  257. oci/os_management_hub/work_request_client.py +4 -4
  258. oci/osp_gateway/address_rule_service_client.py +1 -1
  259. oci/osp_gateway/address_service_client.py +2 -2
  260. oci/osp_gateway/invoice_service_client.py +5 -5
  261. oci/osp_gateway/subscription_service_client.py +5 -5
  262. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  263. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  264. oci/osub_subscription/commitment_client.py +2 -2
  265. oci/osub_subscription/ratecard_client.py +1 -1
  266. oci/osub_subscription/subscription_client.py +1 -1
  267. oci/osub_usage/computed_usage_client.py +3 -3
  268. oci/psql/postgresql_client.py +33 -33
  269. oci/queue/queue_admin_client.py +11 -11
  270. oci/queue/queue_client.py +8 -8
  271. oci/recovery/database_recovery_client.py +23 -23
  272. oci/redis/redis_cluster_client.py +11 -11
  273. oci/resource_manager/resource_manager_client.py +52 -52
  274. oci/resource_search/resource_search_client.py +3 -3
  275. oci/rover/rover_bundle_client.py +8 -8
  276. oci/rover/rover_cluster_client.py +8 -8
  277. oci/rover/rover_entitlement_client.py +6 -6
  278. oci/rover/rover_node_client.py +15 -15
  279. oci/rover/shape_client.py +1 -1
  280. oci/rover/work_requests_client.py +5 -5
  281. oci/sch/service_connector_client.py +12 -12
  282. oci/secrets/secrets_client.py +3 -3
  283. oci/service_catalog/service_catalog_client.py +26 -26
  284. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  285. oci/service_mesh/service_mesh_client.py +48 -48
  286. oci/stack_monitoring/stack_monitoring_client.py +58 -58
  287. oci/streaming/stream_admin_client.py +18 -18
  288. oci/streaming/stream_client.py +8 -8
  289. oci/tenant_manager_control_plane/domain_client.py +5 -5
  290. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  291. oci/tenant_manager_control_plane/governance_client.py +2 -2
  292. oci/tenant_manager_control_plane/link_client.py +3 -3
  293. oci/tenant_manager_control_plane/orders_client.py +2 -2
  294. oci/tenant_manager_control_plane/organization_client.py +10 -10
  295. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  296. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  297. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  298. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  299. oci/threat_intelligence/threatintel_client.py +5 -5
  300. oci/usage/resources_client.py +2 -2
  301. oci/usage/rewards_client.py +6 -6
  302. oci/usage/usagelimits_client.py +1 -1
  303. oci/usage_api/usageapi_client.py +28 -28
  304. oci/vault/vaults_client.py +11 -11
  305. oci/vbs_inst/vbs_instance_client.py +10 -10
  306. oci/version.py +1 -1
  307. oci/visual_builder/vb_instance_client.py +13 -13
  308. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  309. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  310. oci/waa/waa_client.py +13 -13
  311. oci/waa/work_request_client.py +4 -4
  312. oci/waas/redirect_client.py +6 -6
  313. oci/waas/waas_client.py +66 -66
  314. oci/waf/waf_client.py +24 -24
  315. oci/work_requests/work_request_client.py +4 -4
  316. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/METADATA +1 -1
  317. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/RECORD +321 -282
  318. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/LICENSE.txt +0 -0
  319. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  320. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/WHEEL +0 -0
  321. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,414 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
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 PeerTargetDatabase(object):
14
+ """
15
+ The details of the peer target database in Data Safe.
16
+ """
17
+
18
+ #: A constant which can be used with the lifecycle_state property of a PeerTargetDatabase.
19
+ #: This constant has a value of "CREATING"
20
+ LIFECYCLE_STATE_CREATING = "CREATING"
21
+
22
+ #: A constant which can be used with the lifecycle_state property of a PeerTargetDatabase.
23
+ #: This constant has a value of "UPDATING"
24
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
25
+
26
+ #: A constant which can be used with the lifecycle_state property of a PeerTargetDatabase.
27
+ #: This constant has a value of "ACTIVE"
28
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
29
+
30
+ #: A constant which can be used with the lifecycle_state property of a PeerTargetDatabase.
31
+ #: This constant has a value of "INACTIVE"
32
+ LIFECYCLE_STATE_INACTIVE = "INACTIVE"
33
+
34
+ #: A constant which can be used with the lifecycle_state property of a PeerTargetDatabase.
35
+ #: This constant has a value of "DELETING"
36
+ LIFECYCLE_STATE_DELETING = "DELETING"
37
+
38
+ #: A constant which can be used with the lifecycle_state property of a PeerTargetDatabase.
39
+ #: This constant has a value of "DELETED"
40
+ LIFECYCLE_STATE_DELETED = "DELETED"
41
+
42
+ #: A constant which can be used with the lifecycle_state property of a PeerTargetDatabase.
43
+ #: This constant has a value of "NEEDS_ATTENTION"
44
+ LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
45
+
46
+ #: A constant which can be used with the lifecycle_state property of a PeerTargetDatabase.
47
+ #: This constant has a value of "FAILED"
48
+ LIFECYCLE_STATE_FAILED = "FAILED"
49
+
50
+ def __init__(self, **kwargs):
51
+ """
52
+ Initializes a new PeerTargetDatabase object with values from keyword arguments.
53
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
54
+
55
+ :param display_name:
56
+ The value to assign to the display_name property of this PeerTargetDatabase.
57
+ :type display_name: str
58
+
59
+ :param description:
60
+ The value to assign to the description property of this PeerTargetDatabase.
61
+ :type description: str
62
+
63
+ :param key:
64
+ The value to assign to the key property of this PeerTargetDatabase.
65
+ :type key: int
66
+
67
+ :param dataguard_association_id:
68
+ The value to assign to the dataguard_association_id property of this PeerTargetDatabase.
69
+ :type dataguard_association_id: str
70
+
71
+ :param time_created:
72
+ The value to assign to the time_created property of this PeerTargetDatabase.
73
+ :type time_created: datetime
74
+
75
+ :param role:
76
+ The value to assign to the role property of this PeerTargetDatabase.
77
+ :type role: str
78
+
79
+ :param database_unique_name:
80
+ The value to assign to the database_unique_name property of this PeerTargetDatabase.
81
+ :type database_unique_name: str
82
+
83
+ :param database_details:
84
+ The value to assign to the database_details property of this PeerTargetDatabase.
85
+ :type database_details: oci.data_safe.models.DatabaseDetails
86
+
87
+ :param tls_config:
88
+ The value to assign to the tls_config property of this PeerTargetDatabase.
89
+ :type tls_config: oci.data_safe.models.TlsConfig
90
+
91
+ :param lifecycle_state:
92
+ The value to assign to the lifecycle_state property of this PeerTargetDatabase.
93
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "NEEDS_ATTENTION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
94
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
95
+ :type lifecycle_state: str
96
+
97
+ :param lifecycle_details:
98
+ The value to assign to the lifecycle_details property of this PeerTargetDatabase.
99
+ :type lifecycle_details: str
100
+
101
+ """
102
+ self.swagger_types = {
103
+ 'display_name': 'str',
104
+ 'description': 'str',
105
+ 'key': 'int',
106
+ 'dataguard_association_id': 'str',
107
+ 'time_created': 'datetime',
108
+ 'role': 'str',
109
+ 'database_unique_name': 'str',
110
+ 'database_details': 'DatabaseDetails',
111
+ 'tls_config': 'TlsConfig',
112
+ 'lifecycle_state': 'str',
113
+ 'lifecycle_details': 'str'
114
+ }
115
+
116
+ self.attribute_map = {
117
+ 'display_name': 'displayName',
118
+ 'description': 'description',
119
+ 'key': 'key',
120
+ 'dataguard_association_id': 'dataguardAssociationId',
121
+ 'time_created': 'timeCreated',
122
+ 'role': 'role',
123
+ 'database_unique_name': 'databaseUniqueName',
124
+ 'database_details': 'databaseDetails',
125
+ 'tls_config': 'tlsConfig',
126
+ 'lifecycle_state': 'lifecycleState',
127
+ 'lifecycle_details': 'lifecycleDetails'
128
+ }
129
+
130
+ self._display_name = None
131
+ self._description = None
132
+ self._key = None
133
+ self._dataguard_association_id = None
134
+ self._time_created = None
135
+ self._role = None
136
+ self._database_unique_name = None
137
+ self._database_details = None
138
+ self._tls_config = None
139
+ self._lifecycle_state = None
140
+ self._lifecycle_details = None
141
+
142
+ @property
143
+ def display_name(self):
144
+ """
145
+ **[Required]** Gets the display_name of this PeerTargetDatabase.
146
+ The display name of the peer target database in Data Safe.
147
+
148
+
149
+ :return: The display_name of this PeerTargetDatabase.
150
+ :rtype: str
151
+ """
152
+ return self._display_name
153
+
154
+ @display_name.setter
155
+ def display_name(self, display_name):
156
+ """
157
+ Sets the display_name of this PeerTargetDatabase.
158
+ The display name of the peer target database in Data Safe.
159
+
160
+
161
+ :param display_name: The display_name of this PeerTargetDatabase.
162
+ :type: str
163
+ """
164
+ self._display_name = display_name
165
+
166
+ @property
167
+ def description(self):
168
+ """
169
+ Gets the description of this PeerTargetDatabase.
170
+ The description of the peer target database in Data Safe.
171
+
172
+
173
+ :return: The description of this PeerTargetDatabase.
174
+ :rtype: str
175
+ """
176
+ return self._description
177
+
178
+ @description.setter
179
+ def description(self, description):
180
+ """
181
+ Sets the description of this PeerTargetDatabase.
182
+ The description of the peer target database in Data Safe.
183
+
184
+
185
+ :param description: The description of this PeerTargetDatabase.
186
+ :type: str
187
+ """
188
+ self._description = description
189
+
190
+ @property
191
+ def key(self):
192
+ """
193
+ **[Required]** Gets the key of this PeerTargetDatabase.
194
+ The secondary key assigned for the peer target database in Data Safe.
195
+
196
+
197
+ :return: The key of this PeerTargetDatabase.
198
+ :rtype: int
199
+ """
200
+ return self._key
201
+
202
+ @key.setter
203
+ def key(self, key):
204
+ """
205
+ Sets the key of this PeerTargetDatabase.
206
+ The secondary key assigned for the peer target database in Data Safe.
207
+
208
+
209
+ :param key: The key of this PeerTargetDatabase.
210
+ :type: int
211
+ """
212
+ self._key = key
213
+
214
+ @property
215
+ def dataguard_association_id(self):
216
+ """
217
+ **[Required]** Gets the dataguard_association_id of this PeerTargetDatabase.
218
+ The OCID of the Data Guard Association resource in which the database associated to the peer target database is considered as peer database to the primary database.
219
+
220
+
221
+ :return: The dataguard_association_id of this PeerTargetDatabase.
222
+ :rtype: str
223
+ """
224
+ return self._dataguard_association_id
225
+
226
+ @dataguard_association_id.setter
227
+ def dataguard_association_id(self, dataguard_association_id):
228
+ """
229
+ Sets the dataguard_association_id of this PeerTargetDatabase.
230
+ The OCID of the Data Guard Association resource in which the database associated to the peer target database is considered as peer database to the primary database.
231
+
232
+
233
+ :param dataguard_association_id: The dataguard_association_id of this PeerTargetDatabase.
234
+ :type: str
235
+ """
236
+ self._dataguard_association_id = dataguard_association_id
237
+
238
+ @property
239
+ def time_created(self):
240
+ """
241
+ **[Required]** Gets the time_created of this PeerTargetDatabase.
242
+ The date and time of the peer target database registration in Data Safe.
243
+
244
+
245
+ :return: The time_created of this PeerTargetDatabase.
246
+ :rtype: datetime
247
+ """
248
+ return self._time_created
249
+
250
+ @time_created.setter
251
+ def time_created(self, time_created):
252
+ """
253
+ Sets the time_created of this PeerTargetDatabase.
254
+ The date and time of the peer target database registration in Data Safe.
255
+
256
+
257
+ :param time_created: The time_created of this PeerTargetDatabase.
258
+ :type: datetime
259
+ """
260
+ self._time_created = time_created
261
+
262
+ @property
263
+ def role(self):
264
+ """
265
+ Gets the role of this PeerTargetDatabase.
266
+ Role of the database associated to the peer target database.
267
+
268
+
269
+ :return: The role of this PeerTargetDatabase.
270
+ :rtype: str
271
+ """
272
+ return self._role
273
+
274
+ @role.setter
275
+ def role(self, role):
276
+ """
277
+ Sets the role of this PeerTargetDatabase.
278
+ Role of the database associated to the peer target database.
279
+
280
+
281
+ :param role: The role of this PeerTargetDatabase.
282
+ :type: str
283
+ """
284
+ self._role = role
285
+
286
+ @property
287
+ def database_unique_name(self):
288
+ """
289
+ Gets the database_unique_name of this PeerTargetDatabase.
290
+ Unique name of the database associated to the peer target database.
291
+
292
+
293
+ :return: The database_unique_name of this PeerTargetDatabase.
294
+ :rtype: str
295
+ """
296
+ return self._database_unique_name
297
+
298
+ @database_unique_name.setter
299
+ def database_unique_name(self, database_unique_name):
300
+ """
301
+ Sets the database_unique_name of this PeerTargetDatabase.
302
+ Unique name of the database associated to the peer target database.
303
+
304
+
305
+ :param database_unique_name: The database_unique_name of this PeerTargetDatabase.
306
+ :type: str
307
+ """
308
+ self._database_unique_name = database_unique_name
309
+
310
+ @property
311
+ def database_details(self):
312
+ """
313
+ **[Required]** Gets the database_details of this PeerTargetDatabase.
314
+
315
+ :return: The database_details of this PeerTargetDatabase.
316
+ :rtype: oci.data_safe.models.DatabaseDetails
317
+ """
318
+ return self._database_details
319
+
320
+ @database_details.setter
321
+ def database_details(self, database_details):
322
+ """
323
+ Sets the database_details of this PeerTargetDatabase.
324
+
325
+ :param database_details: The database_details of this PeerTargetDatabase.
326
+ :type: oci.data_safe.models.DatabaseDetails
327
+ """
328
+ self._database_details = database_details
329
+
330
+ @property
331
+ def tls_config(self):
332
+ """
333
+ Gets the tls_config of this PeerTargetDatabase.
334
+
335
+ :return: The tls_config of this PeerTargetDatabase.
336
+ :rtype: oci.data_safe.models.TlsConfig
337
+ """
338
+ return self._tls_config
339
+
340
+ @tls_config.setter
341
+ def tls_config(self, tls_config):
342
+ """
343
+ Sets the tls_config of this PeerTargetDatabase.
344
+
345
+ :param tls_config: The tls_config of this PeerTargetDatabase.
346
+ :type: oci.data_safe.models.TlsConfig
347
+ """
348
+ self._tls_config = tls_config
349
+
350
+ @property
351
+ def lifecycle_state(self):
352
+ """
353
+ **[Required]** Gets the lifecycle_state of this PeerTargetDatabase.
354
+ The current state of the peer target database in Data Safe.
355
+
356
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "NEEDS_ATTENTION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
357
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
358
+
359
+
360
+ :return: The lifecycle_state of this PeerTargetDatabase.
361
+ :rtype: str
362
+ """
363
+ return self._lifecycle_state
364
+
365
+ @lifecycle_state.setter
366
+ def lifecycle_state(self, lifecycle_state):
367
+ """
368
+ Sets the lifecycle_state of this PeerTargetDatabase.
369
+ The current state of the peer target database in Data Safe.
370
+
371
+
372
+ :param lifecycle_state: The lifecycle_state of this PeerTargetDatabase.
373
+ :type: str
374
+ """
375
+ allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "NEEDS_ATTENTION", "FAILED"]
376
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
377
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
378
+ self._lifecycle_state = lifecycle_state
379
+
380
+ @property
381
+ def lifecycle_details(self):
382
+ """
383
+ Gets the lifecycle_details of this PeerTargetDatabase.
384
+ Details about the current state of the peer target database in Data Safe.
385
+
386
+
387
+ :return: The lifecycle_details of this PeerTargetDatabase.
388
+ :rtype: str
389
+ """
390
+ return self._lifecycle_details
391
+
392
+ @lifecycle_details.setter
393
+ def lifecycle_details(self, lifecycle_details):
394
+ """
395
+ Sets the lifecycle_details of this PeerTargetDatabase.
396
+ Details about the current state of the peer target database in Data Safe.
397
+
398
+
399
+ :param lifecycle_details: The lifecycle_details of this PeerTargetDatabase.
400
+ :type: str
401
+ """
402
+ self._lifecycle_details = lifecycle_details
403
+
404
+ def __repr__(self):
405
+ return formatted_flat_dict(self)
406
+
407
+ def __eq__(self, other):
408
+ if other is None:
409
+ return False
410
+
411
+ return self.__dict__ == other.__dict__
412
+
413
+ def __ne__(self, other):
414
+ return not self == other
@@ -0,0 +1,134 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
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 PeerTargetDatabaseCollection(object):
14
+ """
15
+ Summary of peer target databases of a primary target database.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new PeerTargetDatabaseCollection object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param compartment_id:
24
+ The value to assign to the compartment_id property of this PeerTargetDatabaseCollection.
25
+ :type compartment_id: str
26
+
27
+ :param target_database_id:
28
+ The value to assign to the target_database_id property of this PeerTargetDatabaseCollection.
29
+ :type target_database_id: str
30
+
31
+ :param items:
32
+ The value to assign to the items property of this PeerTargetDatabaseCollection.
33
+ :type items: list[oci.data_safe.models.PeerTargetDatabaseSummary]
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'compartment_id': 'str',
38
+ 'target_database_id': 'str',
39
+ 'items': 'list[PeerTargetDatabaseSummary]'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'compartment_id': 'compartmentId',
44
+ 'target_database_id': 'targetDatabaseId',
45
+ 'items': 'items'
46
+ }
47
+
48
+ self._compartment_id = None
49
+ self._target_database_id = None
50
+ self._items = None
51
+
52
+ @property
53
+ def compartment_id(self):
54
+ """
55
+ **[Required]** Gets the compartment_id of this PeerTargetDatabaseCollection.
56
+ The OCID of the compartment that contains the primary target database.
57
+
58
+
59
+ :return: The compartment_id of this PeerTargetDatabaseCollection.
60
+ :rtype: str
61
+ """
62
+ return self._compartment_id
63
+
64
+ @compartment_id.setter
65
+ def compartment_id(self, compartment_id):
66
+ """
67
+ Sets the compartment_id of this PeerTargetDatabaseCollection.
68
+ The OCID of the compartment that contains the primary target database.
69
+
70
+
71
+ :param compartment_id: The compartment_id of this PeerTargetDatabaseCollection.
72
+ :type: str
73
+ """
74
+ self._compartment_id = compartment_id
75
+
76
+ @property
77
+ def target_database_id(self):
78
+ """
79
+ **[Required]** Gets the target_database_id of this PeerTargetDatabaseCollection.
80
+ The OCID of the Data Safe target database.
81
+
82
+
83
+ :return: The target_database_id of this PeerTargetDatabaseCollection.
84
+ :rtype: str
85
+ """
86
+ return self._target_database_id
87
+
88
+ @target_database_id.setter
89
+ def target_database_id(self, target_database_id):
90
+ """
91
+ Sets the target_database_id of this PeerTargetDatabaseCollection.
92
+ The OCID of the Data Safe target database.
93
+
94
+
95
+ :param target_database_id: The target_database_id of this PeerTargetDatabaseCollection.
96
+ :type: str
97
+ """
98
+ self._target_database_id = target_database_id
99
+
100
+ @property
101
+ def items(self):
102
+ """
103
+ Gets the items of this PeerTargetDatabaseCollection.
104
+ The list of peer target databases associated to the primary target database.
105
+
106
+
107
+ :return: The items of this PeerTargetDatabaseCollection.
108
+ :rtype: list[oci.data_safe.models.PeerTargetDatabaseSummary]
109
+ """
110
+ return self._items
111
+
112
+ @items.setter
113
+ def items(self, items):
114
+ """
115
+ Sets the items of this PeerTargetDatabaseCollection.
116
+ The list of peer target databases associated to the primary target database.
117
+
118
+
119
+ :param items: The items of this PeerTargetDatabaseCollection.
120
+ :type: list[oci.data_safe.models.PeerTargetDatabaseSummary]
121
+ """
122
+ self._items = items
123
+
124
+ def __repr__(self):
125
+ return formatted_flat_dict(self)
126
+
127
+ def __eq__(self, other):
128
+ if other is None:
129
+ return False
130
+
131
+ return self.__dict__ == other.__dict__
132
+
133
+ def __ne__(self, other):
134
+ return not self == other