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,413 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetExternalMySqlDatabaseConnectorResult',
|
20
|
+
'AwaitableGetExternalMySqlDatabaseConnectorResult',
|
21
|
+
'get_external_my_sql_database_connector',
|
22
|
+
'get_external_my_sql_database_connector_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetExternalMySqlDatabaseConnectorResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getExternalMySqlDatabaseConnector.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, associated_services=None, check_connection_status_trigger=None, compartment_id=None, connection_status=None, connector_details=None, connector_type=None, credential_type=None, external_database_id=None, external_my_sql_database_connector_id=None, host_name=None, id=None, is_test_connection_param=None, macs_agent_id=None, name=None, network_protocol=None, port=None, source_database=None, source_database_type=None, ssl_secret_id=None, ssl_secret_name=None, state=None, time_connection_status_updated=None, time_created=None, time_updated=None):
|
31
|
+
if associated_services and not isinstance(associated_services, str):
|
32
|
+
raise TypeError("Expected argument 'associated_services' to be a str")
|
33
|
+
pulumi.set(__self__, "associated_services", associated_services)
|
34
|
+
if check_connection_status_trigger and not isinstance(check_connection_status_trigger, int):
|
35
|
+
raise TypeError("Expected argument 'check_connection_status_trigger' to be a int")
|
36
|
+
pulumi.set(__self__, "check_connection_status_trigger", check_connection_status_trigger)
|
37
|
+
if compartment_id and not isinstance(compartment_id, str):
|
38
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
39
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
40
|
+
if connection_status and not isinstance(connection_status, str):
|
41
|
+
raise TypeError("Expected argument 'connection_status' to be a str")
|
42
|
+
pulumi.set(__self__, "connection_status", connection_status)
|
43
|
+
if connector_details and not isinstance(connector_details, list):
|
44
|
+
raise TypeError("Expected argument 'connector_details' to be a list")
|
45
|
+
pulumi.set(__self__, "connector_details", connector_details)
|
46
|
+
if connector_type and not isinstance(connector_type, str):
|
47
|
+
raise TypeError("Expected argument 'connector_type' to be a str")
|
48
|
+
pulumi.set(__self__, "connector_type", connector_type)
|
49
|
+
if credential_type and not isinstance(credential_type, str):
|
50
|
+
raise TypeError("Expected argument 'credential_type' to be a str")
|
51
|
+
pulumi.set(__self__, "credential_type", credential_type)
|
52
|
+
if external_database_id and not isinstance(external_database_id, str):
|
53
|
+
raise TypeError("Expected argument 'external_database_id' to be a str")
|
54
|
+
pulumi.set(__self__, "external_database_id", external_database_id)
|
55
|
+
if external_my_sql_database_connector_id and not isinstance(external_my_sql_database_connector_id, str):
|
56
|
+
raise TypeError("Expected argument 'external_my_sql_database_connector_id' to be a str")
|
57
|
+
pulumi.set(__self__, "external_my_sql_database_connector_id", external_my_sql_database_connector_id)
|
58
|
+
if host_name and not isinstance(host_name, str):
|
59
|
+
raise TypeError("Expected argument 'host_name' to be a str")
|
60
|
+
pulumi.set(__self__, "host_name", host_name)
|
61
|
+
if id and not isinstance(id, str):
|
62
|
+
raise TypeError("Expected argument 'id' to be a str")
|
63
|
+
pulumi.set(__self__, "id", id)
|
64
|
+
if is_test_connection_param and not isinstance(is_test_connection_param, bool):
|
65
|
+
raise TypeError("Expected argument 'is_test_connection_param' to be a bool")
|
66
|
+
pulumi.set(__self__, "is_test_connection_param", is_test_connection_param)
|
67
|
+
if macs_agent_id and not isinstance(macs_agent_id, str):
|
68
|
+
raise TypeError("Expected argument 'macs_agent_id' to be a str")
|
69
|
+
pulumi.set(__self__, "macs_agent_id", macs_agent_id)
|
70
|
+
if name and not isinstance(name, str):
|
71
|
+
raise TypeError("Expected argument 'name' to be a str")
|
72
|
+
pulumi.set(__self__, "name", name)
|
73
|
+
if network_protocol and not isinstance(network_protocol, str):
|
74
|
+
raise TypeError("Expected argument 'network_protocol' to be a str")
|
75
|
+
pulumi.set(__self__, "network_protocol", network_protocol)
|
76
|
+
if port and not isinstance(port, int):
|
77
|
+
raise TypeError("Expected argument 'port' to be a int")
|
78
|
+
pulumi.set(__self__, "port", port)
|
79
|
+
if source_database and not isinstance(source_database, str):
|
80
|
+
raise TypeError("Expected argument 'source_database' to be a str")
|
81
|
+
pulumi.set(__self__, "source_database", source_database)
|
82
|
+
if source_database_type and not isinstance(source_database_type, str):
|
83
|
+
raise TypeError("Expected argument 'source_database_type' to be a str")
|
84
|
+
pulumi.set(__self__, "source_database_type", source_database_type)
|
85
|
+
if ssl_secret_id and not isinstance(ssl_secret_id, str):
|
86
|
+
raise TypeError("Expected argument 'ssl_secret_id' to be a str")
|
87
|
+
pulumi.set(__self__, "ssl_secret_id", ssl_secret_id)
|
88
|
+
if ssl_secret_name and not isinstance(ssl_secret_name, str):
|
89
|
+
raise TypeError("Expected argument 'ssl_secret_name' to be a str")
|
90
|
+
pulumi.set(__self__, "ssl_secret_name", ssl_secret_name)
|
91
|
+
if state and not isinstance(state, str):
|
92
|
+
raise TypeError("Expected argument 'state' to be a str")
|
93
|
+
pulumi.set(__self__, "state", state)
|
94
|
+
if time_connection_status_updated and not isinstance(time_connection_status_updated, str):
|
95
|
+
raise TypeError("Expected argument 'time_connection_status_updated' to be a str")
|
96
|
+
pulumi.set(__self__, "time_connection_status_updated", time_connection_status_updated)
|
97
|
+
if time_created and not isinstance(time_created, str):
|
98
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
99
|
+
pulumi.set(__self__, "time_created", time_created)
|
100
|
+
if time_updated and not isinstance(time_updated, str):
|
101
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
102
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="associatedServices")
|
106
|
+
def associated_services(self) -> str:
|
107
|
+
"""
|
108
|
+
Oracle Cloud Infrastructure Services associated with this connector.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "associated_services")
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter(name="checkConnectionStatusTrigger")
|
114
|
+
def check_connection_status_trigger(self) -> int:
|
115
|
+
return pulumi.get(self, "check_connection_status_trigger")
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="compartmentId")
|
119
|
+
def compartment_id(self) -> str:
|
120
|
+
"""
|
121
|
+
OCID of compartment for the External MySQL connector.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "compartment_id")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter(name="connectionStatus")
|
127
|
+
def connection_status(self) -> str:
|
128
|
+
"""
|
129
|
+
Connection Status
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "connection_status")
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="connectorDetails")
|
135
|
+
def connector_details(self) -> Sequence['outputs.GetExternalMySqlDatabaseConnectorConnectorDetailResult']:
|
136
|
+
return pulumi.get(self, "connector_details")
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter(name="connectorType")
|
140
|
+
def connector_type(self) -> str:
|
141
|
+
"""
|
142
|
+
Connector Type.
|
143
|
+
"""
|
144
|
+
return pulumi.get(self, "connector_type")
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="credentialType")
|
148
|
+
def credential_type(self) -> str:
|
149
|
+
"""
|
150
|
+
Credential type used to connect to database.
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "credential_type")
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="externalDatabaseId")
|
156
|
+
def external_database_id(self) -> str:
|
157
|
+
"""
|
158
|
+
OCID of MySQL Database resource
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "external_database_id")
|
161
|
+
|
162
|
+
@property
|
163
|
+
@pulumi.getter(name="externalMySqlDatabaseConnectorId")
|
164
|
+
def external_my_sql_database_connector_id(self) -> str:
|
165
|
+
return pulumi.get(self, "external_my_sql_database_connector_id")
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter(name="hostName")
|
169
|
+
def host_name(self) -> str:
|
170
|
+
"""
|
171
|
+
Host name for Connector.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "host_name")
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter
|
177
|
+
def id(self) -> str:
|
178
|
+
"""
|
179
|
+
OCID of MySQL Database Connector.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "id")
|
182
|
+
|
183
|
+
@property
|
184
|
+
@pulumi.getter(name="isTestConnectionParam")
|
185
|
+
def is_test_connection_param(self) -> bool:
|
186
|
+
return pulumi.get(self, "is_test_connection_param")
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter(name="macsAgentId")
|
190
|
+
def macs_agent_id(self) -> str:
|
191
|
+
"""
|
192
|
+
Agent Id of the MACS agent.
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "macs_agent_id")
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter
|
198
|
+
def name(self) -> str:
|
199
|
+
"""
|
200
|
+
External MySQL Database Connector Name.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "name")
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter(name="networkProtocol")
|
206
|
+
def network_protocol(self) -> str:
|
207
|
+
"""
|
208
|
+
Network Protocol.
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "network_protocol")
|
211
|
+
|
212
|
+
@property
|
213
|
+
@pulumi.getter
|
214
|
+
def port(self) -> int:
|
215
|
+
"""
|
216
|
+
Connector port.
|
217
|
+
"""
|
218
|
+
return pulumi.get(self, "port")
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter(name="sourceDatabase")
|
222
|
+
def source_database(self) -> str:
|
223
|
+
"""
|
224
|
+
Name of MySQL Database.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "source_database")
|
227
|
+
|
228
|
+
@property
|
229
|
+
@pulumi.getter(name="sourceDatabaseType")
|
230
|
+
def source_database_type(self) -> str:
|
231
|
+
"""
|
232
|
+
Type of MySQL Database.
|
233
|
+
"""
|
234
|
+
return pulumi.get(self, "source_database_type")
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter(name="sslSecretId")
|
238
|
+
def ssl_secret_id(self) -> str:
|
239
|
+
"""
|
240
|
+
OCID of the SSL secret, if TCPS with SSL is used to connect to database.
|
241
|
+
"""
|
242
|
+
return pulumi.get(self, "ssl_secret_id")
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="sslSecretName")
|
246
|
+
def ssl_secret_name(self) -> str:
|
247
|
+
"""
|
248
|
+
Name of the SSL secret, if TCPS with SSL is used to connect to database.
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "ssl_secret_name")
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter
|
254
|
+
def state(self) -> str:
|
255
|
+
"""
|
256
|
+
Indicates lifecycle state of the resource.
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "state")
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter(name="timeConnectionStatusUpdated")
|
262
|
+
def time_connection_status_updated(self) -> str:
|
263
|
+
"""
|
264
|
+
Time when connection status was last updated.
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "time_connection_status_updated")
|
267
|
+
|
268
|
+
@property
|
269
|
+
@pulumi.getter(name="timeCreated")
|
270
|
+
def time_created(self) -> str:
|
271
|
+
"""
|
272
|
+
Connector creation time.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "time_created")
|
275
|
+
|
276
|
+
@property
|
277
|
+
@pulumi.getter(name="timeUpdated")
|
278
|
+
def time_updated(self) -> str:
|
279
|
+
"""
|
280
|
+
Connector update time.
|
281
|
+
"""
|
282
|
+
return pulumi.get(self, "time_updated")
|
283
|
+
|
284
|
+
|
285
|
+
class AwaitableGetExternalMySqlDatabaseConnectorResult(GetExternalMySqlDatabaseConnectorResult):
|
286
|
+
# pylint: disable=using-constant-test
|
287
|
+
def __await__(self):
|
288
|
+
if False:
|
289
|
+
yield self
|
290
|
+
return GetExternalMySqlDatabaseConnectorResult(
|
291
|
+
associated_services=self.associated_services,
|
292
|
+
check_connection_status_trigger=self.check_connection_status_trigger,
|
293
|
+
compartment_id=self.compartment_id,
|
294
|
+
connection_status=self.connection_status,
|
295
|
+
connector_details=self.connector_details,
|
296
|
+
connector_type=self.connector_type,
|
297
|
+
credential_type=self.credential_type,
|
298
|
+
external_database_id=self.external_database_id,
|
299
|
+
external_my_sql_database_connector_id=self.external_my_sql_database_connector_id,
|
300
|
+
host_name=self.host_name,
|
301
|
+
id=self.id,
|
302
|
+
is_test_connection_param=self.is_test_connection_param,
|
303
|
+
macs_agent_id=self.macs_agent_id,
|
304
|
+
name=self.name,
|
305
|
+
network_protocol=self.network_protocol,
|
306
|
+
port=self.port,
|
307
|
+
source_database=self.source_database,
|
308
|
+
source_database_type=self.source_database_type,
|
309
|
+
ssl_secret_id=self.ssl_secret_id,
|
310
|
+
ssl_secret_name=self.ssl_secret_name,
|
311
|
+
state=self.state,
|
312
|
+
time_connection_status_updated=self.time_connection_status_updated,
|
313
|
+
time_created=self.time_created,
|
314
|
+
time_updated=self.time_updated)
|
315
|
+
|
316
|
+
|
317
|
+
def get_external_my_sql_database_connector(external_my_sql_database_connector_id: Optional[str] = None,
|
318
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalMySqlDatabaseConnectorResult:
|
319
|
+
"""
|
320
|
+
This data source provides details about a specific External My Sql Database Connector resource in Oracle Cloud Infrastructure Database Management service.
|
321
|
+
|
322
|
+
Retrieves the MySQL database connector.
|
323
|
+
|
324
|
+
## Example Usage
|
325
|
+
|
326
|
+
```python
|
327
|
+
import pulumi
|
328
|
+
import pulumi_oci as oci
|
329
|
+
|
330
|
+
test_external_my_sql_database_connector = oci.DatabaseManagement.get_external_my_sql_database_connector(external_my_sql_database_connector_id=test_external_my_sql_database_connector_oci_database_management_external_my_sql_database_connector["id"])
|
331
|
+
```
|
332
|
+
|
333
|
+
|
334
|
+
:param str external_my_sql_database_connector_id: The OCID of the External MySQL Database Connector.
|
335
|
+
"""
|
336
|
+
__args__ = dict()
|
337
|
+
__args__['externalMySqlDatabaseConnectorId'] = external_my_sql_database_connector_id
|
338
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
339
|
+
__ret__ = pulumi.runtime.invoke('oci:DatabaseManagement/getExternalMySqlDatabaseConnector:getExternalMySqlDatabaseConnector', __args__, opts=opts, typ=GetExternalMySqlDatabaseConnectorResult).value
|
340
|
+
|
341
|
+
return AwaitableGetExternalMySqlDatabaseConnectorResult(
|
342
|
+
associated_services=pulumi.get(__ret__, 'associated_services'),
|
343
|
+
check_connection_status_trigger=pulumi.get(__ret__, 'check_connection_status_trigger'),
|
344
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
345
|
+
connection_status=pulumi.get(__ret__, 'connection_status'),
|
346
|
+
connector_details=pulumi.get(__ret__, 'connector_details'),
|
347
|
+
connector_type=pulumi.get(__ret__, 'connector_type'),
|
348
|
+
credential_type=pulumi.get(__ret__, 'credential_type'),
|
349
|
+
external_database_id=pulumi.get(__ret__, 'external_database_id'),
|
350
|
+
external_my_sql_database_connector_id=pulumi.get(__ret__, 'external_my_sql_database_connector_id'),
|
351
|
+
host_name=pulumi.get(__ret__, 'host_name'),
|
352
|
+
id=pulumi.get(__ret__, 'id'),
|
353
|
+
is_test_connection_param=pulumi.get(__ret__, 'is_test_connection_param'),
|
354
|
+
macs_agent_id=pulumi.get(__ret__, 'macs_agent_id'),
|
355
|
+
name=pulumi.get(__ret__, 'name'),
|
356
|
+
network_protocol=pulumi.get(__ret__, 'network_protocol'),
|
357
|
+
port=pulumi.get(__ret__, 'port'),
|
358
|
+
source_database=pulumi.get(__ret__, 'source_database'),
|
359
|
+
source_database_type=pulumi.get(__ret__, 'source_database_type'),
|
360
|
+
ssl_secret_id=pulumi.get(__ret__, 'ssl_secret_id'),
|
361
|
+
ssl_secret_name=pulumi.get(__ret__, 'ssl_secret_name'),
|
362
|
+
state=pulumi.get(__ret__, 'state'),
|
363
|
+
time_connection_status_updated=pulumi.get(__ret__, 'time_connection_status_updated'),
|
364
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
365
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
366
|
+
def get_external_my_sql_database_connector_output(external_my_sql_database_connector_id: Optional[pulumi.Input[str]] = None,
|
367
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalMySqlDatabaseConnectorResult]:
|
368
|
+
"""
|
369
|
+
This data source provides details about a specific External My Sql Database Connector resource in Oracle Cloud Infrastructure Database Management service.
|
370
|
+
|
371
|
+
Retrieves the MySQL database connector.
|
372
|
+
|
373
|
+
## Example Usage
|
374
|
+
|
375
|
+
```python
|
376
|
+
import pulumi
|
377
|
+
import pulumi_oci as oci
|
378
|
+
|
379
|
+
test_external_my_sql_database_connector = oci.DatabaseManagement.get_external_my_sql_database_connector(external_my_sql_database_connector_id=test_external_my_sql_database_connector_oci_database_management_external_my_sql_database_connector["id"])
|
380
|
+
```
|
381
|
+
|
382
|
+
|
383
|
+
:param str external_my_sql_database_connector_id: The OCID of the External MySQL Database Connector.
|
384
|
+
"""
|
385
|
+
__args__ = dict()
|
386
|
+
__args__['externalMySqlDatabaseConnectorId'] = external_my_sql_database_connector_id
|
387
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
388
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DatabaseManagement/getExternalMySqlDatabaseConnector:getExternalMySqlDatabaseConnector', __args__, opts=opts, typ=GetExternalMySqlDatabaseConnectorResult)
|
389
|
+
return __ret__.apply(lambda __response__: GetExternalMySqlDatabaseConnectorResult(
|
390
|
+
associated_services=pulumi.get(__response__, 'associated_services'),
|
391
|
+
check_connection_status_trigger=pulumi.get(__response__, 'check_connection_status_trigger'),
|
392
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
393
|
+
connection_status=pulumi.get(__response__, 'connection_status'),
|
394
|
+
connector_details=pulumi.get(__response__, 'connector_details'),
|
395
|
+
connector_type=pulumi.get(__response__, 'connector_type'),
|
396
|
+
credential_type=pulumi.get(__response__, 'credential_type'),
|
397
|
+
external_database_id=pulumi.get(__response__, 'external_database_id'),
|
398
|
+
external_my_sql_database_connector_id=pulumi.get(__response__, 'external_my_sql_database_connector_id'),
|
399
|
+
host_name=pulumi.get(__response__, 'host_name'),
|
400
|
+
id=pulumi.get(__response__, 'id'),
|
401
|
+
is_test_connection_param=pulumi.get(__response__, 'is_test_connection_param'),
|
402
|
+
macs_agent_id=pulumi.get(__response__, 'macs_agent_id'),
|
403
|
+
name=pulumi.get(__response__, 'name'),
|
404
|
+
network_protocol=pulumi.get(__response__, 'network_protocol'),
|
405
|
+
port=pulumi.get(__response__, 'port'),
|
406
|
+
source_database=pulumi.get(__response__, 'source_database'),
|
407
|
+
source_database_type=pulumi.get(__response__, 'source_database_type'),
|
408
|
+
ssl_secret_id=pulumi.get(__response__, 'ssl_secret_id'),
|
409
|
+
ssl_secret_name=pulumi.get(__response__, 'ssl_secret_name'),
|
410
|
+
state=pulumi.get(__response__, 'state'),
|
411
|
+
time_connection_status_updated=pulumi.get(__response__, 'time_connection_status_updated'),
|
412
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
413
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,169 @@
|
|
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__ = [
|
20
|
+
'GetExternalMySqlDatabaseConnectorsResult',
|
21
|
+
'AwaitableGetExternalMySqlDatabaseConnectorsResult',
|
22
|
+
'get_external_my_sql_database_connectors',
|
23
|
+
'get_external_my_sql_database_connectors_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetExternalMySqlDatabaseConnectorsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getExternalMySqlDatabaseConnectors.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, my_sql_connector_collections=None, name=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if my_sql_connector_collections and not isinstance(my_sql_connector_collections, list):
|
42
|
+
raise TypeError("Expected argument 'my_sql_connector_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "my_sql_connector_collections", my_sql_connector_collections)
|
44
|
+
if name and not isinstance(name, str):
|
45
|
+
raise TypeError("Expected argument 'name' to be a str")
|
46
|
+
pulumi.set(__self__, "name", name)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter(name="compartmentId")
|
50
|
+
def compartment_id(self) -> str:
|
51
|
+
"""
|
52
|
+
OCID of compartment for the External MySQL connector.
|
53
|
+
"""
|
54
|
+
return pulumi.get(self, "compartment_id")
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter
|
58
|
+
def filters(self) -> Optional[Sequence['outputs.GetExternalMySqlDatabaseConnectorsFilterResult']]:
|
59
|
+
return pulumi.get(self, "filters")
|
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="mySqlConnectorCollections")
|
71
|
+
def my_sql_connector_collections(self) -> Sequence['outputs.GetExternalMySqlDatabaseConnectorsMySqlConnectorCollectionResult']:
|
72
|
+
"""
|
73
|
+
The list of my_sql_connector_collection.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "my_sql_connector_collections")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter
|
79
|
+
def name(self) -> Optional[str]:
|
80
|
+
"""
|
81
|
+
External MySQL Database Connector Name.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "name")
|
84
|
+
|
85
|
+
|
86
|
+
class AwaitableGetExternalMySqlDatabaseConnectorsResult(GetExternalMySqlDatabaseConnectorsResult):
|
87
|
+
# pylint: disable=using-constant-test
|
88
|
+
def __await__(self):
|
89
|
+
if False:
|
90
|
+
yield self
|
91
|
+
return GetExternalMySqlDatabaseConnectorsResult(
|
92
|
+
compartment_id=self.compartment_id,
|
93
|
+
filters=self.filters,
|
94
|
+
id=self.id,
|
95
|
+
my_sql_connector_collections=self.my_sql_connector_collections,
|
96
|
+
name=self.name)
|
97
|
+
|
98
|
+
|
99
|
+
def get_external_my_sql_database_connectors(compartment_id: Optional[str] = None,
|
100
|
+
filters: Optional[Sequence[Union['GetExternalMySqlDatabaseConnectorsFilterArgs', 'GetExternalMySqlDatabaseConnectorsFilterArgsDict']]] = None,
|
101
|
+
name: Optional[str] = None,
|
102
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalMySqlDatabaseConnectorsResult:
|
103
|
+
"""
|
104
|
+
This data source provides the list of External My Sql Database Connectors in Oracle Cloud Infrastructure Database Management service.
|
105
|
+
|
106
|
+
Gets the list of External MySQL Database connectors.
|
107
|
+
|
108
|
+
## Example Usage
|
109
|
+
|
110
|
+
```python
|
111
|
+
import pulumi
|
112
|
+
import pulumi_oci as oci
|
113
|
+
|
114
|
+
test_external_my_sql_database_connectors = oci.DatabaseManagement.get_external_my_sql_database_connectors(compartment_id=compartment_id,
|
115
|
+
name=external_my_sql_database_connector_name)
|
116
|
+
```
|
117
|
+
|
118
|
+
|
119
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
120
|
+
:param str name: The parameter to filter by MySQL Database System type.
|
121
|
+
"""
|
122
|
+
__args__ = dict()
|
123
|
+
__args__['compartmentId'] = compartment_id
|
124
|
+
__args__['filters'] = filters
|
125
|
+
__args__['name'] = name
|
126
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
127
|
+
__ret__ = pulumi.runtime.invoke('oci:DatabaseManagement/getExternalMySqlDatabaseConnectors:getExternalMySqlDatabaseConnectors', __args__, opts=opts, typ=GetExternalMySqlDatabaseConnectorsResult).value
|
128
|
+
|
129
|
+
return AwaitableGetExternalMySqlDatabaseConnectorsResult(
|
130
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
131
|
+
filters=pulumi.get(__ret__, 'filters'),
|
132
|
+
id=pulumi.get(__ret__, 'id'),
|
133
|
+
my_sql_connector_collections=pulumi.get(__ret__, 'my_sql_connector_collections'),
|
134
|
+
name=pulumi.get(__ret__, 'name'))
|
135
|
+
def get_external_my_sql_database_connectors_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
136
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetExternalMySqlDatabaseConnectorsFilterArgs', 'GetExternalMySqlDatabaseConnectorsFilterArgsDict']]]]] = None,
|
137
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
138
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalMySqlDatabaseConnectorsResult]:
|
139
|
+
"""
|
140
|
+
This data source provides the list of External My Sql Database Connectors in Oracle Cloud Infrastructure Database Management service.
|
141
|
+
|
142
|
+
Gets the list of External MySQL Database connectors.
|
143
|
+
|
144
|
+
## Example Usage
|
145
|
+
|
146
|
+
```python
|
147
|
+
import pulumi
|
148
|
+
import pulumi_oci as oci
|
149
|
+
|
150
|
+
test_external_my_sql_database_connectors = oci.DatabaseManagement.get_external_my_sql_database_connectors(compartment_id=compartment_id,
|
151
|
+
name=external_my_sql_database_connector_name)
|
152
|
+
```
|
153
|
+
|
154
|
+
|
155
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
156
|
+
:param str name: The parameter to filter by MySQL Database System type.
|
157
|
+
"""
|
158
|
+
__args__ = dict()
|
159
|
+
__args__['compartmentId'] = compartment_id
|
160
|
+
__args__['filters'] = filters
|
161
|
+
__args__['name'] = name
|
162
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
163
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DatabaseManagement/getExternalMySqlDatabaseConnectors:getExternalMySqlDatabaseConnectors', __args__, opts=opts, typ=GetExternalMySqlDatabaseConnectorsResult)
|
164
|
+
return __ret__.apply(lambda __response__: GetExternalMySqlDatabaseConnectorsResult(
|
165
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
166
|
+
filters=pulumi.get(__response__, 'filters'),
|
167
|
+
id=pulumi.get(__response__, 'id'),
|
168
|
+
my_sql_connector_collections=pulumi.get(__response__, 'my_sql_connector_collections'),
|
169
|
+
name=pulumi.get(__response__, 'name')))
|