pulumi-oci 2.24.0a1738736368__py3-none-any.whl → 2.24.0a1738857714__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 (122) hide show
  1. pulumi_oci/__init__.py +72 -0
  2. pulumi_oci/database/__init__.py +20 -0
  3. pulumi_oci/database/_inputs.py +868 -14
  4. pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
  5. pulumi_oci/database/exadata_infrastructure.py +28 -0
  6. pulumi_oci/database/execution_action.py +812 -0
  7. pulumi_oci/database/execution_window.py +856 -0
  8. pulumi_oci/database/get_cloud_exadata_infrastructure.py +15 -1
  9. pulumi_oci/database/get_database_maintenance_run_history.py +29 -1
  10. pulumi_oci/database/get_exadata_infrastructure.py +15 -1
  11. pulumi_oci/database/get_execution_action.py +352 -0
  12. pulumi_oci/database/get_execution_actions.py +213 -0
  13. pulumi_oci/database/get_execution_window.py +379 -0
  14. pulumi_oci/database/get_execution_windows.py +213 -0
  15. pulumi_oci/database/get_maintenance_run.py +32 -4
  16. pulumi_oci/database/get_scheduled_action.py +324 -0
  17. pulumi_oci/database/get_scheduled_action_params.py +144 -0
  18. pulumi_oci/database/get_scheduled_actions.py +240 -0
  19. pulumi_oci/database/get_scheduling_plan.py +323 -0
  20. pulumi_oci/database/get_scheduling_plans.py +243 -0
  21. pulumi_oci/database/get_scheduling_policies.py +191 -0
  22. pulumi_oci/database/get_scheduling_policy.py +268 -0
  23. pulumi_oci/database/get_scheduling_policy_recommended_scheduled_actions.py +182 -0
  24. pulumi_oci/database/get_scheduling_policy_scheduling_window.py +276 -0
  25. pulumi_oci/database/get_scheduling_policy_scheduling_windows.py +213 -0
  26. pulumi_oci/database/maintenance_run.py +58 -2
  27. pulumi_oci/database/outputs.py +11459 -7870
  28. pulumi_oci/database/scheduled_action.py +775 -0
  29. pulumi_oci/database/scheduling_plan.py +744 -0
  30. pulumi_oci/database/scheduling_policy.py +616 -0
  31. pulumi_oci/database/scheduling_policy_scheduling_window.py +584 -0
  32. pulumi_oci/datasafe/__init__.py +8 -0
  33. pulumi_oci/datasafe/_inputs.py +466 -12
  34. pulumi_oci/datasafe/alert.py +7 -7
  35. pulumi_oci/datasafe/alert_policy.py +7 -7
  36. pulumi_oci/datasafe/audit_archive_retrieval.py +7 -7
  37. pulumi_oci/datasafe/audit_policy.py +7 -7
  38. pulumi_oci/datasafe/audit_policy_management.py +21 -21
  39. pulumi_oci/datasafe/audit_profile.py +18 -18
  40. pulumi_oci/datasafe/audit_profile_management.py +21 -21
  41. pulumi_oci/datasafe/audit_trail.py +14 -14
  42. pulumi_oci/datasafe/audit_trail_management.py +14 -14
  43. pulumi_oci/datasafe/data_safe_configuration.py +4 -4
  44. pulumi_oci/datasafe/data_safe_private_endpoint.py +7 -7
  45. pulumi_oci/datasafe/database_security_config.py +7 -7
  46. pulumi_oci/datasafe/database_security_config_management.py +7 -7
  47. pulumi_oci/datasafe/discovery_mod.py +7 -7
  48. pulumi_oci/datasafe/get_alert.py +1 -1
  49. pulumi_oci/datasafe/get_alert_policy.py +1 -1
  50. pulumi_oci/datasafe/get_audit_archive_retrieval.py +1 -1
  51. pulumi_oci/datasafe/get_audit_events.py +2 -2
  52. pulumi_oci/datasafe/get_audit_policy.py +1 -1
  53. pulumi_oci/datasafe/get_audit_profile.py +2 -2
  54. pulumi_oci/datasafe/get_audit_trail.py +1 -1
  55. pulumi_oci/datasafe/get_data_safe_configuration.py +1 -1
  56. pulumi_oci/datasafe/get_data_safe_private_endpoint.py +1 -1
  57. pulumi_oci/datasafe/get_database_security_config.py +1 -1
  58. pulumi_oci/datasafe/get_discovery_job.py +1 -1
  59. pulumi_oci/datasafe/get_library_masking_format.py +1 -1
  60. pulumi_oci/datasafe/get_masking_policy.py +1 -1
  61. pulumi_oci/datasafe/get_masking_policy_health_report.py +33 -5
  62. pulumi_oci/datasafe/get_masking_policy_referential_relations.py +232 -0
  63. pulumi_oci/datasafe/get_onprem_connector.py +1 -1
  64. pulumi_oci/datasafe/get_report.py +1 -1
  65. pulumi_oci/datasafe/get_report_definition.py +1 -1
  66. pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +1 -1
  67. pulumi_oci/datasafe/get_security_assessment.py +1 -1
  68. pulumi_oci/datasafe/get_security_policy.py +1 -1
  69. pulumi_oci/datasafe/get_security_policy_deployment.py +1 -1
  70. pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
  71. pulumi_oci/datasafe/get_sensitive_data_model_referential_relation.py +186 -0
  72. pulumi_oci/datasafe/get_sensitive_data_model_referential_relations.py +254 -0
  73. pulumi_oci/datasafe/get_sensitive_type.py +1 -1
  74. pulumi_oci/datasafe/get_sensitive_types_export.py +267 -0
  75. pulumi_oci/datasafe/get_sensitive_types_exports.py +296 -0
  76. pulumi_oci/datasafe/get_sql_collection.py +1 -1
  77. pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +1 -1
  78. pulumi_oci/datasafe/get_sql_firewall_policy.py +1 -1
  79. pulumi_oci/datasafe/get_target_alert_policy_association.py +1 -1
  80. pulumi_oci/datasafe/get_target_database.py +1 -1
  81. pulumi_oci/datasafe/get_user_assessment.py +1 -1
  82. pulumi_oci/datasafe/get_user_assessment_password_expiry_date_analytics.py +240 -0
  83. pulumi_oci/datasafe/get_user_assessment_user_analytics.py +41 -3
  84. pulumi_oci/datasafe/get_user_assessment_users.py +39 -1
  85. pulumi_oci/datasafe/library_masing_format.py +7 -7
  86. pulumi_oci/datasafe/masking_policy.py +7 -7
  87. pulumi_oci/datasafe/on_prem_connector.py +7 -7
  88. pulumi_oci/datasafe/outputs.py +1266 -151
  89. pulumi_oci/datasafe/report.py +7 -7
  90. pulumi_oci/datasafe/report_definition.py +7 -7
  91. pulumi_oci/datasafe/sdm_masking_policy_difference.py +7 -7
  92. pulumi_oci/datasafe/security_assessment.py +36 -37
  93. pulumi_oci/datasafe/security_policy.py +7 -7
  94. pulumi_oci/datasafe/security_policy_deployment.py +7 -7
  95. pulumi_oci/datasafe/security_policy_deployment_management.py +7 -7
  96. pulumi_oci/datasafe/security_policy_management.py +7 -7
  97. pulumi_oci/datasafe/sensitive_data_model.py +7 -7
  98. pulumi_oci/datasafe/sensitive_data_model_referential_relation.py +504 -0
  99. pulumi_oci/datasafe/sensitive_type.py +7 -7
  100. pulumi_oci/datasafe/sensitive_types_export.py +637 -0
  101. pulumi_oci/datasafe/sql_collection.py +7 -7
  102. pulumi_oci/datasafe/sql_firewall_policy.py +7 -7
  103. pulumi_oci/datasafe/sql_firewall_policy_management.py +56 -56
  104. pulumi_oci/datasafe/target_alert_policy_association.py +7 -7
  105. pulumi_oci/datasafe/target_database.py +7 -7
  106. pulumi_oci/datasafe/user_assessment.py +7 -7
  107. pulumi_oci/datascience/__init__.py +4 -0
  108. pulumi_oci/datascience/_inputs.py +1811 -0
  109. pulumi_oci/datascience/get_containers.py +270 -0
  110. pulumi_oci/datascience/get_schedule.py +366 -0
  111. pulumi_oci/datascience/get_schedules.py +221 -0
  112. pulumi_oci/datascience/outputs.py +8697 -4890
  113. pulumi_oci/datascience/schedule.py +1045 -0
  114. pulumi_oci/mysql/_inputs.py +229 -9
  115. pulumi_oci/mysql/get_mysql_db_system.py +47 -1
  116. pulumi_oci/mysql/mysql_db_system.py +185 -0
  117. pulumi_oci/mysql/outputs.py +477 -26
  118. pulumi_oci/pulumi-plugin.json +1 -1
  119. {pulumi_oci-2.24.0a1738736368.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/METADATA +1 -1
  120. {pulumi_oci-2.24.0a1738736368.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/RECORD +122 -90
  121. {pulumi_oci-2.24.0a1738736368.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/WHEEL +0 -0
  122. {pulumi_oci-2.24.0a1738736368.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,504 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
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__ = ['SensitiveDataModelReferentialRelationArgs', 'SensitiveDataModelReferentialRelation']
20
+
21
+ @pulumi.input_type
22
+ class SensitiveDataModelReferentialRelationArgs:
23
+ def __init__(__self__, *,
24
+ child: pulumi.Input['SensitiveDataModelReferentialRelationChildArgs'],
25
+ parent: pulumi.Input['SensitiveDataModelReferentialRelationParentArgs'],
26
+ relation_type: pulumi.Input[str],
27
+ sensitive_data_model_id: pulumi.Input[str],
28
+ is_sensitive: Optional[pulumi.Input[bool]] = None):
29
+ """
30
+ The set of arguments for constructing a SensitiveDataModelReferentialRelation resource.
31
+ :param pulumi.Input['SensitiveDataModelReferentialRelationChildArgs'] child: columnsInfo object has details of column group with schema details.
32
+ :param pulumi.Input['SensitiveDataModelReferentialRelationParentArgs'] parent: columnsInfo object has details of column group with schema details.
33
+ :param pulumi.Input[str] relation_type: The type of referential relationship the sensitive column has with its parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
34
+ :param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
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[bool] is_sensitive: Add to sensitive data model if passed true. If false is passed, then the columns will not be added in the sensitive data model as sensitive columns and if sensitive type OCIDs are assigned to the columns, then the sensitive type OCIDs will not be retained.
40
+ """
41
+ pulumi.set(__self__, "child", child)
42
+ pulumi.set(__self__, "parent", parent)
43
+ pulumi.set(__self__, "relation_type", relation_type)
44
+ pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id)
45
+ if is_sensitive is not None:
46
+ pulumi.set(__self__, "is_sensitive", is_sensitive)
47
+
48
+ @property
49
+ @pulumi.getter
50
+ def child(self) -> pulumi.Input['SensitiveDataModelReferentialRelationChildArgs']:
51
+ """
52
+ columnsInfo object has details of column group with schema details.
53
+ """
54
+ return pulumi.get(self, "child")
55
+
56
+ @child.setter
57
+ def child(self, value: pulumi.Input['SensitiveDataModelReferentialRelationChildArgs']):
58
+ pulumi.set(self, "child", value)
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def parent(self) -> pulumi.Input['SensitiveDataModelReferentialRelationParentArgs']:
63
+ """
64
+ columnsInfo object has details of column group with schema details.
65
+ """
66
+ return pulumi.get(self, "parent")
67
+
68
+ @parent.setter
69
+ def parent(self, value: pulumi.Input['SensitiveDataModelReferentialRelationParentArgs']):
70
+ pulumi.set(self, "parent", value)
71
+
72
+ @property
73
+ @pulumi.getter(name="relationType")
74
+ def relation_type(self) -> pulumi.Input[str]:
75
+ """
76
+ The type of referential relationship the sensitive column has with its parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
77
+ """
78
+ return pulumi.get(self, "relation_type")
79
+
80
+ @relation_type.setter
81
+ def relation_type(self, value: pulumi.Input[str]):
82
+ pulumi.set(self, "relation_type", value)
83
+
84
+ @property
85
+ @pulumi.getter(name="sensitiveDataModelId")
86
+ def sensitive_data_model_id(self) -> pulumi.Input[str]:
87
+ """
88
+ The OCID of the sensitive data model.
89
+
90
+
91
+ ** IMPORTANT **
92
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
93
+ """
94
+ return pulumi.get(self, "sensitive_data_model_id")
95
+
96
+ @sensitive_data_model_id.setter
97
+ def sensitive_data_model_id(self, value: pulumi.Input[str]):
98
+ pulumi.set(self, "sensitive_data_model_id", value)
99
+
100
+ @property
101
+ @pulumi.getter(name="isSensitive")
102
+ def is_sensitive(self) -> Optional[pulumi.Input[bool]]:
103
+ """
104
+ Add to sensitive data model if passed true. If false is passed, then the columns will not be added in the sensitive data model as sensitive columns and if sensitive type OCIDs are assigned to the columns, then the sensitive type OCIDs will not be retained.
105
+ """
106
+ return pulumi.get(self, "is_sensitive")
107
+
108
+ @is_sensitive.setter
109
+ def is_sensitive(self, value: Optional[pulumi.Input[bool]]):
110
+ pulumi.set(self, "is_sensitive", value)
111
+
112
+
113
+ @pulumi.input_type
114
+ class _SensitiveDataModelReferentialRelationState:
115
+ def __init__(__self__, *,
116
+ child: Optional[pulumi.Input['SensitiveDataModelReferentialRelationChildArgs']] = None,
117
+ is_sensitive: Optional[pulumi.Input[bool]] = None,
118
+ key: Optional[pulumi.Input[str]] = None,
119
+ parent: Optional[pulumi.Input['SensitiveDataModelReferentialRelationParentArgs']] = None,
120
+ relation_type: Optional[pulumi.Input[str]] = None,
121
+ sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
122
+ state: Optional[pulumi.Input[str]] = None):
123
+ """
124
+ Input properties used for looking up and filtering SensitiveDataModelReferentialRelation resources.
125
+ :param pulumi.Input['SensitiveDataModelReferentialRelationChildArgs'] child: columnsInfo object has details of column group with schema details.
126
+ :param pulumi.Input[bool] is_sensitive: Add to sensitive data model if passed true. If false is passed, then the columns will not be added in the sensitive data model as sensitive columns and if sensitive type OCIDs are assigned to the columns, then the sensitive type OCIDs will not be retained.
127
+ :param pulumi.Input[str] key: The unique key that identifies the referential relation. It's numeric and unique within a sensitive data model.
128
+ :param pulumi.Input['SensitiveDataModelReferentialRelationParentArgs'] parent: columnsInfo object has details of column group with schema details.
129
+ :param pulumi.Input[str] relation_type: The type of referential relationship the sensitive column has with its parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
130
+ :param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
131
+
132
+
133
+ ** IMPORTANT **
134
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
135
+ :param pulumi.Input[str] state: The current state of the referential relation.
136
+ """
137
+ if child is not None:
138
+ pulumi.set(__self__, "child", child)
139
+ if is_sensitive is not None:
140
+ pulumi.set(__self__, "is_sensitive", is_sensitive)
141
+ if key is not None:
142
+ pulumi.set(__self__, "key", key)
143
+ if parent is not None:
144
+ pulumi.set(__self__, "parent", parent)
145
+ if relation_type is not None:
146
+ pulumi.set(__self__, "relation_type", relation_type)
147
+ if sensitive_data_model_id is not None:
148
+ pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id)
149
+ if state is not None:
150
+ pulumi.set(__self__, "state", state)
151
+
152
+ @property
153
+ @pulumi.getter
154
+ def child(self) -> Optional[pulumi.Input['SensitiveDataModelReferentialRelationChildArgs']]:
155
+ """
156
+ columnsInfo object has details of column group with schema details.
157
+ """
158
+ return pulumi.get(self, "child")
159
+
160
+ @child.setter
161
+ def child(self, value: Optional[pulumi.Input['SensitiveDataModelReferentialRelationChildArgs']]):
162
+ pulumi.set(self, "child", value)
163
+
164
+ @property
165
+ @pulumi.getter(name="isSensitive")
166
+ def is_sensitive(self) -> Optional[pulumi.Input[bool]]:
167
+ """
168
+ Add to sensitive data model if passed true. If false is passed, then the columns will not be added in the sensitive data model as sensitive columns and if sensitive type OCIDs are assigned to the columns, then the sensitive type OCIDs will not be retained.
169
+ """
170
+ return pulumi.get(self, "is_sensitive")
171
+
172
+ @is_sensitive.setter
173
+ def is_sensitive(self, value: Optional[pulumi.Input[bool]]):
174
+ pulumi.set(self, "is_sensitive", value)
175
+
176
+ @property
177
+ @pulumi.getter
178
+ def key(self) -> Optional[pulumi.Input[str]]:
179
+ """
180
+ The unique key that identifies the referential relation. It's numeric and unique within a sensitive data model.
181
+ """
182
+ return pulumi.get(self, "key")
183
+
184
+ @key.setter
185
+ def key(self, value: Optional[pulumi.Input[str]]):
186
+ pulumi.set(self, "key", value)
187
+
188
+ @property
189
+ @pulumi.getter
190
+ def parent(self) -> Optional[pulumi.Input['SensitiveDataModelReferentialRelationParentArgs']]:
191
+ """
192
+ columnsInfo object has details of column group with schema details.
193
+ """
194
+ return pulumi.get(self, "parent")
195
+
196
+ @parent.setter
197
+ def parent(self, value: Optional[pulumi.Input['SensitiveDataModelReferentialRelationParentArgs']]):
198
+ pulumi.set(self, "parent", value)
199
+
200
+ @property
201
+ @pulumi.getter(name="relationType")
202
+ def relation_type(self) -> Optional[pulumi.Input[str]]:
203
+ """
204
+ The type of referential relationship the sensitive column has with its parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
205
+ """
206
+ return pulumi.get(self, "relation_type")
207
+
208
+ @relation_type.setter
209
+ def relation_type(self, value: Optional[pulumi.Input[str]]):
210
+ pulumi.set(self, "relation_type", value)
211
+
212
+ @property
213
+ @pulumi.getter(name="sensitiveDataModelId")
214
+ def sensitive_data_model_id(self) -> Optional[pulumi.Input[str]]:
215
+ """
216
+ The OCID of the sensitive data model.
217
+
218
+
219
+ ** IMPORTANT **
220
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
221
+ """
222
+ return pulumi.get(self, "sensitive_data_model_id")
223
+
224
+ @sensitive_data_model_id.setter
225
+ def sensitive_data_model_id(self, value: Optional[pulumi.Input[str]]):
226
+ pulumi.set(self, "sensitive_data_model_id", value)
227
+
228
+ @property
229
+ @pulumi.getter
230
+ def state(self) -> Optional[pulumi.Input[str]]:
231
+ """
232
+ The current state of the referential relation.
233
+ """
234
+ return pulumi.get(self, "state")
235
+
236
+ @state.setter
237
+ def state(self, value: Optional[pulumi.Input[str]]):
238
+ pulumi.set(self, "state", value)
239
+
240
+
241
+ class SensitiveDataModelReferentialRelation(pulumi.CustomResource):
242
+ @overload
243
+ def __init__(__self__,
244
+ resource_name: str,
245
+ opts: Optional[pulumi.ResourceOptions] = None,
246
+ child: Optional[pulumi.Input[Union['SensitiveDataModelReferentialRelationChildArgs', 'SensitiveDataModelReferentialRelationChildArgsDict']]] = None,
247
+ is_sensitive: Optional[pulumi.Input[bool]] = None,
248
+ parent: Optional[pulumi.Input[Union['SensitiveDataModelReferentialRelationParentArgs', 'SensitiveDataModelReferentialRelationParentArgsDict']]] = None,
249
+ relation_type: Optional[pulumi.Input[str]] = None,
250
+ sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
251
+ __props__=None):
252
+ """
253
+ This resource provides the Sensitive Data Model Referential Relation resource in Oracle Cloud Infrastructure Data Safe service.
254
+
255
+ Creates a new referential relation in the specified sensitive data model.
256
+
257
+ ## Example Usage
258
+
259
+ ```python
260
+ import pulumi
261
+ import pulumi_oci as oci
262
+
263
+ test_sensitive_data_model_referential_relation = oci.data_safe.SensitiveDataModelReferentialRelation("test_sensitive_data_model_referential_relation",
264
+ child={
265
+ "app_name": sensitive_data_model_referential_relation_child_app_name,
266
+ "column_groups": sensitive_data_model_referential_relation_child_column_group,
267
+ "object": sensitive_data_model_referential_relation_child_object,
268
+ "object_type": sensitive_data_model_referential_relation_child_object_type,
269
+ "schema_name": sensitive_data_model_referential_relation_child_schema_name,
270
+ "sensitive_type_ids": sensitive_data_model_referential_relation_child_sensitive_type_ids,
271
+ },
272
+ parent={
273
+ "app_name": sensitive_data_model_referential_relation_parent_app_name,
274
+ "column_groups": sensitive_data_model_referential_relation_parent_column_group,
275
+ "object": sensitive_data_model_referential_relation_parent_object,
276
+ "object_type": sensitive_data_model_referential_relation_parent_object_type,
277
+ "schema_name": sensitive_data_model_referential_relation_parent_schema_name,
278
+ "sensitive_type_ids": sensitive_data_model_referential_relation_parent_sensitive_type_ids,
279
+ },
280
+ relation_type=sensitive_data_model_referential_relation_relation_type,
281
+ sensitive_data_model_id=test_sensitive_data_model["id"],
282
+ is_sensitive=sensitive_data_model_referential_relation_is_sensitive)
283
+ ```
284
+
285
+ ## Import
286
+
287
+ SensitiveDataModelReferentialRelations can be imported using the `id`, e.g.
288
+
289
+ ```sh
290
+ $ pulumi import oci:DataSafe/sensitiveDataModelReferentialRelation:SensitiveDataModelReferentialRelation test_sensitive_data_model_referential_relation "sensitiveDataModels/{sensitiveDataModelId}/referentialRelations/{referentialRelationKey}"
291
+ ```
292
+
293
+ :param str resource_name: The name of the resource.
294
+ :param pulumi.ResourceOptions opts: Options for the resource.
295
+ :param pulumi.Input[Union['SensitiveDataModelReferentialRelationChildArgs', 'SensitiveDataModelReferentialRelationChildArgsDict']] child: columnsInfo object has details of column group with schema details.
296
+ :param pulumi.Input[bool] is_sensitive: Add to sensitive data model if passed true. If false is passed, then the columns will not be added in the sensitive data model as sensitive columns and if sensitive type OCIDs are assigned to the columns, then the sensitive type OCIDs will not be retained.
297
+ :param pulumi.Input[Union['SensitiveDataModelReferentialRelationParentArgs', 'SensitiveDataModelReferentialRelationParentArgsDict']] parent: columnsInfo object has details of column group with schema details.
298
+ :param pulumi.Input[str] relation_type: The type of referential relationship the sensitive column has with its parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
299
+ :param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
300
+
301
+
302
+ ** IMPORTANT **
303
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
304
+ """
305
+ ...
306
+ @overload
307
+ def __init__(__self__,
308
+ resource_name: str,
309
+ args: SensitiveDataModelReferentialRelationArgs,
310
+ opts: Optional[pulumi.ResourceOptions] = None):
311
+ """
312
+ This resource provides the Sensitive Data Model Referential Relation resource in Oracle Cloud Infrastructure Data Safe service.
313
+
314
+ Creates a new referential relation in the specified sensitive data model.
315
+
316
+ ## Example Usage
317
+
318
+ ```python
319
+ import pulumi
320
+ import pulumi_oci as oci
321
+
322
+ test_sensitive_data_model_referential_relation = oci.data_safe.SensitiveDataModelReferentialRelation("test_sensitive_data_model_referential_relation",
323
+ child={
324
+ "app_name": sensitive_data_model_referential_relation_child_app_name,
325
+ "column_groups": sensitive_data_model_referential_relation_child_column_group,
326
+ "object": sensitive_data_model_referential_relation_child_object,
327
+ "object_type": sensitive_data_model_referential_relation_child_object_type,
328
+ "schema_name": sensitive_data_model_referential_relation_child_schema_name,
329
+ "sensitive_type_ids": sensitive_data_model_referential_relation_child_sensitive_type_ids,
330
+ },
331
+ parent={
332
+ "app_name": sensitive_data_model_referential_relation_parent_app_name,
333
+ "column_groups": sensitive_data_model_referential_relation_parent_column_group,
334
+ "object": sensitive_data_model_referential_relation_parent_object,
335
+ "object_type": sensitive_data_model_referential_relation_parent_object_type,
336
+ "schema_name": sensitive_data_model_referential_relation_parent_schema_name,
337
+ "sensitive_type_ids": sensitive_data_model_referential_relation_parent_sensitive_type_ids,
338
+ },
339
+ relation_type=sensitive_data_model_referential_relation_relation_type,
340
+ sensitive_data_model_id=test_sensitive_data_model["id"],
341
+ is_sensitive=sensitive_data_model_referential_relation_is_sensitive)
342
+ ```
343
+
344
+ ## Import
345
+
346
+ SensitiveDataModelReferentialRelations can be imported using the `id`, e.g.
347
+
348
+ ```sh
349
+ $ pulumi import oci:DataSafe/sensitiveDataModelReferentialRelation:SensitiveDataModelReferentialRelation test_sensitive_data_model_referential_relation "sensitiveDataModels/{sensitiveDataModelId}/referentialRelations/{referentialRelationKey}"
350
+ ```
351
+
352
+ :param str resource_name: The name of the resource.
353
+ :param SensitiveDataModelReferentialRelationArgs args: The arguments to use to populate this resource's properties.
354
+ :param pulumi.ResourceOptions opts: Options for the resource.
355
+ """
356
+ ...
357
+ def __init__(__self__, resource_name: str, *args, **kwargs):
358
+ resource_args, opts = _utilities.get_resource_args_opts(SensitiveDataModelReferentialRelationArgs, pulumi.ResourceOptions, *args, **kwargs)
359
+ if resource_args is not None:
360
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
361
+ else:
362
+ __self__._internal_init(resource_name, *args, **kwargs)
363
+
364
+ def _internal_init(__self__,
365
+ resource_name: str,
366
+ opts: Optional[pulumi.ResourceOptions] = None,
367
+ child: Optional[pulumi.Input[Union['SensitiveDataModelReferentialRelationChildArgs', 'SensitiveDataModelReferentialRelationChildArgsDict']]] = None,
368
+ is_sensitive: Optional[pulumi.Input[bool]] = None,
369
+ parent: Optional[pulumi.Input[Union['SensitiveDataModelReferentialRelationParentArgs', 'SensitiveDataModelReferentialRelationParentArgsDict']]] = None,
370
+ relation_type: Optional[pulumi.Input[str]] = None,
371
+ sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
372
+ __props__=None):
373
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
374
+ if not isinstance(opts, pulumi.ResourceOptions):
375
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
376
+ if opts.id is None:
377
+ if __props__ is not None:
378
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
379
+ __props__ = SensitiveDataModelReferentialRelationArgs.__new__(SensitiveDataModelReferentialRelationArgs)
380
+
381
+ if child is None and not opts.urn:
382
+ raise TypeError("Missing required property 'child'")
383
+ __props__.__dict__["child"] = child
384
+ __props__.__dict__["is_sensitive"] = is_sensitive
385
+ if parent is None and not opts.urn:
386
+ raise TypeError("Missing required property 'parent'")
387
+ __props__.__dict__["parent"] = parent
388
+ if relation_type is None and not opts.urn:
389
+ raise TypeError("Missing required property 'relation_type'")
390
+ __props__.__dict__["relation_type"] = relation_type
391
+ if sensitive_data_model_id is None and not opts.urn:
392
+ raise TypeError("Missing required property 'sensitive_data_model_id'")
393
+ __props__.__dict__["sensitive_data_model_id"] = sensitive_data_model_id
394
+ __props__.__dict__["key"] = None
395
+ __props__.__dict__["state"] = None
396
+ super(SensitiveDataModelReferentialRelation, __self__).__init__(
397
+ 'oci:DataSafe/sensitiveDataModelReferentialRelation:SensitiveDataModelReferentialRelation',
398
+ resource_name,
399
+ __props__,
400
+ opts)
401
+
402
+ @staticmethod
403
+ def get(resource_name: str,
404
+ id: pulumi.Input[str],
405
+ opts: Optional[pulumi.ResourceOptions] = None,
406
+ child: Optional[pulumi.Input[Union['SensitiveDataModelReferentialRelationChildArgs', 'SensitiveDataModelReferentialRelationChildArgsDict']]] = None,
407
+ is_sensitive: Optional[pulumi.Input[bool]] = None,
408
+ key: Optional[pulumi.Input[str]] = None,
409
+ parent: Optional[pulumi.Input[Union['SensitiveDataModelReferentialRelationParentArgs', 'SensitiveDataModelReferentialRelationParentArgsDict']]] = None,
410
+ relation_type: Optional[pulumi.Input[str]] = None,
411
+ sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
412
+ state: Optional[pulumi.Input[str]] = None) -> 'SensitiveDataModelReferentialRelation':
413
+ """
414
+ Get an existing SensitiveDataModelReferentialRelation resource's state with the given name, id, and optional extra
415
+ properties used to qualify the lookup.
416
+
417
+ :param str resource_name: The unique name of the resulting resource.
418
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
419
+ :param pulumi.ResourceOptions opts: Options for the resource.
420
+ :param pulumi.Input[Union['SensitiveDataModelReferentialRelationChildArgs', 'SensitiveDataModelReferentialRelationChildArgsDict']] child: columnsInfo object has details of column group with schema details.
421
+ :param pulumi.Input[bool] is_sensitive: Add to sensitive data model if passed true. If false is passed, then the columns will not be added in the sensitive data model as sensitive columns and if sensitive type OCIDs are assigned to the columns, then the sensitive type OCIDs will not be retained.
422
+ :param pulumi.Input[str] key: The unique key that identifies the referential relation. It's numeric and unique within a sensitive data model.
423
+ :param pulumi.Input[Union['SensitiveDataModelReferentialRelationParentArgs', 'SensitiveDataModelReferentialRelationParentArgsDict']] parent: columnsInfo object has details of column group with schema details.
424
+ :param pulumi.Input[str] relation_type: The type of referential relationship the sensitive column has with its parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
425
+ :param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
426
+
427
+
428
+ ** IMPORTANT **
429
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
430
+ :param pulumi.Input[str] state: The current state of the referential relation.
431
+ """
432
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
433
+
434
+ __props__ = _SensitiveDataModelReferentialRelationState.__new__(_SensitiveDataModelReferentialRelationState)
435
+
436
+ __props__.__dict__["child"] = child
437
+ __props__.__dict__["is_sensitive"] = is_sensitive
438
+ __props__.__dict__["key"] = key
439
+ __props__.__dict__["parent"] = parent
440
+ __props__.__dict__["relation_type"] = relation_type
441
+ __props__.__dict__["sensitive_data_model_id"] = sensitive_data_model_id
442
+ __props__.__dict__["state"] = state
443
+ return SensitiveDataModelReferentialRelation(resource_name, opts=opts, __props__=__props__)
444
+
445
+ @property
446
+ @pulumi.getter
447
+ def child(self) -> pulumi.Output['outputs.SensitiveDataModelReferentialRelationChild']:
448
+ """
449
+ columnsInfo object has details of column group with schema details.
450
+ """
451
+ return pulumi.get(self, "child")
452
+
453
+ @property
454
+ @pulumi.getter(name="isSensitive")
455
+ def is_sensitive(self) -> pulumi.Output[bool]:
456
+ """
457
+ Add to sensitive data model if passed true. If false is passed, then the columns will not be added in the sensitive data model as sensitive columns and if sensitive type OCIDs are assigned to the columns, then the sensitive type OCIDs will not be retained.
458
+ """
459
+ return pulumi.get(self, "is_sensitive")
460
+
461
+ @property
462
+ @pulumi.getter
463
+ def key(self) -> pulumi.Output[str]:
464
+ """
465
+ The unique key that identifies the referential relation. It's numeric and unique within a sensitive data model.
466
+ """
467
+ return pulumi.get(self, "key")
468
+
469
+ @property
470
+ @pulumi.getter
471
+ def parent(self) -> pulumi.Output['outputs.SensitiveDataModelReferentialRelationParent']:
472
+ """
473
+ columnsInfo object has details of column group with schema details.
474
+ """
475
+ return pulumi.get(self, "parent")
476
+
477
+ @property
478
+ @pulumi.getter(name="relationType")
479
+ def relation_type(self) -> pulumi.Output[str]:
480
+ """
481
+ The type of referential relationship the sensitive column has with its parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
482
+ """
483
+ return pulumi.get(self, "relation_type")
484
+
485
+ @property
486
+ @pulumi.getter(name="sensitiveDataModelId")
487
+ def sensitive_data_model_id(self) -> pulumi.Output[str]:
488
+ """
489
+ The OCID of the sensitive data model.
490
+
491
+
492
+ ** IMPORTANT **
493
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
494
+ """
495
+ return pulumi.get(self, "sensitive_data_model_id")
496
+
497
+ @property
498
+ @pulumi.getter
499
+ def state(self) -> pulumi.Output[str]:
500
+ """
501
+ The current state of the referential relation.
502
+ """
503
+ return pulumi.get(self, "state")
504
+
@@ -39,7 +39,7 @@ class SensitiveTypeArgs:
39
39
  :param pulumi.Input[str] comment_pattern: (Updatable) A regular expression to be used by data discovery for matching column comments.
40
40
  :param pulumi.Input[str] data_pattern: (Updatable) A regular expression to be used by data discovery for matching column data values.
41
41
  :param pulumi.Input[str] default_masking_format_id: (Updatable) The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
42
- :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
42
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
43
43
  :param pulumi.Input[str] description: (Updatable) The description of the sensitive type.
44
44
  :param pulumi.Input[str] display_name: (Updatable) The display name of the sensitive type. The name does not have to be unique, and it's changeable.
45
45
  :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
@@ -141,7 +141,7 @@ class SensitiveTypeArgs:
141
141
  @pulumi.getter(name="definedTags")
142
142
  def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
143
143
  """
144
- (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"}`
144
+ (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"}`
145
145
  """
146
146
  return pulumi.get(self, "defined_tags")
147
147
 
@@ -266,7 +266,7 @@ class _SensitiveTypeState:
266
266
  :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where the sensitive type should be created.
267
267
  :param pulumi.Input[str] data_pattern: (Updatable) A regular expression to be used by data discovery for matching column data values.
268
268
  :param pulumi.Input[str] default_masking_format_id: (Updatable) The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
269
- :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
269
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
270
270
  :param pulumi.Input[str] description: (Updatable) The description of the sensitive type.
271
271
  :param pulumi.Input[str] display_name: (Updatable) The display name of the sensitive type. The name does not have to be unique, and it's changeable.
272
272
  :param pulumi.Input[str] entity_type: (Updatable) The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
@@ -377,7 +377,7 @@ class _SensitiveTypeState:
377
377
  @pulumi.getter(name="definedTags")
378
378
  def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
379
379
  """
380
- (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"}`
380
+ (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"}`
381
381
  """
382
382
  return pulumi.get(self, "defined_tags")
383
383
 
@@ -624,7 +624,7 @@ class SensitiveType(pulumi.CustomResource):
624
624
  :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where the sensitive type should be created.
625
625
  :param pulumi.Input[str] data_pattern: (Updatable) A regular expression to be used by data discovery for matching column data values.
626
626
  :param pulumi.Input[str] default_masking_format_id: (Updatable) The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
627
- :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
627
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
628
628
  :param pulumi.Input[str] description: (Updatable) The description of the sensitive type.
629
629
  :param pulumi.Input[str] display_name: (Updatable) The display name of the sensitive type. The name does not have to be unique, and it's changeable.
630
630
  :param pulumi.Input[str] entity_type: (Updatable) The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
@@ -785,7 +785,7 @@ class SensitiveType(pulumi.CustomResource):
785
785
  :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where the sensitive type should be created.
786
786
  :param pulumi.Input[str] data_pattern: (Updatable) A regular expression to be used by data discovery for matching column data values.
787
787
  :param pulumi.Input[str] default_masking_format_id: (Updatable) The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
788
- :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
788
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
789
789
  :param pulumi.Input[str] description: (Updatable) The description of the sensitive type.
790
790
  :param pulumi.Input[str] display_name: (Updatable) The display name of the sensitive type. The name does not have to be unique, and it's changeable.
791
791
  :param pulumi.Input[str] entity_type: (Updatable) The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
@@ -866,7 +866,7 @@ class SensitiveType(pulumi.CustomResource):
866
866
  @pulumi.getter(name="definedTags")
867
867
  def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
868
868
  """
869
- (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"}`
869
+ (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"}`
870
870
  """
871
871
  return pulumi.get(self, "defined_tags")
872
872