pulumi-oci 3.4.0a1755922408__py3-none-any.whl → 3.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +80 -0
- 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/pulumi-plugin.json +1 -1
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/RECORD +133 -100
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,836 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['UnifiedAuditPolicyArgs', 'UnifiedAuditPolicy']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class UnifiedAuditPolicyArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
compartment_id: pulumi.Input[_builtins.str],
|
25
|
+
conditions: pulumi.Input[Sequence[pulumi.Input['UnifiedAuditPolicyConditionArgs']]],
|
26
|
+
security_policy_id: pulumi.Input[_builtins.str],
|
27
|
+
status: pulumi.Input[_builtins.str],
|
28
|
+
unified_audit_policy_definition_id: pulumi.Input[_builtins.str],
|
29
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
30
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
31
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
32
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
33
|
+
"""
|
34
|
+
The set of arguments for constructing a UnifiedAuditPolicy resource.
|
35
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the unified audit policy.
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input['UnifiedAuditPolicyConditionArgs']]] conditions: (Updatable) Lists the audit policy provisioning conditions.
|
37
|
+
:param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy corresponding to the unified audit policy.
|
38
|
+
:param pulumi.Input[_builtins.str] status: (Updatable) Indicates whether the unified audit policy has been enabled or disabled.
|
39
|
+
:param pulumi.Input[_builtins.str] unified_audit_policy_definition_id: The OCID of the associated unified audit policy definition.
|
40
|
+
|
41
|
+
|
42
|
+
** IMPORTANT **
|
43
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
44
|
+
: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"}`
|
45
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the unified audit policy in Data Safe.
|
46
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.
|
47
|
+
: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"}`
|
48
|
+
"""
|
49
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
50
|
+
pulumi.set(__self__, "conditions", conditions)
|
51
|
+
pulumi.set(__self__, "security_policy_id", security_policy_id)
|
52
|
+
pulumi.set(__self__, "status", status)
|
53
|
+
pulumi.set(__self__, "unified_audit_policy_definition_id", unified_audit_policy_definition_id)
|
54
|
+
if defined_tags is not None:
|
55
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
56
|
+
if description is not None:
|
57
|
+
pulumi.set(__self__, "description", description)
|
58
|
+
if display_name is not None:
|
59
|
+
pulumi.set(__self__, "display_name", display_name)
|
60
|
+
if freeform_tags is not None:
|
61
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
62
|
+
|
63
|
+
@_builtins.property
|
64
|
+
@pulumi.getter(name="compartmentId")
|
65
|
+
def compartment_id(self) -> pulumi.Input[_builtins.str]:
|
66
|
+
"""
|
67
|
+
(Updatable) The OCID of the compartment in which to create the unified audit policy.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "compartment_id")
|
70
|
+
|
71
|
+
@compartment_id.setter
|
72
|
+
def compartment_id(self, value: pulumi.Input[_builtins.str]):
|
73
|
+
pulumi.set(self, "compartment_id", value)
|
74
|
+
|
75
|
+
@_builtins.property
|
76
|
+
@pulumi.getter
|
77
|
+
def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['UnifiedAuditPolicyConditionArgs']]]:
|
78
|
+
"""
|
79
|
+
(Updatable) Lists the audit policy provisioning conditions.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "conditions")
|
82
|
+
|
83
|
+
@conditions.setter
|
84
|
+
def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['UnifiedAuditPolicyConditionArgs']]]):
|
85
|
+
pulumi.set(self, "conditions", value)
|
86
|
+
|
87
|
+
@_builtins.property
|
88
|
+
@pulumi.getter(name="securityPolicyId")
|
89
|
+
def security_policy_id(self) -> pulumi.Input[_builtins.str]:
|
90
|
+
"""
|
91
|
+
The OCID of the security policy corresponding to the unified audit policy.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "security_policy_id")
|
94
|
+
|
95
|
+
@security_policy_id.setter
|
96
|
+
def security_policy_id(self, value: pulumi.Input[_builtins.str]):
|
97
|
+
pulumi.set(self, "security_policy_id", value)
|
98
|
+
|
99
|
+
@_builtins.property
|
100
|
+
@pulumi.getter
|
101
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
102
|
+
"""
|
103
|
+
(Updatable) Indicates whether the unified audit policy has been enabled or disabled.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "status")
|
106
|
+
|
107
|
+
@status.setter
|
108
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
109
|
+
pulumi.set(self, "status", value)
|
110
|
+
|
111
|
+
@_builtins.property
|
112
|
+
@pulumi.getter(name="unifiedAuditPolicyDefinitionId")
|
113
|
+
def unified_audit_policy_definition_id(self) -> pulumi.Input[_builtins.str]:
|
114
|
+
"""
|
115
|
+
The OCID of the associated unified audit policy definition.
|
116
|
+
|
117
|
+
|
118
|
+
** IMPORTANT **
|
119
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "unified_audit_policy_definition_id")
|
122
|
+
|
123
|
+
@unified_audit_policy_definition_id.setter
|
124
|
+
def unified_audit_policy_definition_id(self, value: pulumi.Input[_builtins.str]):
|
125
|
+
pulumi.set(self, "unified_audit_policy_definition_id", value)
|
126
|
+
|
127
|
+
@_builtins.property
|
128
|
+
@pulumi.getter(name="definedTags")
|
129
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
130
|
+
"""
|
131
|
+
(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"}`
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "defined_tags")
|
134
|
+
|
135
|
+
@defined_tags.setter
|
136
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
137
|
+
pulumi.set(self, "defined_tags", value)
|
138
|
+
|
139
|
+
@_builtins.property
|
140
|
+
@pulumi.getter
|
141
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
142
|
+
"""
|
143
|
+
(Updatable) The description of the unified audit policy in Data Safe.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "description")
|
146
|
+
|
147
|
+
@description.setter
|
148
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
149
|
+
pulumi.set(self, "description", value)
|
150
|
+
|
151
|
+
@_builtins.property
|
152
|
+
@pulumi.getter(name="displayName")
|
153
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
154
|
+
"""
|
155
|
+
(Updatable) The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "display_name")
|
158
|
+
|
159
|
+
@display_name.setter
|
160
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
161
|
+
pulumi.set(self, "display_name", value)
|
162
|
+
|
163
|
+
@_builtins.property
|
164
|
+
@pulumi.getter(name="freeformTags")
|
165
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
166
|
+
"""
|
167
|
+
(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"}`
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "freeform_tags")
|
170
|
+
|
171
|
+
@freeform_tags.setter
|
172
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
173
|
+
pulumi.set(self, "freeform_tags", value)
|
174
|
+
|
175
|
+
|
176
|
+
@pulumi.input_type
|
177
|
+
class _UnifiedAuditPolicyState:
|
178
|
+
def __init__(__self__, *,
|
179
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
180
|
+
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['UnifiedAuditPolicyConditionArgs']]]] = None,
|
181
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
182
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
183
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
184
|
+
enabled_entities: Optional[pulumi.Input[_builtins.str]] = None,
|
185
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
186
|
+
is_seeded: Optional[pulumi.Input[_builtins.bool]] = None,
|
187
|
+
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
188
|
+
security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
189
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
190
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
191
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
192
|
+
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
193
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
194
|
+
unified_audit_policy_definition_id: Optional[pulumi.Input[_builtins.str]] = None):
|
195
|
+
"""
|
196
|
+
Input properties used for looking up and filtering UnifiedAuditPolicy resources.
|
197
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the unified audit policy.
|
198
|
+
:param pulumi.Input[Sequence[pulumi.Input['UnifiedAuditPolicyConditionArgs']]] conditions: (Updatable) Lists the audit policy provisioning conditions.
|
199
|
+
: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"}`
|
200
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the unified audit policy in Data Safe.
|
201
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.
|
202
|
+
:param pulumi.Input[_builtins.str] enabled_entities: Indicates on whom the audit policy is enabled.
|
203
|
+
: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"}`
|
204
|
+
:param pulumi.Input[_builtins.bool] is_seeded: Indicates whether the unified audit policy is seeded or not.
|
205
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: The details of the current state of the unified audit policy in Data Safe.
|
206
|
+
:param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy corresponding to the unified audit policy.
|
207
|
+
:param pulumi.Input[_builtins.str] state: The current state of the unified audit policy.
|
208
|
+
:param pulumi.Input[_builtins.str] status: (Updatable) Indicates whether the unified audit policy has been enabled or disabled.
|
209
|
+
: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"}`
|
210
|
+
:param pulumi.Input[_builtins.str] time_created: The time the the unified audit policy was created, in the format defined by RFC3339.
|
211
|
+
:param pulumi.Input[_builtins.str] time_updated: The last date and time the unified audit policy was updated, in the format defined by RFC3339.
|
212
|
+
:param pulumi.Input[_builtins.str] unified_audit_policy_definition_id: The OCID of the associated unified audit policy definition.
|
213
|
+
|
214
|
+
|
215
|
+
** IMPORTANT **
|
216
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
217
|
+
"""
|
218
|
+
if compartment_id is not None:
|
219
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
220
|
+
if conditions is not None:
|
221
|
+
pulumi.set(__self__, "conditions", conditions)
|
222
|
+
if defined_tags is not None:
|
223
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
224
|
+
if description is not None:
|
225
|
+
pulumi.set(__self__, "description", description)
|
226
|
+
if display_name is not None:
|
227
|
+
pulumi.set(__self__, "display_name", display_name)
|
228
|
+
if enabled_entities is not None:
|
229
|
+
pulumi.set(__self__, "enabled_entities", enabled_entities)
|
230
|
+
if freeform_tags is not None:
|
231
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
232
|
+
if is_seeded is not None:
|
233
|
+
pulumi.set(__self__, "is_seeded", is_seeded)
|
234
|
+
if lifecycle_details is not None:
|
235
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
236
|
+
if security_policy_id is not None:
|
237
|
+
pulumi.set(__self__, "security_policy_id", security_policy_id)
|
238
|
+
if state is not None:
|
239
|
+
pulumi.set(__self__, "state", state)
|
240
|
+
if status is not None:
|
241
|
+
pulumi.set(__self__, "status", status)
|
242
|
+
if system_tags is not None:
|
243
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
244
|
+
if time_created is not None:
|
245
|
+
pulumi.set(__self__, "time_created", time_created)
|
246
|
+
if time_updated is not None:
|
247
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
248
|
+
if unified_audit_policy_definition_id is not None:
|
249
|
+
pulumi.set(__self__, "unified_audit_policy_definition_id", unified_audit_policy_definition_id)
|
250
|
+
|
251
|
+
@_builtins.property
|
252
|
+
@pulumi.getter(name="compartmentId")
|
253
|
+
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
254
|
+
"""
|
255
|
+
(Updatable) The OCID of the compartment in which to create the unified audit policy.
|
256
|
+
"""
|
257
|
+
return pulumi.get(self, "compartment_id")
|
258
|
+
|
259
|
+
@compartment_id.setter
|
260
|
+
def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
261
|
+
pulumi.set(self, "compartment_id", value)
|
262
|
+
|
263
|
+
@_builtins.property
|
264
|
+
@pulumi.getter
|
265
|
+
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UnifiedAuditPolicyConditionArgs']]]]:
|
266
|
+
"""
|
267
|
+
(Updatable) Lists the audit policy provisioning conditions.
|
268
|
+
"""
|
269
|
+
return pulumi.get(self, "conditions")
|
270
|
+
|
271
|
+
@conditions.setter
|
272
|
+
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UnifiedAuditPolicyConditionArgs']]]]):
|
273
|
+
pulumi.set(self, "conditions", value)
|
274
|
+
|
275
|
+
@_builtins.property
|
276
|
+
@pulumi.getter(name="definedTags")
|
277
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
278
|
+
"""
|
279
|
+
(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"}`
|
280
|
+
"""
|
281
|
+
return pulumi.get(self, "defined_tags")
|
282
|
+
|
283
|
+
@defined_tags.setter
|
284
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
285
|
+
pulumi.set(self, "defined_tags", value)
|
286
|
+
|
287
|
+
@_builtins.property
|
288
|
+
@pulumi.getter
|
289
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
290
|
+
"""
|
291
|
+
(Updatable) The description of the unified audit policy in Data Safe.
|
292
|
+
"""
|
293
|
+
return pulumi.get(self, "description")
|
294
|
+
|
295
|
+
@description.setter
|
296
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
297
|
+
pulumi.set(self, "description", value)
|
298
|
+
|
299
|
+
@_builtins.property
|
300
|
+
@pulumi.getter(name="displayName")
|
301
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
302
|
+
"""
|
303
|
+
(Updatable) The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.
|
304
|
+
"""
|
305
|
+
return pulumi.get(self, "display_name")
|
306
|
+
|
307
|
+
@display_name.setter
|
308
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
309
|
+
pulumi.set(self, "display_name", value)
|
310
|
+
|
311
|
+
@_builtins.property
|
312
|
+
@pulumi.getter(name="enabledEntities")
|
313
|
+
def enabled_entities(self) -> Optional[pulumi.Input[_builtins.str]]:
|
314
|
+
"""
|
315
|
+
Indicates on whom the audit policy is enabled.
|
316
|
+
"""
|
317
|
+
return pulumi.get(self, "enabled_entities")
|
318
|
+
|
319
|
+
@enabled_entities.setter
|
320
|
+
def enabled_entities(self, value: Optional[pulumi.Input[_builtins.str]]):
|
321
|
+
pulumi.set(self, "enabled_entities", value)
|
322
|
+
|
323
|
+
@_builtins.property
|
324
|
+
@pulumi.getter(name="freeformTags")
|
325
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
326
|
+
"""
|
327
|
+
(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"}`
|
328
|
+
"""
|
329
|
+
return pulumi.get(self, "freeform_tags")
|
330
|
+
|
331
|
+
@freeform_tags.setter
|
332
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
333
|
+
pulumi.set(self, "freeform_tags", value)
|
334
|
+
|
335
|
+
@_builtins.property
|
336
|
+
@pulumi.getter(name="isSeeded")
|
337
|
+
def is_seeded(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
338
|
+
"""
|
339
|
+
Indicates whether the unified audit policy is seeded or not.
|
340
|
+
"""
|
341
|
+
return pulumi.get(self, "is_seeded")
|
342
|
+
|
343
|
+
@is_seeded.setter
|
344
|
+
def is_seeded(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
345
|
+
pulumi.set(self, "is_seeded", value)
|
346
|
+
|
347
|
+
@_builtins.property
|
348
|
+
@pulumi.getter(name="lifecycleDetails")
|
349
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[_builtins.str]]:
|
350
|
+
"""
|
351
|
+
The details of the current state of the unified audit policy in Data Safe.
|
352
|
+
"""
|
353
|
+
return pulumi.get(self, "lifecycle_details")
|
354
|
+
|
355
|
+
@lifecycle_details.setter
|
356
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[_builtins.str]]):
|
357
|
+
pulumi.set(self, "lifecycle_details", value)
|
358
|
+
|
359
|
+
@_builtins.property
|
360
|
+
@pulumi.getter(name="securityPolicyId")
|
361
|
+
def security_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
362
|
+
"""
|
363
|
+
The OCID of the security policy corresponding to the unified audit policy.
|
364
|
+
"""
|
365
|
+
return pulumi.get(self, "security_policy_id")
|
366
|
+
|
367
|
+
@security_policy_id.setter
|
368
|
+
def security_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
369
|
+
pulumi.set(self, "security_policy_id", value)
|
370
|
+
|
371
|
+
@_builtins.property
|
372
|
+
@pulumi.getter
|
373
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
374
|
+
"""
|
375
|
+
The current state of the unified audit policy.
|
376
|
+
"""
|
377
|
+
return pulumi.get(self, "state")
|
378
|
+
|
379
|
+
@state.setter
|
380
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
381
|
+
pulumi.set(self, "state", value)
|
382
|
+
|
383
|
+
@_builtins.property
|
384
|
+
@pulumi.getter
|
385
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
386
|
+
"""
|
387
|
+
(Updatable) Indicates whether the unified audit policy has been enabled or disabled.
|
388
|
+
"""
|
389
|
+
return pulumi.get(self, "status")
|
390
|
+
|
391
|
+
@status.setter
|
392
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
393
|
+
pulumi.set(self, "status", value)
|
394
|
+
|
395
|
+
@_builtins.property
|
396
|
+
@pulumi.getter(name="systemTags")
|
397
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
398
|
+
"""
|
399
|
+
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"}`
|
400
|
+
"""
|
401
|
+
return pulumi.get(self, "system_tags")
|
402
|
+
|
403
|
+
@system_tags.setter
|
404
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
405
|
+
pulumi.set(self, "system_tags", value)
|
406
|
+
|
407
|
+
@_builtins.property
|
408
|
+
@pulumi.getter(name="timeCreated")
|
409
|
+
def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
410
|
+
"""
|
411
|
+
The time the the unified audit policy was created, in the format defined by RFC3339.
|
412
|
+
"""
|
413
|
+
return pulumi.get(self, "time_created")
|
414
|
+
|
415
|
+
@time_created.setter
|
416
|
+
def time_created(self, value: Optional[pulumi.Input[_builtins.str]]):
|
417
|
+
pulumi.set(self, "time_created", value)
|
418
|
+
|
419
|
+
@_builtins.property
|
420
|
+
@pulumi.getter(name="timeUpdated")
|
421
|
+
def time_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
422
|
+
"""
|
423
|
+
The last date and time the unified audit policy was updated, in the format defined by RFC3339.
|
424
|
+
"""
|
425
|
+
return pulumi.get(self, "time_updated")
|
426
|
+
|
427
|
+
@time_updated.setter
|
428
|
+
def time_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
429
|
+
pulumi.set(self, "time_updated", value)
|
430
|
+
|
431
|
+
@_builtins.property
|
432
|
+
@pulumi.getter(name="unifiedAuditPolicyDefinitionId")
|
433
|
+
def unified_audit_policy_definition_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
434
|
+
"""
|
435
|
+
The OCID of the associated unified audit policy definition.
|
436
|
+
|
437
|
+
|
438
|
+
** IMPORTANT **
|
439
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
440
|
+
"""
|
441
|
+
return pulumi.get(self, "unified_audit_policy_definition_id")
|
442
|
+
|
443
|
+
@unified_audit_policy_definition_id.setter
|
444
|
+
def unified_audit_policy_definition_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
445
|
+
pulumi.set(self, "unified_audit_policy_definition_id", value)
|
446
|
+
|
447
|
+
|
448
|
+
@pulumi.type_token("oci:DataSafe/unifiedAuditPolicy:UnifiedAuditPolicy")
|
449
|
+
class UnifiedAuditPolicy(pulumi.CustomResource):
|
450
|
+
@overload
|
451
|
+
def __init__(__self__,
|
452
|
+
resource_name: str,
|
453
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
454
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
455
|
+
conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UnifiedAuditPolicyConditionArgs', 'UnifiedAuditPolicyConditionArgsDict']]]]] = None,
|
456
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
457
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
458
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
459
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
460
|
+
security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
461
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
462
|
+
unified_audit_policy_definition_id: Optional[pulumi.Input[_builtins.str]] = None,
|
463
|
+
__props__=None):
|
464
|
+
"""
|
465
|
+
This resource provides the Unified Audit Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
466
|
+
|
467
|
+
Creates the specified unified audit policy.
|
468
|
+
|
469
|
+
## Example Usage
|
470
|
+
|
471
|
+
```python
|
472
|
+
import pulumi
|
473
|
+
import pulumi_oci as oci
|
474
|
+
|
475
|
+
test_unified_audit_policy = oci.datasafe.UnifiedAuditPolicy("test_unified_audit_policy",
|
476
|
+
compartment_id=compartment_id,
|
477
|
+
conditions=[{
|
478
|
+
"entity_selection": unified_audit_policy_conditions_entity_selection,
|
479
|
+
"entity_type": unified_audit_policy_conditions_entity_type,
|
480
|
+
"operation_status": unified_audit_policy_conditions_operation_status,
|
481
|
+
"attribute_set_id": test_attribute_set["id"],
|
482
|
+
"role_names": unified_audit_policy_conditions_role_names,
|
483
|
+
"user_names": unified_audit_policy_conditions_user_names,
|
484
|
+
}],
|
485
|
+
security_policy_id=test_security_policy["id"],
|
486
|
+
status=unified_audit_policy_status,
|
487
|
+
unified_audit_policy_definition_id=test_unified_audit_policy_definition["id"],
|
488
|
+
defined_tags={
|
489
|
+
"Operations.CostCenter": "42",
|
490
|
+
},
|
491
|
+
description=unified_audit_policy_description,
|
492
|
+
display_name=unified_audit_policy_display_name,
|
493
|
+
freeform_tags={
|
494
|
+
"Department": "Finance",
|
495
|
+
})
|
496
|
+
```
|
497
|
+
|
498
|
+
## Import
|
499
|
+
|
500
|
+
UnifiedAuditPolicies can be imported using the `id`, e.g.
|
501
|
+
|
502
|
+
```sh
|
503
|
+
$ pulumi import oci:DataSafe/unifiedAuditPolicy:UnifiedAuditPolicy test_unified_audit_policy "id"
|
504
|
+
```
|
505
|
+
|
506
|
+
:param str resource_name: The name of the resource.
|
507
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
508
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the unified audit policy.
|
509
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['UnifiedAuditPolicyConditionArgs', 'UnifiedAuditPolicyConditionArgsDict']]]] conditions: (Updatable) Lists the audit policy provisioning conditions.
|
510
|
+
: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"}`
|
511
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the unified audit policy in Data Safe.
|
512
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.
|
513
|
+
: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"}`
|
514
|
+
:param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy corresponding to the unified audit policy.
|
515
|
+
:param pulumi.Input[_builtins.str] status: (Updatable) Indicates whether the unified audit policy has been enabled or disabled.
|
516
|
+
:param pulumi.Input[_builtins.str] unified_audit_policy_definition_id: The OCID of the associated unified audit policy definition.
|
517
|
+
|
518
|
+
|
519
|
+
** IMPORTANT **
|
520
|
+
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
|
+
"""
|
522
|
+
...
|
523
|
+
@overload
|
524
|
+
def __init__(__self__,
|
525
|
+
resource_name: str,
|
526
|
+
args: UnifiedAuditPolicyArgs,
|
527
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
528
|
+
"""
|
529
|
+
This resource provides the Unified Audit Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
530
|
+
|
531
|
+
Creates the specified unified audit policy.
|
532
|
+
|
533
|
+
## Example Usage
|
534
|
+
|
535
|
+
```python
|
536
|
+
import pulumi
|
537
|
+
import pulumi_oci as oci
|
538
|
+
|
539
|
+
test_unified_audit_policy = oci.datasafe.UnifiedAuditPolicy("test_unified_audit_policy",
|
540
|
+
compartment_id=compartment_id,
|
541
|
+
conditions=[{
|
542
|
+
"entity_selection": unified_audit_policy_conditions_entity_selection,
|
543
|
+
"entity_type": unified_audit_policy_conditions_entity_type,
|
544
|
+
"operation_status": unified_audit_policy_conditions_operation_status,
|
545
|
+
"attribute_set_id": test_attribute_set["id"],
|
546
|
+
"role_names": unified_audit_policy_conditions_role_names,
|
547
|
+
"user_names": unified_audit_policy_conditions_user_names,
|
548
|
+
}],
|
549
|
+
security_policy_id=test_security_policy["id"],
|
550
|
+
status=unified_audit_policy_status,
|
551
|
+
unified_audit_policy_definition_id=test_unified_audit_policy_definition["id"],
|
552
|
+
defined_tags={
|
553
|
+
"Operations.CostCenter": "42",
|
554
|
+
},
|
555
|
+
description=unified_audit_policy_description,
|
556
|
+
display_name=unified_audit_policy_display_name,
|
557
|
+
freeform_tags={
|
558
|
+
"Department": "Finance",
|
559
|
+
})
|
560
|
+
```
|
561
|
+
|
562
|
+
## Import
|
563
|
+
|
564
|
+
UnifiedAuditPolicies can be imported using the `id`, e.g.
|
565
|
+
|
566
|
+
```sh
|
567
|
+
$ pulumi import oci:DataSafe/unifiedAuditPolicy:UnifiedAuditPolicy test_unified_audit_policy "id"
|
568
|
+
```
|
569
|
+
|
570
|
+
:param str resource_name: The name of the resource.
|
571
|
+
:param UnifiedAuditPolicyArgs args: The arguments to use to populate this resource's properties.
|
572
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
573
|
+
"""
|
574
|
+
...
|
575
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
576
|
+
resource_args, opts = _utilities.get_resource_args_opts(UnifiedAuditPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
577
|
+
if resource_args is not None:
|
578
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
579
|
+
else:
|
580
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
581
|
+
|
582
|
+
def _internal_init(__self__,
|
583
|
+
resource_name: str,
|
584
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
585
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
586
|
+
conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UnifiedAuditPolicyConditionArgs', 'UnifiedAuditPolicyConditionArgsDict']]]]] = None,
|
587
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
588
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
589
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
590
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
591
|
+
security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
592
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
593
|
+
unified_audit_policy_definition_id: Optional[pulumi.Input[_builtins.str]] = None,
|
594
|
+
__props__=None):
|
595
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
596
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
597
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
598
|
+
if opts.id is None:
|
599
|
+
if __props__ is not None:
|
600
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
601
|
+
__props__ = UnifiedAuditPolicyArgs.__new__(UnifiedAuditPolicyArgs)
|
602
|
+
|
603
|
+
if compartment_id is None and not opts.urn:
|
604
|
+
raise TypeError("Missing required property 'compartment_id'")
|
605
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
606
|
+
if conditions is None and not opts.urn:
|
607
|
+
raise TypeError("Missing required property 'conditions'")
|
608
|
+
__props__.__dict__["conditions"] = conditions
|
609
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
610
|
+
__props__.__dict__["description"] = description
|
611
|
+
__props__.__dict__["display_name"] = display_name
|
612
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
613
|
+
if security_policy_id is None and not opts.urn:
|
614
|
+
raise TypeError("Missing required property 'security_policy_id'")
|
615
|
+
__props__.__dict__["security_policy_id"] = security_policy_id
|
616
|
+
if status is None and not opts.urn:
|
617
|
+
raise TypeError("Missing required property 'status'")
|
618
|
+
__props__.__dict__["status"] = status
|
619
|
+
if unified_audit_policy_definition_id is None and not opts.urn:
|
620
|
+
raise TypeError("Missing required property 'unified_audit_policy_definition_id'")
|
621
|
+
__props__.__dict__["unified_audit_policy_definition_id"] = unified_audit_policy_definition_id
|
622
|
+
__props__.__dict__["enabled_entities"] = None
|
623
|
+
__props__.__dict__["is_seeded"] = None
|
624
|
+
__props__.__dict__["lifecycle_details"] = None
|
625
|
+
__props__.__dict__["state"] = None
|
626
|
+
__props__.__dict__["system_tags"] = None
|
627
|
+
__props__.__dict__["time_created"] = None
|
628
|
+
__props__.__dict__["time_updated"] = None
|
629
|
+
super(UnifiedAuditPolicy, __self__).__init__(
|
630
|
+
'oci:DataSafe/unifiedAuditPolicy:UnifiedAuditPolicy',
|
631
|
+
resource_name,
|
632
|
+
__props__,
|
633
|
+
opts)
|
634
|
+
|
635
|
+
@staticmethod
|
636
|
+
def get(resource_name: str,
|
637
|
+
id: pulumi.Input[str],
|
638
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
639
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
640
|
+
conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UnifiedAuditPolicyConditionArgs', 'UnifiedAuditPolicyConditionArgsDict']]]]] = None,
|
641
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
642
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
643
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
644
|
+
enabled_entities: Optional[pulumi.Input[_builtins.str]] = None,
|
645
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
646
|
+
is_seeded: Optional[pulumi.Input[_builtins.bool]] = None,
|
647
|
+
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
648
|
+
security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
649
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
650
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
651
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
652
|
+
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
653
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
654
|
+
unified_audit_policy_definition_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'UnifiedAuditPolicy':
|
655
|
+
"""
|
656
|
+
Get an existing UnifiedAuditPolicy resource's state with the given name, id, and optional extra
|
657
|
+
properties used to qualify the lookup.
|
658
|
+
|
659
|
+
:param str resource_name: The unique name of the resulting resource.
|
660
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
661
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
662
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the unified audit policy.
|
663
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['UnifiedAuditPolicyConditionArgs', 'UnifiedAuditPolicyConditionArgsDict']]]] conditions: (Updatable) Lists the audit policy provisioning conditions.
|
664
|
+
: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"}`
|
665
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the unified audit policy in Data Safe.
|
666
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.
|
667
|
+
:param pulumi.Input[_builtins.str] enabled_entities: Indicates on whom the audit policy is enabled.
|
668
|
+
: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"}`
|
669
|
+
:param pulumi.Input[_builtins.bool] is_seeded: Indicates whether the unified audit policy is seeded or not.
|
670
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: The details of the current state of the unified audit policy in Data Safe.
|
671
|
+
:param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy corresponding to the unified audit policy.
|
672
|
+
:param pulumi.Input[_builtins.str] state: The current state of the unified audit policy.
|
673
|
+
:param pulumi.Input[_builtins.str] status: (Updatable) Indicates whether the unified audit policy has been enabled or disabled.
|
674
|
+
: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"}`
|
675
|
+
:param pulumi.Input[_builtins.str] time_created: The time the the unified audit policy was created, in the format defined by RFC3339.
|
676
|
+
:param pulumi.Input[_builtins.str] time_updated: The last date and time the unified audit policy was updated, in the format defined by RFC3339.
|
677
|
+
:param pulumi.Input[_builtins.str] unified_audit_policy_definition_id: The OCID of the associated unified audit policy definition.
|
678
|
+
|
679
|
+
|
680
|
+
** IMPORTANT **
|
681
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
682
|
+
"""
|
683
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
684
|
+
|
685
|
+
__props__ = _UnifiedAuditPolicyState.__new__(_UnifiedAuditPolicyState)
|
686
|
+
|
687
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
688
|
+
__props__.__dict__["conditions"] = conditions
|
689
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
690
|
+
__props__.__dict__["description"] = description
|
691
|
+
__props__.__dict__["display_name"] = display_name
|
692
|
+
__props__.__dict__["enabled_entities"] = enabled_entities
|
693
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
694
|
+
__props__.__dict__["is_seeded"] = is_seeded
|
695
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
696
|
+
__props__.__dict__["security_policy_id"] = security_policy_id
|
697
|
+
__props__.__dict__["state"] = state
|
698
|
+
__props__.__dict__["status"] = status
|
699
|
+
__props__.__dict__["system_tags"] = system_tags
|
700
|
+
__props__.__dict__["time_created"] = time_created
|
701
|
+
__props__.__dict__["time_updated"] = time_updated
|
702
|
+
__props__.__dict__["unified_audit_policy_definition_id"] = unified_audit_policy_definition_id
|
703
|
+
return UnifiedAuditPolicy(resource_name, opts=opts, __props__=__props__)
|
704
|
+
|
705
|
+
@_builtins.property
|
706
|
+
@pulumi.getter(name="compartmentId")
|
707
|
+
def compartment_id(self) -> pulumi.Output[_builtins.str]:
|
708
|
+
"""
|
709
|
+
(Updatable) The OCID of the compartment in which to create the unified audit policy.
|
710
|
+
"""
|
711
|
+
return pulumi.get(self, "compartment_id")
|
712
|
+
|
713
|
+
@_builtins.property
|
714
|
+
@pulumi.getter
|
715
|
+
def conditions(self) -> pulumi.Output[Sequence['outputs.UnifiedAuditPolicyCondition']]:
|
716
|
+
"""
|
717
|
+
(Updatable) Lists the audit policy provisioning conditions.
|
718
|
+
"""
|
719
|
+
return pulumi.get(self, "conditions")
|
720
|
+
|
721
|
+
@_builtins.property
|
722
|
+
@pulumi.getter(name="definedTags")
|
723
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
724
|
+
"""
|
725
|
+
(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"}`
|
726
|
+
"""
|
727
|
+
return pulumi.get(self, "defined_tags")
|
728
|
+
|
729
|
+
@_builtins.property
|
730
|
+
@pulumi.getter
|
731
|
+
def description(self) -> pulumi.Output[_builtins.str]:
|
732
|
+
"""
|
733
|
+
(Updatable) The description of the unified audit policy in Data Safe.
|
734
|
+
"""
|
735
|
+
return pulumi.get(self, "description")
|
736
|
+
|
737
|
+
@_builtins.property
|
738
|
+
@pulumi.getter(name="displayName")
|
739
|
+
def display_name(self) -> pulumi.Output[_builtins.str]:
|
740
|
+
"""
|
741
|
+
(Updatable) The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.
|
742
|
+
"""
|
743
|
+
return pulumi.get(self, "display_name")
|
744
|
+
|
745
|
+
@_builtins.property
|
746
|
+
@pulumi.getter(name="enabledEntities")
|
747
|
+
def enabled_entities(self) -> pulumi.Output[_builtins.str]:
|
748
|
+
"""
|
749
|
+
Indicates on whom the audit policy is enabled.
|
750
|
+
"""
|
751
|
+
return pulumi.get(self, "enabled_entities")
|
752
|
+
|
753
|
+
@_builtins.property
|
754
|
+
@pulumi.getter(name="freeformTags")
|
755
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
756
|
+
"""
|
757
|
+
(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"}`
|
758
|
+
"""
|
759
|
+
return pulumi.get(self, "freeform_tags")
|
760
|
+
|
761
|
+
@_builtins.property
|
762
|
+
@pulumi.getter(name="isSeeded")
|
763
|
+
def is_seeded(self) -> pulumi.Output[_builtins.bool]:
|
764
|
+
"""
|
765
|
+
Indicates whether the unified audit policy is seeded or not.
|
766
|
+
"""
|
767
|
+
return pulumi.get(self, "is_seeded")
|
768
|
+
|
769
|
+
@_builtins.property
|
770
|
+
@pulumi.getter(name="lifecycleDetails")
|
771
|
+
def lifecycle_details(self) -> pulumi.Output[_builtins.str]:
|
772
|
+
"""
|
773
|
+
The details of the current state of the unified audit policy in Data Safe.
|
774
|
+
"""
|
775
|
+
return pulumi.get(self, "lifecycle_details")
|
776
|
+
|
777
|
+
@_builtins.property
|
778
|
+
@pulumi.getter(name="securityPolicyId")
|
779
|
+
def security_policy_id(self) -> pulumi.Output[_builtins.str]:
|
780
|
+
"""
|
781
|
+
The OCID of the security policy corresponding to the unified audit policy.
|
782
|
+
"""
|
783
|
+
return pulumi.get(self, "security_policy_id")
|
784
|
+
|
785
|
+
@_builtins.property
|
786
|
+
@pulumi.getter
|
787
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
788
|
+
"""
|
789
|
+
The current state of the unified audit policy.
|
790
|
+
"""
|
791
|
+
return pulumi.get(self, "state")
|
792
|
+
|
793
|
+
@_builtins.property
|
794
|
+
@pulumi.getter
|
795
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
796
|
+
"""
|
797
|
+
(Updatable) Indicates whether the unified audit policy has been enabled or disabled.
|
798
|
+
"""
|
799
|
+
return pulumi.get(self, "status")
|
800
|
+
|
801
|
+
@_builtins.property
|
802
|
+
@pulumi.getter(name="systemTags")
|
803
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
804
|
+
"""
|
805
|
+
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"}`
|
806
|
+
"""
|
807
|
+
return pulumi.get(self, "system_tags")
|
808
|
+
|
809
|
+
@_builtins.property
|
810
|
+
@pulumi.getter(name="timeCreated")
|
811
|
+
def time_created(self) -> pulumi.Output[_builtins.str]:
|
812
|
+
"""
|
813
|
+
The time the the unified audit policy was created, in the format defined by RFC3339.
|
814
|
+
"""
|
815
|
+
return pulumi.get(self, "time_created")
|
816
|
+
|
817
|
+
@_builtins.property
|
818
|
+
@pulumi.getter(name="timeUpdated")
|
819
|
+
def time_updated(self) -> pulumi.Output[_builtins.str]:
|
820
|
+
"""
|
821
|
+
The last date and time the unified audit policy was updated, in the format defined by RFC3339.
|
822
|
+
"""
|
823
|
+
return pulumi.get(self, "time_updated")
|
824
|
+
|
825
|
+
@_builtins.property
|
826
|
+
@pulumi.getter(name="unifiedAuditPolicyDefinitionId")
|
827
|
+
def unified_audit_policy_definition_id(self) -> pulumi.Output[_builtins.str]:
|
828
|
+
"""
|
829
|
+
The OCID of the associated unified audit policy definition.
|
830
|
+
|
831
|
+
|
832
|
+
** IMPORTANT **
|
833
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
834
|
+
"""
|
835
|
+
return pulumi.get(self, "unified_audit_policy_definition_id")
|
836
|
+
|