pulumi-oci 1.19.0a1705693078__py3-none-any.whl → 1.20.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 +59 -0
- pulumi_oci/adm/_inputs.py +99 -18
- pulumi_oci/adm/get_remediation_run_application_dependency_recommendations.py +23 -3
- pulumi_oci/adm/get_vulnerability_audit.py +31 -5
- pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerabilities.py +43 -6
- pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerability.py +27 -1
- pulumi_oci/adm/get_vulnerability_audits.py +54 -3
- pulumi_oci/adm/outputs.py +296 -31
- pulumi_oci/adm/remediation_recipe.py +2 -0
- pulumi_oci/adm/vulnerability_audit.py +96 -37
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +40 -0
- pulumi_oci/database/cloud_vm_cluster.py +22 -1
- pulumi_oci/database/get_system_versions.py +173 -0
- pulumi_oci/database/outputs.py +88 -0
- pulumi_oci/database/vm_cluster.py +22 -1
- pulumi_oci/datasafe/__init__.py +22 -0
- pulumi_oci/datasafe/_inputs.py +1826 -161
- pulumi_oci/datasafe/audit_trail.py +140 -0
- pulumi_oci/datasafe/discovery_mod.py +7 -7
- pulumi_oci/datasafe/get_audit_trail.py +66 -1
- pulumi_oci/datasafe/get_discovery_job.py +1 -1
- pulumi_oci/datasafe/get_discovery_jobs_result.py +1 -1
- pulumi_oci/datasafe/get_discovery_jobs_results.py +1 -1
- pulumi_oci/datasafe/get_masking_policies_masking_column.py +1 -1
- pulumi_oci/datasafe/get_masking_policies_masking_columns.py +1 -1
- pulumi_oci/datasafe/get_masking_policy.py +1 -1
- pulumi_oci/datasafe/get_report.py +1 -1
- pulumi_oci/datasafe/get_security_assessment.py +3 -3
- pulumi_oci/datasafe/get_security_assessment_comparison.py +5 -5
- pulumi_oci/datasafe/get_security_assessment_finding.py +29 -3
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +276 -0
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -7
- pulumi_oci/datasafe/get_security_assessment_findings_change_audit_logs.py +309 -0
- pulumi_oci/datasafe/get_security_assessment_security_feature_analytics.py +198 -0
- pulumi_oci/datasafe/get_security_assessment_security_features.py +377 -0
- pulumi_oci/datasafe/get_security_assessments.py +2 -2
- pulumi_oci/datasafe/get_security_policies.py +253 -0
- pulumi_oci/datasafe/get_security_policy.py +235 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +261 -0
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +165 -0
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +180 -0
- pulumi_oci/datasafe/get_security_policy_deployments.py +293 -0
- pulumi_oci/datasafe/get_security_policy_report.py +248 -0
- pulumi_oci/datasafe/get_security_policy_report_database_table_access_entries.py +158 -0
- pulumi_oci/datasafe/get_security_policy_report_database_table_access_entry.py +408 -0
- pulumi_oci/datasafe/get_security_policy_report_database_view_access_entries.py +178 -0
- pulumi_oci/datasafe/get_security_policy_report_database_view_access_entry.py +382 -0
- pulumi_oci/datasafe/get_security_policy_report_role_grant_paths.py +177 -0
- pulumi_oci/datasafe/get_security_policy_reports.py +273 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
- pulumi_oci/datasafe/get_target_database.py +27 -4
- pulumi_oci/datasafe/get_target_database_peer_target_database.py +263 -0
- pulumi_oci/datasafe/get_target_database_peer_target_databases.py +133 -0
- pulumi_oci/datasafe/get_target_databases.py +1 -1
- pulumi_oci/datasafe/get_user_assessment.py +5 -5
- pulumi_oci/datasafe/get_user_assessment_comparison.py +2 -2
- pulumi_oci/datasafe/get_user_assessment_user_access_analytics.py +133 -0
- pulumi_oci/datasafe/get_user_assessment_user_analytics.py +2 -2
- pulumi_oci/datasafe/get_user_assessment_users.py +42 -2
- pulumi_oci/datasafe/get_user_assessments.py +2 -2
- pulumi_oci/datasafe/masking_policies_masking_column.py +7 -7
- pulumi_oci/datasafe/masking_policy.py +9 -9
- pulumi_oci/datasafe/outputs.py +16686 -9777
- pulumi_oci/datasafe/report.py +559 -0
- pulumi_oci/datasafe/security_assessment.py +12 -12
- pulumi_oci/datasafe/sensitive_data_model.py +7 -7
- pulumi_oci/datasafe/set_security_assessment_baseline.py +7 -7
- pulumi_oci/datasafe/set_user_assessment_baseline.py +7 -7
- pulumi_oci/datasafe/target_database.py +146 -25
- pulumi_oci/datasafe/target_database_peer_target_database.py +634 -0
- pulumi_oci/datasafe/user_assessment.py +20 -20
- pulumi_oci/generativeai/__init__.py +18 -0
- pulumi_oci/generativeai/_inputs.py +534 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +808 -0
- pulumi_oci/generativeai/endpoint.py +717 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +288 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +183 -0
- pulumi_oci/generativeai/get_endpoint.py +275 -0
- pulumi_oci/generativeai/get_endpoints.py +183 -0
- pulumi_oci/generativeai/get_model.py +353 -0
- pulumi_oci/generativeai/get_models.py +220 -0
- pulumi_oci/generativeai/model.py +858 -0
- pulumi_oci/generativeai/outputs.py +1721 -0
- pulumi_oci/marketplace/get_publication.py +14 -1
- pulumi_oci/marketplace/outputs.py +11 -0
- pulumi_oci/marketplace/publication.py +28 -0
- pulumi_oci/monitoring/__init__.py +3 -0
- pulumi_oci/monitoring/_inputs.py +82 -4
- pulumi_oci/monitoring/alarm.py +15 -15
- pulumi_oci/monitoring/alarm_suppression.py +745 -0
- pulumi_oci/monitoring/get_alarm.py +5 -5
- pulumi_oci/monitoring/get_alarm_history_collection.py +4 -4
- pulumi_oci/monitoring/get_alarm_statuses.py +3 -1
- pulumi_oci/monitoring/get_alarm_suppression.py +276 -0
- pulumi_oci/monitoring/get_alarm_suppressions.py +192 -0
- pulumi_oci/monitoring/get_metric_data.py +12 -8
- pulumi_oci/monitoring/get_metrics.py +2 -2
- pulumi_oci/monitoring/outputs.py +355 -50
- pulumi_oci/networkfirewall/_inputs.py +25 -20
- pulumi_oci/networkfirewall/outputs.py +40 -30
- pulumi_oci/stackmonitoring/__init__.py +3 -0
- pulumi_oci/stackmonitoring/_inputs.py +143 -0
- pulumi_oci/stackmonitoring/get_process_set.py +236 -0
- pulumi_oci/stackmonitoring/get_process_sets.py +156 -0
- pulumi_oci/stackmonitoring/outputs.py +422 -0
- pulumi_oci/stackmonitoring/process_set.py +548 -0
- {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/RECORD +111 -70
- {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.19.0a1705693078.dist-info → pulumi_oci-1.20.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,235 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetSecurityPolicyResult',
|
14
|
+
'AwaitableGetSecurityPolicyResult',
|
15
|
+
'get_security_policy',
|
16
|
+
'get_security_policy_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetSecurityPolicyResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getSecurityPolicy.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, security_policy_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
25
|
+
if compartment_id and not isinstance(compartment_id, str):
|
26
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
27
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
28
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
29
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
30
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
31
|
+
if description and not isinstance(description, str):
|
32
|
+
raise TypeError("Expected argument 'description' to be a str")
|
33
|
+
pulumi.set(__self__, "description", description)
|
34
|
+
if display_name and not isinstance(display_name, str):
|
35
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
36
|
+
pulumi.set(__self__, "display_name", display_name)
|
37
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
38
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
39
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
40
|
+
if id and not isinstance(id, str):
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
42
|
+
pulumi.set(__self__, "id", id)
|
43
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
44
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
45
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
46
|
+
if security_policy_id and not isinstance(security_policy_id, str):
|
47
|
+
raise TypeError("Expected argument 'security_policy_id' to be a str")
|
48
|
+
pulumi.set(__self__, "security_policy_id", security_policy_id)
|
49
|
+
if state and not isinstance(state, str):
|
50
|
+
raise TypeError("Expected argument 'state' to be a str")
|
51
|
+
pulumi.set(__self__, "state", state)
|
52
|
+
if system_tags and not isinstance(system_tags, dict):
|
53
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
54
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
55
|
+
if time_created and not isinstance(time_created, str):
|
56
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
57
|
+
pulumi.set(__self__, "time_created", time_created)
|
58
|
+
if time_updated and not isinstance(time_updated, str):
|
59
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
60
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="compartmentId")
|
64
|
+
def compartment_id(self) -> str:
|
65
|
+
"""
|
66
|
+
The OCID of the compartment containing the security policy.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "compartment_id")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="definedTags")
|
72
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
73
|
+
"""
|
74
|
+
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"}`
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "defined_tags")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def description(self) -> str:
|
81
|
+
"""
|
82
|
+
The description of the security policy.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "description")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="displayName")
|
88
|
+
def display_name(self) -> str:
|
89
|
+
"""
|
90
|
+
The display name of the security policy.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "display_name")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="freeformTags")
|
96
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
97
|
+
"""
|
98
|
+
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"}`
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "freeform_tags")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter
|
104
|
+
def id(self) -> str:
|
105
|
+
"""
|
106
|
+
The OCID of the security policy.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "id")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="lifecycleDetails")
|
112
|
+
def lifecycle_details(self) -> str:
|
113
|
+
"""
|
114
|
+
Details about the current state of the security policy in Data Safe.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "lifecycle_details")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="securityPolicyId")
|
120
|
+
def security_policy_id(self) -> str:
|
121
|
+
return pulumi.get(self, "security_policy_id")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def state(self) -> str:
|
126
|
+
"""
|
127
|
+
The current state of the security policy.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "state")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="systemTags")
|
133
|
+
def system_tags(self) -> Mapping[str, Any]:
|
134
|
+
"""
|
135
|
+
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"}`
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "system_tags")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="timeCreated")
|
141
|
+
def time_created(self) -> str:
|
142
|
+
"""
|
143
|
+
The time that the security policy was created, in the format defined by RFC3339.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "time_created")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="timeUpdated")
|
149
|
+
def time_updated(self) -> str:
|
150
|
+
"""
|
151
|
+
The last date and time the security policy was updated, in the format defined by RFC3339.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "time_updated")
|
154
|
+
|
155
|
+
|
156
|
+
class AwaitableGetSecurityPolicyResult(GetSecurityPolicyResult):
|
157
|
+
# pylint: disable=using-constant-test
|
158
|
+
def __await__(self):
|
159
|
+
if False:
|
160
|
+
yield self
|
161
|
+
return GetSecurityPolicyResult(
|
162
|
+
compartment_id=self.compartment_id,
|
163
|
+
defined_tags=self.defined_tags,
|
164
|
+
description=self.description,
|
165
|
+
display_name=self.display_name,
|
166
|
+
freeform_tags=self.freeform_tags,
|
167
|
+
id=self.id,
|
168
|
+
lifecycle_details=self.lifecycle_details,
|
169
|
+
security_policy_id=self.security_policy_id,
|
170
|
+
state=self.state,
|
171
|
+
system_tags=self.system_tags,
|
172
|
+
time_created=self.time_created,
|
173
|
+
time_updated=self.time_updated)
|
174
|
+
|
175
|
+
|
176
|
+
def get_security_policy(security_policy_id: Optional[str] = None,
|
177
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityPolicyResult:
|
178
|
+
"""
|
179
|
+
This data source provides details about a specific Security Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
180
|
+
|
181
|
+
Gets a security policy by the specified OCID of the security policy resource.
|
182
|
+
|
183
|
+
## Example Usage
|
184
|
+
|
185
|
+
```python
|
186
|
+
import pulumi
|
187
|
+
import pulumi_oci as oci
|
188
|
+
|
189
|
+
test_security_policy = oci.DataSafe.get_security_policy(security_policy_id=oci_data_safe_security_policy["test_security_policy"]["id"])
|
190
|
+
```
|
191
|
+
|
192
|
+
|
193
|
+
:param str security_policy_id: The OCID of the security policy resource.
|
194
|
+
"""
|
195
|
+
__args__ = dict()
|
196
|
+
__args__['securityPolicyId'] = security_policy_id
|
197
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
198
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSecurityPolicy:getSecurityPolicy', __args__, opts=opts, typ=GetSecurityPolicyResult).value
|
199
|
+
|
200
|
+
return AwaitableGetSecurityPolicyResult(
|
201
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
202
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
203
|
+
description=pulumi.get(__ret__, 'description'),
|
204
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
205
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
206
|
+
id=pulumi.get(__ret__, 'id'),
|
207
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
208
|
+
security_policy_id=pulumi.get(__ret__, 'security_policy_id'),
|
209
|
+
state=pulumi.get(__ret__, 'state'),
|
210
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
211
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
212
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
213
|
+
|
214
|
+
|
215
|
+
@_utilities.lift_output_func(get_security_policy)
|
216
|
+
def get_security_policy_output(security_policy_id: Optional[pulumi.Input[str]] = None,
|
217
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityPolicyResult]:
|
218
|
+
"""
|
219
|
+
This data source provides details about a specific Security Policy resource in Oracle Cloud Infrastructure Data Safe service.
|
220
|
+
|
221
|
+
Gets a security policy by the specified OCID of the security policy resource.
|
222
|
+
|
223
|
+
## Example Usage
|
224
|
+
|
225
|
+
```python
|
226
|
+
import pulumi
|
227
|
+
import pulumi_oci as oci
|
228
|
+
|
229
|
+
test_security_policy = oci.DataSafe.get_security_policy(security_policy_id=oci_data_safe_security_policy["test_security_policy"]["id"])
|
230
|
+
```
|
231
|
+
|
232
|
+
|
233
|
+
:param str security_policy_id: The OCID of the security policy resource.
|
234
|
+
"""
|
235
|
+
...
|
@@ -0,0 +1,261 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetSecurityPolicyDeploymentResult',
|
14
|
+
'AwaitableGetSecurityPolicyDeploymentResult',
|
15
|
+
'get_security_policy_deployment',
|
16
|
+
'get_security_policy_deployment_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetSecurityPolicyDeploymentResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getSecurityPolicyDeployment.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, security_policy_deployment_id=None, security_policy_id=None, state=None, system_tags=None, target_id=None, time_created=None, time_updated=None):
|
25
|
+
if compartment_id and not isinstance(compartment_id, str):
|
26
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
27
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
28
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
29
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
30
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
31
|
+
if description and not isinstance(description, str):
|
32
|
+
raise TypeError("Expected argument 'description' to be a str")
|
33
|
+
pulumi.set(__self__, "description", description)
|
34
|
+
if display_name and not isinstance(display_name, str):
|
35
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
36
|
+
pulumi.set(__self__, "display_name", display_name)
|
37
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
38
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
39
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
40
|
+
if id and not isinstance(id, str):
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
42
|
+
pulumi.set(__self__, "id", id)
|
43
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
44
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
45
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
46
|
+
if security_policy_deployment_id and not isinstance(security_policy_deployment_id, str):
|
47
|
+
raise TypeError("Expected argument 'security_policy_deployment_id' to be a str")
|
48
|
+
pulumi.set(__self__, "security_policy_deployment_id", security_policy_deployment_id)
|
49
|
+
if security_policy_id and not isinstance(security_policy_id, str):
|
50
|
+
raise TypeError("Expected argument 'security_policy_id' to be a str")
|
51
|
+
pulumi.set(__self__, "security_policy_id", security_policy_id)
|
52
|
+
if state and not isinstance(state, str):
|
53
|
+
raise TypeError("Expected argument 'state' to be a str")
|
54
|
+
pulumi.set(__self__, "state", state)
|
55
|
+
if system_tags and not isinstance(system_tags, dict):
|
56
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
57
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
58
|
+
if target_id and not isinstance(target_id, str):
|
59
|
+
raise TypeError("Expected argument 'target_id' to be a str")
|
60
|
+
pulumi.set(__self__, "target_id", target_id)
|
61
|
+
if time_created and not isinstance(time_created, str):
|
62
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
63
|
+
pulumi.set(__self__, "time_created", time_created)
|
64
|
+
if time_updated and not isinstance(time_updated, str):
|
65
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
66
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="compartmentId")
|
70
|
+
def compartment_id(self) -> str:
|
71
|
+
"""
|
72
|
+
The OCID of the compartment containing the security policy deployment.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "compartment_id")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="definedTags")
|
78
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
79
|
+
"""
|
80
|
+
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"}`
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "defined_tags")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def description(self) -> str:
|
87
|
+
"""
|
88
|
+
The description of the security policy deployment.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "description")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="displayName")
|
94
|
+
def display_name(self) -> str:
|
95
|
+
"""
|
96
|
+
The display name of the security policy deployment.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "display_name")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="freeformTags")
|
102
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
103
|
+
"""
|
104
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "freeform_tags")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def id(self) -> str:
|
111
|
+
"""
|
112
|
+
The OCID of the security policy deployment.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "id")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="lifecycleDetails")
|
118
|
+
def lifecycle_details(self) -> str:
|
119
|
+
"""
|
120
|
+
Details about the current state of the security policy deployment in Data Safe.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "lifecycle_details")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="securityPolicyDeploymentId")
|
126
|
+
def security_policy_deployment_id(self) -> str:
|
127
|
+
return pulumi.get(self, "security_policy_deployment_id")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="securityPolicyId")
|
131
|
+
def security_policy_id(self) -> str:
|
132
|
+
"""
|
133
|
+
The OCID of the security policy corresponding to the security policy deployment.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "security_policy_id")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter
|
139
|
+
def state(self) -> str:
|
140
|
+
"""
|
141
|
+
The current state of the security policy deployment.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "state")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="systemTags")
|
147
|
+
def system_tags(self) -> Mapping[str, Any]:
|
148
|
+
"""
|
149
|
+
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"}`
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "system_tags")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="targetId")
|
155
|
+
def target_id(self) -> str:
|
156
|
+
"""
|
157
|
+
The OCID of the target where the security policy is deployed.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "target_id")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="timeCreated")
|
163
|
+
def time_created(self) -> str:
|
164
|
+
"""
|
165
|
+
The time that the security policy deployment was created, in the format defined by RFC3339.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "time_created")
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="timeUpdated")
|
171
|
+
def time_updated(self) -> str:
|
172
|
+
"""
|
173
|
+
The last date and time the security policy deployment was updated, in the format defined by RFC3339.
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "time_updated")
|
176
|
+
|
177
|
+
|
178
|
+
class AwaitableGetSecurityPolicyDeploymentResult(GetSecurityPolicyDeploymentResult):
|
179
|
+
# pylint: disable=using-constant-test
|
180
|
+
def __await__(self):
|
181
|
+
if False:
|
182
|
+
yield self
|
183
|
+
return GetSecurityPolicyDeploymentResult(
|
184
|
+
compartment_id=self.compartment_id,
|
185
|
+
defined_tags=self.defined_tags,
|
186
|
+
description=self.description,
|
187
|
+
display_name=self.display_name,
|
188
|
+
freeform_tags=self.freeform_tags,
|
189
|
+
id=self.id,
|
190
|
+
lifecycle_details=self.lifecycle_details,
|
191
|
+
security_policy_deployment_id=self.security_policy_deployment_id,
|
192
|
+
security_policy_id=self.security_policy_id,
|
193
|
+
state=self.state,
|
194
|
+
system_tags=self.system_tags,
|
195
|
+
target_id=self.target_id,
|
196
|
+
time_created=self.time_created,
|
197
|
+
time_updated=self.time_updated)
|
198
|
+
|
199
|
+
|
200
|
+
def get_security_policy_deployment(security_policy_deployment_id: Optional[str] = None,
|
201
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityPolicyDeploymentResult:
|
202
|
+
"""
|
203
|
+
This data source provides details about a specific Security Policy Deployment resource in Oracle Cloud Infrastructure Data Safe service.
|
204
|
+
|
205
|
+
Gets a security policy deployment by identifier.
|
206
|
+
|
207
|
+
## Example Usage
|
208
|
+
|
209
|
+
```python
|
210
|
+
import pulumi
|
211
|
+
import pulumi_oci as oci
|
212
|
+
|
213
|
+
test_security_policy_deployment = oci.DataSafe.get_security_policy_deployment(security_policy_deployment_id=oci_data_safe_security_policy_deployment["test_security_policy_deployment"]["id"])
|
214
|
+
```
|
215
|
+
|
216
|
+
|
217
|
+
:param str security_policy_deployment_id: The OCID of the security policy deployment resource.
|
218
|
+
"""
|
219
|
+
__args__ = dict()
|
220
|
+
__args__['securityPolicyDeploymentId'] = security_policy_deployment_id
|
221
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
222
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSecurityPolicyDeployment:getSecurityPolicyDeployment', __args__, opts=opts, typ=GetSecurityPolicyDeploymentResult).value
|
223
|
+
|
224
|
+
return AwaitableGetSecurityPolicyDeploymentResult(
|
225
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
226
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
227
|
+
description=pulumi.get(__ret__, 'description'),
|
228
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
229
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
230
|
+
id=pulumi.get(__ret__, 'id'),
|
231
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
232
|
+
security_policy_deployment_id=pulumi.get(__ret__, 'security_policy_deployment_id'),
|
233
|
+
security_policy_id=pulumi.get(__ret__, 'security_policy_id'),
|
234
|
+
state=pulumi.get(__ret__, 'state'),
|
235
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
236
|
+
target_id=pulumi.get(__ret__, 'target_id'),
|
237
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
238
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
239
|
+
|
240
|
+
|
241
|
+
@_utilities.lift_output_func(get_security_policy_deployment)
|
242
|
+
def get_security_policy_deployment_output(security_policy_deployment_id: Optional[pulumi.Input[str]] = None,
|
243
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityPolicyDeploymentResult]:
|
244
|
+
"""
|
245
|
+
This data source provides details about a specific Security Policy Deployment resource in Oracle Cloud Infrastructure Data Safe service.
|
246
|
+
|
247
|
+
Gets a security policy deployment by identifier.
|
248
|
+
|
249
|
+
## Example Usage
|
250
|
+
|
251
|
+
```python
|
252
|
+
import pulumi
|
253
|
+
import pulumi_oci as oci
|
254
|
+
|
255
|
+
test_security_policy_deployment = oci.DataSafe.get_security_policy_deployment(security_policy_deployment_id=oci_data_safe_security_policy_deployment["test_security_policy_deployment"]["id"])
|
256
|
+
```
|
257
|
+
|
258
|
+
|
259
|
+
:param str security_policy_deployment_id: The OCID of the security policy deployment resource.
|
260
|
+
"""
|
261
|
+
...
|
@@ -0,0 +1,165 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetSecurityPolicyDeploymentSecurityPolicyEntryStateResult',
|
15
|
+
'AwaitableGetSecurityPolicyDeploymentSecurityPolicyEntryStateResult',
|
16
|
+
'get_security_policy_deployment_security_policy_entry_state',
|
17
|
+
'get_security_policy_deployment_security_policy_entry_state_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetSecurityPolicyDeploymentSecurityPolicyEntryStateResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getSecurityPolicyDeploymentSecurityPolicyEntryState.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, deployment_status=None, entry_details=None, id=None, security_policy_deployment_id=None, security_policy_entry_id=None, security_policy_entry_state_id=None):
|
26
|
+
if deployment_status and not isinstance(deployment_status, str):
|
27
|
+
raise TypeError("Expected argument 'deployment_status' to be a str")
|
28
|
+
pulumi.set(__self__, "deployment_status", deployment_status)
|
29
|
+
if entry_details and not isinstance(entry_details, list):
|
30
|
+
raise TypeError("Expected argument 'entry_details' to be a list")
|
31
|
+
pulumi.set(__self__, "entry_details", entry_details)
|
32
|
+
if id and not isinstance(id, str):
|
33
|
+
raise TypeError("Expected argument 'id' to be a str")
|
34
|
+
pulumi.set(__self__, "id", id)
|
35
|
+
if security_policy_deployment_id and not isinstance(security_policy_deployment_id, str):
|
36
|
+
raise TypeError("Expected argument 'security_policy_deployment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "security_policy_deployment_id", security_policy_deployment_id)
|
38
|
+
if security_policy_entry_id and not isinstance(security_policy_entry_id, str):
|
39
|
+
raise TypeError("Expected argument 'security_policy_entry_id' to be a str")
|
40
|
+
pulumi.set(__self__, "security_policy_entry_id", security_policy_entry_id)
|
41
|
+
if security_policy_entry_state_id and not isinstance(security_policy_entry_state_id, str):
|
42
|
+
raise TypeError("Expected argument 'security_policy_entry_state_id' to be a str")
|
43
|
+
pulumi.set(__self__, "security_policy_entry_state_id", security_policy_entry_state_id)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="deploymentStatus")
|
47
|
+
def deployment_status(self) -> str:
|
48
|
+
"""
|
49
|
+
The current deployment status of the security policy deployment and the security policy entry associated.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "deployment_status")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="entryDetails")
|
55
|
+
def entry_details(self) -> Sequence['outputs.GetSecurityPolicyDeploymentSecurityPolicyEntryStateEntryDetailResult']:
|
56
|
+
"""
|
57
|
+
Details specific to the security policy entry.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "entry_details")
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter
|
63
|
+
def id(self) -> str:
|
64
|
+
"""
|
65
|
+
The provider-assigned unique ID for this managed resource.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "id")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="securityPolicyDeploymentId")
|
71
|
+
def security_policy_deployment_id(self) -> str:
|
72
|
+
"""
|
73
|
+
The OCID of the security policy deployment associated.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "security_policy_deployment_id")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="securityPolicyEntryId")
|
79
|
+
def security_policy_entry_id(self) -> str:
|
80
|
+
"""
|
81
|
+
The OCID of the security policy entry type associated.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "security_policy_entry_id")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="securityPolicyEntryStateId")
|
87
|
+
def security_policy_entry_state_id(self) -> str:
|
88
|
+
return pulumi.get(self, "security_policy_entry_state_id")
|
89
|
+
|
90
|
+
|
91
|
+
class AwaitableGetSecurityPolicyDeploymentSecurityPolicyEntryStateResult(GetSecurityPolicyDeploymentSecurityPolicyEntryStateResult):
|
92
|
+
# pylint: disable=using-constant-test
|
93
|
+
def __await__(self):
|
94
|
+
if False:
|
95
|
+
yield self
|
96
|
+
return GetSecurityPolicyDeploymentSecurityPolicyEntryStateResult(
|
97
|
+
deployment_status=self.deployment_status,
|
98
|
+
entry_details=self.entry_details,
|
99
|
+
id=self.id,
|
100
|
+
security_policy_deployment_id=self.security_policy_deployment_id,
|
101
|
+
security_policy_entry_id=self.security_policy_entry_id,
|
102
|
+
security_policy_entry_state_id=self.security_policy_entry_state_id)
|
103
|
+
|
104
|
+
|
105
|
+
def get_security_policy_deployment_security_policy_entry_state(security_policy_deployment_id: Optional[str] = None,
|
106
|
+
security_policy_entry_state_id: Optional[str] = None,
|
107
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityPolicyDeploymentSecurityPolicyEntryStateResult:
|
108
|
+
"""
|
109
|
+
This data source provides details about a specific Security Policy Deployment Security Policy Entry State resource in Oracle Cloud Infrastructure Data Safe service.
|
110
|
+
|
111
|
+
Gets a security policy entity states by identifier.
|
112
|
+
|
113
|
+
## Example Usage
|
114
|
+
|
115
|
+
```python
|
116
|
+
import pulumi
|
117
|
+
import pulumi_oci as oci
|
118
|
+
|
119
|
+
test_security_policy_deployment_security_policy_entry_state = oci.DataSafe.get_security_policy_deployment_security_policy_entry_state(security_policy_deployment_id=oci_data_safe_security_policy_deployment["test_security_policy_deployment"]["id"],
|
120
|
+
security_policy_entry_state_id=oci_data_safe_security_policy_entry_state["test_security_policy_entry_state"]["id"])
|
121
|
+
```
|
122
|
+
|
123
|
+
|
124
|
+
:param str security_policy_deployment_id: The OCID of the security policy deployment resource.
|
125
|
+
:param str security_policy_entry_state_id: Unique security policy entry state identifier. The unique id for a given security policy entry state can be obtained from the list api by passing the OCID of the corresponding security policy deployment resource as the query parameter.
|
126
|
+
"""
|
127
|
+
__args__ = dict()
|
128
|
+
__args__['securityPolicyDeploymentId'] = security_policy_deployment_id
|
129
|
+
__args__['securityPolicyEntryStateId'] = security_policy_entry_state_id
|
130
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
131
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSecurityPolicyDeploymentSecurityPolicyEntryState:getSecurityPolicyDeploymentSecurityPolicyEntryState', __args__, opts=opts, typ=GetSecurityPolicyDeploymentSecurityPolicyEntryStateResult).value
|
132
|
+
|
133
|
+
return AwaitableGetSecurityPolicyDeploymentSecurityPolicyEntryStateResult(
|
134
|
+
deployment_status=pulumi.get(__ret__, 'deployment_status'),
|
135
|
+
entry_details=pulumi.get(__ret__, 'entry_details'),
|
136
|
+
id=pulumi.get(__ret__, 'id'),
|
137
|
+
security_policy_deployment_id=pulumi.get(__ret__, 'security_policy_deployment_id'),
|
138
|
+
security_policy_entry_id=pulumi.get(__ret__, 'security_policy_entry_id'),
|
139
|
+
security_policy_entry_state_id=pulumi.get(__ret__, 'security_policy_entry_state_id'))
|
140
|
+
|
141
|
+
|
142
|
+
@_utilities.lift_output_func(get_security_policy_deployment_security_policy_entry_state)
|
143
|
+
def get_security_policy_deployment_security_policy_entry_state_output(security_policy_deployment_id: Optional[pulumi.Input[str]] = None,
|
144
|
+
security_policy_entry_state_id: Optional[pulumi.Input[str]] = None,
|
145
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityPolicyDeploymentSecurityPolicyEntryStateResult]:
|
146
|
+
"""
|
147
|
+
This data source provides details about a specific Security Policy Deployment Security Policy Entry State resource in Oracle Cloud Infrastructure Data Safe service.
|
148
|
+
|
149
|
+
Gets a security policy entity states by identifier.
|
150
|
+
|
151
|
+
## Example Usage
|
152
|
+
|
153
|
+
```python
|
154
|
+
import pulumi
|
155
|
+
import pulumi_oci as oci
|
156
|
+
|
157
|
+
test_security_policy_deployment_security_policy_entry_state = oci.DataSafe.get_security_policy_deployment_security_policy_entry_state(security_policy_deployment_id=oci_data_safe_security_policy_deployment["test_security_policy_deployment"]["id"],
|
158
|
+
security_policy_entry_state_id=oci_data_safe_security_policy_entry_state["test_security_policy_entry_state"]["id"])
|
159
|
+
```
|
160
|
+
|
161
|
+
|
162
|
+
:param str security_policy_deployment_id: The OCID of the security policy deployment resource.
|
163
|
+
:param str security_policy_entry_state_id: Unique security policy entry state identifier. The unique id for a given security policy entry state can be obtained from the list api by passing the OCID of the corresponding security policy deployment resource as the query parameter.
|
164
|
+
"""
|
165
|
+
...
|