pulumi-oci 2.23.0a1738304451__py3-none-any.whl → 2.24.0a1738390948__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 +24 -0
- pulumi_oci/apmsynthetics/config.py +2 -2
- pulumi_oci/apmsynthetics/dedicated_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/get_dedicated_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/get_dedicated_vantage_points.py +2 -2
- pulumi_oci/apmsynthetics/get_monitor.py +2 -2
- pulumi_oci/apmsynthetics/get_monitors.py +2 -2
- pulumi_oci/apmsynthetics/get_on_premise_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/get_on_premise_vantage_point_worker.py +2 -2
- pulumi_oci/apmsynthetics/get_on_premise_vantage_point_workers.py +2 -2
- pulumi_oci/apmsynthetics/get_on_premise_vantage_points.py +2 -2
- pulumi_oci/apmsynthetics/get_result.py +2 -2
- pulumi_oci/apmsynthetics/get_script.py +2 -2
- pulumi_oci/apmsynthetics/get_scripts.py +2 -2
- pulumi_oci/apmsynthetics/get_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/get_vantage_points.py +2 -2
- pulumi_oci/apmsynthetics/on_premise_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/on_premise_vantage_point_worker.py +2 -2
- pulumi_oci/apmsynthetics/script.py +2 -2
- pulumi_oci/database/_inputs.py +270 -0
- pulumi_oci/database/backup.py +30 -0
- pulumi_oci/database/outputs.py +491 -0
- pulumi_oci/databasemanagement/__init__.py +7 -0
- pulumi_oci/databasemanagement/_inputs.py +282 -0
- pulumi_oci/databasemanagement/external_my_sql_database.py +297 -0
- pulumi_oci/databasemanagement/external_my_sql_database_connector.py +890 -0
- pulumi_oci/databasemanagement/external_my_sql_database_external_mysql_databases_management.py +302 -0
- pulumi_oci/databasemanagement/get_external_my_sql_database.py +152 -0
- pulumi_oci/databasemanagement/get_external_my_sql_database_connector.py +413 -0
- pulumi_oci/databasemanagement/get_external_my_sql_database_connectors.py +169 -0
- pulumi_oci/databasemanagement/get_external_my_sql_databases.py +166 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +60 -4
- pulumi_oci/databasemanagement/get_managed_my_sql_databases.py +22 -3
- pulumi_oci/databasemanagement/outputs.py +767 -1
- pulumi_oci/disasterrecovery/_inputs.py +720 -0
- pulumi_oci/disasterrecovery/dr_protection_group.py +0 -188
- pulumi_oci/disasterrecovery/get_dr_protection_group.py +1 -1
- pulumi_oci/disasterrecovery/outputs.py +1328 -48
- pulumi_oci/opsi/_inputs.py +20 -0
- pulumi_oci/opsi/database_insight.py +47 -0
- pulumi_oci/opsi/get_database_insight.py +15 -1
- pulumi_oci/opsi/get_news_report.py +29 -1
- pulumi_oci/opsi/news_report.py +117 -17
- pulumi_oci/opsi/outputs.py +70 -1
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0a1738390948.dist-info}/METADATA +1 -1
- {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0a1738390948.dist-info}/RECORD +49 -42
- {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0a1738390948.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0a1738390948.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,890 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['ExternalMySqlDatabaseConnectorArgs', 'ExternalMySqlDatabaseConnector']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class ExternalMySqlDatabaseConnectorArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
compartment_id: pulumi.Input[str],
|
25
|
+
connector_details: pulumi.Input['ExternalMySqlDatabaseConnectorConnectorDetailsArgs'],
|
26
|
+
is_test_connection_param: pulumi.Input[bool],
|
27
|
+
check_connection_status_trigger: Optional[pulumi.Input[int]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a ExternalMySqlDatabaseConnector resource.
|
30
|
+
:param pulumi.Input[str] compartment_id: (Updatable) OCID of compartment for the External MySQL Database.
|
31
|
+
:param pulumi.Input['ExternalMySqlDatabaseConnectorConnectorDetailsArgs'] connector_details: (Updatable) Create Details of external database connector.
|
32
|
+
:param pulumi.Input[bool] is_test_connection_param: Parameter indicating whether database connection needs to be tested.
|
33
|
+
:param pulumi.Input[int] check_connection_status_trigger: (Updatable) An optional property when incremented triggers Check Connection Status. Could be set to any integer value.
|
34
|
+
|
35
|
+
|
36
|
+
** IMPORTANT **
|
37
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
38
|
+
"""
|
39
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
40
|
+
pulumi.set(__self__, "connector_details", connector_details)
|
41
|
+
pulumi.set(__self__, "is_test_connection_param", is_test_connection_param)
|
42
|
+
if check_connection_status_trigger is not None:
|
43
|
+
pulumi.set(__self__, "check_connection_status_trigger", check_connection_status_trigger)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="compartmentId")
|
47
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
48
|
+
"""
|
49
|
+
(Updatable) OCID of compartment for the External MySQL Database.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "compartment_id")
|
52
|
+
|
53
|
+
@compartment_id.setter
|
54
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
55
|
+
pulumi.set(self, "compartment_id", value)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="connectorDetails")
|
59
|
+
def connector_details(self) -> pulumi.Input['ExternalMySqlDatabaseConnectorConnectorDetailsArgs']:
|
60
|
+
"""
|
61
|
+
(Updatable) Create Details of external database connector.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "connector_details")
|
64
|
+
|
65
|
+
@connector_details.setter
|
66
|
+
def connector_details(self, value: pulumi.Input['ExternalMySqlDatabaseConnectorConnectorDetailsArgs']):
|
67
|
+
pulumi.set(self, "connector_details", value)
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="isTestConnectionParam")
|
71
|
+
def is_test_connection_param(self) -> pulumi.Input[bool]:
|
72
|
+
"""
|
73
|
+
Parameter indicating whether database connection needs to be tested.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "is_test_connection_param")
|
76
|
+
|
77
|
+
@is_test_connection_param.setter
|
78
|
+
def is_test_connection_param(self, value: pulumi.Input[bool]):
|
79
|
+
pulumi.set(self, "is_test_connection_param", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="checkConnectionStatusTrigger")
|
83
|
+
def check_connection_status_trigger(self) -> Optional[pulumi.Input[int]]:
|
84
|
+
"""
|
85
|
+
(Updatable) An optional property when incremented triggers Check Connection Status. Could be set to any integer value.
|
86
|
+
|
87
|
+
|
88
|
+
** IMPORTANT **
|
89
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "check_connection_status_trigger")
|
92
|
+
|
93
|
+
@check_connection_status_trigger.setter
|
94
|
+
def check_connection_status_trigger(self, value: Optional[pulumi.Input[int]]):
|
95
|
+
pulumi.set(self, "check_connection_status_trigger", value)
|
96
|
+
|
97
|
+
|
98
|
+
@pulumi.input_type
|
99
|
+
class _ExternalMySqlDatabaseConnectorState:
|
100
|
+
def __init__(__self__, *,
|
101
|
+
associated_services: Optional[pulumi.Input[str]] = None,
|
102
|
+
check_connection_status_trigger: Optional[pulumi.Input[int]] = None,
|
103
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
104
|
+
connection_status: Optional[pulumi.Input[str]] = None,
|
105
|
+
connector_details: Optional[pulumi.Input['ExternalMySqlDatabaseConnectorConnectorDetailsArgs']] = None,
|
106
|
+
connector_type: Optional[pulumi.Input[str]] = None,
|
107
|
+
credential_type: Optional[pulumi.Input[str]] = None,
|
108
|
+
external_database_id: Optional[pulumi.Input[str]] = None,
|
109
|
+
host_name: Optional[pulumi.Input[str]] = None,
|
110
|
+
is_test_connection_param: Optional[pulumi.Input[bool]] = None,
|
111
|
+
macs_agent_id: Optional[pulumi.Input[str]] = None,
|
112
|
+
name: Optional[pulumi.Input[str]] = None,
|
113
|
+
network_protocol: Optional[pulumi.Input[str]] = None,
|
114
|
+
port: Optional[pulumi.Input[int]] = None,
|
115
|
+
source_database: Optional[pulumi.Input[str]] = None,
|
116
|
+
source_database_type: Optional[pulumi.Input[str]] = None,
|
117
|
+
ssl_secret_id: Optional[pulumi.Input[str]] = None,
|
118
|
+
ssl_secret_name: Optional[pulumi.Input[str]] = None,
|
119
|
+
state: Optional[pulumi.Input[str]] = None,
|
120
|
+
time_connection_status_updated: Optional[pulumi.Input[str]] = None,
|
121
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
122
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
123
|
+
"""
|
124
|
+
Input properties used for looking up and filtering ExternalMySqlDatabaseConnector resources.
|
125
|
+
:param pulumi.Input[str] associated_services: Oracle Cloud Infrastructure Services associated with this connector.
|
126
|
+
:param pulumi.Input[int] check_connection_status_trigger: (Updatable) An optional property when incremented triggers Check Connection Status. Could be set to any integer value.
|
127
|
+
|
128
|
+
|
129
|
+
** IMPORTANT **
|
130
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
131
|
+
:param pulumi.Input[str] compartment_id: (Updatable) OCID of compartment for the External MySQL Database.
|
132
|
+
:param pulumi.Input[str] connection_status: Connection Status
|
133
|
+
:param pulumi.Input['ExternalMySqlDatabaseConnectorConnectorDetailsArgs'] connector_details: (Updatable) Create Details of external database connector.
|
134
|
+
:param pulumi.Input[str] connector_type: Connector Type.
|
135
|
+
:param pulumi.Input[str] credential_type: Credential type used to connect to database.
|
136
|
+
:param pulumi.Input[str] external_database_id: OCID of MySQL Database resource
|
137
|
+
:param pulumi.Input[str] host_name: Host name for Connector.
|
138
|
+
:param pulumi.Input[bool] is_test_connection_param: Parameter indicating whether database connection needs to be tested.
|
139
|
+
:param pulumi.Input[str] macs_agent_id: Agent Id of the MACS agent.
|
140
|
+
:param pulumi.Input[str] name: External MySQL Database Connector Name.
|
141
|
+
:param pulumi.Input[str] network_protocol: Network Protocol.
|
142
|
+
:param pulumi.Input[int] port: Connector port.
|
143
|
+
:param pulumi.Input[str] source_database: Name of MySQL Database.
|
144
|
+
:param pulumi.Input[str] source_database_type: Type of MySQL Database.
|
145
|
+
:param pulumi.Input[str] ssl_secret_id: OCID of the SSL secret, if TCPS with SSL is used to connect to database.
|
146
|
+
:param pulumi.Input[str] ssl_secret_name: Name of the SSL secret, if TCPS with SSL is used to connect to database.
|
147
|
+
:param pulumi.Input[str] state: Indicates lifecycle state of the resource.
|
148
|
+
:param pulumi.Input[str] time_connection_status_updated: Time when connection status was last updated.
|
149
|
+
:param pulumi.Input[str] time_created: Connector creation time.
|
150
|
+
:param pulumi.Input[str] time_updated: Connector update time.
|
151
|
+
"""
|
152
|
+
if associated_services is not None:
|
153
|
+
pulumi.set(__self__, "associated_services", associated_services)
|
154
|
+
if check_connection_status_trigger is not None:
|
155
|
+
pulumi.set(__self__, "check_connection_status_trigger", check_connection_status_trigger)
|
156
|
+
if compartment_id is not None:
|
157
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
158
|
+
if connection_status is not None:
|
159
|
+
pulumi.set(__self__, "connection_status", connection_status)
|
160
|
+
if connector_details is not None:
|
161
|
+
pulumi.set(__self__, "connector_details", connector_details)
|
162
|
+
if connector_type is not None:
|
163
|
+
pulumi.set(__self__, "connector_type", connector_type)
|
164
|
+
if credential_type is not None:
|
165
|
+
pulumi.set(__self__, "credential_type", credential_type)
|
166
|
+
if external_database_id is not None:
|
167
|
+
pulumi.set(__self__, "external_database_id", external_database_id)
|
168
|
+
if host_name is not None:
|
169
|
+
pulumi.set(__self__, "host_name", host_name)
|
170
|
+
if is_test_connection_param is not None:
|
171
|
+
pulumi.set(__self__, "is_test_connection_param", is_test_connection_param)
|
172
|
+
if macs_agent_id is not None:
|
173
|
+
pulumi.set(__self__, "macs_agent_id", macs_agent_id)
|
174
|
+
if name is not None:
|
175
|
+
pulumi.set(__self__, "name", name)
|
176
|
+
if network_protocol is not None:
|
177
|
+
pulumi.set(__self__, "network_protocol", network_protocol)
|
178
|
+
if port is not None:
|
179
|
+
pulumi.set(__self__, "port", port)
|
180
|
+
if source_database is not None:
|
181
|
+
pulumi.set(__self__, "source_database", source_database)
|
182
|
+
if source_database_type is not None:
|
183
|
+
pulumi.set(__self__, "source_database_type", source_database_type)
|
184
|
+
if ssl_secret_id is not None:
|
185
|
+
pulumi.set(__self__, "ssl_secret_id", ssl_secret_id)
|
186
|
+
if ssl_secret_name is not None:
|
187
|
+
pulumi.set(__self__, "ssl_secret_name", ssl_secret_name)
|
188
|
+
if state is not None:
|
189
|
+
pulumi.set(__self__, "state", state)
|
190
|
+
if time_connection_status_updated is not None:
|
191
|
+
pulumi.set(__self__, "time_connection_status_updated", time_connection_status_updated)
|
192
|
+
if time_created is not None:
|
193
|
+
pulumi.set(__self__, "time_created", time_created)
|
194
|
+
if time_updated is not None:
|
195
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
196
|
+
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="associatedServices")
|
199
|
+
def associated_services(self) -> Optional[pulumi.Input[str]]:
|
200
|
+
"""
|
201
|
+
Oracle Cloud Infrastructure Services associated with this connector.
|
202
|
+
"""
|
203
|
+
return pulumi.get(self, "associated_services")
|
204
|
+
|
205
|
+
@associated_services.setter
|
206
|
+
def associated_services(self, value: Optional[pulumi.Input[str]]):
|
207
|
+
pulumi.set(self, "associated_services", value)
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="checkConnectionStatusTrigger")
|
211
|
+
def check_connection_status_trigger(self) -> Optional[pulumi.Input[int]]:
|
212
|
+
"""
|
213
|
+
(Updatable) An optional property when incremented triggers Check Connection Status. Could be set to any integer value.
|
214
|
+
|
215
|
+
|
216
|
+
** IMPORTANT **
|
217
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "check_connection_status_trigger")
|
220
|
+
|
221
|
+
@check_connection_status_trigger.setter
|
222
|
+
def check_connection_status_trigger(self, value: Optional[pulumi.Input[int]]):
|
223
|
+
pulumi.set(self, "check_connection_status_trigger", value)
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="compartmentId")
|
227
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
228
|
+
"""
|
229
|
+
(Updatable) OCID of compartment for the External MySQL Database.
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "compartment_id")
|
232
|
+
|
233
|
+
@compartment_id.setter
|
234
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
235
|
+
pulumi.set(self, "compartment_id", value)
|
236
|
+
|
237
|
+
@property
|
238
|
+
@pulumi.getter(name="connectionStatus")
|
239
|
+
def connection_status(self) -> Optional[pulumi.Input[str]]:
|
240
|
+
"""
|
241
|
+
Connection Status
|
242
|
+
"""
|
243
|
+
return pulumi.get(self, "connection_status")
|
244
|
+
|
245
|
+
@connection_status.setter
|
246
|
+
def connection_status(self, value: Optional[pulumi.Input[str]]):
|
247
|
+
pulumi.set(self, "connection_status", value)
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter(name="connectorDetails")
|
251
|
+
def connector_details(self) -> Optional[pulumi.Input['ExternalMySqlDatabaseConnectorConnectorDetailsArgs']]:
|
252
|
+
"""
|
253
|
+
(Updatable) Create Details of external database connector.
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "connector_details")
|
256
|
+
|
257
|
+
@connector_details.setter
|
258
|
+
def connector_details(self, value: Optional[pulumi.Input['ExternalMySqlDatabaseConnectorConnectorDetailsArgs']]):
|
259
|
+
pulumi.set(self, "connector_details", value)
|
260
|
+
|
261
|
+
@property
|
262
|
+
@pulumi.getter(name="connectorType")
|
263
|
+
def connector_type(self) -> Optional[pulumi.Input[str]]:
|
264
|
+
"""
|
265
|
+
Connector Type.
|
266
|
+
"""
|
267
|
+
return pulumi.get(self, "connector_type")
|
268
|
+
|
269
|
+
@connector_type.setter
|
270
|
+
def connector_type(self, value: Optional[pulumi.Input[str]]):
|
271
|
+
pulumi.set(self, "connector_type", value)
|
272
|
+
|
273
|
+
@property
|
274
|
+
@pulumi.getter(name="credentialType")
|
275
|
+
def credential_type(self) -> Optional[pulumi.Input[str]]:
|
276
|
+
"""
|
277
|
+
Credential type used to connect to database.
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "credential_type")
|
280
|
+
|
281
|
+
@credential_type.setter
|
282
|
+
def credential_type(self, value: Optional[pulumi.Input[str]]):
|
283
|
+
pulumi.set(self, "credential_type", value)
|
284
|
+
|
285
|
+
@property
|
286
|
+
@pulumi.getter(name="externalDatabaseId")
|
287
|
+
def external_database_id(self) -> Optional[pulumi.Input[str]]:
|
288
|
+
"""
|
289
|
+
OCID of MySQL Database resource
|
290
|
+
"""
|
291
|
+
return pulumi.get(self, "external_database_id")
|
292
|
+
|
293
|
+
@external_database_id.setter
|
294
|
+
def external_database_id(self, value: Optional[pulumi.Input[str]]):
|
295
|
+
pulumi.set(self, "external_database_id", value)
|
296
|
+
|
297
|
+
@property
|
298
|
+
@pulumi.getter(name="hostName")
|
299
|
+
def host_name(self) -> Optional[pulumi.Input[str]]:
|
300
|
+
"""
|
301
|
+
Host name for Connector.
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "host_name")
|
304
|
+
|
305
|
+
@host_name.setter
|
306
|
+
def host_name(self, value: Optional[pulumi.Input[str]]):
|
307
|
+
pulumi.set(self, "host_name", value)
|
308
|
+
|
309
|
+
@property
|
310
|
+
@pulumi.getter(name="isTestConnectionParam")
|
311
|
+
def is_test_connection_param(self) -> Optional[pulumi.Input[bool]]:
|
312
|
+
"""
|
313
|
+
Parameter indicating whether database connection needs to be tested.
|
314
|
+
"""
|
315
|
+
return pulumi.get(self, "is_test_connection_param")
|
316
|
+
|
317
|
+
@is_test_connection_param.setter
|
318
|
+
def is_test_connection_param(self, value: Optional[pulumi.Input[bool]]):
|
319
|
+
pulumi.set(self, "is_test_connection_param", value)
|
320
|
+
|
321
|
+
@property
|
322
|
+
@pulumi.getter(name="macsAgentId")
|
323
|
+
def macs_agent_id(self) -> Optional[pulumi.Input[str]]:
|
324
|
+
"""
|
325
|
+
Agent Id of the MACS agent.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "macs_agent_id")
|
328
|
+
|
329
|
+
@macs_agent_id.setter
|
330
|
+
def macs_agent_id(self, value: Optional[pulumi.Input[str]]):
|
331
|
+
pulumi.set(self, "macs_agent_id", value)
|
332
|
+
|
333
|
+
@property
|
334
|
+
@pulumi.getter
|
335
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
336
|
+
"""
|
337
|
+
External MySQL Database Connector Name.
|
338
|
+
"""
|
339
|
+
return pulumi.get(self, "name")
|
340
|
+
|
341
|
+
@name.setter
|
342
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
343
|
+
pulumi.set(self, "name", value)
|
344
|
+
|
345
|
+
@property
|
346
|
+
@pulumi.getter(name="networkProtocol")
|
347
|
+
def network_protocol(self) -> Optional[pulumi.Input[str]]:
|
348
|
+
"""
|
349
|
+
Network Protocol.
|
350
|
+
"""
|
351
|
+
return pulumi.get(self, "network_protocol")
|
352
|
+
|
353
|
+
@network_protocol.setter
|
354
|
+
def network_protocol(self, value: Optional[pulumi.Input[str]]):
|
355
|
+
pulumi.set(self, "network_protocol", value)
|
356
|
+
|
357
|
+
@property
|
358
|
+
@pulumi.getter
|
359
|
+
def port(self) -> Optional[pulumi.Input[int]]:
|
360
|
+
"""
|
361
|
+
Connector port.
|
362
|
+
"""
|
363
|
+
return pulumi.get(self, "port")
|
364
|
+
|
365
|
+
@port.setter
|
366
|
+
def port(self, value: Optional[pulumi.Input[int]]):
|
367
|
+
pulumi.set(self, "port", value)
|
368
|
+
|
369
|
+
@property
|
370
|
+
@pulumi.getter(name="sourceDatabase")
|
371
|
+
def source_database(self) -> Optional[pulumi.Input[str]]:
|
372
|
+
"""
|
373
|
+
Name of MySQL Database.
|
374
|
+
"""
|
375
|
+
return pulumi.get(self, "source_database")
|
376
|
+
|
377
|
+
@source_database.setter
|
378
|
+
def source_database(self, value: Optional[pulumi.Input[str]]):
|
379
|
+
pulumi.set(self, "source_database", value)
|
380
|
+
|
381
|
+
@property
|
382
|
+
@pulumi.getter(name="sourceDatabaseType")
|
383
|
+
def source_database_type(self) -> Optional[pulumi.Input[str]]:
|
384
|
+
"""
|
385
|
+
Type of MySQL Database.
|
386
|
+
"""
|
387
|
+
return pulumi.get(self, "source_database_type")
|
388
|
+
|
389
|
+
@source_database_type.setter
|
390
|
+
def source_database_type(self, value: Optional[pulumi.Input[str]]):
|
391
|
+
pulumi.set(self, "source_database_type", value)
|
392
|
+
|
393
|
+
@property
|
394
|
+
@pulumi.getter(name="sslSecretId")
|
395
|
+
def ssl_secret_id(self) -> Optional[pulumi.Input[str]]:
|
396
|
+
"""
|
397
|
+
OCID of the SSL secret, if TCPS with SSL is used to connect to database.
|
398
|
+
"""
|
399
|
+
return pulumi.get(self, "ssl_secret_id")
|
400
|
+
|
401
|
+
@ssl_secret_id.setter
|
402
|
+
def ssl_secret_id(self, value: Optional[pulumi.Input[str]]):
|
403
|
+
pulumi.set(self, "ssl_secret_id", value)
|
404
|
+
|
405
|
+
@property
|
406
|
+
@pulumi.getter(name="sslSecretName")
|
407
|
+
def ssl_secret_name(self) -> Optional[pulumi.Input[str]]:
|
408
|
+
"""
|
409
|
+
Name of the SSL secret, if TCPS with SSL is used to connect to database.
|
410
|
+
"""
|
411
|
+
return pulumi.get(self, "ssl_secret_name")
|
412
|
+
|
413
|
+
@ssl_secret_name.setter
|
414
|
+
def ssl_secret_name(self, value: Optional[pulumi.Input[str]]):
|
415
|
+
pulumi.set(self, "ssl_secret_name", value)
|
416
|
+
|
417
|
+
@property
|
418
|
+
@pulumi.getter
|
419
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
420
|
+
"""
|
421
|
+
Indicates lifecycle state of the resource.
|
422
|
+
"""
|
423
|
+
return pulumi.get(self, "state")
|
424
|
+
|
425
|
+
@state.setter
|
426
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
427
|
+
pulumi.set(self, "state", value)
|
428
|
+
|
429
|
+
@property
|
430
|
+
@pulumi.getter(name="timeConnectionStatusUpdated")
|
431
|
+
def time_connection_status_updated(self) -> Optional[pulumi.Input[str]]:
|
432
|
+
"""
|
433
|
+
Time when connection status was last updated.
|
434
|
+
"""
|
435
|
+
return pulumi.get(self, "time_connection_status_updated")
|
436
|
+
|
437
|
+
@time_connection_status_updated.setter
|
438
|
+
def time_connection_status_updated(self, value: Optional[pulumi.Input[str]]):
|
439
|
+
pulumi.set(self, "time_connection_status_updated", value)
|
440
|
+
|
441
|
+
@property
|
442
|
+
@pulumi.getter(name="timeCreated")
|
443
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
444
|
+
"""
|
445
|
+
Connector creation time.
|
446
|
+
"""
|
447
|
+
return pulumi.get(self, "time_created")
|
448
|
+
|
449
|
+
@time_created.setter
|
450
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
451
|
+
pulumi.set(self, "time_created", value)
|
452
|
+
|
453
|
+
@property
|
454
|
+
@pulumi.getter(name="timeUpdated")
|
455
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
456
|
+
"""
|
457
|
+
Connector update time.
|
458
|
+
"""
|
459
|
+
return pulumi.get(self, "time_updated")
|
460
|
+
|
461
|
+
@time_updated.setter
|
462
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
463
|
+
pulumi.set(self, "time_updated", value)
|
464
|
+
|
465
|
+
|
466
|
+
class ExternalMySqlDatabaseConnector(pulumi.CustomResource):
|
467
|
+
@overload
|
468
|
+
def __init__(__self__,
|
469
|
+
resource_name: str,
|
470
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
471
|
+
check_connection_status_trigger: Optional[pulumi.Input[int]] = None,
|
472
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
473
|
+
connector_details: Optional[pulumi.Input[Union['ExternalMySqlDatabaseConnectorConnectorDetailsArgs', 'ExternalMySqlDatabaseConnectorConnectorDetailsArgsDict']]] = None,
|
474
|
+
is_test_connection_param: Optional[pulumi.Input[bool]] = None,
|
475
|
+
__props__=None):
|
476
|
+
"""
|
477
|
+
This resource provides the External My Sql Database Connector resource in Oracle Cloud Infrastructure Database Management service.
|
478
|
+
|
479
|
+
Creates an external MySQL connector resource.
|
480
|
+
|
481
|
+
## Example Usage
|
482
|
+
|
483
|
+
```python
|
484
|
+
import pulumi
|
485
|
+
import pulumi_oci as oci
|
486
|
+
|
487
|
+
test_external_my_sql_database_connector = oci.database_management.ExternalMySqlDatabaseConnector("test_external_my_sql_database_connector",
|
488
|
+
compartment_id=compartment_id,
|
489
|
+
connector_details={
|
490
|
+
"credential_type": external_my_sql_database_connector_connector_details_credential_type,
|
491
|
+
"display_name": external_my_sql_database_connector_connector_details_display_name,
|
492
|
+
"external_database_id": test_external_database["id"],
|
493
|
+
"host_name": external_my_sql_database_connector_connector_details_host_name,
|
494
|
+
"macs_agent_id": test_agent["id"],
|
495
|
+
"network_protocol": external_my_sql_database_connector_connector_details_network_protocol,
|
496
|
+
"port": external_my_sql_database_connector_connector_details_port,
|
497
|
+
"ssl_secret_id": test_secret["id"],
|
498
|
+
},
|
499
|
+
is_test_connection_param=external_my_sql_database_connector_is_test_connection_param)
|
500
|
+
```
|
501
|
+
|
502
|
+
## Import
|
503
|
+
|
504
|
+
ExternalMySqlDatabaseConnectors can be imported using the `id`, e.g.
|
505
|
+
|
506
|
+
```sh
|
507
|
+
$ pulumi import oci:DatabaseManagement/externalMySqlDatabaseConnector:ExternalMySqlDatabaseConnector test_external_my_sql_database_connector "id"
|
508
|
+
```
|
509
|
+
|
510
|
+
:param str resource_name: The name of the resource.
|
511
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
512
|
+
:param pulumi.Input[int] check_connection_status_trigger: (Updatable) An optional property when incremented triggers Check Connection Status. Could be set to any integer value.
|
513
|
+
|
514
|
+
|
515
|
+
** IMPORTANT **
|
516
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
517
|
+
:param pulumi.Input[str] compartment_id: (Updatable) OCID of compartment for the External MySQL Database.
|
518
|
+
:param pulumi.Input[Union['ExternalMySqlDatabaseConnectorConnectorDetailsArgs', 'ExternalMySqlDatabaseConnectorConnectorDetailsArgsDict']] connector_details: (Updatable) Create Details of external database connector.
|
519
|
+
:param pulumi.Input[bool] is_test_connection_param: Parameter indicating whether database connection needs to be tested.
|
520
|
+
"""
|
521
|
+
...
|
522
|
+
@overload
|
523
|
+
def __init__(__self__,
|
524
|
+
resource_name: str,
|
525
|
+
args: ExternalMySqlDatabaseConnectorArgs,
|
526
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
527
|
+
"""
|
528
|
+
This resource provides the External My Sql Database Connector resource in Oracle Cloud Infrastructure Database Management service.
|
529
|
+
|
530
|
+
Creates an external MySQL connector resource.
|
531
|
+
|
532
|
+
## Example Usage
|
533
|
+
|
534
|
+
```python
|
535
|
+
import pulumi
|
536
|
+
import pulumi_oci as oci
|
537
|
+
|
538
|
+
test_external_my_sql_database_connector = oci.database_management.ExternalMySqlDatabaseConnector("test_external_my_sql_database_connector",
|
539
|
+
compartment_id=compartment_id,
|
540
|
+
connector_details={
|
541
|
+
"credential_type": external_my_sql_database_connector_connector_details_credential_type,
|
542
|
+
"display_name": external_my_sql_database_connector_connector_details_display_name,
|
543
|
+
"external_database_id": test_external_database["id"],
|
544
|
+
"host_name": external_my_sql_database_connector_connector_details_host_name,
|
545
|
+
"macs_agent_id": test_agent["id"],
|
546
|
+
"network_protocol": external_my_sql_database_connector_connector_details_network_protocol,
|
547
|
+
"port": external_my_sql_database_connector_connector_details_port,
|
548
|
+
"ssl_secret_id": test_secret["id"],
|
549
|
+
},
|
550
|
+
is_test_connection_param=external_my_sql_database_connector_is_test_connection_param)
|
551
|
+
```
|
552
|
+
|
553
|
+
## Import
|
554
|
+
|
555
|
+
ExternalMySqlDatabaseConnectors can be imported using the `id`, e.g.
|
556
|
+
|
557
|
+
```sh
|
558
|
+
$ pulumi import oci:DatabaseManagement/externalMySqlDatabaseConnector:ExternalMySqlDatabaseConnector test_external_my_sql_database_connector "id"
|
559
|
+
```
|
560
|
+
|
561
|
+
:param str resource_name: The name of the resource.
|
562
|
+
:param ExternalMySqlDatabaseConnectorArgs args: The arguments to use to populate this resource's properties.
|
563
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
564
|
+
"""
|
565
|
+
...
|
566
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
567
|
+
resource_args, opts = _utilities.get_resource_args_opts(ExternalMySqlDatabaseConnectorArgs, pulumi.ResourceOptions, *args, **kwargs)
|
568
|
+
if resource_args is not None:
|
569
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
570
|
+
else:
|
571
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
572
|
+
|
573
|
+
def _internal_init(__self__,
|
574
|
+
resource_name: str,
|
575
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
576
|
+
check_connection_status_trigger: Optional[pulumi.Input[int]] = None,
|
577
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
578
|
+
connector_details: Optional[pulumi.Input[Union['ExternalMySqlDatabaseConnectorConnectorDetailsArgs', 'ExternalMySqlDatabaseConnectorConnectorDetailsArgsDict']]] = None,
|
579
|
+
is_test_connection_param: Optional[pulumi.Input[bool]] = None,
|
580
|
+
__props__=None):
|
581
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
582
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
583
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
584
|
+
if opts.id is None:
|
585
|
+
if __props__ is not None:
|
586
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
587
|
+
__props__ = ExternalMySqlDatabaseConnectorArgs.__new__(ExternalMySqlDatabaseConnectorArgs)
|
588
|
+
|
589
|
+
__props__.__dict__["check_connection_status_trigger"] = check_connection_status_trigger
|
590
|
+
if compartment_id is None and not opts.urn:
|
591
|
+
raise TypeError("Missing required property 'compartment_id'")
|
592
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
593
|
+
if connector_details is None and not opts.urn:
|
594
|
+
raise TypeError("Missing required property 'connector_details'")
|
595
|
+
__props__.__dict__["connector_details"] = connector_details
|
596
|
+
if is_test_connection_param is None and not opts.urn:
|
597
|
+
raise TypeError("Missing required property 'is_test_connection_param'")
|
598
|
+
__props__.__dict__["is_test_connection_param"] = is_test_connection_param
|
599
|
+
__props__.__dict__["associated_services"] = None
|
600
|
+
__props__.__dict__["connection_status"] = None
|
601
|
+
__props__.__dict__["connector_type"] = None
|
602
|
+
__props__.__dict__["credential_type"] = None
|
603
|
+
__props__.__dict__["external_database_id"] = None
|
604
|
+
__props__.__dict__["host_name"] = None
|
605
|
+
__props__.__dict__["macs_agent_id"] = None
|
606
|
+
__props__.__dict__["name"] = None
|
607
|
+
__props__.__dict__["network_protocol"] = None
|
608
|
+
__props__.__dict__["port"] = None
|
609
|
+
__props__.__dict__["source_database"] = None
|
610
|
+
__props__.__dict__["source_database_type"] = None
|
611
|
+
__props__.__dict__["ssl_secret_id"] = None
|
612
|
+
__props__.__dict__["ssl_secret_name"] = None
|
613
|
+
__props__.__dict__["state"] = None
|
614
|
+
__props__.__dict__["time_connection_status_updated"] = None
|
615
|
+
__props__.__dict__["time_created"] = None
|
616
|
+
__props__.__dict__["time_updated"] = None
|
617
|
+
super(ExternalMySqlDatabaseConnector, __self__).__init__(
|
618
|
+
'oci:DatabaseManagement/externalMySqlDatabaseConnector:ExternalMySqlDatabaseConnector',
|
619
|
+
resource_name,
|
620
|
+
__props__,
|
621
|
+
opts)
|
622
|
+
|
623
|
+
@staticmethod
|
624
|
+
def get(resource_name: str,
|
625
|
+
id: pulumi.Input[str],
|
626
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
627
|
+
associated_services: Optional[pulumi.Input[str]] = None,
|
628
|
+
check_connection_status_trigger: Optional[pulumi.Input[int]] = None,
|
629
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
630
|
+
connection_status: Optional[pulumi.Input[str]] = None,
|
631
|
+
connector_details: Optional[pulumi.Input[Union['ExternalMySqlDatabaseConnectorConnectorDetailsArgs', 'ExternalMySqlDatabaseConnectorConnectorDetailsArgsDict']]] = None,
|
632
|
+
connector_type: Optional[pulumi.Input[str]] = None,
|
633
|
+
credential_type: Optional[pulumi.Input[str]] = None,
|
634
|
+
external_database_id: Optional[pulumi.Input[str]] = None,
|
635
|
+
host_name: Optional[pulumi.Input[str]] = None,
|
636
|
+
is_test_connection_param: Optional[pulumi.Input[bool]] = None,
|
637
|
+
macs_agent_id: Optional[pulumi.Input[str]] = None,
|
638
|
+
name: Optional[pulumi.Input[str]] = None,
|
639
|
+
network_protocol: Optional[pulumi.Input[str]] = None,
|
640
|
+
port: Optional[pulumi.Input[int]] = None,
|
641
|
+
source_database: Optional[pulumi.Input[str]] = None,
|
642
|
+
source_database_type: Optional[pulumi.Input[str]] = None,
|
643
|
+
ssl_secret_id: Optional[pulumi.Input[str]] = None,
|
644
|
+
ssl_secret_name: Optional[pulumi.Input[str]] = None,
|
645
|
+
state: Optional[pulumi.Input[str]] = None,
|
646
|
+
time_connection_status_updated: Optional[pulumi.Input[str]] = None,
|
647
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
648
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'ExternalMySqlDatabaseConnector':
|
649
|
+
"""
|
650
|
+
Get an existing ExternalMySqlDatabaseConnector resource's state with the given name, id, and optional extra
|
651
|
+
properties used to qualify the lookup.
|
652
|
+
|
653
|
+
:param str resource_name: The unique name of the resulting resource.
|
654
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
655
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
656
|
+
:param pulumi.Input[str] associated_services: Oracle Cloud Infrastructure Services associated with this connector.
|
657
|
+
:param pulumi.Input[int] check_connection_status_trigger: (Updatable) An optional property when incremented triggers Check Connection Status. Could be set to any integer value.
|
658
|
+
|
659
|
+
|
660
|
+
** IMPORTANT **
|
661
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
662
|
+
:param pulumi.Input[str] compartment_id: (Updatable) OCID of compartment for the External MySQL Database.
|
663
|
+
:param pulumi.Input[str] connection_status: Connection Status
|
664
|
+
:param pulumi.Input[Union['ExternalMySqlDatabaseConnectorConnectorDetailsArgs', 'ExternalMySqlDatabaseConnectorConnectorDetailsArgsDict']] connector_details: (Updatable) Create Details of external database connector.
|
665
|
+
:param pulumi.Input[str] connector_type: Connector Type.
|
666
|
+
:param pulumi.Input[str] credential_type: Credential type used to connect to database.
|
667
|
+
:param pulumi.Input[str] external_database_id: OCID of MySQL Database resource
|
668
|
+
:param pulumi.Input[str] host_name: Host name for Connector.
|
669
|
+
:param pulumi.Input[bool] is_test_connection_param: Parameter indicating whether database connection needs to be tested.
|
670
|
+
:param pulumi.Input[str] macs_agent_id: Agent Id of the MACS agent.
|
671
|
+
:param pulumi.Input[str] name: External MySQL Database Connector Name.
|
672
|
+
:param pulumi.Input[str] network_protocol: Network Protocol.
|
673
|
+
:param pulumi.Input[int] port: Connector port.
|
674
|
+
:param pulumi.Input[str] source_database: Name of MySQL Database.
|
675
|
+
:param pulumi.Input[str] source_database_type: Type of MySQL Database.
|
676
|
+
:param pulumi.Input[str] ssl_secret_id: OCID of the SSL secret, if TCPS with SSL is used to connect to database.
|
677
|
+
:param pulumi.Input[str] ssl_secret_name: Name of the SSL secret, if TCPS with SSL is used to connect to database.
|
678
|
+
:param pulumi.Input[str] state: Indicates lifecycle state of the resource.
|
679
|
+
:param pulumi.Input[str] time_connection_status_updated: Time when connection status was last updated.
|
680
|
+
:param pulumi.Input[str] time_created: Connector creation time.
|
681
|
+
:param pulumi.Input[str] time_updated: Connector update time.
|
682
|
+
"""
|
683
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
684
|
+
|
685
|
+
__props__ = _ExternalMySqlDatabaseConnectorState.__new__(_ExternalMySqlDatabaseConnectorState)
|
686
|
+
|
687
|
+
__props__.__dict__["associated_services"] = associated_services
|
688
|
+
__props__.__dict__["check_connection_status_trigger"] = check_connection_status_trigger
|
689
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
690
|
+
__props__.__dict__["connection_status"] = connection_status
|
691
|
+
__props__.__dict__["connector_details"] = connector_details
|
692
|
+
__props__.__dict__["connector_type"] = connector_type
|
693
|
+
__props__.__dict__["credential_type"] = credential_type
|
694
|
+
__props__.__dict__["external_database_id"] = external_database_id
|
695
|
+
__props__.__dict__["host_name"] = host_name
|
696
|
+
__props__.__dict__["is_test_connection_param"] = is_test_connection_param
|
697
|
+
__props__.__dict__["macs_agent_id"] = macs_agent_id
|
698
|
+
__props__.__dict__["name"] = name
|
699
|
+
__props__.__dict__["network_protocol"] = network_protocol
|
700
|
+
__props__.__dict__["port"] = port
|
701
|
+
__props__.__dict__["source_database"] = source_database
|
702
|
+
__props__.__dict__["source_database_type"] = source_database_type
|
703
|
+
__props__.__dict__["ssl_secret_id"] = ssl_secret_id
|
704
|
+
__props__.__dict__["ssl_secret_name"] = ssl_secret_name
|
705
|
+
__props__.__dict__["state"] = state
|
706
|
+
__props__.__dict__["time_connection_status_updated"] = time_connection_status_updated
|
707
|
+
__props__.__dict__["time_created"] = time_created
|
708
|
+
__props__.__dict__["time_updated"] = time_updated
|
709
|
+
return ExternalMySqlDatabaseConnector(resource_name, opts=opts, __props__=__props__)
|
710
|
+
|
711
|
+
@property
|
712
|
+
@pulumi.getter(name="associatedServices")
|
713
|
+
def associated_services(self) -> pulumi.Output[str]:
|
714
|
+
"""
|
715
|
+
Oracle Cloud Infrastructure Services associated with this connector.
|
716
|
+
"""
|
717
|
+
return pulumi.get(self, "associated_services")
|
718
|
+
|
719
|
+
@property
|
720
|
+
@pulumi.getter(name="checkConnectionStatusTrigger")
|
721
|
+
def check_connection_status_trigger(self) -> pulumi.Output[Optional[int]]:
|
722
|
+
"""
|
723
|
+
(Updatable) An optional property when incremented triggers Check Connection Status. Could be set to any integer value.
|
724
|
+
|
725
|
+
|
726
|
+
** IMPORTANT **
|
727
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
728
|
+
"""
|
729
|
+
return pulumi.get(self, "check_connection_status_trigger")
|
730
|
+
|
731
|
+
@property
|
732
|
+
@pulumi.getter(name="compartmentId")
|
733
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
734
|
+
"""
|
735
|
+
(Updatable) OCID of compartment for the External MySQL Database.
|
736
|
+
"""
|
737
|
+
return pulumi.get(self, "compartment_id")
|
738
|
+
|
739
|
+
@property
|
740
|
+
@pulumi.getter(name="connectionStatus")
|
741
|
+
def connection_status(self) -> pulumi.Output[str]:
|
742
|
+
"""
|
743
|
+
Connection Status
|
744
|
+
"""
|
745
|
+
return pulumi.get(self, "connection_status")
|
746
|
+
|
747
|
+
@property
|
748
|
+
@pulumi.getter(name="connectorDetails")
|
749
|
+
def connector_details(self) -> pulumi.Output['outputs.ExternalMySqlDatabaseConnectorConnectorDetails']:
|
750
|
+
"""
|
751
|
+
(Updatable) Create Details of external database connector.
|
752
|
+
"""
|
753
|
+
return pulumi.get(self, "connector_details")
|
754
|
+
|
755
|
+
@property
|
756
|
+
@pulumi.getter(name="connectorType")
|
757
|
+
def connector_type(self) -> pulumi.Output[str]:
|
758
|
+
"""
|
759
|
+
Connector Type.
|
760
|
+
"""
|
761
|
+
return pulumi.get(self, "connector_type")
|
762
|
+
|
763
|
+
@property
|
764
|
+
@pulumi.getter(name="credentialType")
|
765
|
+
def credential_type(self) -> pulumi.Output[str]:
|
766
|
+
"""
|
767
|
+
Credential type used to connect to database.
|
768
|
+
"""
|
769
|
+
return pulumi.get(self, "credential_type")
|
770
|
+
|
771
|
+
@property
|
772
|
+
@pulumi.getter(name="externalDatabaseId")
|
773
|
+
def external_database_id(self) -> pulumi.Output[str]:
|
774
|
+
"""
|
775
|
+
OCID of MySQL Database resource
|
776
|
+
"""
|
777
|
+
return pulumi.get(self, "external_database_id")
|
778
|
+
|
779
|
+
@property
|
780
|
+
@pulumi.getter(name="hostName")
|
781
|
+
def host_name(self) -> pulumi.Output[str]:
|
782
|
+
"""
|
783
|
+
Host name for Connector.
|
784
|
+
"""
|
785
|
+
return pulumi.get(self, "host_name")
|
786
|
+
|
787
|
+
@property
|
788
|
+
@pulumi.getter(name="isTestConnectionParam")
|
789
|
+
def is_test_connection_param(self) -> pulumi.Output[bool]:
|
790
|
+
"""
|
791
|
+
Parameter indicating whether database connection needs to be tested.
|
792
|
+
"""
|
793
|
+
return pulumi.get(self, "is_test_connection_param")
|
794
|
+
|
795
|
+
@property
|
796
|
+
@pulumi.getter(name="macsAgentId")
|
797
|
+
def macs_agent_id(self) -> pulumi.Output[str]:
|
798
|
+
"""
|
799
|
+
Agent Id of the MACS agent.
|
800
|
+
"""
|
801
|
+
return pulumi.get(self, "macs_agent_id")
|
802
|
+
|
803
|
+
@property
|
804
|
+
@pulumi.getter
|
805
|
+
def name(self) -> pulumi.Output[str]:
|
806
|
+
"""
|
807
|
+
External MySQL Database Connector Name.
|
808
|
+
"""
|
809
|
+
return pulumi.get(self, "name")
|
810
|
+
|
811
|
+
@property
|
812
|
+
@pulumi.getter(name="networkProtocol")
|
813
|
+
def network_protocol(self) -> pulumi.Output[str]:
|
814
|
+
"""
|
815
|
+
Network Protocol.
|
816
|
+
"""
|
817
|
+
return pulumi.get(self, "network_protocol")
|
818
|
+
|
819
|
+
@property
|
820
|
+
@pulumi.getter
|
821
|
+
def port(self) -> pulumi.Output[int]:
|
822
|
+
"""
|
823
|
+
Connector port.
|
824
|
+
"""
|
825
|
+
return pulumi.get(self, "port")
|
826
|
+
|
827
|
+
@property
|
828
|
+
@pulumi.getter(name="sourceDatabase")
|
829
|
+
def source_database(self) -> pulumi.Output[str]:
|
830
|
+
"""
|
831
|
+
Name of MySQL Database.
|
832
|
+
"""
|
833
|
+
return pulumi.get(self, "source_database")
|
834
|
+
|
835
|
+
@property
|
836
|
+
@pulumi.getter(name="sourceDatabaseType")
|
837
|
+
def source_database_type(self) -> pulumi.Output[str]:
|
838
|
+
"""
|
839
|
+
Type of MySQL Database.
|
840
|
+
"""
|
841
|
+
return pulumi.get(self, "source_database_type")
|
842
|
+
|
843
|
+
@property
|
844
|
+
@pulumi.getter(name="sslSecretId")
|
845
|
+
def ssl_secret_id(self) -> pulumi.Output[str]:
|
846
|
+
"""
|
847
|
+
OCID of the SSL secret, if TCPS with SSL is used to connect to database.
|
848
|
+
"""
|
849
|
+
return pulumi.get(self, "ssl_secret_id")
|
850
|
+
|
851
|
+
@property
|
852
|
+
@pulumi.getter(name="sslSecretName")
|
853
|
+
def ssl_secret_name(self) -> pulumi.Output[str]:
|
854
|
+
"""
|
855
|
+
Name of the SSL secret, if TCPS with SSL is used to connect to database.
|
856
|
+
"""
|
857
|
+
return pulumi.get(self, "ssl_secret_name")
|
858
|
+
|
859
|
+
@property
|
860
|
+
@pulumi.getter
|
861
|
+
def state(self) -> pulumi.Output[str]:
|
862
|
+
"""
|
863
|
+
Indicates lifecycle state of the resource.
|
864
|
+
"""
|
865
|
+
return pulumi.get(self, "state")
|
866
|
+
|
867
|
+
@property
|
868
|
+
@pulumi.getter(name="timeConnectionStatusUpdated")
|
869
|
+
def time_connection_status_updated(self) -> pulumi.Output[str]:
|
870
|
+
"""
|
871
|
+
Time when connection status was last updated.
|
872
|
+
"""
|
873
|
+
return pulumi.get(self, "time_connection_status_updated")
|
874
|
+
|
875
|
+
@property
|
876
|
+
@pulumi.getter(name="timeCreated")
|
877
|
+
def time_created(self) -> pulumi.Output[str]:
|
878
|
+
"""
|
879
|
+
Connector creation time.
|
880
|
+
"""
|
881
|
+
return pulumi.get(self, "time_created")
|
882
|
+
|
883
|
+
@property
|
884
|
+
@pulumi.getter(name="timeUpdated")
|
885
|
+
def time_updated(self) -> pulumi.Output[str]:
|
886
|
+
"""
|
887
|
+
Connector update time.
|
888
|
+
"""
|
889
|
+
return pulumi.get(self, "time_updated")
|
890
|
+
|