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.
- pulumi_oci/__init__.py +80 -0
- pulumi_oci/config/__init__.pyi +12 -17
- pulumi_oci/config/vars.py +12 -17
- pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
- pulumi_oci/core/outputs.py +11 -0
- pulumi_oci/database/_inputs.py +257 -12
- pulumi_oci/database/data_guard_association.py +98 -0
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/db_node.py +56 -0
- pulumi_oci/database/db_system.py +108 -14
- pulumi_oci/database/exadb_vm_cluster.py +49 -0
- pulumi_oci/database/exascale_db_storage_vault.py +28 -0
- pulumi_oci/database/get_data_guard_association.py +23 -1
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_db_node.py +29 -1
- pulumi_oci/database/get_db_system_shapes.py +25 -6
- pulumi_oci/database/get_db_system_storage_performances.py +20 -3
- pulumi_oci/database/get_db_versions.py +20 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vault.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
- pulumi_oci/database/get_gi_versions.py +25 -6
- pulumi_oci/database/outputs.py +575 -8
- pulumi_oci/datasafe/__init__.py +24 -0
- pulumi_oci/datasafe/_inputs.py +3669 -1537
- pulumi_oci/datasafe/attribute_set.py +693 -0
- pulumi_oci/datasafe/audit_profile.py +356 -95
- pulumi_oci/datasafe/audit_profile_management.py +389 -129
- pulumi_oci/datasafe/audit_trail.py +47 -0
- pulumi_oci/datasafe/audit_trail_management.py +49 -0
- pulumi_oci/datasafe/get_alerts.py +2 -2
- pulumi_oci/datasafe/get_attribute_set.py +295 -0
- pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
- pulumi_oci/datasafe/get_attribute_sets.py +340 -0
- pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policies.py +20 -1
- pulumi_oci/datasafe/get_audit_profile.py +78 -8
- pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
- pulumi_oci/datasafe/get_audit_profiles.py +50 -9
- pulumi_oci/datasafe/get_audit_trail.py +15 -1
- pulumi_oci/datasafe/get_audit_trails.py +20 -1
- pulumi_oci/datasafe/get_database_security_configs.py +20 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
- pulumi_oci/datasafe/get_masking_analytics.py +42 -1
- pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
- pulumi_oci/datasafe/get_report.py +43 -1
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_security_assessment.py +116 -2
- pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
- pulumi_oci/datasafe/get_security_assessment_findings.py +73 -6
- pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
- pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
- pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
- pulumi_oci/datasafe/get_security_assessments.py +68 -2
- pulumi_oci/datasafe/get_security_policies.py +23 -1
- pulumi_oci/datasafe/get_security_policy.py +15 -1
- pulumi_oci/datasafe/get_security_policy_config.py +296 -0
- pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
- pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collections.py +20 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
- pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
- pulumi_oci/datasafe/get_target_database_group.py +296 -0
- pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
- pulumi_oci/datasafe/get_target_database_groups.py +313 -0
- pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
- pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
- pulumi_oci/datasafe/get_user_assessment.py +29 -1
- pulumi_oci/datasafe/get_user_assessments.py +45 -1
- pulumi_oci/datasafe/outputs.py +6964 -192
- pulumi_oci/datasafe/report.py +84 -0
- pulumi_oci/datasafe/report_definition.py +4 -0
- pulumi_oci/datasafe/security_assessment.py +425 -82
- pulumi_oci/datasafe/security_assessment_check.py +456 -0
- pulumi_oci/datasafe/security_assessment_finding.py +818 -0
- pulumi_oci/datasafe/security_policy.py +94 -77
- pulumi_oci/datasafe/security_policy_config.py +698 -0
- pulumi_oci/datasafe/security_policy_deployment.py +272 -67
- pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
- pulumi_oci/datasafe/security_policy_management.py +87 -30
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
- pulumi_oci/datasafe/target_database.py +4 -0
- pulumi_oci/datasafe/target_database_group.py +679 -0
- pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
- pulumi_oci/datasafe/unified_audit_policy.py +836 -0
- pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
- pulumi_oci/datasafe/user_assessment.py +105 -28
- pulumi_oci/disasterrecovery/_inputs.py +231 -3
- pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +446 -12
- pulumi_oci/generativeai/_inputs.py +572 -63
- pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
- pulumi_oci/generativeai/agent_data_source.py +7 -81
- pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
- pulumi_oci/generativeai/agent_tool.py +172 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
- pulumi_oci/generativeai/get_agent_data_source.py +1 -5
- pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
- pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
- pulumi_oci/generativeai/outputs.py +1128 -106
- pulumi_oci/goldengate/deployment.py +94 -0
- pulumi_oci/goldengate/get_deployment.py +29 -1
- pulumi_oci/goldengate/get_deployments.py +23 -1
- pulumi_oci/goldengate/outputs.py +35 -2
- pulumi_oci/oci/__init__.py +9 -0
- pulumi_oci/oci/_inputs.py +420 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_config.py +549 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
- pulumi_oci/oci/outputs.py +1009 -0
- pulumi_oci/provider.py +44 -63
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/METADATA +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/RECORD +136 -103
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/top_level.txt +0 -0
@@ -19,28 +19,24 @@ __all__ = ['SecurityPolicyArgs', 'SecurityPolicy']
|
|
19
19
|
@pulumi.input_type
|
20
20
|
class SecurityPolicyArgs:
|
21
21
|
def __init__(__self__, *,
|
22
|
-
|
23
|
-
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
22
|
+
compartment_id: pulumi.Input[_builtins.str],
|
24
23
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
25
24
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
26
25
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
27
26
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
28
27
|
"""
|
29
28
|
The set of arguments for constructing a SecurityPolicy resource.
|
30
|
-
:param pulumi.Input[_builtins.str]
|
29
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
|
30
|
+
: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"}`
|
31
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
|
32
|
+
: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.
|
33
|
+
: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"}`
|
31
34
|
|
32
35
|
|
33
36
|
** IMPORTANT **
|
34
37
|
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] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
|
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"}`
|
37
|
-
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
|
38
|
-
: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.
|
39
|
-
: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"}`
|
40
38
|
"""
|
41
|
-
pulumi.set(__self__, "
|
42
|
-
if compartment_id is not None:
|
43
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
39
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
44
40
|
if defined_tags is not None:
|
45
41
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
46
42
|
if description is not None:
|
@@ -50,32 +46,16 @@ class SecurityPolicyArgs:
|
|
50
46
|
if freeform_tags is not None:
|
51
47
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
52
48
|
|
53
|
-
@_builtins.property
|
54
|
-
@pulumi.getter(name="securityPolicyId")
|
55
|
-
def security_policy_id(self) -> pulumi.Input[_builtins.str]:
|
56
|
-
"""
|
57
|
-
The OCID of the security policy resource.
|
58
|
-
|
59
|
-
|
60
|
-
** IMPORTANT **
|
61
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
62
|
-
"""
|
63
|
-
return pulumi.get(self, "security_policy_id")
|
64
|
-
|
65
|
-
@security_policy_id.setter
|
66
|
-
def security_policy_id(self, value: pulumi.Input[_builtins.str]):
|
67
|
-
pulumi.set(self, "security_policy_id", value)
|
68
|
-
|
69
49
|
@_builtins.property
|
70
50
|
@pulumi.getter(name="compartmentId")
|
71
|
-
def compartment_id(self) ->
|
51
|
+
def compartment_id(self) -> pulumi.Input[_builtins.str]:
|
72
52
|
"""
|
73
|
-
(Updatable) The OCID of the compartment
|
53
|
+
(Updatable) The OCID of the compartment in which to create the security policy.
|
74
54
|
"""
|
75
55
|
return pulumi.get(self, "compartment_id")
|
76
56
|
|
77
57
|
@compartment_id.setter
|
78
|
-
def compartment_id(self, value:
|
58
|
+
def compartment_id(self, value: pulumi.Input[_builtins.str]):
|
79
59
|
pulumi.set(self, "compartment_id", value)
|
80
60
|
|
81
61
|
@_builtins.property
|
@@ -118,7 +98,11 @@ class SecurityPolicyArgs:
|
|
118
98
|
@pulumi.getter(name="freeformTags")
|
119
99
|
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
120
100
|
"""
|
121
|
-
(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"}`
|
101
|
+
(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"}`
|
102
|
+
|
103
|
+
|
104
|
+
** IMPORTANT **
|
105
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
122
106
|
"""
|
123
107
|
return pulumi.get(self, "freeform_tags")
|
124
108
|
|
@@ -136,24 +120,24 @@ class _SecurityPolicyState:
|
|
136
120
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
137
121
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
138
122
|
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
139
|
-
|
123
|
+
security_policy_type: Optional[pulumi.Input[_builtins.str]] = None,
|
140
124
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
141
125
|
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
142
126
|
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
143
127
|
time_updated: Optional[pulumi.Input[_builtins.str]] = None):
|
144
128
|
"""
|
145
129
|
Input properties used for looking up and filtering SecurityPolicy resources.
|
146
|
-
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment
|
130
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
|
147
131
|
: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"}`
|
148
132
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
|
149
133
|
: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.
|
150
|
-
: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[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
|
152
|
-
:param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy resource.
|
134
|
+
: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"}`
|
153
135
|
|
154
136
|
|
155
137
|
** IMPORTANT **
|
156
138
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
139
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
|
140
|
+
:param pulumi.Input[_builtins.str] security_policy_type: The type of the security policy.
|
157
141
|
:param pulumi.Input[_builtins.str] state: The current state of the security policy.
|
158
142
|
: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"}`
|
159
143
|
:param pulumi.Input[_builtins.str] time_created: The time that the security policy was created, in the format defined by RFC3339.
|
@@ -171,8 +155,8 @@ class _SecurityPolicyState:
|
|
171
155
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
172
156
|
if lifecycle_details is not None:
|
173
157
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
174
|
-
if
|
175
|
-
pulumi.set(__self__, "
|
158
|
+
if security_policy_type is not None:
|
159
|
+
pulumi.set(__self__, "security_policy_type", security_policy_type)
|
176
160
|
if state is not None:
|
177
161
|
pulumi.set(__self__, "state", state)
|
178
162
|
if system_tags is not None:
|
@@ -186,7 +170,7 @@ class _SecurityPolicyState:
|
|
186
170
|
@pulumi.getter(name="compartmentId")
|
187
171
|
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
188
172
|
"""
|
189
|
-
(Updatable) The OCID of the compartment
|
173
|
+
(Updatable) The OCID of the compartment in which to create the security policy.
|
190
174
|
"""
|
191
175
|
return pulumi.get(self, "compartment_id")
|
192
176
|
|
@@ -234,7 +218,11 @@ class _SecurityPolicyState:
|
|
234
218
|
@pulumi.getter(name="freeformTags")
|
235
219
|
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
236
220
|
"""
|
237
|
-
(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"}`
|
221
|
+
(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"}`
|
222
|
+
|
223
|
+
|
224
|
+
** IMPORTANT **
|
225
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
238
226
|
"""
|
239
227
|
return pulumi.get(self, "freeform_tags")
|
240
228
|
|
@@ -255,20 +243,16 @@ class _SecurityPolicyState:
|
|
255
243
|
pulumi.set(self, "lifecycle_details", value)
|
256
244
|
|
257
245
|
@_builtins.property
|
258
|
-
@pulumi.getter(name="
|
259
|
-
def
|
246
|
+
@pulumi.getter(name="securityPolicyType")
|
247
|
+
def security_policy_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
260
248
|
"""
|
261
|
-
The
|
262
|
-
|
263
|
-
|
264
|
-
** IMPORTANT **
|
265
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
249
|
+
The type of the security policy.
|
266
250
|
"""
|
267
|
-
return pulumi.get(self, "
|
251
|
+
return pulumi.get(self, "security_policy_type")
|
268
252
|
|
269
|
-
@
|
270
|
-
def
|
271
|
-
pulumi.set(self, "
|
253
|
+
@security_policy_type.setter
|
254
|
+
def security_policy_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
255
|
+
pulumi.set(self, "security_policy_type", value)
|
272
256
|
|
273
257
|
@_builtins.property
|
274
258
|
@pulumi.getter
|
@@ -330,12 +314,29 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
330
314
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
331
315
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
332
316
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
333
|
-
security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
334
317
|
__props__=None):
|
335
318
|
"""
|
336
319
|
This resource provides the Security Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
337
320
|
|
338
|
-
|
321
|
+
Creates a Data Safe security policy.
|
322
|
+
|
323
|
+
## Example Usage
|
324
|
+
|
325
|
+
```python
|
326
|
+
import pulumi
|
327
|
+
import pulumi_oci as oci
|
328
|
+
|
329
|
+
test_security_policy = oci.datasafe.SecurityPolicy("test_security_policy",
|
330
|
+
compartment_id=compartment_id,
|
331
|
+
defined_tags={
|
332
|
+
"Operations.CostCenter": "42",
|
333
|
+
},
|
334
|
+
description=security_policy_description,
|
335
|
+
display_name=security_policy_display_name,
|
336
|
+
freeform_tags={
|
337
|
+
"Department": "Finance",
|
338
|
+
})
|
339
|
+
```
|
339
340
|
|
340
341
|
## Import
|
341
342
|
|
@@ -347,12 +348,11 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
347
348
|
|
348
349
|
:param str resource_name: The name of the resource.
|
349
350
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
350
|
-
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment
|
351
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
|
351
352
|
: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
353
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
|
353
354
|
: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] security_policy_id: The OCID of the security policy resource.
|
355
|
+
: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"}`
|
356
356
|
|
357
357
|
|
358
358
|
** IMPORTANT **
|
@@ -367,7 +367,25 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
367
367
|
"""
|
368
368
|
This resource provides the Security Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
369
369
|
|
370
|
-
|
370
|
+
Creates a Data Safe security policy.
|
371
|
+
|
372
|
+
## Example Usage
|
373
|
+
|
374
|
+
```python
|
375
|
+
import pulumi
|
376
|
+
import pulumi_oci as oci
|
377
|
+
|
378
|
+
test_security_policy = oci.datasafe.SecurityPolicy("test_security_policy",
|
379
|
+
compartment_id=compartment_id,
|
380
|
+
defined_tags={
|
381
|
+
"Operations.CostCenter": "42",
|
382
|
+
},
|
383
|
+
description=security_policy_description,
|
384
|
+
display_name=security_policy_display_name,
|
385
|
+
freeform_tags={
|
386
|
+
"Department": "Finance",
|
387
|
+
})
|
388
|
+
```
|
371
389
|
|
372
390
|
## Import
|
373
391
|
|
@@ -397,7 +415,6 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
397
415
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
398
416
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
399
417
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
400
|
-
security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
401
418
|
__props__=None):
|
402
419
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
403
420
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -407,15 +424,15 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
407
424
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
408
425
|
__props__ = SecurityPolicyArgs.__new__(SecurityPolicyArgs)
|
409
426
|
|
427
|
+
if compartment_id is None and not opts.urn:
|
428
|
+
raise TypeError("Missing required property 'compartment_id'")
|
410
429
|
__props__.__dict__["compartment_id"] = compartment_id
|
411
430
|
__props__.__dict__["defined_tags"] = defined_tags
|
412
431
|
__props__.__dict__["description"] = description
|
413
432
|
__props__.__dict__["display_name"] = display_name
|
414
433
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
415
|
-
if security_policy_id is None and not opts.urn:
|
416
|
-
raise TypeError("Missing required property 'security_policy_id'")
|
417
|
-
__props__.__dict__["security_policy_id"] = security_policy_id
|
418
434
|
__props__.__dict__["lifecycle_details"] = None
|
435
|
+
__props__.__dict__["security_policy_type"] = None
|
419
436
|
__props__.__dict__["state"] = None
|
420
437
|
__props__.__dict__["system_tags"] = None
|
421
438
|
__props__.__dict__["time_created"] = None
|
@@ -436,7 +453,7 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
436
453
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
437
454
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
438
455
|
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
439
|
-
|
456
|
+
security_policy_type: Optional[pulumi.Input[_builtins.str]] = None,
|
440
457
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
441
458
|
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
442
459
|
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -448,17 +465,17 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
448
465
|
:param str resource_name: The unique name of the resulting resource.
|
449
466
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
450
467
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
451
|
-
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment
|
468
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
|
452
469
|
: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"}`
|
453
470
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
|
454
471
|
: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.
|
455
|
-
: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"}`
|
456
|
-
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
|
457
|
-
:param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy resource.
|
472
|
+
: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"}`
|
458
473
|
|
459
474
|
|
460
475
|
** IMPORTANT **
|
461
476
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
477
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
|
478
|
+
:param pulumi.Input[_builtins.str] security_policy_type: The type of the security policy.
|
462
479
|
:param pulumi.Input[_builtins.str] state: The current state of the security policy.
|
463
480
|
: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"}`
|
464
481
|
:param pulumi.Input[_builtins.str] time_created: The time that the security policy was created, in the format defined by RFC3339.
|
@@ -474,7 +491,7 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
474
491
|
__props__.__dict__["display_name"] = display_name
|
475
492
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
476
493
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
477
|
-
__props__.__dict__["
|
494
|
+
__props__.__dict__["security_policy_type"] = security_policy_type
|
478
495
|
__props__.__dict__["state"] = state
|
479
496
|
__props__.__dict__["system_tags"] = system_tags
|
480
497
|
__props__.__dict__["time_created"] = time_created
|
@@ -485,7 +502,7 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
485
502
|
@pulumi.getter(name="compartmentId")
|
486
503
|
def compartment_id(self) -> pulumi.Output[_builtins.str]:
|
487
504
|
"""
|
488
|
-
(Updatable) The OCID of the compartment
|
505
|
+
(Updatable) The OCID of the compartment in which to create the security policy.
|
489
506
|
"""
|
490
507
|
return pulumi.get(self, "compartment_id")
|
491
508
|
|
@@ -517,7 +534,11 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
517
534
|
@pulumi.getter(name="freeformTags")
|
518
535
|
def freeform_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
519
536
|
"""
|
520
|
-
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
537
|
+
(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"}`
|
538
|
+
|
539
|
+
|
540
|
+
** IMPORTANT **
|
541
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
521
542
|
"""
|
522
543
|
return pulumi.get(self, "freeform_tags")
|
523
544
|
|
@@ -530,16 +551,12 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
530
551
|
return pulumi.get(self, "lifecycle_details")
|
531
552
|
|
532
553
|
@_builtins.property
|
533
|
-
@pulumi.getter(name="
|
534
|
-
def
|
554
|
+
@pulumi.getter(name="securityPolicyType")
|
555
|
+
def security_policy_type(self) -> pulumi.Output[_builtins.str]:
|
535
556
|
"""
|
536
|
-
The
|
537
|
-
|
538
|
-
|
539
|
-
** IMPORTANT **
|
540
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
557
|
+
The type of the security policy.
|
541
558
|
"""
|
542
|
-
return pulumi.get(self, "
|
559
|
+
return pulumi.get(self, "security_policy_type")
|
543
560
|
|
544
561
|
@_builtins.property
|
545
562
|
@pulumi.getter
|