pulumi-oci 3.5.0a1756363728__py3-none-any.whl → 3.6.0a1756509375__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 (136) hide show
  1. pulumi_oci/__init__.py +80 -0
  2. pulumi_oci/config/__init__.pyi +12 -17
  3. pulumi_oci/config/vars.py +12 -17
  4. pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
  5. pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
  6. pulumi_oci/core/outputs.py +11 -0
  7. pulumi_oci/database/_inputs.py +257 -12
  8. pulumi_oci/database/data_guard_association.py +98 -0
  9. pulumi_oci/database/database.py +28 -0
  10. pulumi_oci/database/db_node.py +56 -0
  11. pulumi_oci/database/db_system.py +108 -14
  12. pulumi_oci/database/exadb_vm_cluster.py +49 -0
  13. pulumi_oci/database/exascale_db_storage_vault.py +28 -0
  14. pulumi_oci/database/get_data_guard_association.py +23 -1
  15. pulumi_oci/database/get_database.py +15 -1
  16. pulumi_oci/database/get_db_node.py +29 -1
  17. pulumi_oci/database/get_db_system_shapes.py +25 -6
  18. pulumi_oci/database/get_db_system_storage_performances.py +20 -3
  19. pulumi_oci/database/get_db_versions.py +20 -1
  20. pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
  21. pulumi_oci/database/get_exascale_db_storage_vault.py +15 -1
  22. pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
  23. pulumi_oci/database/get_gi_versions.py +25 -6
  24. pulumi_oci/database/outputs.py +575 -8
  25. pulumi_oci/datasafe/__init__.py +24 -0
  26. pulumi_oci/datasafe/_inputs.py +3669 -1537
  27. pulumi_oci/datasafe/attribute_set.py +693 -0
  28. pulumi_oci/datasafe/audit_profile.py +356 -95
  29. pulumi_oci/datasafe/audit_profile_management.py +389 -129
  30. pulumi_oci/datasafe/audit_trail.py +47 -0
  31. pulumi_oci/datasafe/audit_trail_management.py +49 -0
  32. pulumi_oci/datasafe/get_alerts.py +2 -2
  33. pulumi_oci/datasafe/get_attribute_set.py +295 -0
  34. pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
  35. pulumi_oci/datasafe/get_attribute_sets.py +340 -0
  36. pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
  37. pulumi_oci/datasafe/get_audit_events.py +2 -2
  38. pulumi_oci/datasafe/get_audit_policies.py +20 -1
  39. pulumi_oci/datasafe/get_audit_profile.py +78 -8
  40. pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
  41. pulumi_oci/datasafe/get_audit_profiles.py +50 -9
  42. pulumi_oci/datasafe/get_audit_trail.py +15 -1
  43. pulumi_oci/datasafe/get_audit_trails.py +20 -1
  44. pulumi_oci/datasafe/get_database_security_configs.py +20 -1
  45. pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
  46. pulumi_oci/datasafe/get_masking_analytics.py +42 -1
  47. pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
  48. pulumi_oci/datasafe/get_report.py +43 -1
  49. pulumi_oci/datasafe/get_reports.py +23 -1
  50. pulumi_oci/datasafe/get_security_assessment.py +116 -2
  51. pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
  52. pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
  53. pulumi_oci/datasafe/get_security_assessment_findings.py +73 -6
  54. pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
  55. pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
  56. pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
  57. pulumi_oci/datasafe/get_security_assessments.py +68 -2
  58. pulumi_oci/datasafe/get_security_policies.py +23 -1
  59. pulumi_oci/datasafe/get_security_policy.py +15 -1
  60. pulumi_oci/datasafe/get_security_policy_config.py +296 -0
  61. pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
  62. pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
  63. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
  64. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
  65. pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
  66. pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
  67. pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
  68. pulumi_oci/datasafe/get_sql_collections.py +20 -1
  69. pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
  70. pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
  71. pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
  72. pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
  73. pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
  74. pulumi_oci/datasafe/get_target_database_group.py +296 -0
  75. pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
  76. pulumi_oci/datasafe/get_target_database_groups.py +313 -0
  77. pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
  78. pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
  79. pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
  80. pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
  81. pulumi_oci/datasafe/get_user_assessment.py +29 -1
  82. pulumi_oci/datasafe/get_user_assessments.py +45 -1
  83. pulumi_oci/datasafe/outputs.py +6964 -192
  84. pulumi_oci/datasafe/report.py +84 -0
  85. pulumi_oci/datasafe/report_definition.py +4 -0
  86. pulumi_oci/datasafe/security_assessment.py +425 -82
  87. pulumi_oci/datasafe/security_assessment_check.py +456 -0
  88. pulumi_oci/datasafe/security_assessment_finding.py +818 -0
  89. pulumi_oci/datasafe/security_policy.py +94 -77
  90. pulumi_oci/datasafe/security_policy_config.py +698 -0
  91. pulumi_oci/datasafe/security_policy_deployment.py +272 -67
  92. pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
  93. pulumi_oci/datasafe/security_policy_management.py +87 -30
  94. pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
  95. pulumi_oci/datasafe/target_database.py +4 -0
  96. pulumi_oci/datasafe/target_database_group.py +679 -0
  97. pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
  98. pulumi_oci/datasafe/unified_audit_policy.py +836 -0
  99. pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
  100. pulumi_oci/datasafe/user_assessment.py +105 -28
  101. pulumi_oci/disasterrecovery/_inputs.py +231 -3
  102. pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
  103. pulumi_oci/disasterrecovery/outputs.py +446 -12
  104. pulumi_oci/generativeai/_inputs.py +572 -63
  105. pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
  106. pulumi_oci/generativeai/agent_data_source.py +7 -81
  107. pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
  108. pulumi_oci/generativeai/agent_tool.py +172 -0
  109. pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
  110. pulumi_oci/generativeai/get_agent_data_source.py +1 -5
  111. pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
  112. pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
  113. pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
  114. pulumi_oci/generativeai/outputs.py +1128 -106
  115. pulumi_oci/goldengate/deployment.py +94 -0
  116. pulumi_oci/goldengate/get_deployment.py +29 -1
  117. pulumi_oci/goldengate/get_deployments.py +23 -1
  118. pulumi_oci/goldengate/outputs.py +35 -2
  119. pulumi_oci/oci/__init__.py +9 -0
  120. pulumi_oci/oci/_inputs.py +420 -0
  121. pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
  122. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
  123. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
  124. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
  125. pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
  126. pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
  127. pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
  128. pulumi_oci/oci/managed_kafka_kafka_cluster_config.py +549 -0
  129. pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
  130. pulumi_oci/oci/outputs.py +1009 -0
  131. pulumi_oci/provider.py +44 -63
  132. pulumi_oci/pulumi-plugin.json +1 -1
  133. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/METADATA +1 -1
  134. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/RECORD +136 -103
  135. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/WHEEL +0 -0
  136. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/top_level.txt +0 -0
