pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.5.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 (313) hide show
  1. pulumi_oci/__init__.py +248 -43
  2. pulumi_oci/aidocument/__init__.py +1 -0
  3. pulumi_oci/aidocument/_inputs.py +476 -6
  4. pulumi_oci/aidocument/get_model.py +63 -2
  5. pulumi_oci/aidocument/get_model_type.py +179 -0
  6. pulumi_oci/aidocument/get_models.py +1 -1
  7. pulumi_oci/aidocument/get_project.py +17 -2
  8. pulumi_oci/aidocument/get_projects.py +1 -1
  9. pulumi_oci/aidocument/model.py +188 -0
  10. pulumi_oci/aidocument/outputs.py +883 -8
  11. pulumi_oci/aidocument/processor_job.py +22 -4
  12. pulumi_oci/aidocument/project.py +50 -1
  13. pulumi_oci/apigateway/_inputs.py +608 -12
  14. pulumi_oci/apigateway/api.py +127 -38
  15. pulumi_oci/apigateway/certificate.py +122 -3
  16. pulumi_oci/apigateway/deployment.py +120 -3
  17. pulumi_oci/apigateway/gateway.py +124 -7
  18. pulumi_oci/apigateway/get_api.py +40 -1
  19. pulumi_oci/apigateway/get_certificate.py +41 -1
  20. pulumi_oci/apigateway/get_deployment.py +40 -1
  21. pulumi_oci/apigateway/get_gateway.py +40 -1
  22. pulumi_oci/apigateway/get_subscriber.py +40 -1
  23. pulumi_oci/apigateway/get_usage_plan.py +40 -1
  24. pulumi_oci/apigateway/outputs.py +1413 -39
  25. pulumi_oci/apigateway/subscriber.py +120 -3
  26. pulumi_oci/apigateway/usage_plan.py +127 -38
  27. pulumi_oci/apmconfig/_inputs.py +199 -15
  28. pulumi_oci/apmconfig/config.py +535 -17
  29. pulumi_oci/apmconfig/get_config.py +141 -1
  30. pulumi_oci/apmconfig/get_configs.py +2 -2
  31. pulumi_oci/apmconfig/outputs.py +509 -13
  32. pulumi_oci/apmtraces/__init__.py +5 -0
  33. pulumi_oci/apmtraces/_inputs.py +413 -0
  34. pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
  35. pulumi_oci/apmtraces/get_log.py +356 -0
  36. pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
  37. pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
  38. pulumi_oci/apmtraces/get_trace.py +4 -4
  39. pulumi_oci/apmtraces/outputs.py +971 -0
  40. pulumi_oci/apmtraces/scheduled_query.py +925 -0
  41. pulumi_oci/autoscaling/_inputs.py +177 -13
  42. pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
  43. pulumi_oci/autoscaling/outputs.py +269 -23
  44. pulumi_oci/core/_inputs.py +184 -0
  45. pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
  46. pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
  47. pulumi_oci/core/get_ipv6.py +15 -1
  48. pulumi_oci/core/ipv6.py +49 -0
  49. pulumi_oci/core/outputs.py +376 -0
  50. pulumi_oci/database/__init__.py +3 -0
  51. pulumi_oci/database/_inputs.py +396 -19
  52. pulumi_oci/database/autonomous_container_database.py +94 -0
  53. pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
  54. pulumi_oci/database/autonomous_database.py +578 -568
  55. pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
  56. pulumi_oci/database/data_guard_association.py +98 -0
  57. pulumi_oci/database/database.py +28 -0
  58. pulumi_oci/database/db_node.py +56 -0
  59. pulumi_oci/database/db_system.py +108 -14
  60. pulumi_oci/database/exadb_vm_cluster.py +49 -0
  61. pulumi_oci/database/exascale_db_storage_vault.py +28 -0
  62. pulumi_oci/database/get_autonomous_container_database.py +29 -1
  63. pulumi_oci/database/get_autonomous_database.py +65 -1
  64. pulumi_oci/database/get_autonomous_databases.py +6 -1
  65. pulumi_oci/database/get_data_guard_association.py +23 -1
  66. pulumi_oci/database/get_database.py +15 -1
  67. pulumi_oci/database/get_db_node.py +29 -1
  68. pulumi_oci/database/get_db_system_shapes.py +25 -6
  69. pulumi_oci/database/get_db_system_storage_performances.py +20 -3
  70. pulumi_oci/database/get_db_versions.py +20 -1
  71. pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
  72. pulumi_oci/database/get_exascale_db_storage_vault.py +15 -1
  73. pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
  74. pulumi_oci/database/get_gi_versions.py +25 -6
  75. pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
  76. pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
  77. pulumi_oci/database/outputs.py +1045 -83
  78. pulumi_oci/database/pluggable_database.py +0 -14
  79. pulumi_oci/database/pluggable_database_snapshot.py +539 -0
  80. pulumi_oci/databasemanagement/__init__.py +37 -0
  81. pulumi_oci/databasemanagement/_inputs.py +9516 -3414
  82. pulumi_oci/databasemanagement/cloud_asm.py +791 -0
  83. pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
  84. pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
  85. pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
  86. pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
  87. pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
  88. pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
  89. pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
  90. pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
  91. pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
  92. pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
  93. pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
  94. pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
  95. pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
  96. pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
  97. pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
  98. pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
  99. pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
  100. pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
  101. pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
  102. pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
  103. pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
  104. pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
  105. pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
  106. pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
  107. pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
  108. pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
  109. pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
  110. pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
  111. pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
  112. pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
  113. pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
  114. pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
  115. pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
  116. pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
  117. pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
  118. pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
  119. pulumi_oci/databasemanagement/get_managed_database.py +2 -2
  120. pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
  121. pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
  122. pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
  123. pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
  124. pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
  125. pulumi_oci/databasemanagement/outputs.py +18049 -4222
  126. pulumi_oci/datasafe/__init__.py +24 -0
  127. pulumi_oci/datasafe/_inputs.py +3669 -1537
  128. pulumi_oci/datasafe/attribute_set.py +693 -0
  129. pulumi_oci/datasafe/audit_profile.py +356 -95
  130. pulumi_oci/datasafe/audit_profile_management.py +389 -129
  131. pulumi_oci/datasafe/audit_trail.py +47 -0
  132. pulumi_oci/datasafe/audit_trail_management.py +49 -0
  133. pulumi_oci/datasafe/get_alerts.py +2 -2
  134. pulumi_oci/datasafe/get_attribute_set.py +295 -0
  135. pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
  136. pulumi_oci/datasafe/get_attribute_sets.py +340 -0
  137. pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
  138. pulumi_oci/datasafe/get_audit_events.py +2 -2
  139. pulumi_oci/datasafe/get_audit_policies.py +20 -1
  140. pulumi_oci/datasafe/get_audit_profile.py +78 -8
  141. pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
  142. pulumi_oci/datasafe/get_audit_profiles.py +50 -9
  143. pulumi_oci/datasafe/get_audit_trail.py +15 -1
  144. pulumi_oci/datasafe/get_audit_trails.py +20 -1
  145. pulumi_oci/datasafe/get_database_security_configs.py +20 -1
  146. pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
  147. pulumi_oci/datasafe/get_masking_analytics.py +42 -1
  148. pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
  149. pulumi_oci/datasafe/get_report.py +43 -1
  150. pulumi_oci/datasafe/get_reports.py +23 -1
  151. pulumi_oci/datasafe/get_security_assessment.py +116 -2
  152. pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
  153. pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
  154. pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
  155. pulumi_oci/datasafe/get_security_assessment_findings.py +75 -8
  156. pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
  157. pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
  158. pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
  159. pulumi_oci/datasafe/get_security_assessments.py +70 -4
  160. pulumi_oci/datasafe/get_security_policies.py +23 -1
  161. pulumi_oci/datasafe/get_security_policy.py +15 -1
  162. pulumi_oci/datasafe/get_security_policy_config.py +296 -0
  163. pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
  164. pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
  165. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
  166. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
  167. pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
  168. pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
  169. pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
  170. pulumi_oci/datasafe/get_sql_collections.py +20 -1
  171. pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
  172. pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
  173. pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
  174. pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
  175. pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
  176. pulumi_oci/datasafe/get_target_database_group.py +296 -0
  177. pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
  178. pulumi_oci/datasafe/get_target_database_groups.py +313 -0
  179. pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
  180. pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
  181. pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
  182. pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
  183. pulumi_oci/datasafe/get_user_assessment.py +29 -1
  184. pulumi_oci/datasafe/get_user_assessments.py +45 -1
  185. pulumi_oci/datasafe/outputs.py +7975 -1013
  186. pulumi_oci/datasafe/report.py +84 -0
  187. pulumi_oci/datasafe/report_definition.py +4 -0
  188. pulumi_oci/datasafe/security_assessment.py +425 -82
  189. pulumi_oci/datasafe/security_assessment_check.py +456 -0
  190. pulumi_oci/datasafe/security_assessment_finding.py +818 -0
  191. pulumi_oci/datasafe/security_policy.py +94 -77
  192. pulumi_oci/datasafe/security_policy_config.py +698 -0
  193. pulumi_oci/datasafe/security_policy_deployment.py +272 -67
  194. pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
  195. pulumi_oci/datasafe/security_policy_management.py +87 -30
  196. pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
  197. pulumi_oci/datasafe/target_database.py +4 -0
  198. pulumi_oci/datasafe/target_database_group.py +679 -0
  199. pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
  200. pulumi_oci/datasafe/unified_audit_policy.py +836 -0
  201. pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
  202. pulumi_oci/datasafe/user_assessment.py +105 -28
  203. pulumi_oci/datascience/__init__.py +10 -0
  204. pulumi_oci/datascience/_inputs.py +6760 -2206
  205. pulumi_oci/datascience/get_job.py +15 -1
  206. pulumi_oci/datascience/get_job_run.py +44 -2
  207. pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
  208. pulumi_oci/datascience/get_model_group.py +405 -0
  209. pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
  210. pulumi_oci/datascience/get_model_group_models.py +240 -0
  211. pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
  212. pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
  213. pulumi_oci/datascience/get_model_groups.py +265 -0
  214. pulumi_oci/datascience/get_pipeline_run.py +15 -1
  215. pulumi_oci/datascience/job.py +81 -154
  216. pulumi_oci/datascience/job_run.py +250 -4
  217. pulumi_oci/datascience/model_group.py +1111 -0
  218. pulumi_oci/datascience/model_group_artifact.py +369 -0
  219. pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
  220. pulumi_oci/datascience/notebook_session.py +4 -0
  221. pulumi_oci/datascience/outputs.py +17168 -8021
  222. pulumi_oci/datascience/pipeline_run.py +87 -0
  223. pulumi_oci/disasterrecovery/_inputs.py +231 -3
  224. pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
  225. pulumi_oci/disasterrecovery/outputs.py +446 -12
  226. pulumi_oci/generativeai/_inputs.py +572 -63
  227. pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
  228. pulumi_oci/generativeai/agent_data_source.py +7 -81
  229. pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
  230. pulumi_oci/generativeai/agent_tool.py +172 -0
  231. pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
  232. pulumi_oci/generativeai/get_agent_data_source.py +1 -5
  233. pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
  234. pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
  235. pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
  236. pulumi_oci/generativeai/outputs.py +1128 -106
  237. pulumi_oci/goldengate/_inputs.py +3 -3
  238. pulumi_oci/goldengate/connection.py +175 -56
  239. pulumi_oci/goldengate/deployment.py +94 -0
  240. pulumi_oci/goldengate/get_connection.py +20 -4
  241. pulumi_oci/goldengate/get_deployment.py +29 -1
  242. pulumi_oci/goldengate/get_deployments.py +23 -1
  243. pulumi_oci/goldengate/outputs.py +62 -10
  244. pulumi_oci/managementagent/__init__.py +4 -0
  245. pulumi_oci/managementagent/_inputs.py +129 -0
  246. pulumi_oci/managementagent/get_management_agent.py +26 -1
  247. pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
  248. pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
  249. pulumi_oci/managementagent/get_named_credential.py +268 -0
  250. pulumi_oci/managementagent/get_named_credentials.py +221 -0
  251. pulumi_oci/managementagent/management_agent.py +48 -0
  252. pulumi_oci/managementagent/management_agent_install_key.py +84 -0
  253. pulumi_oci/managementagent/named_credential.py +706 -0
  254. pulumi_oci/managementagent/outputs.py +515 -0
  255. pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
  256. pulumi_oci/oci/__init__.py +12 -0
  257. pulumi_oci/oci/_inputs.py +566 -0
  258. pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
  259. pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
  260. pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
  261. pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
  262. pulumi_oci/{aianomalydetection/get_ai_private_endpoint.py → oci/get_managed_kafka_kafka_cluster_config.py} +63 -90
  263. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
  264. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
  265. pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
  266. pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
  267. pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
  268. pulumi_oci/{aianomalydetection/ai_private_endpoint.py → oci/managed_kafka_kafka_cluster_config.py} +138 -232
  269. pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
  270. pulumi_oci/oci/outputs.py +1540 -164
  271. pulumi_oci/opsi/_inputs.py +1001 -149
  272. pulumi_oci/opsi/database_insight.py +22 -3
  273. pulumi_oci/opsi/exadata_insight.py +86 -6
  274. pulumi_oci/opsi/outputs.py +1438 -178
  275. pulumi_oci/psql/configuration.py +109 -19
  276. pulumi_oci/psql/db_system.py +7 -7
  277. pulumi_oci/psql/get_configuration.py +30 -2
  278. pulumi_oci/psql/get_configurations.py +49 -5
  279. pulumi_oci/psql/get_db_system.py +1 -1
  280. pulumi_oci/psql/get_default_configuration.py +30 -4
  281. pulumi_oci/psql/get_default_configurations.py +49 -5
  282. pulumi_oci/psql/outputs.py +47 -14
  283. pulumi_oci/pulumi-plugin.json +1 -1
  284. pulumi_oci/redis/__init__.py +6 -0
  285. pulumi_oci/redis/_inputs.py +217 -0
  286. pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
  287. pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
  288. pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
  289. pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
  290. pulumi_oci/redis/get_redis_cluster.py +15 -1
  291. pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
  292. pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
  293. pulumi_oci/redis/outputs.py +713 -0
  294. pulumi_oci/redis/redis_cluster.py +49 -0
  295. pulumi_oci/vault/_inputs.py +198 -0
  296. pulumi_oci/vault/get_secret.py +43 -1
  297. pulumi_oci/vault/outputs.py +434 -0
  298. pulumi_oci/vault/secret.py +103 -0
  299. {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/METADATA +1 -1
  300. {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/RECORD +302 -218
  301. pulumi_oci/aianomalydetection/__init__.py +0 -25
  302. pulumi_oci/aianomalydetection/_inputs.py +0 -1742
  303. pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
  304. pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
  305. pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
  306. pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
  307. pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
  308. pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
  309. pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
  310. pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
  311. pulumi_oci/aianomalydetection/outputs.py +0 -3699
  312. {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/WHEEL +0 -0
  313. {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/top_level.txt +0 -0
@@ -13,44 +13,52 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
16
18
 
17
19
  __all__ = ['AuditProfileManagementArgs', 'AuditProfileManagement']
18
20
 
19
21
  @pulumi.input_type
20
22
  class AuditProfileManagementArgs:
21
23
  def __init__(__self__, *,
22
- change_retention_trigger: Optional[pulumi.Input[_builtins.bool]] = None,
23
- compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
24
+ compartment_id: pulumi.Input[_builtins.str],
25
+ target_id: pulumi.Input[_builtins.str],
26
+ target_type: pulumi.Input[_builtins.str],
27
+ change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
24
28
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
25
29
  description: Optional[pulumi.Input[_builtins.str]] = None,
26
30
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
27
31
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
32
+ is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
28
33
  is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
29
34
  is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
30
35
  offline_months: Optional[pulumi.Input[_builtins.int]] = None,
31
- online_months: Optional[pulumi.Input[_builtins.int]] = None,
32
- target_id: Optional[pulumi.Input[_builtins.str]] = None):
36
+ online_months: Optional[pulumi.Input[_builtins.int]] = None):
33
37
  """
34
38
  The set of arguments for constructing a AuditProfileManagement resource.
35
- :param pulumi.Input[_builtins.bool] change_retention_trigger: (Updatable) An optional property when set to true triggers Change Retention.
36
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains the audit.
39
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
40
+ :param pulumi.Input[_builtins.str] target_id: The OCID of the target database or target database group for which the audit profile is created.
41
+ :param pulumi.Input[_builtins.str] target_type: The resource type that is represented by the audit profile.
42
+ :param pulumi.Input[_builtins.int] change_retention_trigger: (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
43
+
44
+
45
+ ** IMPORTANT **
46
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
37
47
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
38
48
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
39
49
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the audit profile. The name does not have to be unique, and it's updatable.
40
50
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
41
- :param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
51
+ :param pulumi.Input[_builtins.bool] is_override_global_paid_usage: Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
52
+ :param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
42
53
  :param pulumi.Input[_builtins.bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
43
- :param pulumi.Input[_builtins.int] offline_months: Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
44
- :param pulumi.Input[_builtins.int] online_months: Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum:12 months
45
-
46
- ** IMPORTANT **
47
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
48
- :param pulumi.Input[_builtins.str] target_id: The OCID of the target.
54
+ :param pulumi.Input[_builtins.int] offline_months: Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
55
+ :param pulumi.Input[_builtins.int] online_months: Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
49
56
  """
57
+ pulumi.set(__self__, "compartment_id", compartment_id)
58
+ pulumi.set(__self__, "target_id", target_id)
59
+ pulumi.set(__self__, "target_type", target_type)
50
60
  if change_retention_trigger is not None:
51
61
  pulumi.set(__self__, "change_retention_trigger", change_retention_trigger)
52
- if compartment_id is not None:
53
- pulumi.set(__self__, "compartment_id", compartment_id)
54
62
  if defined_tags is not None:
55
63
  pulumi.set(__self__, "defined_tags", defined_tags)
56
64
  if description is not None:
@@ -59,6 +67,8 @@ class AuditProfileManagementArgs:
59
67
  pulumi.set(__self__, "display_name", display_name)
60
68
  if freeform_tags is not None:
61
69
  pulumi.set(__self__, "freeform_tags", freeform_tags)
70
+ if is_override_global_paid_usage is not None:
71
+ pulumi.set(__self__, "is_override_global_paid_usage", is_override_global_paid_usage)
62
72
  if is_override_global_retention_setting is not None:
63
73
  pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting)
64
74
  if is_paid_usage_enabled is not None:
@@ -67,32 +77,58 @@ class AuditProfileManagementArgs:
67
77
  pulumi.set(__self__, "offline_months", offline_months)
68
78
  if online_months is not None:
69
79
  pulumi.set(__self__, "online_months", online_months)
70
- if target_id is not None:
71
- pulumi.set(__self__, "target_id", target_id)
72
80
 
73
81
  @_builtins.property
74
- @pulumi.getter(name="changeRetentionTrigger")
75
- def change_retention_trigger(self) -> Optional[pulumi.Input[_builtins.bool]]:
82
+ @pulumi.getter(name="compartmentId")
83
+ def compartment_id(self) -> pulumi.Input[_builtins.str]:
76
84
  """
77
- (Updatable) An optional property when set to true triggers Change Retention.
85
+ (Updatable) The OCID of the compartment where you want to create the audit profile.
78
86
  """
79
- return pulumi.get(self, "change_retention_trigger")
87
+ return pulumi.get(self, "compartment_id")
80
88
 
81
- @change_retention_trigger.setter
82
- def change_retention_trigger(self, value: Optional[pulumi.Input[_builtins.bool]]):
83
- pulumi.set(self, "change_retention_trigger", value)
89
+ @compartment_id.setter
90
+ def compartment_id(self, value: pulumi.Input[_builtins.str]):
91
+ pulumi.set(self, "compartment_id", value)
84
92
 
85
93
  @_builtins.property
86
- @pulumi.getter(name="compartmentId")
87
- def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
94
+ @pulumi.getter(name="targetId")
95
+ def target_id(self) -> pulumi.Input[_builtins.str]:
88
96
  """
89
- (Updatable) The OCID of the compartment that contains the audit.
97
+ The OCID of the target database or target database group for which the audit profile is created.
90
98
  """
91
- return pulumi.get(self, "compartment_id")
99
+ return pulumi.get(self, "target_id")
92
100
 
93
- @compartment_id.setter
94
- def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
95
- pulumi.set(self, "compartment_id", value)
101
+ @target_id.setter
102
+ def target_id(self, value: pulumi.Input[_builtins.str]):
103
+ pulumi.set(self, "target_id", value)
104
+
105
+ @_builtins.property
106
+ @pulumi.getter(name="targetType")
107
+ def target_type(self) -> pulumi.Input[_builtins.str]:
108
+ """
109
+ The resource type that is represented by the audit profile.
110
+ """
111
+ return pulumi.get(self, "target_type")
112
+
113
+ @target_type.setter
114
+ def target_type(self, value: pulumi.Input[_builtins.str]):
115
+ pulumi.set(self, "target_type", value)
116
+
117
+ @_builtins.property
118
+ @pulumi.getter(name="changeRetentionTrigger")
119
+ def change_retention_trigger(self) -> Optional[pulumi.Input[_builtins.int]]:
120
+ """
121
+ (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
122
+
123
+
124
+ ** IMPORTANT **
125
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
126
+ """
127
+ return pulumi.get(self, "change_retention_trigger")
128
+
129
+ @change_retention_trigger.setter
130
+ def change_retention_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
131
+ pulumi.set(self, "change_retention_trigger", value)
96
132
 
97
133
  @_builtins.property
98
134
  @pulumi.getter(name="definedTags")
@@ -142,11 +178,23 @@ class AuditProfileManagementArgs:
142
178
  def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
143
179
  pulumi.set(self, "freeform_tags", value)
144
180
 
181
+ @_builtins.property
182
+ @pulumi.getter(name="isOverrideGlobalPaidUsage")
183
+ def is_override_global_paid_usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
184
+ """
185
+ Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
186
+ """
187
+ return pulumi.get(self, "is_override_global_paid_usage")
188
+
189
+ @is_override_global_paid_usage.setter
190
+ def is_override_global_paid_usage(self, value: Optional[pulumi.Input[_builtins.bool]]):
191
+ pulumi.set(self, "is_override_global_paid_usage", value)
192
+
145
193
  @_builtins.property
146
194
  @pulumi.getter(name="isOverrideGlobalRetentionSetting")
147
195
  def is_override_global_retention_setting(self) -> Optional[pulumi.Input[_builtins.bool]]:
148
196
  """
149
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
197
+ Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
150
198
  """
151
199
  return pulumi.get(self, "is_override_global_retention_setting")
152
200
 
@@ -170,7 +218,7 @@ class AuditProfileManagementArgs:
170
218
  @pulumi.getter(name="offlineMonths")
171
219
  def offline_months(self) -> Optional[pulumi.Input[_builtins.int]]:
172
220
  """
173
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
221
+ Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
174
222
  """
175
223
  return pulumi.get(self, "offline_months")
176
224
 
@@ -182,10 +230,7 @@ class AuditProfileManagementArgs:
182
230
  @pulumi.getter(name="onlineMonths")
183
231
  def online_months(self) -> Optional[pulumi.Input[_builtins.int]]:
184
232
  """
185
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum:12 months
186
-
187
- ** IMPORTANT **
188
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
233
+ Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
189
234
  """
190
235
  return pulumi.get(self, "online_months")
191
236
 
@@ -193,62 +238,67 @@ class AuditProfileManagementArgs:
193
238
  def online_months(self, value: Optional[pulumi.Input[_builtins.int]]):
194
239
  pulumi.set(self, "online_months", value)
195
240
 
196
- @_builtins.property
197
- @pulumi.getter(name="targetId")
198
- def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
199
- """
200
- The OCID of the target.
201
- """
202
- return pulumi.get(self, "target_id")
203
-
204
- @target_id.setter
205
- def target_id(self, value: Optional[pulumi.Input[_builtins.str]]):
206
- pulumi.set(self, "target_id", value)
207
-
208
241
 
209
242
  @pulumi.input_type
210
243
  class _AuditProfileManagementState:
211
244
  def __init__(__self__, *,
212
245
  audit_collected_volume: Optional[pulumi.Input[_builtins.str]] = None,
213
- change_retention_trigger: Optional[pulumi.Input[_builtins.bool]] = None,
246
+ audit_trails: Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileManagementAuditTrailArgs']]]] = None,
247
+ change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
214
248
  compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
215
249
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
216
250
  description: Optional[pulumi.Input[_builtins.str]] = None,
217
251
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
218
252
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
253
+ is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
219
254
  is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
220
255
  is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
221
256
  lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
222
257
  offline_months: Optional[pulumi.Input[_builtins.int]] = None,
258
+ offline_months_source: Optional[pulumi.Input[_builtins.str]] = None,
223
259
  online_months: Optional[pulumi.Input[_builtins.int]] = None,
260
+ online_months_source: Optional[pulumi.Input[_builtins.str]] = None,
261
+ paid_usage_source: Optional[pulumi.Input[_builtins.str]] = None,
224
262
  state: Optional[pulumi.Input[_builtins.str]] = None,
263
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
225
264
  target_id: Optional[pulumi.Input[_builtins.str]] = None,
265
+ target_type: Optional[pulumi.Input[_builtins.str]] = None,
226
266
  time_created: Optional[pulumi.Input[_builtins.str]] = None,
227
267
  time_updated: Optional[pulumi.Input[_builtins.str]] = None):
228
268
  """
229
269
  Input properties used for looking up and filtering AuditProfileManagement resources.
230
- :param pulumi.Input[_builtins.str] audit_collected_volume: Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
231
- :param pulumi.Input[_builtins.bool] change_retention_trigger: (Updatable) An optional property when set to true triggers Change Retention.
232
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains the audit.
270
+ :param pulumi.Input[_builtins.str] audit_collected_volume: Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
271
+ :param pulumi.Input[Sequence[pulumi.Input['AuditProfileManagementAuditTrailArgs']]] audit_trails: Contains the list of available audit trails on the target database.
272
+ :param pulumi.Input[_builtins.int] change_retention_trigger: (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
273
+
274
+
275
+ ** IMPORTANT **
276
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
277
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
233
278
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
234
279
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
235
280
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the audit profile. The name does not have to be unique, and it's updatable.
236
281
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
237
- :param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
282
+ :param pulumi.Input[_builtins.bool] is_override_global_paid_usage: Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
283
+ :param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
238
284
  :param pulumi.Input[_builtins.bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
239
285
  :param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the audit profile in Data Safe.
240
- :param pulumi.Input[_builtins.int] offline_months: Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
241
- :param pulumi.Input[_builtins.int] online_months: Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum:12 months
242
-
243
- ** IMPORTANT **
244
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
286
+ :param pulumi.Input[_builtins.int] offline_months: Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
287
+ :param pulumi.Input[_builtins.str] offline_months_source: The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
288
+ :param pulumi.Input[_builtins.int] online_months: Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
289
+ :param pulumi.Input[_builtins.str] online_months_source: The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
290
+ :param pulumi.Input[_builtins.str] paid_usage_source: The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
245
291
  :param pulumi.Input[_builtins.str] state: The current state of the audit profile.
246
- :param pulumi.Input[_builtins.str] target_id: The OCID of the target.
292
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
293
+ :param pulumi.Input[_builtins.str] target_id: The OCID of the target database or target database group for which the audit profile is created.
294
+ :param pulumi.Input[_builtins.str] target_type: The resource type that is represented by the audit profile.
247
295
  :param pulumi.Input[_builtins.str] time_created: The date and time the audit profile was created, in the format defined by RFC3339.
248
296
  :param pulumi.Input[_builtins.str] time_updated: The date and time the audit profile was updated, in the format defined by RFC3339.
249
297
  """
250
298
  if audit_collected_volume is not None:
251
299
  pulumi.set(__self__, "audit_collected_volume", audit_collected_volume)
300
+ if audit_trails is not None:
301
+ pulumi.set(__self__, "audit_trails", audit_trails)
252
302
  if change_retention_trigger is not None:
253
303
  pulumi.set(__self__, "change_retention_trigger", change_retention_trigger)
254
304
  if compartment_id is not None:
@@ -261,6 +311,8 @@ class _AuditProfileManagementState:
261
311
  pulumi.set(__self__, "display_name", display_name)
262
312
  if freeform_tags is not None:
263
313
  pulumi.set(__self__, "freeform_tags", freeform_tags)
314
+ if is_override_global_paid_usage is not None:
315
+ pulumi.set(__self__, "is_override_global_paid_usage", is_override_global_paid_usage)
264
316
  if is_override_global_retention_setting is not None:
265
317
  pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting)
266
318
  if is_paid_usage_enabled is not None:
@@ -269,12 +321,22 @@ class _AuditProfileManagementState:
269
321
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
270
322
  if offline_months is not None:
271
323
  pulumi.set(__self__, "offline_months", offline_months)
324
+ if offline_months_source is not None:
325
+ pulumi.set(__self__, "offline_months_source", offline_months_source)
272
326
  if online_months is not None:
273
327
  pulumi.set(__self__, "online_months", online_months)
328
+ if online_months_source is not None:
329
+ pulumi.set(__self__, "online_months_source", online_months_source)
330
+ if paid_usage_source is not None:
331
+ pulumi.set(__self__, "paid_usage_source", paid_usage_source)
274
332
  if state is not None:
275
333
  pulumi.set(__self__, "state", state)
334
+ if system_tags is not None:
335
+ pulumi.set(__self__, "system_tags", system_tags)
276
336
  if target_id is not None:
277
337
  pulumi.set(__self__, "target_id", target_id)
338
+ if target_type is not None:
339
+ pulumi.set(__self__, "target_type", target_type)
278
340
  if time_created is not None:
279
341
  pulumi.set(__self__, "time_created", time_created)
280
342
  if time_updated is not None:
@@ -284,7 +346,7 @@ class _AuditProfileManagementState:
284
346
  @pulumi.getter(name="auditCollectedVolume")
285
347
  def audit_collected_volume(self) -> Optional[pulumi.Input[_builtins.str]]:
286
348
  """
287
- Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
349
+ Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
288
350
  """
289
351
  return pulumi.get(self, "audit_collected_volume")
290
352
 
@@ -292,23 +354,39 @@ class _AuditProfileManagementState:
292
354
  def audit_collected_volume(self, value: Optional[pulumi.Input[_builtins.str]]):
293
355
  pulumi.set(self, "audit_collected_volume", value)
294
356
 
357
+ @_builtins.property
358
+ @pulumi.getter(name="auditTrails")
359
+ def audit_trails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileManagementAuditTrailArgs']]]]:
360
+ """
361
+ Contains the list of available audit trails on the target database.
362
+ """
363
+ return pulumi.get(self, "audit_trails")
364
+
365
+ @audit_trails.setter
366
+ def audit_trails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileManagementAuditTrailArgs']]]]):
367
+ pulumi.set(self, "audit_trails", value)
368
+
295
369
  @_builtins.property
296
370
  @pulumi.getter(name="changeRetentionTrigger")
297
- def change_retention_trigger(self) -> Optional[pulumi.Input[_builtins.bool]]:
371
+ def change_retention_trigger(self) -> Optional[pulumi.Input[_builtins.int]]:
298
372
  """
299
- (Updatable) An optional property when set to true triggers Change Retention.
373
+ (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
374
+
375
+
376
+ ** IMPORTANT **
377
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
300
378
  """
301
379
  return pulumi.get(self, "change_retention_trigger")
302
380
 
303
381
  @change_retention_trigger.setter
304
- def change_retention_trigger(self, value: Optional[pulumi.Input[_builtins.bool]]):
382
+ def change_retention_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
305
383
  pulumi.set(self, "change_retention_trigger", value)
306
384
 
307
385
  @_builtins.property
308
386
  @pulumi.getter(name="compartmentId")
309
387
  def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
310
388
  """
311
- (Updatable) The OCID of the compartment that contains the audit.
389
+ (Updatable) The OCID of the compartment where you want to create the audit profile.
312
390
  """
313
391
  return pulumi.get(self, "compartment_id")
314
392
 
@@ -364,11 +442,23 @@ class _AuditProfileManagementState:
364
442
  def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
365
443
  pulumi.set(self, "freeform_tags", value)
366
444
 
445
+ @_builtins.property
446
+ @pulumi.getter(name="isOverrideGlobalPaidUsage")
447
+ def is_override_global_paid_usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
448
+ """
449
+ Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
450
+ """
451
+ return pulumi.get(self, "is_override_global_paid_usage")
452
+
453
+ @is_override_global_paid_usage.setter
454
+ def is_override_global_paid_usage(self, value: Optional[pulumi.Input[_builtins.bool]]):
455
+ pulumi.set(self, "is_override_global_paid_usage", value)
456
+
367
457
  @_builtins.property
368
458
  @pulumi.getter(name="isOverrideGlobalRetentionSetting")
369
459
  def is_override_global_retention_setting(self) -> Optional[pulumi.Input[_builtins.bool]]:
370
460
  """
371
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
461
+ Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
372
462
  """
373
463
  return pulumi.get(self, "is_override_global_retention_setting")
374
464
 
@@ -404,7 +494,7 @@ class _AuditProfileManagementState:
404
494
  @pulumi.getter(name="offlineMonths")
405
495
  def offline_months(self) -> Optional[pulumi.Input[_builtins.int]]:
406
496
  """
407
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
497
+ Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
408
498
  """
409
499
  return pulumi.get(self, "offline_months")
410
500
 
@@ -412,14 +502,23 @@ class _AuditProfileManagementState:
412
502
  def offline_months(self, value: Optional[pulumi.Input[_builtins.int]]):
413
503
  pulumi.set(self, "offline_months", value)
414
504
 
505
+ @_builtins.property
506
+ @pulumi.getter(name="offlineMonthsSource")
507
+ def offline_months_source(self) -> Optional[pulumi.Input[_builtins.str]]:
508
+ """
509
+ The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
510
+ """
511
+ return pulumi.get(self, "offline_months_source")
512
+
513
+ @offline_months_source.setter
514
+ def offline_months_source(self, value: Optional[pulumi.Input[_builtins.str]]):
515
+ pulumi.set(self, "offline_months_source", value)
516
+
415
517
  @_builtins.property
416
518
  @pulumi.getter(name="onlineMonths")
417
519
  def online_months(self) -> Optional[pulumi.Input[_builtins.int]]:
418
520
  """
419
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum:12 months
420
-
421
- ** IMPORTANT **
422
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
521
+ Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
423
522
  """
424
523
  return pulumi.get(self, "online_months")
425
524
 
@@ -427,6 +526,30 @@ class _AuditProfileManagementState:
427
526
  def online_months(self, value: Optional[pulumi.Input[_builtins.int]]):
428
527
  pulumi.set(self, "online_months", value)
429
528
 
529
+ @_builtins.property
530
+ @pulumi.getter(name="onlineMonthsSource")
531
+ def online_months_source(self) -> Optional[pulumi.Input[_builtins.str]]:
532
+ """
533
+ The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
534
+ """
535
+ return pulumi.get(self, "online_months_source")
536
+
537
+ @online_months_source.setter
538
+ def online_months_source(self, value: Optional[pulumi.Input[_builtins.str]]):
539
+ pulumi.set(self, "online_months_source", value)
540
+
541
+ @_builtins.property
542
+ @pulumi.getter(name="paidUsageSource")
543
+ def paid_usage_source(self) -> Optional[pulumi.Input[_builtins.str]]:
544
+ """
545
+ The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
546
+ """
547
+ return pulumi.get(self, "paid_usage_source")
548
+
549
+ @paid_usage_source.setter
550
+ def paid_usage_source(self, value: Optional[pulumi.Input[_builtins.str]]):
551
+ pulumi.set(self, "paid_usage_source", value)
552
+
430
553
  @_builtins.property
431
554
  @pulumi.getter
432
555
  def state(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -439,11 +562,23 @@ class _AuditProfileManagementState:
439
562
  def state(self, value: Optional[pulumi.Input[_builtins.str]]):
440
563
  pulumi.set(self, "state", value)
441
564
 
565
+ @_builtins.property
566
+ @pulumi.getter(name="systemTags")
567
+ def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
568
+ """
569
+ System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
570
+ """
571
+ return pulumi.get(self, "system_tags")
572
+
573
+ @system_tags.setter
574
+ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
575
+ pulumi.set(self, "system_tags", value)
576
+
442
577
  @_builtins.property
443
578
  @pulumi.getter(name="targetId")
444
579
  def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
445
580
  """
446
- The OCID of the target.
581
+ The OCID of the target database or target database group for which the audit profile is created.
447
582
  """
448
583
  return pulumi.get(self, "target_id")
449
584
 
@@ -451,6 +586,18 @@ class _AuditProfileManagementState:
451
586
  def target_id(self, value: Optional[pulumi.Input[_builtins.str]]):
452
587
  pulumi.set(self, "target_id", value)
453
588
 
589
+ @_builtins.property
590
+ @pulumi.getter(name="targetType")
591
+ def target_type(self) -> Optional[pulumi.Input[_builtins.str]]:
592
+ """
593
+ The resource type that is represented by the audit profile.
594
+ """
595
+ return pulumi.get(self, "target_type")
596
+
597
+ @target_type.setter
598
+ def target_type(self, value: Optional[pulumi.Input[_builtins.str]]):
599
+ pulumi.set(self, "target_type", value)
600
+
454
601
  @_builtins.property
455
602
  @pulumi.getter(name="timeCreated")
456
603
  def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -482,22 +629,24 @@ class AuditProfileManagement(pulumi.CustomResource):
482
629
  def __init__(__self__,
483
630
  resource_name: str,
484
631
  opts: Optional[pulumi.ResourceOptions] = None,
485
- change_retention_trigger: Optional[pulumi.Input[_builtins.bool]] = None,
632
+ change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
486
633
  compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
487
634
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
488
635
  description: Optional[pulumi.Input[_builtins.str]] = None,
489
636
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
490
637
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
638
+ is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
491
639
  is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
492
640
  is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
493
641
  offline_months: Optional[pulumi.Input[_builtins.int]] = None,
494
642
  online_months: Optional[pulumi.Input[_builtins.int]] = None,
495
643
  target_id: Optional[pulumi.Input[_builtins.str]] = None,
644
+ target_type: Optional[pulumi.Input[_builtins.str]] = None,
496
645
  __props__=None):
497
646
  """
498
647
  This resource provides the Audit Profile Management resource in Oracle Cloud Infrastructure Data Safe service.
499
648
 
500
- Updates one or more attributes of the specified audit profile.
649
+ Create a new audit profile resource for a target group. For a target database, it will update the auto created audit profile by fetching the Audit profile.
501
650
 
502
651
  ## Example Usage
503
652
 
@@ -507,52 +656,62 @@ class AuditProfileManagement(pulumi.CustomResource):
507
656
 
508
657
  test_audit_profile_management = oci.datasafe.AuditProfileManagement("test_audit_profile_management",
509
658
  compartment_id=compartment_id,
510
- target_id=test_target_database["id"],
659
+ target_id=test_target["id"],
660
+ target_type=audit_profile_target_type,
511
661
  defined_tags={
512
662
  "Operations.CostCenter": "42",
513
663
  },
514
- description=audit_profile_management_description,
515
- display_name=audit_profile_management_display_name,
664
+ description=audit_profile_description,
665
+ display_name=audit_profile_display_name,
516
666
  freeform_tags={
517
667
  "Department": "Finance",
518
668
  },
519
- is_paid_usage_enabled=audit_profile_management_is_paid_usage_enabled,
520
- change_retention_trigger=True,
521
- offline_months=10,
522
- online_months=7)
669
+ is_override_global_paid_usage=audit_profile_is_override_global_paid_usage,
670
+ is_paid_usage_enabled=audit_profile_is_paid_usage_enabled,
671
+ offline_months=audit_profile_offline_months,
672
+ online_months=audit_profile_online_months,
673
+ change_retention_trigger=retention_trigger,
674
+ is_override_global_retention_setting=True)
523
675
  ```
524
676
 
525
677
  ## Import
526
678
 
527
- Import is not supported for this resource.
679
+ AuditProfiles can be imported using the `id`, e.g.
680
+
681
+ ```sh
682
+ $ pulumi import oci:DataSafe/auditProfileManagement:AuditProfileManagement test_audit_profile_management "id"
683
+ ```
528
684
 
529
685
  :param str resource_name: The name of the resource.
530
686
  :param pulumi.ResourceOptions opts: Options for the resource.
531
- :param pulumi.Input[_builtins.bool] change_retention_trigger: (Updatable) An optional property when set to true triggers Change Retention.
532
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains the audit.
687
+ :param pulumi.Input[_builtins.int] change_retention_trigger: (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
688
+
689
+
690
+ ** IMPORTANT **
691
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
692
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
533
693
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
534
694
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
535
695
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the audit profile. The name does not have to be unique, and it's updatable.
536
696
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
537
- :param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
697
+ :param pulumi.Input[_builtins.bool] is_override_global_paid_usage: Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
698
+ :param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
538
699
  :param pulumi.Input[_builtins.bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
539
- :param pulumi.Input[_builtins.int] offline_months: Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
540
- :param pulumi.Input[_builtins.int] online_months: Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum:12 months
541
-
542
- ** IMPORTANT **
543
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
544
- :param pulumi.Input[_builtins.str] target_id: The OCID of the target.
700
+ :param pulumi.Input[_builtins.int] offline_months: Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
701
+ :param pulumi.Input[_builtins.int] online_months: Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
702
+ :param pulumi.Input[_builtins.str] target_id: The OCID of the target database or target database group for which the audit profile is created.
703
+ :param pulumi.Input[_builtins.str] target_type: The resource type that is represented by the audit profile.
545
704
  """
546
705
  ...
547
706
  @overload
548
707
  def __init__(__self__,
549
708
  resource_name: str,
550
- args: Optional[AuditProfileManagementArgs] = None,
709
+ args: AuditProfileManagementArgs,
551
710
  opts: Optional[pulumi.ResourceOptions] = None):
552
711
  """
553
712
  This resource provides the Audit Profile Management resource in Oracle Cloud Infrastructure Data Safe service.
554
713
 
555
- Updates one or more attributes of the specified audit profile.
714
+ Create a new audit profile resource for a target group. For a target database, it will update the auto created audit profile by fetching the Audit profile.
556
715
 
557
716
  ## Example Usage
558
717
 
@@ -562,24 +721,31 @@ class AuditProfileManagement(pulumi.CustomResource):
562
721
 
563
722
  test_audit_profile_management = oci.datasafe.AuditProfileManagement("test_audit_profile_management",
564
723
  compartment_id=compartment_id,
565
- target_id=test_target_database["id"],
724
+ target_id=test_target["id"],
725
+ target_type=audit_profile_target_type,
566
726
  defined_tags={
567
727
  "Operations.CostCenter": "42",
568
728
  },
569
- description=audit_profile_management_description,
570
- display_name=audit_profile_management_display_name,
729
+ description=audit_profile_description,
730
+ display_name=audit_profile_display_name,
571
731
  freeform_tags={
572
732
  "Department": "Finance",
573
733
  },
574
- is_paid_usage_enabled=audit_profile_management_is_paid_usage_enabled,
575
- change_retention_trigger=True,
576
- offline_months=10,
577
- online_months=7)
734
+ is_override_global_paid_usage=audit_profile_is_override_global_paid_usage,
735
+ is_paid_usage_enabled=audit_profile_is_paid_usage_enabled,
736
+ offline_months=audit_profile_offline_months,
737
+ online_months=audit_profile_online_months,
738
+ change_retention_trigger=retention_trigger,
739
+ is_override_global_retention_setting=True)
578
740
  ```
579
741
 
580
742
  ## Import
581
743
 
582
- Import is not supported for this resource.
744
+ AuditProfiles can be imported using the `id`, e.g.
745
+
746
+ ```sh
747
+ $ pulumi import oci:DataSafe/auditProfileManagement:AuditProfileManagement test_audit_profile_management "id"
748
+ ```
583
749
 
584
750
  :param str resource_name: The name of the resource.
585
751
  :param AuditProfileManagementArgs args: The arguments to use to populate this resource's properties.
@@ -596,17 +762,19 @@ class AuditProfileManagement(pulumi.CustomResource):
596
762
  def _internal_init(__self__,
597
763
  resource_name: str,
598
764
  opts: Optional[pulumi.ResourceOptions] = None,
599
- change_retention_trigger: Optional[pulumi.Input[_builtins.bool]] = None,
765
+ change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
600
766
  compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
601
767
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
602
768
  description: Optional[pulumi.Input[_builtins.str]] = None,
603
769
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
604
770
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
771
+ is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
605
772
  is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
606
773
  is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
607
774
  offline_months: Optional[pulumi.Input[_builtins.int]] = None,
608
775
  online_months: Optional[pulumi.Input[_builtins.int]] = None,
609
776
  target_id: Optional[pulumi.Input[_builtins.str]] = None,
777
+ target_type: Optional[pulumi.Input[_builtins.str]] = None,
610
778
  __props__=None):
611
779
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
612
780
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -617,19 +785,32 @@ class AuditProfileManagement(pulumi.CustomResource):
617
785
  __props__ = AuditProfileManagementArgs.__new__(AuditProfileManagementArgs)
618
786
 
619
787
  __props__.__dict__["change_retention_trigger"] = change_retention_trigger
788
+ if compartment_id is None and not opts.urn:
789
+ raise TypeError("Missing required property 'compartment_id'")
620
790
  __props__.__dict__["compartment_id"] = compartment_id
621
791
  __props__.__dict__["defined_tags"] = defined_tags
622
792
  __props__.__dict__["description"] = description
623
793
  __props__.__dict__["display_name"] = display_name
624
794
  __props__.__dict__["freeform_tags"] = freeform_tags
795
+ __props__.__dict__["is_override_global_paid_usage"] = is_override_global_paid_usage
625
796
  __props__.__dict__["is_override_global_retention_setting"] = is_override_global_retention_setting
626
797
  __props__.__dict__["is_paid_usage_enabled"] = is_paid_usage_enabled
627
798
  __props__.__dict__["offline_months"] = offline_months
628
799
  __props__.__dict__["online_months"] = online_months
800
+ if target_id is None and not opts.urn:
801
+ raise TypeError("Missing required property 'target_id'")
629
802
  __props__.__dict__["target_id"] = target_id
803
+ if target_type is None and not opts.urn:
804
+ raise TypeError("Missing required property 'target_type'")
805
+ __props__.__dict__["target_type"] = target_type
630
806
  __props__.__dict__["audit_collected_volume"] = None
807
+ __props__.__dict__["audit_trails"] = None
631
808
  __props__.__dict__["lifecycle_details"] = None
809
+ __props__.__dict__["offline_months_source"] = None
810
+ __props__.__dict__["online_months_source"] = None
811
+ __props__.__dict__["paid_usage_source"] = None
632
812
  __props__.__dict__["state"] = None
813
+ __props__.__dict__["system_tags"] = None
633
814
  __props__.__dict__["time_created"] = None
634
815
  __props__.__dict__["time_updated"] = None
635
816
  super(AuditProfileManagement, __self__).__init__(
@@ -643,19 +824,26 @@ class AuditProfileManagement(pulumi.CustomResource):
643
824
  id: pulumi.Input[str],
644
825
  opts: Optional[pulumi.ResourceOptions] = None,
645
826
  audit_collected_volume: Optional[pulumi.Input[_builtins.str]] = None,
646
- change_retention_trigger: Optional[pulumi.Input[_builtins.bool]] = None,
827
+ audit_trails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuditProfileManagementAuditTrailArgs', 'AuditProfileManagementAuditTrailArgsDict']]]]] = None,
828
+ change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
647
829
  compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
648
830
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
649
831
  description: Optional[pulumi.Input[_builtins.str]] = None,
650
832
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
651
833
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
834
+ is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
652
835
  is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
653
836
  is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
654
837
  lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
655
838
  offline_months: Optional[pulumi.Input[_builtins.int]] = None,
839
+ offline_months_source: Optional[pulumi.Input[_builtins.str]] = None,
656
840
  online_months: Optional[pulumi.Input[_builtins.int]] = None,
841
+ online_months_source: Optional[pulumi.Input[_builtins.str]] = None,
842
+ paid_usage_source: Optional[pulumi.Input[_builtins.str]] = None,
657
843
  state: Optional[pulumi.Input[_builtins.str]] = None,
844
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
658
845
  target_id: Optional[pulumi.Input[_builtins.str]] = None,
846
+ target_type: Optional[pulumi.Input[_builtins.str]] = None,
659
847
  time_created: Optional[pulumi.Input[_builtins.str]] = None,
660
848
  time_updated: Optional[pulumi.Input[_builtins.str]] = None) -> 'AuditProfileManagement':
661
849
  """
@@ -665,23 +853,31 @@ class AuditProfileManagement(pulumi.CustomResource):
665
853
  :param str resource_name: The unique name of the resulting resource.
666
854
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
667
855
  :param pulumi.ResourceOptions opts: Options for the resource.
668
- :param pulumi.Input[_builtins.str] audit_collected_volume: Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
669
- :param pulumi.Input[_builtins.bool] change_retention_trigger: (Updatable) An optional property when set to true triggers Change Retention.
670
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains the audit.
856
+ :param pulumi.Input[_builtins.str] audit_collected_volume: Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
857
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AuditProfileManagementAuditTrailArgs', 'AuditProfileManagementAuditTrailArgsDict']]]] audit_trails: Contains the list of available audit trails on the target database.
858
+ :param pulumi.Input[_builtins.int] change_retention_trigger: (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
859
+
860
+
861
+ ** IMPORTANT **
862
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
863
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
671
864
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
672
865
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
673
866
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the audit profile. The name does not have to be unique, and it's updatable.
674
867
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
675
- :param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
868
+ :param pulumi.Input[_builtins.bool] is_override_global_paid_usage: Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
869
+ :param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
676
870
  :param pulumi.Input[_builtins.bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
677
871
  :param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the audit profile in Data Safe.
678
- :param pulumi.Input[_builtins.int] offline_months: Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
679
- :param pulumi.Input[_builtins.int] online_months: Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum:12 months
680
-
681
- ** IMPORTANT **
682
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
872
+ :param pulumi.Input[_builtins.int] offline_months: Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
873
+ :param pulumi.Input[_builtins.str] offline_months_source: The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
874
+ :param pulumi.Input[_builtins.int] online_months: Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
875
+ :param pulumi.Input[_builtins.str] online_months_source: The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
876
+ :param pulumi.Input[_builtins.str] paid_usage_source: The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
683
877
  :param pulumi.Input[_builtins.str] state: The current state of the audit profile.
684
- :param pulumi.Input[_builtins.str] target_id: The OCID of the target.
878
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
879
+ :param pulumi.Input[_builtins.str] target_id: The OCID of the target database or target database group for which the audit profile is created.
880
+ :param pulumi.Input[_builtins.str] target_type: The resource type that is represented by the audit profile.
685
881
  :param pulumi.Input[_builtins.str] time_created: The date and time the audit profile was created, in the format defined by RFC3339.
686
882
  :param pulumi.Input[_builtins.str] time_updated: The date and time the audit profile was updated, in the format defined by RFC3339.
687
883
  """
@@ -690,19 +886,26 @@ class AuditProfileManagement(pulumi.CustomResource):
690
886
  __props__ = _AuditProfileManagementState.__new__(_AuditProfileManagementState)
691
887
 
692
888
  __props__.__dict__["audit_collected_volume"] = audit_collected_volume
889
+ __props__.__dict__["audit_trails"] = audit_trails
693
890
  __props__.__dict__["change_retention_trigger"] = change_retention_trigger
694
891
  __props__.__dict__["compartment_id"] = compartment_id
695
892
  __props__.__dict__["defined_tags"] = defined_tags
696
893
  __props__.__dict__["description"] = description
697
894
  __props__.__dict__["display_name"] = display_name
698
895
  __props__.__dict__["freeform_tags"] = freeform_tags
896
+ __props__.__dict__["is_override_global_paid_usage"] = is_override_global_paid_usage
699
897
  __props__.__dict__["is_override_global_retention_setting"] = is_override_global_retention_setting
700
898
  __props__.__dict__["is_paid_usage_enabled"] = is_paid_usage_enabled
701
899
  __props__.__dict__["lifecycle_details"] = lifecycle_details
702
900
  __props__.__dict__["offline_months"] = offline_months
901
+ __props__.__dict__["offline_months_source"] = offline_months_source
703
902
  __props__.__dict__["online_months"] = online_months
903
+ __props__.__dict__["online_months_source"] = online_months_source
904
+ __props__.__dict__["paid_usage_source"] = paid_usage_source
704
905
  __props__.__dict__["state"] = state
906
+ __props__.__dict__["system_tags"] = system_tags
705
907
  __props__.__dict__["target_id"] = target_id
908
+ __props__.__dict__["target_type"] = target_type
706
909
  __props__.__dict__["time_created"] = time_created
707
910
  __props__.__dict__["time_updated"] = time_updated
708
911
  return AuditProfileManagement(resource_name, opts=opts, __props__=__props__)
@@ -711,15 +914,27 @@ class AuditProfileManagement(pulumi.CustomResource):
711
914
  @pulumi.getter(name="auditCollectedVolume")
712
915
  def audit_collected_volume(self) -> pulumi.Output[_builtins.str]:
713
916
  """
714
- Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
917
+ Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
715
918
  """
716
919
  return pulumi.get(self, "audit_collected_volume")
717
920
 
921
+ @_builtins.property
922
+ @pulumi.getter(name="auditTrails")
923
+ def audit_trails(self) -> pulumi.Output[Sequence['outputs.AuditProfileManagementAuditTrail']]:
924
+ """
925
+ Contains the list of available audit trails on the target database.
926
+ """
927
+ return pulumi.get(self, "audit_trails")
928
+
718
929
  @_builtins.property
719
930
  @pulumi.getter(name="changeRetentionTrigger")
720
- def change_retention_trigger(self) -> pulumi.Output[Optional[_builtins.bool]]:
931
+ def change_retention_trigger(self) -> pulumi.Output[Optional[_builtins.int]]:
721
932
  """
722
- (Updatable) An optional property when set to true triggers Change Retention.
933
+ (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
934
+
935
+
936
+ ** IMPORTANT **
937
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
723
938
  """
724
939
  return pulumi.get(self, "change_retention_trigger")
725
940
 
@@ -727,7 +942,7 @@ class AuditProfileManagement(pulumi.CustomResource):
727
942
  @pulumi.getter(name="compartmentId")
728
943
  def compartment_id(self) -> pulumi.Output[_builtins.str]:
729
944
  """
730
- (Updatable) The OCID of the compartment that contains the audit.
945
+ (Updatable) The OCID of the compartment where you want to create the audit profile.
731
946
  """
732
947
  return pulumi.get(self, "compartment_id")
733
948
 
@@ -763,17 +978,25 @@ class AuditProfileManagement(pulumi.CustomResource):
763
978
  """
764
979
  return pulumi.get(self, "freeform_tags")
765
980
 
981
+ @_builtins.property
982
+ @pulumi.getter(name="isOverrideGlobalPaidUsage")
983
+ def is_override_global_paid_usage(self) -> pulumi.Output[_builtins.bool]:
984
+ """
985
+ Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
986
+ """
987
+ return pulumi.get(self, "is_override_global_paid_usage")
988
+
766
989
  @_builtins.property
767
990
  @pulumi.getter(name="isOverrideGlobalRetentionSetting")
768
- def is_override_global_retention_setting(self) -> pulumi.Output[Optional[_builtins.bool]]:
991
+ def is_override_global_retention_setting(self) -> pulumi.Output[_builtins.bool]:
769
992
  """
770
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
993
+ Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
771
994
  """
772
995
  return pulumi.get(self, "is_override_global_retention_setting")
773
996
 
774
997
  @_builtins.property
775
998
  @pulumi.getter(name="isPaidUsageEnabled")
776
- def is_paid_usage_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
999
+ def is_paid_usage_enabled(self) -> pulumi.Output[_builtins.bool]:
777
1000
  """
778
1001
  (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
779
1002
  """
@@ -789,23 +1012,44 @@ class AuditProfileManagement(pulumi.CustomResource):
789
1012
 
790
1013
  @_builtins.property
791
1014
  @pulumi.getter(name="offlineMonths")
792
- def offline_months(self) -> pulumi.Output[Optional[_builtins.int]]:
1015
+ def offline_months(self) -> pulumi.Output[_builtins.int]:
793
1016
  """
794
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
1017
+ Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
795
1018
  """
796
1019
  return pulumi.get(self, "offline_months")
797
1020
 
798
1021
  @_builtins.property
799
- @pulumi.getter(name="onlineMonths")
800
- def online_months(self) -> pulumi.Output[Optional[_builtins.int]]:
1022
+ @pulumi.getter(name="offlineMonthsSource")
1023
+ def offline_months_source(self) -> pulumi.Output[_builtins.str]:
1024
+ """
1025
+ The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
801
1026
  """
802
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum:12 months
1027
+ return pulumi.get(self, "offline_months_source")
803
1028
 
804
- ** IMPORTANT **
805
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1029
+ @_builtins.property
1030
+ @pulumi.getter(name="onlineMonths")
1031
+ def online_months(self) -> pulumi.Output[_builtins.int]:
1032
+ """
1033
+ Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
806
1034
  """
807
1035
  return pulumi.get(self, "online_months")
808
1036
 
1037
+ @_builtins.property
1038
+ @pulumi.getter(name="onlineMonthsSource")
1039
+ def online_months_source(self) -> pulumi.Output[_builtins.str]:
1040
+ """
1041
+ The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
1042
+ """
1043
+ return pulumi.get(self, "online_months_source")
1044
+
1045
+ @_builtins.property
1046
+ @pulumi.getter(name="paidUsageSource")
1047
+ def paid_usage_source(self) -> pulumi.Output[_builtins.str]:
1048
+ """
1049
+ The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
1050
+ """
1051
+ return pulumi.get(self, "paid_usage_source")
1052
+
809
1053
  @_builtins.property
810
1054
  @pulumi.getter
811
1055
  def state(self) -> pulumi.Output[_builtins.str]:
@@ -814,14 +1058,30 @@ class AuditProfileManagement(pulumi.CustomResource):
814
1058
  """
815
1059
  return pulumi.get(self, "state")
816
1060
 
1061
+ @_builtins.property
1062
+ @pulumi.getter(name="systemTags")
1063
+ def system_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
1064
+ """
1065
+ System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
1066
+ """
1067
+ return pulumi.get(self, "system_tags")
1068
+
817
1069
  @_builtins.property
818
1070
  @pulumi.getter(name="targetId")
819
- def target_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1071
+ def target_id(self) -> pulumi.Output[_builtins.str]:
820
1072
  """
821
- The OCID of the target.
1073
+ The OCID of the target database or target database group for which the audit profile is created.
822
1074
  """
823
1075
  return pulumi.get(self, "target_id")
824
1076
 
1077
+ @_builtins.property
1078
+ @pulumi.getter(name="targetType")
1079
+ def target_type(self) -> pulumi.Output[_builtins.str]:
1080
+ """
1081
+ The resource type that is represented by the audit profile.
1082
+ """
1083
+ return pulumi.get(self, "target_type")
1084
+
825
1085
  @_builtins.property
826
1086
  @pulumi.getter(name="timeCreated")
827
1087
  def time_created(self) -> pulumi.Output[_builtins.str]: