pulumi-oci 3.5.0a1756363728__py3-none-any.whl → 3.5.0a1756440723__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 (133) hide show
  1. pulumi_oci/__init__.py +80 -0
  2. pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
  3. pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
  4. pulumi_oci/core/outputs.py +11 -0
  5. pulumi_oci/database/_inputs.py +257 -12
  6. pulumi_oci/database/data_guard_association.py +98 -0
  7. pulumi_oci/database/database.py +28 -0
  8. pulumi_oci/database/db_node.py +56 -0
  9. pulumi_oci/database/db_system.py +108 -14
  10. pulumi_oci/database/exadb_vm_cluster.py +49 -0
  11. pulumi_oci/database/exascale_db_storage_vault.py +28 -0
  12. pulumi_oci/database/get_data_guard_association.py +23 -1
  13. pulumi_oci/database/get_database.py +15 -1
  14. pulumi_oci/database/get_db_node.py +29 -1
  15. pulumi_oci/database/get_db_system_shapes.py +25 -6
  16. pulumi_oci/database/get_db_system_storage_performances.py +20 -3
  17. pulumi_oci/database/get_db_versions.py +20 -1
  18. pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
  19. pulumi_oci/database/get_exascale_db_storage_vault.py +15 -1
  20. pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
  21. pulumi_oci/database/get_gi_versions.py +25 -6
  22. pulumi_oci/database/outputs.py +575 -8
  23. pulumi_oci/datasafe/__init__.py +24 -0
  24. pulumi_oci/datasafe/_inputs.py +3669 -1537
  25. pulumi_oci/datasafe/attribute_set.py +693 -0
  26. pulumi_oci/datasafe/audit_profile.py +356 -95
  27. pulumi_oci/datasafe/audit_profile_management.py +389 -129
  28. pulumi_oci/datasafe/audit_trail.py +47 -0
  29. pulumi_oci/datasafe/audit_trail_management.py +49 -0
  30. pulumi_oci/datasafe/get_alerts.py +2 -2
  31. pulumi_oci/datasafe/get_attribute_set.py +295 -0
  32. pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
  33. pulumi_oci/datasafe/get_attribute_sets.py +340 -0
  34. pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
  35. pulumi_oci/datasafe/get_audit_events.py +2 -2
  36. pulumi_oci/datasafe/get_audit_policies.py +20 -1
  37. pulumi_oci/datasafe/get_audit_profile.py +78 -8
  38. pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
  39. pulumi_oci/datasafe/get_audit_profiles.py +50 -9
  40. pulumi_oci/datasafe/get_audit_trail.py +15 -1
  41. pulumi_oci/datasafe/get_audit_trails.py +20 -1
  42. pulumi_oci/datasafe/get_database_security_configs.py +20 -1
  43. pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
  44. pulumi_oci/datasafe/get_masking_analytics.py +42 -1
  45. pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
  46. pulumi_oci/datasafe/get_report.py +43 -1
  47. pulumi_oci/datasafe/get_reports.py +23 -1
  48. pulumi_oci/datasafe/get_security_assessment.py +116 -2
  49. pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
  50. pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
  51. pulumi_oci/datasafe/get_security_assessment_findings.py +73 -6
  52. pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
  53. pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
  54. pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
  55. pulumi_oci/datasafe/get_security_assessments.py +68 -2
  56. pulumi_oci/datasafe/get_security_policies.py +23 -1
  57. pulumi_oci/datasafe/get_security_policy.py +15 -1
  58. pulumi_oci/datasafe/get_security_policy_config.py +296 -0
  59. pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
  60. pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
  61. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
  62. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
  63. pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
  64. pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
  65. pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
  66. pulumi_oci/datasafe/get_sql_collections.py +20 -1
  67. pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
  68. pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
  69. pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
  70. pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
  71. pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
  72. pulumi_oci/datasafe/get_target_database_group.py +296 -0
  73. pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
  74. pulumi_oci/datasafe/get_target_database_groups.py +313 -0
  75. pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
  76. pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
  77. pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
  78. pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
  79. pulumi_oci/datasafe/get_user_assessment.py +29 -1
  80. pulumi_oci/datasafe/get_user_assessments.py +45 -1
  81. pulumi_oci/datasafe/outputs.py +6964 -192
  82. pulumi_oci/datasafe/report.py +84 -0
  83. pulumi_oci/datasafe/report_definition.py +4 -0
  84. pulumi_oci/datasafe/security_assessment.py +425 -82
  85. pulumi_oci/datasafe/security_assessment_check.py +456 -0
  86. pulumi_oci/datasafe/security_assessment_finding.py +818 -0
  87. pulumi_oci/datasafe/security_policy.py +94 -77
  88. pulumi_oci/datasafe/security_policy_config.py +698 -0
  89. pulumi_oci/datasafe/security_policy_deployment.py +272 -67
  90. pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
  91. pulumi_oci/datasafe/security_policy_management.py +87 -30
  92. pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
  93. pulumi_oci/datasafe/target_database.py +4 -0
  94. pulumi_oci/datasafe/target_database_group.py +679 -0
  95. pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
  96. pulumi_oci/datasafe/unified_audit_policy.py +836 -0
  97. pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
  98. pulumi_oci/datasafe/user_assessment.py +105 -28
  99. pulumi_oci/disasterrecovery/_inputs.py +231 -3
  100. pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
  101. pulumi_oci/disasterrecovery/outputs.py +446 -12
  102. pulumi_oci/generativeai/_inputs.py +572 -63
  103. pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
  104. pulumi_oci/generativeai/agent_data_source.py +7 -81
  105. pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
  106. pulumi_oci/generativeai/agent_tool.py +172 -0
  107. pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
  108. pulumi_oci/generativeai/get_agent_data_source.py +1 -5
  109. pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
  110. pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
  111. pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
  112. pulumi_oci/generativeai/outputs.py +1128 -106
  113. pulumi_oci/goldengate/deployment.py +94 -0
  114. pulumi_oci/goldengate/get_deployment.py +29 -1
  115. pulumi_oci/goldengate/get_deployments.py +23 -1
  116. pulumi_oci/goldengate/outputs.py +35 -2
  117. pulumi_oci/oci/__init__.py +9 -0
  118. pulumi_oci/oci/_inputs.py +420 -0
  119. pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
  120. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
  121. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
  122. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
  123. pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
  124. pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
  125. pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
  126. pulumi_oci/oci/managed_kafka_kafka_cluster_config.py +549 -0
  127. pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
  128. pulumi_oci/oci/outputs.py +1009 -0
  129. pulumi_oci/pulumi-plugin.json +1 -1
  130. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/METADATA +1 -1
  131. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/RECORD +133 -100
  132. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/WHEEL +0 -0
  133. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/top_level.txt +0 -0