@@ -19,7 +19,7 @@ __all__ = ['SecurityPolicyManagementArgs', 'SecurityPolicyManagement']
19
19
  @pulumi.input_type
20
20
  class SecurityPolicyManagementArgs:
21
21
  def __init__(__self__, *,
22
- compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
22
+ compartment_id: pulumi.Input[_builtins.str],
23
23
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
24
24
  description: Optional[pulumi.Input[_builtins.str]] = None,
25
25
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -27,15 +27,18 @@ class SecurityPolicyManagementArgs:
27
27
  target_id: Optional[pulumi.Input[_builtins.str]] = None):
28
28
  """
29
29
  The set of arguments for constructing a SecurityPolicyManagement resource.
30
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
30
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
31
31
  :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"}`
32
32
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
33
33
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
34
- :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"}`
35
- :param pulumi.Input[_builtins.str] target_id: Unique target identifier.
36
- """
37
- if compartment_id is not None:
38
- pulumi.set(__self__, "compartment_id", compartment_id)
34
+ :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"}`
35
+
36
+
37
+ ** IMPORTANT **
38
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
39
+ :param pulumi.Input[_builtins.str] target_id: Unique target identifier. If target id is not specified then new security policy will be created.
40
+ """
41
+ pulumi.set(__self__, "compartment_id", compartment_id)
39
42
  if defined_tags is not None:
40
43
  pulumi.set(__self__, "defined_tags", defined_tags)
41
44
  if description is not None:
@@ -49,14 +52,14 @@ class SecurityPolicyManagementArgs:
49
52
 
50
53
  @_builtins.property
51
54
  @pulumi.getter(name="compartmentId")
52
- def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
55
+ def compartment_id(self) -> pulumi.Input[_builtins.str]:
53
56
  """
