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,634 @@
|
|
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
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['TargetDatabasePeerTargetDatabaseInitArgs', 'TargetDatabasePeerTargetDatabase']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class TargetDatabasePeerTargetDatabaseInitArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
database_details: pulumi.Input['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs'],
|
20
|
+
target_database_id: pulumi.Input[str],
|
21
|
+
dataguard_association_id: Optional[pulumi.Input[str]] = None,
|
22
|
+
description: Optional[pulumi.Input[str]] = None,
|
23
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
24
|
+
tls_config: Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseTlsConfigArgs']] = None):
|
25
|
+
"""
|
26
|
+
The set of arguments for constructing a TargetDatabasePeerTargetDatabase resource.
|
27
|
+
:param pulumi.Input['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs'] database_details: (Updatable) Details of the database for the registration in Data Safe.
|
28
|
+
:param pulumi.Input[str] target_database_id: The OCID of the Data Safe target database.
|
29
|
+
:param pulumi.Input[str] dataguard_association_id: The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
|
30
|
+
:param pulumi.Input[str] description: (Updatable) The description of the peer target database in Data Safe.
|
31
|
+
:param pulumi.Input[str] display_name: (Updatable) The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
|
32
|
+
:param pulumi.Input['TargetDatabasePeerTargetDatabaseTlsConfigArgs'] tls_config: (Updatable) The details required to establish a TLS enabled connection.
|
33
|
+
"""
|
34
|
+
pulumi.set(__self__, "database_details", database_details)
|
35
|
+
pulumi.set(__self__, "target_database_id", target_database_id)
|
36
|
+
if dataguard_association_id is not None:
|
37
|
+
pulumi.set(__self__, "dataguard_association_id", dataguard_association_id)
|
38
|
+
if description is not None:
|
39
|
+
pulumi.set(__self__, "description", description)
|
40
|
+
if display_name is not None:
|
41
|
+
pulumi.set(__self__, "display_name", display_name)
|
42
|
+
if tls_config is not None:
|
43
|
+
pulumi.set(__self__, "tls_config", tls_config)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="databaseDetails")
|
47
|
+
def database_details(self) -> pulumi.Input['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']:
|
48
|
+
"""
|
49
|
+
(Updatable) Details of the database for the registration in Data Safe.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "database_details")
|
52
|
+
|
53
|
+
@database_details.setter
|
54
|
+
def database_details(self, value: pulumi.Input['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']):
|
55
|
+
pulumi.set(self, "database_details", value)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="targetDatabaseId")
|
59
|
+
def target_database_id(self) -> pulumi.Input[str]:
|
60
|
+
"""
|
61
|
+
The OCID of the Data Safe target database.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "target_database_id")
|
64
|
+
|
65
|
+
@target_database_id.setter
|
66
|
+
def target_database_id(self, value: pulumi.Input[str]):
|
67
|
+
pulumi.set(self, "target_database_id", value)
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="dataguardAssociationId")
|
71
|
+
def dataguard_association_id(self) -> Optional[pulumi.Input[str]]:
|
72
|
+
"""
|
73
|
+
The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "dataguard_association_id")
|
76
|
+
|
77
|
+
@dataguard_association_id.setter
|
78
|
+
def dataguard_association_id(self, value: Optional[pulumi.Input[str]]):
|
79
|
+
pulumi.set(self, "dataguard_association_id", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
84
|
+
"""
|
85
|
+
(Updatable) The description of the peer target database in Data Safe.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "description")
|
88
|
+
|
89
|
+
@description.setter
|
90
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
91
|
+
pulumi.set(self, "description", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="displayName")
|
95
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
96
|
+
"""
|
97
|
+
(Updatable) The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "display_name")
|
100
|
+
|
101
|
+
@display_name.setter
|
102
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
103
|
+
pulumi.set(self, "display_name", value)
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="tlsConfig")
|
107
|
+
def tls_config(self) -> Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseTlsConfigArgs']]:
|
108
|
+
"""
|
109
|
+
(Updatable) The details required to establish a TLS enabled connection.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "tls_config")
|
112
|
+
|
113
|
+
@tls_config.setter
|
114
|
+
def tls_config(self, value: Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseTlsConfigArgs']]):
|
115
|
+
pulumi.set(self, "tls_config", value)
|
116
|
+
|
117
|
+
|
118
|
+
@pulumi.input_type
|
119
|
+
class _TargetDatabasePeerTargetDatabaseState:
|
120
|
+
def __init__(__self__, *,
|
121
|
+
database_details: Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']] = None,
|
122
|
+
database_unique_name: Optional[pulumi.Input[str]] = None,
|
123
|
+
dataguard_association_id: Optional[pulumi.Input[str]] = None,
|
124
|
+
description: Optional[pulumi.Input[str]] = None,
|
125
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
126
|
+
key: Optional[pulumi.Input[int]] = None,
|
127
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
128
|
+
role: Optional[pulumi.Input[str]] = None,
|
129
|
+
state: Optional[pulumi.Input[str]] = None,
|
130
|
+
target_database_id: Optional[pulumi.Input[str]] = None,
|
131
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
132
|
+
tls_config: Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseTlsConfigArgs']] = None):
|
133
|
+
"""
|
134
|
+
Input properties used for looking up and filtering TargetDatabasePeerTargetDatabase resources.
|
135
|
+
:param pulumi.Input['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs'] database_details: (Updatable) Details of the database for the registration in Data Safe.
|
136
|
+
:param pulumi.Input[str] database_unique_name: Unique name of the database associated to the peer target database.
|
137
|
+
:param pulumi.Input[str] dataguard_association_id: The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
|
138
|
+
:param pulumi.Input[str] description: (Updatable) The description of the peer target database in Data Safe.
|
139
|
+
:param pulumi.Input[str] display_name: (Updatable) The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
|
140
|
+
:param pulumi.Input[int] key: The secondary key assigned for the peer target database in Data Safe.
|
141
|
+
:param pulumi.Input[str] lifecycle_details: Details about the current state of the peer target database in Data Safe.
|
142
|
+
:param pulumi.Input[str] role: Role of the database associated to the peer target database.
|
143
|
+
:param pulumi.Input[str] state: The current state of the peer target database in Data Safe.
|
144
|
+
:param pulumi.Input[str] target_database_id: The OCID of the Data Safe target database.
|
145
|
+
:param pulumi.Input[str] time_created: The date and time of the peer target database registration in Data Safe.
|
146
|
+
:param pulumi.Input['TargetDatabasePeerTargetDatabaseTlsConfigArgs'] tls_config: (Updatable) The details required to establish a TLS enabled connection.
|
147
|
+
"""
|
148
|
+
if database_details is not None:
|
149
|
+
pulumi.set(__self__, "database_details", database_details)
|
150
|
+
if database_unique_name is not None:
|
151
|
+
pulumi.set(__self__, "database_unique_name", database_unique_name)
|
152
|
+
if dataguard_association_id is not None:
|
153
|
+
pulumi.set(__self__, "dataguard_association_id", dataguard_association_id)
|
154
|
+
if description is not None:
|
155
|
+
pulumi.set(__self__, "description", description)
|
156
|
+
if display_name is not None:
|
157
|
+
pulumi.set(__self__, "display_name", display_name)
|
158
|
+
if key is not None:
|
159
|
+
pulumi.set(__self__, "key", key)
|
160
|
+
if lifecycle_details is not None:
|
161
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
162
|
+
if role is not None:
|
163
|
+
pulumi.set(__self__, "role", role)
|
164
|
+
if state is not None:
|
165
|
+
pulumi.set(__self__, "state", state)
|
166
|
+
if target_database_id is not None:
|
167
|
+
pulumi.set(__self__, "target_database_id", target_database_id)
|
168
|
+
if time_created is not None:
|
169
|
+
pulumi.set(__self__, "time_created", time_created)
|
170
|
+
if tls_config is not None:
|
171
|
+
pulumi.set(__self__, "tls_config", tls_config)
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter(name="databaseDetails")
|
175
|
+
def database_details(self) -> Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']]:
|
176
|
+
"""
|
177
|
+
(Updatable) Details of the database for the registration in Data Safe.
|
178
|
+
"""
|
179
|
+
return pulumi.get(self, "database_details")
|
180
|
+
|
181
|
+
@database_details.setter
|
182
|
+
def database_details(self, value: Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']]):
|
183
|
+
pulumi.set(self, "database_details", value)
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter(name="databaseUniqueName")
|
187
|
+
def database_unique_name(self) -> Optional[pulumi.Input[str]]:
|
188
|
+
"""
|
189
|
+
Unique name of the database associated to the peer target database.
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "database_unique_name")
|
192
|
+
|
193
|
+
@database_unique_name.setter
|
194
|
+
def database_unique_name(self, value: Optional[pulumi.Input[str]]):
|
195
|
+
pulumi.set(self, "database_unique_name", value)
|
196
|
+
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="dataguardAssociationId")
|
199
|
+
def dataguard_association_id(self) -> Optional[pulumi.Input[str]]:
|
200
|
+
"""
|
201
|
+
The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
|
202
|
+
"""
|
203
|
+
return pulumi.get(self, "dataguard_association_id")
|
204
|
+
|
205
|
+
@dataguard_association_id.setter
|
206
|
+
def dataguard_association_id(self, value: Optional[pulumi.Input[str]]):
|
207
|
+
pulumi.set(self, "dataguard_association_id", value)
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter
|
211
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
212
|
+
"""
|
213
|
+
(Updatable) The description of the peer target database in Data Safe.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "description")
|
216
|
+
|
217
|
+
@description.setter
|
218
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
219
|
+
pulumi.set(self, "description", value)
|
220
|
+
|
221
|
+
@property
|
222
|
+
@pulumi.getter(name="displayName")
|
223
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
224
|
+
"""
|
225
|
+
(Updatable) The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
|
226
|
+
"""
|
227
|
+
return pulumi.get(self, "display_name")
|
228
|
+
|
229
|
+
@display_name.setter
|
230
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
231
|
+
pulumi.set(self, "display_name", value)
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter
|
235
|
+
def key(self) -> Optional[pulumi.Input[int]]:
|
236
|
+
"""
|
237
|
+
The secondary key assigned for the peer target database in Data Safe.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "key")
|
240
|
+
|
241
|
+
@key.setter
|
242
|
+
def key(self, value: Optional[pulumi.Input[int]]):
|
243
|
+
pulumi.set(self, "key", value)
|
244
|
+
|
245
|
+
@property
|
246
|
+
@pulumi.getter(name="lifecycleDetails")
|
247
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
248
|
+
"""
|
249
|
+
Details about the current state of the peer target database in Data Safe.
|
250
|
+
"""
|
251
|
+
return pulumi.get(self, "lifecycle_details")
|
252
|
+
|
253
|
+
@lifecycle_details.setter
|
254
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
255
|
+
pulumi.set(self, "lifecycle_details", value)
|
256
|
+
|
257
|
+
@property
|
258
|
+
@pulumi.getter
|
259
|
+
def role(self) -> Optional[pulumi.Input[str]]:
|
260
|
+
"""
|
261
|
+
Role of the database associated to the peer target database.
|
262
|
+
"""
|
263
|
+
return pulumi.get(self, "role")
|
264
|
+
|
265
|
+
@role.setter
|
266
|
+
def role(self, value: Optional[pulumi.Input[str]]):
|
267
|
+
pulumi.set(self, "role", value)
|
268
|
+
|
269
|
+
@property
|
270
|
+
@pulumi.getter
|
271
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
272
|
+
"""
|
273
|
+
The current state of the peer target database in Data Safe.
|
274
|
+
"""
|
275
|
+
return pulumi.get(self, "state")
|
276
|
+
|
277
|
+
@state.setter
|
278
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
279
|
+
pulumi.set(self, "state", value)
|
280
|
+
|
281
|
+
@property
|
282
|
+
@pulumi.getter(name="targetDatabaseId")
|
283
|
+
def target_database_id(self) -> Optional[pulumi.Input[str]]:
|
284
|
+
"""
|
285
|
+
The OCID of the Data Safe target database.
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "target_database_id")
|
288
|
+
|
289
|
+
@target_database_id.setter
|
290
|
+
def target_database_id(self, value: Optional[pulumi.Input[str]]):
|
291
|
+
pulumi.set(self, "target_database_id", value)
|
292
|
+
|
293
|
+
@property
|
294
|
+
@pulumi.getter(name="timeCreated")
|
295
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
296
|
+
"""
|
297
|
+
The date and time of the peer target database registration in Data Safe.
|
298
|
+
"""
|
299
|
+
return pulumi.get(self, "time_created")
|
300
|
+
|
301
|
+
@time_created.setter
|
302
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
303
|
+
pulumi.set(self, "time_created", value)
|
304
|
+
|
305
|
+
@property
|
306
|
+
@pulumi.getter(name="tlsConfig")
|
307
|
+
def tls_config(self) -> Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseTlsConfigArgs']]:
|
308
|
+
"""
|
309
|
+
(Updatable) The details required to establish a TLS enabled connection.
|
310
|
+
"""
|
311
|
+
return pulumi.get(self, "tls_config")
|
312
|
+
|
313
|
+
@tls_config.setter
|
314
|
+
def tls_config(self, value: Optional[pulumi.Input['TargetDatabasePeerTargetDatabaseTlsConfigArgs']]):
|
315
|
+
pulumi.set(self, "tls_config", value)
|
316
|
+
|
317
|
+
|
318
|
+
class TargetDatabasePeerTargetDatabase(pulumi.CustomResource):
|
319
|
+
@overload
|
320
|
+
def __init__(__self__,
|
321
|
+
resource_name: str,
|
322
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
323
|
+
database_details: Optional[pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']]] = None,
|
324
|
+
dataguard_association_id: Optional[pulumi.Input[str]] = None,
|
325
|
+
description: Optional[pulumi.Input[str]] = None,
|
326
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
327
|
+
target_database_id: Optional[pulumi.Input[str]] = None,
|
328
|
+
tls_config: Optional[pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseTlsConfigArgs']]] = None,
|
329
|
+
__props__=None):
|
330
|
+
"""
|
331
|
+
This resource provides the Target Database Peer Target Database resource in Oracle Cloud Infrastructure Data Safe service.
|
332
|
+
|
333
|
+
Creates the peer target database under the primary target database in Data Safe.
|
334
|
+
|
335
|
+
## Example Usage
|
336
|
+
|
337
|
+
```python
|
338
|
+
import pulumi
|
339
|
+
import pulumi_oci as oci
|
340
|
+
|
341
|
+
test_target_database_peer_target_database = oci.data_safe.TargetDatabasePeerTargetDatabase("testTargetDatabasePeerTargetDatabase",
|
342
|
+
database_details=oci.data_safe.TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs(
|
343
|
+
database_type=var["target_database_peer_target_database_database_details_database_type"],
|
344
|
+
infrastructure_type=var["target_database_peer_target_database_database_details_infrastructure_type"],
|
345
|
+
autonomous_database_id=oci_database_autonomous_database["test_autonomous_database"]["id"],
|
346
|
+
db_system_id=oci_database_db_system["test_db_system"]["id"],
|
347
|
+
instance_id=oci_core_instance["test_instance"]["id"],
|
348
|
+
ip_addresses=var["target_database_peer_target_database_database_details_ip_addresses"],
|
349
|
+
listener_port=var["target_database_peer_target_database_database_details_listener_port"],
|
350
|
+
service_name=oci_core_service["test_service"]["name"],
|
351
|
+
vm_cluster_id=oci_database_vm_cluster["test_vm_cluster"]["id"],
|
352
|
+
),
|
353
|
+
target_database_id=oci_data_safe_target_database["test_target_database"]["id"],
|
354
|
+
dataguard_association_id=oci_certificates_management_association["test_association"]["id"],
|
355
|
+
description=var["target_database_peer_target_database_description"],
|
356
|
+
display_name=var["target_database_peer_target_database_display_name"],
|
357
|
+
tls_config=oci.data_safe.TargetDatabasePeerTargetDatabaseTlsConfigArgs(
|
358
|
+
status=var["target_database_peer_target_database_tls_config_status"],
|
359
|
+
certificate_store_type=var["target_database_peer_target_database_tls_config_certificate_store_type"],
|
360
|
+
key_store_content=var["target_database_peer_target_database_tls_config_key_store_content"],
|
361
|
+
store_password=var["target_database_peer_target_database_tls_config_store_password"],
|
362
|
+
trust_store_content=var["target_database_peer_target_database_tls_config_trust_store_content"],
|
363
|
+
))
|
364
|
+
```
|
365
|
+
|
366
|
+
## Import
|
367
|
+
|
368
|
+
TargetDatabasePeerTargetDatabases can be imported using the `id`, e.g.
|
369
|
+
|
370
|
+
```sh
|
371
|
+
$ pulumi import oci:DataSafe/targetDatabasePeerTargetDatabase:TargetDatabasePeerTargetDatabase test_target_database_peer_target_database "targetDatabases/{targetDatabaseId}/peerTargetDatabases/{peerTargetDatabaseId}"
|
372
|
+
```
|
373
|
+
|
374
|
+
:param str resource_name: The name of the resource.
|
375
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
376
|
+
:param pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']] database_details: (Updatable) Details of the database for the registration in Data Safe.
|
377
|
+
:param pulumi.Input[str] dataguard_association_id: The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
|
378
|
+
:param pulumi.Input[str] description: (Updatable) The description of the peer target database in Data Safe.
|
379
|
+
:param pulumi.Input[str] display_name: (Updatable) The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
|
380
|
+
:param pulumi.Input[str] target_database_id: The OCID of the Data Safe target database.
|
381
|
+
:param pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseTlsConfigArgs']] tls_config: (Updatable) The details required to establish a TLS enabled connection.
|
382
|
+
"""
|
383
|
+
...
|
384
|
+
@overload
|
385
|
+
def __init__(__self__,
|
386
|
+
resource_name: str,
|
387
|
+
args: TargetDatabasePeerTargetDatabaseInitArgs,
|
388
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
389
|
+
"""
|
390
|
+
This resource provides the Target Database Peer Target Database resource in Oracle Cloud Infrastructure Data Safe service.
|
391
|
+
|
392
|
+
Creates the peer target database under the primary target database in Data Safe.
|
393
|
+
|
394
|
+
## Example Usage
|
395
|
+
|
396
|
+
```python
|
397
|
+
import pulumi
|
398
|
+
import pulumi_oci as oci
|
399
|
+
|
400
|
+
test_target_database_peer_target_database = oci.data_safe.TargetDatabasePeerTargetDatabase("testTargetDatabasePeerTargetDatabase",
|
401
|
+
database_details=oci.data_safe.TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs(
|
402
|
+
database_type=var["target_database_peer_target_database_database_details_database_type"],
|
403
|
+
infrastructure_type=var["target_database_peer_target_database_database_details_infrastructure_type"],
|
404
|
+
autonomous_database_id=oci_database_autonomous_database["test_autonomous_database"]["id"],
|
405
|
+
db_system_id=oci_database_db_system["test_db_system"]["id"],
|
406
|
+
instance_id=oci_core_instance["test_instance"]["id"],
|
407
|
+
ip_addresses=var["target_database_peer_target_database_database_details_ip_addresses"],
|
408
|
+
listener_port=var["target_database_peer_target_database_database_details_listener_port"],
|
409
|
+
service_name=oci_core_service["test_service"]["name"],
|
410
|
+
vm_cluster_id=oci_database_vm_cluster["test_vm_cluster"]["id"],
|
411
|
+
),
|
412
|
+
target_database_id=oci_data_safe_target_database["test_target_database"]["id"],
|
413
|
+
dataguard_association_id=oci_certificates_management_association["test_association"]["id"],
|
414
|
+
description=var["target_database_peer_target_database_description"],
|
415
|
+
display_name=var["target_database_peer_target_database_display_name"],
|
416
|
+
tls_config=oci.data_safe.TargetDatabasePeerTargetDatabaseTlsConfigArgs(
|
417
|
+
status=var["target_database_peer_target_database_tls_config_status"],
|
418
|
+
certificate_store_type=var["target_database_peer_target_database_tls_config_certificate_store_type"],
|
419
|
+
key_store_content=var["target_database_peer_target_database_tls_config_key_store_content"],
|
420
|
+
store_password=var["target_database_peer_target_database_tls_config_store_password"],
|
421
|
+
trust_store_content=var["target_database_peer_target_database_tls_config_trust_store_content"],
|
422
|
+
))
|
423
|
+
```
|
424
|
+
|
425
|
+
## Import
|
426
|
+
|
427
|
+
TargetDatabasePeerTargetDatabases can be imported using the `id`, e.g.
|
428
|
+
|
429
|
+
```sh
|
430
|
+
$ pulumi import oci:DataSafe/targetDatabasePeerTargetDatabase:TargetDatabasePeerTargetDatabase test_target_database_peer_target_database "targetDatabases/{targetDatabaseId}/peerTargetDatabases/{peerTargetDatabaseId}"
|
431
|
+
```
|
432
|
+
|
433
|
+
:param str resource_name: The name of the resource.
|
434
|
+
:param TargetDatabasePeerTargetDatabaseInitArgs args: The arguments to use to populate this resource's properties.
|
435
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
436
|
+
"""
|
437
|
+
...
|
438
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
439
|
+
resource_args, opts = _utilities.get_resource_args_opts(TargetDatabasePeerTargetDatabaseInitArgs, pulumi.ResourceOptions, *args, **kwargs)
|
440
|
+
if resource_args is not None:
|
441
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
442
|
+
else:
|
443
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
444
|
+
|
445
|
+
def _internal_init(__self__,
|
446
|
+
resource_name: str,
|
447
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
448
|
+
database_details: Optional[pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']]] = None,
|
449
|
+
dataguard_association_id: Optional[pulumi.Input[str]] = None,
|
450
|
+
description: Optional[pulumi.Input[str]] = None,
|
451
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
452
|
+
target_database_id: Optional[pulumi.Input[str]] = None,
|
453
|
+
tls_config: Optional[pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseTlsConfigArgs']]] = None,
|
454
|
+
__props__=None):
|
455
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
456
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
457
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
458
|
+
if opts.id is None:
|
459
|
+
if __props__ is not None:
|
460
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
461
|
+
__props__ = TargetDatabasePeerTargetDatabaseInitArgs.__new__(TargetDatabasePeerTargetDatabaseInitArgs)
|
462
|
+
|
463
|
+
if database_details is None and not opts.urn:
|
464
|
+
raise TypeError("Missing required property 'database_details'")
|
465
|
+
__props__.__dict__["database_details"] = database_details
|
466
|
+
__props__.__dict__["dataguard_association_id"] = dataguard_association_id
|
467
|
+
__props__.__dict__["description"] = description
|
468
|
+
__props__.__dict__["display_name"] = display_name
|
469
|
+
if target_database_id is None and not opts.urn:
|
470
|
+
raise TypeError("Missing required property 'target_database_id'")
|
471
|
+
__props__.__dict__["target_database_id"] = target_database_id
|
472
|
+
__props__.__dict__["tls_config"] = tls_config
|
473
|
+
__props__.__dict__["database_unique_name"] = None
|
474
|
+
__props__.__dict__["key"] = None
|
475
|
+
__props__.__dict__["lifecycle_details"] = None
|
476
|
+
__props__.__dict__["role"] = None
|
477
|
+
__props__.__dict__["state"] = None
|
478
|
+
__props__.__dict__["time_created"] = None
|
479
|
+
super(TargetDatabasePeerTargetDatabase, __self__).__init__(
|
480
|
+
'oci:DataSafe/targetDatabasePeerTargetDatabase:TargetDatabasePeerTargetDatabase',
|
481
|
+
resource_name,
|
482
|
+
__props__,
|
483
|
+
opts)
|
484
|
+
|
485
|
+
@staticmethod
|
486
|
+
def get(resource_name: str,
|
487
|
+
id: pulumi.Input[str],
|
488
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
489
|
+
database_details: Optional[pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']]] = None,
|
490
|
+
database_unique_name: Optional[pulumi.Input[str]] = None,
|
491
|
+
dataguard_association_id: Optional[pulumi.Input[str]] = None,
|
492
|
+
description: Optional[pulumi.Input[str]] = None,
|
493
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
494
|
+
key: Optional[pulumi.Input[int]] = None,
|
495
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
496
|
+
role: Optional[pulumi.Input[str]] = None,
|
497
|
+
state: Optional[pulumi.Input[str]] = None,
|
498
|
+
target_database_id: Optional[pulumi.Input[str]] = None,
|
499
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
500
|
+
tls_config: Optional[pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseTlsConfigArgs']]] = None) -> 'TargetDatabasePeerTargetDatabase':
|
501
|
+
"""
|
502
|
+
Get an existing TargetDatabasePeerTargetDatabase resource's state with the given name, id, and optional extra
|
503
|
+
properties used to qualify the lookup.
|
504
|
+
|
505
|
+
:param str resource_name: The unique name of the resulting resource.
|
506
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
507
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
508
|
+
:param pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseDatabaseDetailsArgs']] database_details: (Updatable) Details of the database for the registration in Data Safe.
|
509
|
+
:param pulumi.Input[str] database_unique_name: Unique name of the database associated to the peer target database.
|
510
|
+
:param pulumi.Input[str] dataguard_association_id: The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
|
511
|
+
:param pulumi.Input[str] description: (Updatable) The description of the peer target database in Data Safe.
|
512
|
+
:param pulumi.Input[str] display_name: (Updatable) The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
|
513
|
+
:param pulumi.Input[int] key: The secondary key assigned for the peer target database in Data Safe.
|
514
|
+
:param pulumi.Input[str] lifecycle_details: Details about the current state of the peer target database in Data Safe.
|
515
|
+
:param pulumi.Input[str] role: Role of the database associated to the peer target database.
|
516
|
+
:param pulumi.Input[str] state: The current state of the peer target database in Data Safe.
|
517
|
+
:param pulumi.Input[str] target_database_id: The OCID of the Data Safe target database.
|
518
|
+
:param pulumi.Input[str] time_created: The date and time of the peer target database registration in Data Safe.
|
519
|
+
:param pulumi.Input[pulumi.InputType['TargetDatabasePeerTargetDatabaseTlsConfigArgs']] tls_config: (Updatable) The details required to establish a TLS enabled connection.
|
520
|
+
"""
|
521
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
522
|
+
|
523
|
+
__props__ = _TargetDatabasePeerTargetDatabaseState.__new__(_TargetDatabasePeerTargetDatabaseState)
|
524
|
+
|
525
|
+
__props__.__dict__["database_details"] = database_details
|
526
|
+
__props__.__dict__["database_unique_name"] = database_unique_name
|
527
|
+
__props__.__dict__["dataguard_association_id"] = dataguard_association_id
|
528
|
+
__props__.__dict__["description"] = description
|
529
|
+
__props__.__dict__["display_name"] = display_name
|
530
|
+
__props__.__dict__["key"] = key
|
531
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
532
|
+
__props__.__dict__["role"] = role
|
533
|
+
__props__.__dict__["state"] = state
|
534
|
+
__props__.__dict__["target_database_id"] = target_database_id
|
535
|
+
__props__.__dict__["time_created"] = time_created
|
536
|
+
__props__.__dict__["tls_config"] = tls_config
|
537
|
+
return TargetDatabasePeerTargetDatabase(resource_name, opts=opts, __props__=__props__)
|
538
|
+
|
539
|
+
@property
|
540
|
+
@pulumi.getter(name="databaseDetails")
|
541
|
+
def database_details(self) -> pulumi.Output['outputs.TargetDatabasePeerTargetDatabaseDatabaseDetails']:
|
542
|
+
"""
|
543
|
+
(Updatable) Details of the database for the registration in Data Safe.
|
544
|
+
"""
|
545
|
+
return pulumi.get(self, "database_details")
|
546
|
+
|
547
|
+
@property
|
548
|
+
@pulumi.getter(name="databaseUniqueName")
|
549
|
+
def database_unique_name(self) -> pulumi.Output[str]:
|
550
|
+
"""
|
551
|
+
Unique name of the database associated to the peer target database.
|
552
|
+
"""
|
553
|
+
return pulumi.get(self, "database_unique_name")
|
554
|
+
|
555
|
+
@property
|
556
|
+
@pulumi.getter(name="dataguardAssociationId")
|
557
|
+
def dataguard_association_id(self) -> pulumi.Output[str]:
|
558
|
+
"""
|
559
|
+
The OCID of the Data Guard Association resource in which the database being registered is considered as peer database to the primary database.
|
560
|
+
"""
|
561
|
+
return pulumi.get(self, "dataguard_association_id")
|
562
|
+
|
563
|
+
@property
|
564
|
+
@pulumi.getter
|
565
|
+
def description(self) -> pulumi.Output[str]:
|
566
|
+
"""
|
567
|
+
(Updatable) The description of the peer target database in Data Safe.
|
568
|
+
"""
|
569
|
+
return pulumi.get(self, "description")
|
570
|
+
|
571
|
+
@property
|
572
|
+
@pulumi.getter(name="displayName")
|
573
|
+
def display_name(self) -> pulumi.Output[str]:
|
574
|
+
"""
|
575
|
+
(Updatable) The display name of the peer target database in Data Safe. The name is modifiable and does not need to be unique.
|
576
|
+
"""
|
577
|
+
return pulumi.get(self, "display_name")
|
578
|
+
|
579
|
+
@property
|
580
|
+
@pulumi.getter
|
581
|
+
def key(self) -> pulumi.Output[int]:
|
582
|
+
"""
|
583
|
+
The secondary key assigned for the peer target database in Data Safe.
|
584
|
+
"""
|
585
|
+
return pulumi.get(self, "key")
|
586
|
+
|
587
|
+
@property
|
588
|
+
@pulumi.getter(name="lifecycleDetails")
|
589
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
590
|
+
"""
|
591
|
+
Details about the current state of the peer target database in Data Safe.
|
592
|
+
"""
|
593
|
+
return pulumi.get(self, "lifecycle_details")
|
594
|
+
|
595
|
+
@property
|
596
|
+
@pulumi.getter
|
597
|
+
def role(self) -> pulumi.Output[str]:
|
598
|
+
"""
|
599
|
+
Role of the database associated to the peer target database.
|
600
|
+
"""
|
601
|
+
return pulumi.get(self, "role")
|
602
|
+
|
603
|
+
@property
|
604
|
+
@pulumi.getter
|
605
|
+
def state(self) -> pulumi.Output[str]:
|
606
|
+
"""
|
607
|
+
The current state of the peer target database in Data Safe.
|
608
|
+
"""
|
609
|
+
return pulumi.get(self, "state")
|
610
|
+
|
611
|
+
@property
|
612
|
+
@pulumi.getter(name="targetDatabaseId")
|
613
|
+
def target_database_id(self) -> pulumi.Output[str]:
|
614
|
+
"""
|
615
|
+
The OCID of the Data Safe target database.
|
616
|
+
"""
|
617
|
+
return pulumi.get(self, "target_database_id")
|
618
|
+
|
619
|
+
@property
|
620
|
+
@pulumi.getter(name="timeCreated")
|
621
|
+
def time_created(self) -> pulumi.Output[str]:
|
622
|
+
"""
|
623
|
+
The date and time of the peer target database registration in Data Safe.
|
624
|
+
"""
|
625
|
+
return pulumi.get(self, "time_created")
|
626
|
+
|
627
|
+
@property
|
628
|
+
@pulumi.getter(name="tlsConfig")
|
629
|
+
def tls_config(self) -> pulumi.Output['outputs.TargetDatabasePeerTargetDatabaseTlsConfig']:
|
630
|
+
"""
|
631
|
+
(Updatable) The details required to establish a TLS enabled connection.
|
632
|
+
"""
|
633
|
+
return pulumi.get(self, "tls_config")
|
634
|
+
|