@@ -152,7 +152,7 @@ def get_audit_events(access_level: Optional[_builtins.str] = None,
152
152
  :param _builtins.bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
153
153
  :param _builtins.str scim_query: The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at [RFC3339](https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)
154
154
 
155
- **Example:** (operationTime ge "2021-06-04T01-00-26") and (eventName eq "LOGON") The attrExp or the field (for example, operationTime and eventName in above example) which is used to filter can be any of the fields returned by AuditEventSummary. adminUser, commonUser, sensitiveActivity, dsActivity can only have eq operation and value 1. These define admin user activity, common user activity, sensitive data activity and data safe activity **Example:** (adminUser eq 1)
155
+ **Example:** (auditEventTime ge "2021-06-04T01:00:26.000Z") and (eventName eq "LOGON") The attrExp or the field (for example, operationTime and eventName in above example) which is used to filter can be any of the fields returned by AuditEventSummary. adminUser, commonUser, sensitiveActivity, dsActivity can only have eq operation and value 1. These define admin user activity, common user activity, sensitive data activity and data safe activity **Example:** (adminUser eq 1)
156
156
  """
157
157
  __args__ = dict()
158
158
  __args__['accessLevel'] = access_level
@@ -212,7 +212,7 @@ def get_audit_events_output(access_level: Optional[pulumi.Input[Optional[_builti
212
212
  :param _builtins.bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
213
213
  :param _builtins.str scim_query: The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at [RFC3339](https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)
214
214
 
215
- **Example:** (operationTime ge "2021-06-04T01-00-26") and (eventName eq "LOGON") The attrExp or the field (for example, operationTime and eventName in above example) which is used to filter can be any of the fields returned by AuditEventSummary. adminUser, commonUser, sensitiveActivity, dsActivity can only have eq operation and value 1. These define admin user activity, common user activity, sensitive data activity and data safe activity **Example:** (adminUser eq 1)
215
+ **Example:** (auditEventTime ge "2021-06-04T01:00:26.000Z") and (eventName eq "LOGON") The attrExp or the field (for example, operationTime and eventName in above example) which is used to filter can be any of the fields returned by AuditEventSummary. adminUser, commonUser, sensitiveActivity, dsActivity can only have eq operation and value 1. These define admin user activity, common user activity, sensitive data activity and data safe activity **Example:** (adminUser eq 1)
216
216
  """
217
217
  __args__ = dict()
218
218
  __args__['accessLevel'] = access_level
@@ -28,7 +28,7 @@ class GetAuditPoliciesResult:
28
28
  """
29
29
  A collection of values returned by getAuditPolicies.
30
30
  """
31
- def __init__(__self__, access_level=None, audit_policy_collections=None, audit_policy_id=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, state=None, target_id=None):
31
+ def __init__(__self__, access_level=None, audit_policy_collections=None, audit_policy_id=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, state=None, target_database_group_id=None, target_id=None):
32
32
  if access_level and not isinstance(access_level, str):
33
33
  raise TypeError("Expected argument 'access_level' to be a str")
34
34
  pulumi.set(__self__, "access_level", access_level)
@@ -56,6 +56,9 @@ class GetAuditPoliciesResult:
56
56
  if state and not isinstance(state, str):
57
57
  raise TypeError("Expected argument 'state' to be a str")
58
58
  pulumi.set(__self__, "state", state)
59
+ if target_database_group_id and not isinstance(target_database_group_id, str):
60
+ raise TypeError("Expected argument 'target_database_group_id' to be a str")
61
+ pulumi.set(__self__, "target_database_group_id", target_database_group_id)
59
62
  if target_id and not isinstance(target_id, str):
60
63
  raise TypeError("Expected argument 'target_id' to be a str")
61
64
  pulumi.set(__self__, "target_id", target_id)
@@ -120,6 +123,11 @@ class GetAuditPoliciesResult:
120
123
  """
121
124
  return pulumi.get(self, "state")
122
125
 
126
+ @_builtins.property
127
+ @pulumi.getter(name="targetDatabaseGroupId")
128
+ def target_database_group_id(self) -> Optional[_builtins.str]:
129
+ return pulumi.get(self, "target_database_group_id")
130
+
123
131
  @_builtins.property
124
132
  @pulumi.getter(name="targetId")
125
133
  def target_id(self) -> Optional[_builtins.str]:
@@ -144,6 +152,7 @@ class AwaitableGetAuditPoliciesResult(GetAuditPoliciesResult):
144
152
  filters=self.filters,
145
153
  id=self.id,
146
154
  state=self.state,
155
+ target_database_group_id=self.target_database_group_id,
147
156
  target_id=self.target_id)
148
157
 
149
158
 
@@ -154,6 +163,7 @@ def get_audit_policies(access_level: Optional[_builtins.str] = None,
154
163
  display_name: Optional[_builtins.str] = None,
155
164
  filters: Optional[Sequence[Union['GetAuditPoliciesFilterArgs', 'GetAuditPoliciesFilterArgsDict']]] = None,
156
165
  state: Optional[_builtins.str] = None,
166
+ target_database_group_id: Optional[_builtins.str] = None,
157
167
  target_id: Optional[_builtins.str] = None,
158
168
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuditPoliciesResult:
159
169
  """
@@ -187,6 +197,7 @@ def get_audit_policies(access_level: Optional[_builtins.str] = None,
187
197
  compartment_id_in_subtree=audit_policy_compartment_id_in_subtree,
188
198
  display_name=audit_policy_display_name,
189
199
  state=audit_policy_state,
200
+ target_database_group_id=test_target_database_group["id"],
190
201
  target_id=test_target["id"])
191
202
  ```
192
203
 
@@ -197,6 +208,7 @@ def get_audit_policies(access_level: Optional[_builtins.str] = None,
197
208
  :param _builtins.bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
198
209
  :param _builtins.str display_name: A filter to return only resources that match the specified display name.
199
210
  :param _builtins.str state: The current state of the audit policy.
211
+ :param _builtins.str target_database_group_id: A filter to return the target database group that matches the specified OCID.
200
212
  :param _builtins.str target_id: A filter to return only items related to a specific target OCID.
201
213
  """
202
214
  __args__ = dict()
@@ -207,6 +219,7 @@ def get_audit_policies(access_level: Optional[_builtins.str] = None,
207
219
  __args__['displayName'] = display_name
208
220
  __args__['filters'] = filters
209
221
  __args__['state'] = state
222
+ __args__['targetDatabaseGroupId'] = target_database_group_id
210
223
  __args__['targetId'] = target_id
211
224
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
212
225
  __ret__ = pulumi.runtime.invoke('oci:DataSafe/getAuditPolicies:getAuditPolicies', __args__, opts=opts, typ=GetAuditPoliciesResult).value
@@ -221,6 +234,7 @@ def get_audit_policies(access_level: Optional[_builtins.str] = None,
221
234
  filters=pulumi.get(__ret__, 'filters'),
222
235
  id=pulumi.get(__ret__, 'id'),
223
236
  state=pulumi.get(__ret__, 'state'),
237
+ target_database_group_id=pulumi.get(__ret__, 'target_database_group_id'),
224
238
  target_id=pulumi.get(__ret__, 'target_id'))
225
239
  def get_audit_policies_output(access_level: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
226
240
  audit_policy_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
@@ -229,6 +243,7 @@ def get_audit_policies_output(access_level: Optional[pulumi.Input[Optional[_buil
229
243
  display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
230
244
  filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAuditPoliciesFilterArgs', 'GetAuditPoliciesFilterArgsDict']]]]] = None,
231
245
  state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
246
+ target_database_group_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
232
247
  target_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
233
248
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuditPoliciesResult]:
234
249
  """
@@ -262,6 +277,7 @@ def get_audit_policies_output(access_level: Optional[pulumi.Input[Optional[_buil
262
277
  compartment_id_in_subtree=audit_policy_compartment_id_in_subtree,
263
278
  display_name=audit_policy_display_name,
264
279
  state=audit_policy_state,
280
+ target_database_group_id=test_target_database_group["id"],
265
281
  target_id=test_target["id"])
266
282
  ```
267
283
 
@@ -272,6 +288,7 @@ def get_audit_policies_output(access_level: Optional[pulumi.Input[Optional[_buil
272
288
  :param _builtins.bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
273
289
  :param _builtins.str display_name: A filter to return only resources that match the specified display name.
274
290
  :param _builtins.str state: The current state of the audit policy.
291
+ :param _builtins.str target_database_group_id: A filter to return the target database group that matches the specified OCID.
275
292
  :param _builtins.str target_id: A filter to return only items related to a specific target OCID.
276
293
  """
277
294
  __args__ = dict()
@@ -282,6 +299,7 @@ def get_audit_policies_output(access_level: Optional[pulumi.Input[Optional[_buil
282
299
  __args__['displayName'] = display_name
283
300
  __args__['filters'] = filters
284
301
  __args__['state'] = state
302
+ __args__['targetDatabaseGroupId'] = target_database_group_id
285
303
  __args__['targetId'] = target_id
286
304
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
287
305
  __ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getAuditPolicies:getAuditPolicies', __args__, opts=opts, typ=GetAuditPoliciesResult)
@@ -295,4 +313,5 @@ def get_audit_policies_output(access_level: Optional[pulumi.Input[Optional[_buil
295
313
  filters=pulumi.get(__response__, 'filters'),
296
314
  id=pulumi.get(__response__, 'id'),
297
315
  state=pulumi.get(__response__, 'state'),
316
+ target_database_group_id=pulumi.get(__response__, 'target_database_group_id'),
298
317
  target_id=pulumi.get(__response__, 'target_id')))
@@ -27,7 +27,7 @@ class GetAuditProfileResult:
27
27
  """
28
28
  A collection of values returned by getAuditProfile.
29
29
  """
30
- def __init__(__self__, audit_collected_volume=None, audit_profile_id=None, audit_trails=None, change_retention_trigger=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_override_global_retention_setting=None, is_paid_usage_enabled=None, lifecycle_details=None, offline_months=None, online_months=None, state=None, system_tags=None, target_id=None, time_created=None, time_updated=None):
30
+ def __init__(__self__, audit_collected_volume=None, audit_profile_id=None, audit_trails=None, change_retention_trigger=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_override_global_paid_usage=None, is_override_global_retention_setting=None, is_paid_usage_enabled=None, lifecycle_details=None, offline_months=None, offline_months_source=None, online_months=None, online_months_source=None, paid_usage_source=None, state=None, system_tags=None, target_id=None, target_type=None, time_created=None, time_updated=None):
31
31
  if audit_collected_volume and not isinstance(audit_collected_volume, str):
32
32
  raise TypeError("Expected argument 'audit_collected_volume' to be a str")
33
33
  pulumi.set(__self__, "audit_collected_volume", audit_collected_volume)
@@ -58,6 +58,9 @@ class GetAuditProfileResult:
58
58
  if id and not isinstance(id, str):
59
59
  raise TypeError("Expected argument 'id' to be a str")
60
60
  pulumi.set(__self__, "id", id)
61
+ if is_override_global_paid_usage and not isinstance(is_override_global_paid_usage, bool):
62
+ raise TypeError("Expected argument 'is_override_global_paid_usage' to be a bool")
63
+ pulumi.set(__self__, "is_override_global_paid_usage", is_override_global_paid_usage)
61
64
  if is_override_global_retention_setting and not isinstance(is_override_global_retention_setting, bool):
62
65
  raise TypeError("Expected argument 'is_override_global_retention_setting' to be a bool")
63
66
  pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting)
@@ -70,9 +73,18 @@ class GetAuditProfileResult:
70
73
  if offline_months and not isinstance(offline_months, int):
71
74
  raise TypeError("Expected argument 'offline_months' to be a int")
72
75
  pulumi.set(__self__, "offline_months", offline_months)
76
+ if offline_months_source and not isinstance(offline_months_source, str):
77
+ raise TypeError("Expected argument 'offline_months_source' to be a str")
78
+ pulumi.set(__self__, "offline_months_source", offline_months_source)
73
79
  if online_months and not isinstance(online_months, int):
74
80
  raise TypeError("Expected argument 'online_months' to be a int")
75
81
  pulumi.set(__self__, "online_months", online_months)
82
+ if online_months_source and not isinstance(online_months_source, str):
83
+ raise TypeError("Expected argument 'online_months_source' to be a str")
84
+ pulumi.set(__self__, "online_months_source", online_months_source)
85
+ if paid_usage_source and not isinstance(paid_usage_source, str):
86
+ raise TypeError("Expected argument 'paid_usage_source' to be a str")
87
+ pulumi.set(__self__, "paid_usage_source", paid_usage_source)
76
88
  if state and not isinstance(state, str):
77
89
  raise TypeError("Expected argument 'state' to be a str")
78
90
  pulumi.set(__self__, "state", state)
@@ -82,6 +94,9 @@ class GetAuditProfileResult:
82
94
  if target_id and not isinstance(target_id, str):
83
95
  raise TypeError("Expected argument 'target_id' to be a str")
84
96
  pulumi.set(__self__, "target_id", target_id)
97
+ if target_type and not isinstance(target_type, str):
98
+ raise TypeError("Expected argument 'target_type' to be a str")
99
+ pulumi.set(__self__, "target_type", target_type)
85
100
  if time_created and not isinstance(time_created, str):
86
101
  raise TypeError("Expected argument 'time_created' to be a str")
87
102
  pulumi.set(__self__, "time_created", time_created)
@@ -93,7 +108,7 @@ class GetAuditProfileResult:
93
108
  @pulumi.getter(name="auditCollectedVolume")
94
109
  def audit_collected_volume(self) -> _builtins.str:
95
110
  """
96
- 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.
111
+ 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.
97
112
  """
98
113
  return pulumi.get(self, "audit_collected_volume")
99
114
 
@@ -109,7 +124,7 @@ class GetAuditProfileResult:
109
124
  @pulumi.getter(name="auditTrails")
110
125
  def audit_trails(self) -> Sequence['outputs.GetAuditProfileAuditTrailResult']:
111
126
  """
112
- Indicates the list of available audit trails on the target.
127
+ Contains the list of available audit trails on the target database.
113
128
  """
114
129
  return pulumi.get(self, "audit_trails")
115
130
 
@@ -122,7 +137,7 @@ class GetAuditProfileResult:
122
137
  @pulumi.getter(name="compartmentId")
123
138
  def compartment_id(self) -> _builtins.str:
124
139
  """
125
- The OCID of the compartment that contains the audit.
140
+ The OCID of the compartment that contains the audit profile.
126
141
  """
127
142
  return pulumi.get(self, "compartment_id")
128
143
 
@@ -166,11 +181,19 @@ class GetAuditProfileResult:
166
181
  """
167
182
  return pulumi.get(self, "id")
168
183
 
184
+ @_builtins.property
185
+ @pulumi.getter(name="isOverrideGlobalPaidUsage")
186
+ def is_override_global_paid_usage(self) -> _builtins.bool:
187
+ """
188
+ Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target 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).
189
+ """
190
+ return pulumi.get(self, "is_override_global_paid_usage")
191
+
169
192
  @_builtins.property
170
193
  @pulumi.getter(name="isOverrideGlobalRetentionSetting")
171
194
  def is_override_global_retention_setting(self) -> _builtins.bool:
172
195
  """
173
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
196
+ 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.
174
197
  """
175
198
  return pulumi.get(self, "is_override_global_retention_setting")
176
199
 
@@ -194,18 +217,42 @@ class GetAuditProfileResult:
194
217
  @pulumi.getter(name="offlineMonths")
195
218
  def offline_months(self) -> _builtins.int:
196
219
  """
197
- 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.
220
+ 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.
198
221
  """
199
222
  return pulumi.get(self, "offline_months")
200
223
 
224
+ @_builtins.property
225
+ @pulumi.getter(name="offlineMonthsSource")
226
+ def offline_months_source(self) -> _builtins.str:
227
+ """
228
+ 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.
229
+ """
230
+ return pulumi.get(self, "offline_months_source")
231
+
201
232
  @_builtins.property
202
233
  @pulumi.getter(name="onlineMonths")
203
234
  def online_months(self) -> _builtins.int:
204
235
  """
205
- 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
236
+ Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
206
237
  """
207
238
  return pulumi.get(self, "online_months")
208
239
 
240
+ @_builtins.property
241
+ @pulumi.getter(name="onlineMonthsSource")
242
+ def online_months_source(self) -> _builtins.str:
243
+ """
244
+ 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.
245
+ """
246
+ return pulumi.get(self, "online_months_source")
247
+
248
+ @_builtins.property
249
+ @pulumi.getter(name="paidUsageSource")
250
+ def paid_usage_source(self) -> _builtins.str:
251
+ """
252
+ 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.
253
+ """
254
+ return pulumi.get(self, "paid_usage_source")
255
+
209
256
  @_builtins.property
210
257
  @pulumi.getter
211
258
  def state(self) -> _builtins.str:
@@ -226,10 +273,18 @@ class GetAuditProfileResult:
226
273
  @pulumi.getter(name="targetId")
227
274
  def target_id(self) -> _builtins.str:
228
275
  """
229
- The OCID of the Data Safe target for which the audit profile is created.
276
+ The OCID of the target database or target database group for which the audit profile is created.
230
277
  """
231
278
  return pulumi.get(self, "target_id")
232
279
 
280
+ @_builtins.property
281
+ @pulumi.getter(name="targetType")
282
+ def target_type(self) -> _builtins.str:
283
+ """
284
+ The resource type that is represented by the audit profile.
285
+ """
286
+ return pulumi.get(self, "target_type")
287
+
233
288
  @_builtins.property
234
289
  @pulumi.getter(name="timeCreated")
235
290
  def time_created(self) -> _builtins.str:
@@ -263,14 +318,19 @@ class AwaitableGetAuditProfileResult(GetAuditProfileResult):
263
318
  display_name=self.display_name,
264
319
  freeform_tags=self.freeform_tags,
265
320
  id=self.id,
321
+ is_override_global_paid_usage=self.is_override_global_paid_usage,
266
322
  is_override_global_retention_setting=self.is_override_global_retention_setting,
267
323
  is_paid_usage_enabled=self.is_paid_usage_enabled,
268
324
  lifecycle_details=self.lifecycle_details,
269
325
  offline_months=self.offline_months,
326
+ offline_months_source=self.offline_months_source,
270
327
  online_months=self.online_months,
328
+ online_months_source=self.online_months_source,
329
+ paid_usage_source=self.paid_usage_source,
271
330
  state=self.state,
272
331
  system_tags=self.system_tags,
273
332
  target_id=self.target_id,
333
+ target_type=self.target_type,
274
334
  time_created=self.time_created,
275
335
  time_updated=self.time_updated)
276
336
 
@@ -310,14 +370,19 @@ def get_audit_profile(audit_profile_id: Optional[_builtins.str] = None,
310
370
  display_name=pulumi.get(__ret__, 'display_name'),
311
371
  freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
312
372
  id=pulumi.get(__ret__, 'id'),
373
+ is_override_global_paid_usage=pulumi.get(__ret__, 'is_override_global_paid_usage'),
313
374
  is_override_global_retention_setting=pulumi.get(__ret__, 'is_override_global_retention_setting'),
314
375
  is_paid_usage_enabled=pulumi.get(__ret__, 'is_paid_usage_enabled'),
315
376
  lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
316
377
  offline_months=pulumi.get(__ret__, 'offline_months'),
378
+ offline_months_source=pulumi.get(__ret__, 'offline_months_source'),
317
379
  online_months=pulumi.get(__ret__, 'online_months'),
380
+ online_months_source=pulumi.get(__ret__, 'online_months_source'),
381
+ paid_usage_source=pulumi.get(__ret__, 'paid_usage_source'),
318
382
  state=pulumi.get(__ret__, 'state'),
319
383
  system_tags=pulumi.get(__ret__, 'system_tags'),
320
384
  target_id=pulumi.get(__ret__, 'target_id'),
385
+ target_type=pulumi.get(__ret__, 'target_type'),
321
386
  time_created=pulumi.get(__ret__, 'time_created'),
322
387
  time_updated=pulumi.get(__ret__, 'time_updated'))
323
388
  def get_audit_profile_output(audit_profile_id: Optional[pulumi.Input[_builtins.str]] = None,
@@ -354,13 +419,18 @@ def get_audit_profile_output(audit_profile_id: Optional[pulumi.Input[_builtins.s
354
419
  display_name=pulumi.get(__response__, 'display_name'),
355
420
  freeform_tags=pulumi.get(__response__, 'freeform_tags'),
356
421
  id=pulumi.get(__response__, 'id'),
422
+ is_override_global_paid_usage=pulumi.get(__response__, 'is_override_global_paid_usage'),
357
423
  is_override_global_retention_setting=pulumi.get(__response__, 'is_override_global_retention_setting'),
358
424
  is_paid_usage_enabled=pulumi.get(__response__, 'is_paid_usage_enabled'),
359
425
  lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
360
426
  offline_months=pulumi.get(__response__, 'offline_months'),
427
+ offline_months_source=pulumi.get(__response__, 'offline_months_source'),
361
428
  online_months=pulumi.get(__response__, 'online_months'),
429
+ online_months_source=pulumi.get(__response__, 'online_months_source'),
430
+ paid_usage_source=pulumi.get(__response__, 'paid_usage_source'),
362
431
  state=pulumi.get(__response__, 'state'),
363
432
  system_tags=pulumi.get(__response__, 'system_tags'),
364
433
  target_id=pulumi.get(__response__, 'target_id'),
434
+ target_type=pulumi.get(__response__, 'target_type'),
365
435
  time_created=pulumi.get(__response__, 'time_created'),
366
436
  time_updated=pulumi.get(__response__, 'time_updated')))
@@ -0,0 +1,163 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = [
20
+ 'GetAuditProfileTargetOverridesResult',
21
+ 'AwaitableGetAuditProfileTargetOverridesResult',
22
+ 'get_audit_profile_target_overrides',
23
+ 'get_audit_profile_target_overrides_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetAuditProfileTargetOverridesResult:
28
+ """
29
+ A collection of values returned by getAuditProfileTargetOverrides.
30
+ """
31
+ def __init__(__self__, audit_profile_id=None, display_name=None, filters=None, id=None, target_override_collections=None):
32
+ if audit_profile_id and not isinstance(audit_profile_id, str):
33
+ raise TypeError("Expected argument 'audit_profile_id' to be a str")
34
+ pulumi.set(__self__, "audit_profile_id", audit_profile_id)
35
+ if display_name and not isinstance(display_name, str):
36
+ raise TypeError("Expected argument 'display_name' to be a str")
37
+ pulumi.set(__self__, "display_name", display_name)
38
+ if filters and not isinstance(filters, list):
39
+ raise TypeError("Expected argument 'filters' to be a list")
40
+ pulumi.set(__self__, "filters", filters)
41
+ if id and not isinstance(id, str):
42
+ raise TypeError("Expected argument 'id' to be a str")
43
+ pulumi.set(__self__, "id", id)
44
+ if target_override_collections and not isinstance(target_override_collections, list):
45
+ raise TypeError("Expected argument 'target_override_collections' to be a list")
46
+ pulumi.set(__self__, "target_override_collections", target_override_collections)
47
+
48
+ @_builtins.property
49
+ @pulumi.getter(name="auditProfileId")
50
+ def audit_profile_id(self) -> _builtins.str:
51
+ return pulumi.get(self, "audit_profile_id")
52
+
53
+ @_builtins.property
54
+ @pulumi.getter(name="displayName")
55
+ def display_name(self) -> Optional[_builtins.str]:
56
+ return pulumi.get(self, "display_name")
57
+
58
+ @_builtins.property
59
+ @pulumi.getter
60
+ def filters(self) -> Optional[Sequence['outputs.GetAuditProfileTargetOverridesFilterResult']]:
61
+ return pulumi.get(self, "filters")
62
+
63
+ @_builtins.property
64
+ @pulumi.getter
65
+ def id(self) -> _builtins.str:
66
+ """
67
+ The provider-assigned unique ID for this managed resource.
68
+ """
69
+ return pulumi.get(self, "id")
70
+
71
+ @_builtins.property
72
+ @pulumi.getter(name="targetOverrideCollections")
73
+ def target_override_collections(self) -> Sequence['outputs.GetAuditProfileTargetOverridesTargetOverrideCollectionResult']:
74
+ """
75
+ The list of target_override_collection.
76
+ """
77
+ return pulumi.get(self, "target_override_collections")
78
+
79
+
80
+ class AwaitableGetAuditProfileTargetOverridesResult(GetAuditProfileTargetOverridesResult):
81
+ # pylint: disable=using-constant-test
82
+ def __await__(self):
83
+ if False:
84
+ yield self
85
+ return GetAuditProfileTargetOverridesResult(
86
+ audit_profile_id=self.audit_profile_id,
87
+ display_name=self.display_name,
88
+ filters=self.filters,
89
+ id=self.id,
90
+ target_override_collections=self.target_override_collections)
91
+
92
+
93
+ def get_audit_profile_target_overrides(audit_profile_id: Optional[_builtins.str] = None,
94
+ display_name: Optional[_builtins.str] = None,
95
+ filters: Optional[Sequence[Union['GetAuditProfileTargetOverridesFilterArgs', 'GetAuditProfileTargetOverridesFilterArgsDict']]] = None,
96
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuditProfileTargetOverridesResult:
97
+ """
98
+ This data source provides the list of Audit Profile Target Overrides in Oracle Cloud Infrastructure Data Safe service.
99
+
100
+ Gets a list of all targets whose audit settings override the target group setting.
101
+
102
+ ## Example Usage
103
+
104
+ ```python
105
+ import pulumi
106
+ import pulumi_oci as oci
107
+
108
+ test_audit_profile_target_overrides = oci.DataSafe.get_audit_profile_target_overrides(audit_profile_id=test_audit_profile["id"],
109
+ display_name=audit_profile_target_override_display_name)
110
+ ```
111
+
112
+
113
+ :param _builtins.str audit_profile_id: The OCID of the audit.
114
+ :param _builtins.str display_name: A filter to return only resources that match the specified display name.
115
+ """
116
+ __args__ = dict()
117
+ __args__['auditProfileId'] = audit_profile_id
118
+ __args__['displayName'] = display_name
119
+ __args__['filters'] = filters
120
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
121
+ __ret__ = pulumi.runtime.invoke('oci:DataSafe/getAuditProfileTargetOverrides:getAuditProfileTargetOverrides', __args__, opts=opts, typ=GetAuditProfileTargetOverridesResult).value
122
+
123
+ return AwaitableGetAuditProfileTargetOverridesResult(
124
+ audit_profile_id=pulumi.get(__ret__, 'audit_profile_id'),
125
+ display_name=pulumi.get(__ret__, 'display_name'),
126
+ filters=pulumi.get(__ret__, 'filters'),
127
+ id=pulumi.get(__ret__, 'id'),
128
+ target_override_collections=pulumi.get(__ret__, 'target_override_collections'))
129
+ def get_audit_profile_target_overrides_output(audit_profile_id: Optional[pulumi.Input[_builtins.str]] = None,
130
+ display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
131
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAuditProfileTargetOverridesFilterArgs', 'GetAuditProfileTargetOverridesFilterArgsDict']]]]] = None,
132
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuditProfileTargetOverridesResult]:
133
+ """
134
+ This data source provides the list of Audit Profile Target Overrides in Oracle Cloud Infrastructure Data Safe service.
135
+
136
+ Gets a list of all targets whose audit settings override the target group setting.
137
+
138
+ ## Example Usage
139
+
140
+ ```python
141
+ import pulumi
142
+ import pulumi_oci as oci
143
+
144
+ test_audit_profile_target_overrides = oci.DataSafe.get_audit_profile_target_overrides(audit_profile_id=test_audit_profile["id"],
145
+ display_name=audit_profile_target_override_display_name)
146
+ ```
147
+
148
+
149
+ :param _builtins.str audit_profile_id: The OCID of the audit.
150
+ :param _builtins.str display_name: A filter to return only resources that match the specified display name.
151
+ """
152
+ __args__ = dict()
153
+ __args__['auditProfileId'] = audit_profile_id
154
+ __args__['displayName'] = display_name
155
+ __args__['filters'] = filters
156
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
157
+ __ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getAuditProfileTargetOverrides:getAuditProfileTargetOverrides', __args__, opts=opts, typ=GetAuditProfileTargetOverridesResult)
158
+ return __ret__.apply(lambda __response__: GetAuditProfileTargetOverridesResult(
159
+ audit_profile_id=pulumi.get(__response__, 'audit_profile_id'),
160
+ display_name=pulumi.get(__response__, 'display_name'),
161
+ filters=pulumi.get(__response__, 'filters'),
162
+ id=pulumi.get(__response__, 'id'),
163
+ target_override_collections=pulumi.get(__response__, 'target_override_collections')))