54
- (Updatable) The OCID of the compartment containing the security policy.
57
+ (Updatable) The OCID of the compartment in which to create the security policy.
55
58
  """
56
59
  return pulumi.get(self, "compartment_id")
57
60
 
58
61
  @compartment_id.setter
59
- def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
62
+ def compartment_id(self, value: pulumi.Input[_builtins.str]):
60
63
  pulumi.set(self, "compartment_id", value)
61
64
 
62
65
  @_builtins.property
@@ -99,7 +102,11 @@ class SecurityPolicyManagementArgs:
99
102
  @pulumi.getter(name="freeformTags")
100
103
  def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
101
104
  """
102
- (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"}`
105
+ (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"}`
106
+
107
+
108
+ ** IMPORTANT **
109
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
103
110
  """
104
111
  return pulumi.get(self, "freeform_tags")
105
112
 
@@ -111,7 +118,7 @@ class SecurityPolicyManagementArgs:
111
118
  @pulumi.getter(name="targetId")
112
119
  def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
113
120
  """
114
- Unique target identifier.
121
+ Unique target identifier. If target id is not specified then new security policy will be created.
115
122
  """
116
123
  return pulumi.get(self, "target_id")
117
124
 
@@ -129,6 +136,7 @@ class _SecurityPolicyManagementState:
129
136
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
130
137
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
131
138
  lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
139
+ security_policy_type: Optional[pulumi.Input[_builtins.str]] = None,
132
140
  state: Optional[pulumi.Input[_builtins.str]] = None,
133
141
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
134
142
  target_id: Optional[pulumi.Input[_builtins.str]] = None,
@@ -136,15 +144,20 @@ class _SecurityPolicyManagementState:
136
144
  time_updated: Optional[pulumi.Input[_builtins.str]] = None):
137
145
  """
138
146
  Input properties used for looking up and filtering SecurityPolicyManagement resources.
139
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
147
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
140
148
  :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"}`
141
149
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
142
150
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
143
- :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"}`
151
+ :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"}`
152
+
153
+
154
+ ** IMPORTANT **
155
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
144
156
  :param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
157
+ :param pulumi.Input[_builtins.str] security_policy_type: The type of the security policy.
145
158
  :param pulumi.Input[_builtins.str] state: The current state of the security policy.
146
159
  :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"}`
147
- :param pulumi.Input[_builtins.str] target_id: Unique target identifier.
160
+ :param pulumi.Input[_builtins.str] target_id: Unique target identifier. If target id is not specified then new security policy will be created.
148
161
  :param pulumi.Input[_builtins.str] time_created: The time that the security policy was created, in the format defined by RFC3339.
149
162
  :param pulumi.Input[_builtins.str] time_updated: The last date and time the security policy was updated, in the format defined by RFC3339.
150
163
  """
@@ -160,6 +173,8 @@ class _SecurityPolicyManagementState:
160
173
  pulumi.set(__self__, "freeform_tags", freeform_tags)
161
174
  if lifecycle_details is not None:
162
175
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
176
+ if security_policy_type is not None:
177
+ pulumi.set(__self__, "security_policy_type", security_policy_type)
163
178
  if state is not None:
164
179
  pulumi.set(__self__, "state", state)
165
180
  if system_tags is not None:
@@ -175,7 +190,7 @@ class _SecurityPolicyManagementState:
175
190
  @pulumi.getter(name="compartmentId")
176
191
  def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
177
192
  """
178
- (Updatable) The OCID of the compartment containing the security policy.
193
+ (Updatable) The OCID of the compartment in which to create the security policy.
179
194
  """
180
195
  return pulumi.get(self, "compartment_id")
181
196
 
@@ -223,7 +238,11 @@ class _SecurityPolicyManagementState:
223
238
  @pulumi.getter(name="freeformTags")
224
239
  def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
225
240
  """
226
- (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"}`
241
+ (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"}`
242
+
243
+
244
+ ** IMPORTANT **
245
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
227
246
  """
228
247
  return pulumi.get(self, "freeform_tags")
229
248
 
@@ -243,6 +262,18 @@ class _SecurityPolicyManagementState:
243
262
  def lifecycle_details(self, value: Optional[pulumi.Input[_builtins.str]]):
244
263
  pulumi.set(self, "lifecycle_details", value)
245
264
 
265
+ @_builtins.property
266
+ @pulumi.getter(name="securityPolicyType")
267
+ def security_policy_type(self) -> Optional[pulumi.Input[_builtins.str]]:
268
+ """
269
+ The type of the security policy.
270
+ """
271
+ return pulumi.get(self, "security_policy_type")
272
+
273
+ @security_policy_type.setter
274
+ def security_policy_type(self, value: Optional[pulumi.Input[_builtins.str]]):
275
+ pulumi.set(self, "security_policy_type", value)
276
+
246
277
  @_builtins.property
247
278
  @pulumi.getter
248
279
  def state(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -271,7 +302,7 @@ class _SecurityPolicyManagementState:
271
302
  @pulumi.getter(name="targetId")
272
303
  def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
273
304
  """
274
- Unique target identifier.
305
+ Unique target identifier. If target id is not specified then new security policy will be created.
275
306
  """
276
307
  return pulumi.get(self, "target_id")
277
308
 
@@ -320,7 +351,7 @@ class SecurityPolicyManagement(pulumi.CustomResource):
320
351
  """
321
352
  This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service.
322
353
 
323
- Updates the security policy.
354
+ Creates a Data Safe security policy.
324
355
 
325
356
  ## Example Usage
326
357
 
@@ -347,23 +378,27 @@ class SecurityPolicyManagement(pulumi.CustomResource):
347
378
 
348
379
  :param str resource_name: The name of the resource.
349
380
  :param pulumi.ResourceOptions opts: Options for the resource.
350
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
381
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
351
382
  :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"}`
352
383
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
353
384
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
354
- :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"}`
355
- :param pulumi.Input[_builtins.str] target_id: Unique target identifier.
385
+ :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"}`
386
+
387
+
388
+ ** IMPORTANT **
389
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
390
+ :param pulumi.Input[_builtins.str] target_id: Unique target identifier. If target id is not specified then new security policy will be created.
356
391
  """
357
392
  ...
358
393
  @overload
359
394
  def __init__(__self__,
360
395
  resource_name: str,
361
- args: Optional[SecurityPolicyManagementArgs] = None,
396
+ args: SecurityPolicyManagementArgs,
362
397
  opts: Optional[pulumi.ResourceOptions] = None):
363
398
  """
364
399
  This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service.
365
400
 
366
- Updates the security policy.
401
+ Creates a Data Safe security policy.
367
402
 
368
403
  ## Example Usage
369
404
 
@@ -418,6 +453,8 @@ class SecurityPolicyManagement(pulumi.CustomResource):
418
453
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
419
454
  __props__ = SecurityPolicyManagementArgs.__new__(SecurityPolicyManagementArgs)
420
455
 
456
+ if compartment_id is None and not opts.urn:
457
+ raise TypeError("Missing required property 'compartment_id'")
421
458
  __props__.__dict__["compartment_id"] = compartment_id
422
459
  __props__.__dict__["defined_tags"] = defined_tags
423
460
  __props__.__dict__["description"] = description
@@ -425,6 +462,7 @@ class SecurityPolicyManagement(pulumi.CustomResource):
425
462
  __props__.__dict__["freeform_tags"] = freeform_tags
426
463
  __props__.__dict__["target_id"] = target_id
427
464
  __props__.__dict__["lifecycle_details"] = None
465
+ __props__.__dict__["security_policy_type"] = None
428
466
  __props__.__dict__["state"] = None
429
467
  __props__.__dict__["system_tags"] = None
430
468
  __props__.__dict__["time_created"] = None
@@ -445,6 +483,7 @@ class SecurityPolicyManagement(pulumi.CustomResource):
445
483
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
446
484
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
447
485
  lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
486
+ security_policy_type: Optional[pulumi.Input[_builtins.str]] = None,
448
487
  state: Optional[pulumi.Input[_builtins.str]] = None,
449
488
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
450
489
  target_id: Optional[pulumi.Input[_builtins.str]] = None,
@@ -457,15 +496,20 @@ class SecurityPolicyManagement(pulumi.CustomResource):
457
496
  :param str resource_name: The unique name of the resulting resource.
458
497
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
459
498
  :param pulumi.ResourceOptions opts: Options for the resource.
460
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
499
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
461
500
  :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"}`
462
501
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
463
502
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
464
- :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"}`
503
+ :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"}`
504
+
505
+
506
+ ** IMPORTANT **
507
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
465
508
  :param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
509
+ :param pulumi.Input[_builtins.str] security_policy_type: The type of the security policy.
466
510
  :param pulumi.Input[_builtins.str] state: The current state of the security policy.
467
511
  :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"}`
468
- :param pulumi.Input[_builtins.str] target_id: Unique target identifier.
512
+ :param pulumi.Input[_builtins.str] target_id: Unique target identifier. If target id is not specified then new security policy will be created.
469
513
  :param pulumi.Input[_builtins.str] time_created: The time that the security policy was created, in the format defined by RFC3339.
470
514
  :param pulumi.Input[_builtins.str] time_updated: The last date and time the security policy was updated, in the format defined by RFC3339.
471
515
  """
@@ -479,6 +523,7 @@ class SecurityPolicyManagement(pulumi.CustomResource):
479
523
  __props__.__dict__["display_name"] = display_name
480
524
  __props__.__dict__["freeform_tags"] = freeform_tags
481
525
  __props__.__dict__["lifecycle_details"] = lifecycle_details
526
+ __props__.__dict__["security_policy_type"] = security_policy_type
482
527
  __props__.__dict__["state"] = state
483
528
  __props__.__dict__["system_tags"] = system_tags
484
529
  __props__.__dict__["target_id"] = target_id
@@ -490,7 +535,7 @@ class SecurityPolicyManagement(pulumi.CustomResource):
490
535
  @pulumi.getter(name="compartmentId")
491
536
  def compartment_id(self) -> pulumi.Output[_builtins.str]:
492
537
  """
493
- (Updatable) The OCID of the compartment containing the security policy.
538
+ (Updatable) The OCID of the compartment in which to create the security policy.
494
539
  """
495
540
  return pulumi.get(self, "compartment_id")
496
541
 
@@ -522,7 +567,11 @@ class SecurityPolicyManagement(pulumi.CustomResource):
522
567
  @pulumi.getter(name="freeformTags")
523
568
  def freeform_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
524
569
  """
525
- (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"}`
570
+ (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"}`
571
+
572
+
573
+ ** IMPORTANT **
574
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
526
575
  """
527
576
  return pulumi.get(self, "freeform_tags")
528
577
 
@@ -534,6 +583,14 @@ class SecurityPolicyManagement(pulumi.CustomResource):
534
583
  """
535
584
  return pulumi.get(self, "lifecycle_details")
536
585
 
586
+ @_builtins.property
587
+ @pulumi.getter(name="securityPolicyType")
588
+ def security_policy_type(self) -> pulumi.Output[_builtins.str]:
589
+ """
590
+ The type of the security policy.
591
+ """
592
+ return pulumi.get(self, "security_policy_type")
593
+
537
594
  @_builtins.property
538
595
  @pulumi.getter
539
596
  def state(self) -> pulumi.Output[_builtins.str]:
@@ -554,7 +611,7 @@ class SecurityPolicyManagement(pulumi.CustomResource):
554
611
  @pulumi.getter(name="targetId")
555
612
  def target_id(self) -> pulumi.Output[_builtins.str]:
556
613
  """
557
- Unique target identifier.
614
+ Unique target identifier. If target id is not specified then new security policy will be created.
558
615
  """
559
616
  return pulumi.get(self, "target_id")
560
617
 
@@ -32,11 +32,7 @@ class TargetAlertPolicyAssociationArgs:
32
32
  :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where the target-alert policy association is created.
33
33
  :param pulumi.Input[_builtins.bool] is_enabled: (Updatable) Indicates if the target-alert policy association is enabled or disabled.
34
34
  :param pulumi.Input[_builtins.str] policy_id: The OCID of the alert policy.
35
- :param pulumi.Input[_builtins.str] target_id: The OCID of the target.
36
-
37
-
38
- ** IMPORTANT **
39
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
35
+ :param pulumi.Input[_builtins.str] target_id: The OCID of the target or target database group.
40
36
  :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"}`
41
37
  :param pulumi.Input[_builtins.str] description: (Updatable) Describes the target-alert policy association.
42
38
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the target-alert policy association.
@@ -95,11 +91,7 @@ class TargetAlertPolicyAssociationArgs:
95
91
  @pulumi.getter(name="targetId")
96
92
  def target_id(self) -> pulumi.Input[_builtins.str]:
97
93
  """
98
- The OCID of the target.
99
-
100
-
101
- ** IMPORTANT **
102
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
94
+ The OCID of the target or target database group.
103
95
  """
104
96
  return pulumi.get(self, "target_id")
105
97
 
@@ -184,11 +176,7 @@ class _TargetAlertPolicyAssociationState:
184
176
  :param pulumi.Input[_builtins.str] policy_id: The OCID of the alert policy.
185
177
  :param pulumi.Input[_builtins.str] state: The current state of the target-alert policy association.
186
178
  :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"}`
187
- :param pulumi.Input[_builtins.str] target_id: The OCID of the target.
188
-
189
-
190
- ** IMPORTANT **
191
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
179
+ :param pulumi.Input[_builtins.str] target_id: The OCID of the target or target database group.
192
180
  :param pulumi.Input[_builtins.str] time_created: Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
193
181
  :param pulumi.Input[_builtins.str] time_updated: Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
194
182
  """
@@ -343,11 +331,7 @@ class _TargetAlertPolicyAssociationState:
343
331
  @pulumi.getter(name="targetId")
344
332
  def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
345
333
  """
346
- The OCID of the target.
347
-
348
-
349
- ** IMPORTANT **
350
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
334
+ The OCID of the target or target database group.
351
335
  """
352
336
  return pulumi.get(self, "target_id")
353
337
 
@@ -400,27 +384,6 @@ class TargetAlertPolicyAssociation(pulumi.CustomResource):
400
384
 
401
385
  Creates a new target-alert policy association to track a alert policy applied on target.
402
386
 
403
- ## Example Usage
404
-
405
- ```python
406
- import pulumi
407
- import pulumi_oci as oci
408
-
409
- test_target_alert_policy_association = oci.datasafe.TargetAlertPolicyAssociation("test_target_alert_policy_association",
410
- compartment_id=compartment_id,
411
- is_enabled=target_alert_policy_association_is_enabled,
412
- policy_id=test_policy["id"],
413
- target_id=test_target["id"],
414
- defined_tags={
415
- "Operations.CostCenter": "42",
416
- },
417
- description=target_alert_policy_association_description,
418
- display_name=target_alert_policy_association_display_name,
419
- freeform_tags={
420
- "Department": "Finance",
421
- })
422
- ```
423
-
424
387
  ## Import
425
388
 
426
389
  TargetAlertPolicyAssociations can be imported using the `id`, e.g.
@@ -438,11 +401,7 @@ class TargetAlertPolicyAssociation(pulumi.CustomResource):
438
401
  :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"}`
439
402
  :param pulumi.Input[_builtins.bool] is_enabled: (Updatable) Indicates if the target-alert policy association is enabled or disabled.
440
403
  :param pulumi.Input[_builtins.str] policy_id: The OCID of the alert policy.
441
- :param pulumi.Input[_builtins.str] target_id: The OCID of the target.
442
-
443
-
444
- ** IMPORTANT **
445
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
404
+ :param pulumi.Input[_builtins.str] target_id: The OCID of the target or target database group.
446
405
  """
447
406
  ...
448
407
  @overload
@@ -455,27 +414,6 @@ class TargetAlertPolicyAssociation(pulumi.CustomResource):
455
414
 
456
415
  Creates a new target-alert policy association to track a alert policy applied on target.
457
416
 
458
- ## Example Usage
459
-
460
- ```python
461
- import pulumi
462
- import pulumi_oci as oci
463
-
464
- test_target_alert_policy_association = oci.datasafe.TargetAlertPolicyAssociation("test_target_alert_policy_association",
465
- compartment_id=compartment_id,
466
- is_enabled=target_alert_policy_association_is_enabled,
467
- policy_id=test_policy["id"],
468
- target_id=test_target["id"],
469
- defined_tags={
470
- "Operations.CostCenter": "42",
471
- },
472
- description=target_alert_policy_association_description,
473
- display_name=target_alert_policy_association_display_name,
474
- freeform_tags={
475
- "Department": "Finance",
476
- })
477
- ```
478
-
479
417
  ## Import
480
418
 
481
419
  TargetAlertPolicyAssociations can be imported using the `id`, e.g.
@@ -577,11 +515,7 @@ class TargetAlertPolicyAssociation(pulumi.CustomResource):
577
515
  :param pulumi.Input[_builtins.str] policy_id: The OCID of the alert policy.
578
516
  :param pulumi.Input[_builtins.str] state: The current state of the target-alert policy association.
579
517
  :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"}`
580
- :param pulumi.Input[_builtins.str] target_id: The OCID of the target.
581
-
582
-
583
- ** IMPORTANT **
584
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
518
+ :param pulumi.Input[_builtins.str] target_id: The OCID of the target or target database group.
585
519
  :param pulumi.Input[_builtins.str] time_created: Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
586
520
  :param pulumi.Input[_builtins.str] time_updated: Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
587
521
  """
@@ -688,11 +622,7 @@ class TargetAlertPolicyAssociation(pulumi.CustomResource):
688
622
  @pulumi.getter(name="targetId")
689
623
  def target_id(self) -> pulumi.Output[_builtins.str]:
690
624
  """
691
- The OCID of the target.
692
-
693
-
694
- ** IMPORTANT **
695
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
625
+ The OCID of the target or target database group.
696
626
  """
697
627
  return pulumi.get(self, "target_id")
698
628
 
@@ -502,6 +502,7 @@ class TargetDatabase(pulumi.CustomResource):
502
502
  "instance_id": test_instance["id"],
503
503
  "ip_addresses": target_database_database_details_ip_addresses,
504
504
  "listener_port": target_database_database_details_listener_port,
505
+ "pluggable_database_id": test_pluggable_database["id"],
505
506
  "service_name": test_service["name"],
506
507
  "vm_cluster_id": test_vm_cluster["id"],
507
508
  },
@@ -531,6 +532,7 @@ class TargetDatabase(pulumi.CustomResource):
531
532
  "instance_id": test_instance["id"],
532
533
  "ip_addresses": target_database_peer_target_database_details_database_details_ip_addresses,
533
534
  "listener_port": target_database_peer_target_database_details_database_details_listener_port,
535
+ "pluggable_database_id": test_pluggable_database["id"],
534
536
  "service_name": test_service["name"],
535
537
  "vm_cluster_id": test_vm_cluster["id"],
536
538
  },
@@ -602,6 +604,7 @@ class TargetDatabase(pulumi.CustomResource):
602
604
  "instance_id": test_instance["id"],
603
605
  "ip_addresses": target_database_database_details_ip_addresses,
604
606
  "listener_port": target_database_database_details_listener_port,
607
+ "pluggable_database_id": test_pluggable_database["id"],
605
608
  "service_name": test_service["name"],
606
609
  "vm_cluster_id": test_vm_cluster["id"],
607
610
  },
@@ -631,6 +634,7 @@ class TargetDatabase(pulumi.CustomResource):
631
634
  "instance_id": test_instance["id"],
632
635
  "ip_addresses": target_database_peer_target_database_details_database_details_ip_addresses,
633
636
  "listener_port": target_database_peer_target_database_details_database_details_listener_port,
637
+ "pluggable_database_id": test_pluggable_database["id"],
634
638
  "service_name": test_service["name"],
635
639
  "vm_cluster_id": test_vm_cluster["id"],
636
640
  },