pulumi-oci 1.42.0a1719642398__py3-none-any.whl → 2.0.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.
@@ -1,399 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
- from . import outputs
12
-
13
- __all__ = [
14
- 'GetConnectionResult',
15
- 'AwaitableGetConnectionResult',
16
- 'get_connection',
17
- 'get_connection_output',
18
- ]
19
-
20
- @pulumi.output_type
21
- class GetConnectionResult:
22
- """
23
- A collection of values returned by getConnection.
24
- """
25
- def __init__(__self__, admin_credentials=None, certificate_tdn=None, compartment_id=None, connect_descriptors=None, connection_id=None, credentials_secret_id=None, database_id=None, database_type=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, manual_database_sub_type=None, nsg_ids=None, private_endpoints=None, replication_credentials=None, ssh_details=None, state=None, system_tags=None, time_created=None, time_updated=None, tls_keystore=None, tls_wallet=None, vault_details=None):
26
- if admin_credentials and not isinstance(admin_credentials, list):
27
- raise TypeError("Expected argument 'admin_credentials' to be a list")
28
- pulumi.set(__self__, "admin_credentials", admin_credentials)
29
- if certificate_tdn and not isinstance(certificate_tdn, str):
30
- raise TypeError("Expected argument 'certificate_tdn' to be a str")
31
- pulumi.set(__self__, "certificate_tdn", certificate_tdn)
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 connect_descriptors and not isinstance(connect_descriptors, list):
36
- raise TypeError("Expected argument 'connect_descriptors' to be a list")
37
- pulumi.set(__self__, "connect_descriptors", connect_descriptors)
38
- if connection_id and not isinstance(connection_id, str):
39
- raise TypeError("Expected argument 'connection_id' to be a str")
40
- pulumi.set(__self__, "connection_id", connection_id)
41
- if credentials_secret_id and not isinstance(credentials_secret_id, str):
42
- raise TypeError("Expected argument 'credentials_secret_id' to be a str")
43
- pulumi.set(__self__, "credentials_secret_id", credentials_secret_id)
44
- if database_id and not isinstance(database_id, str):
45
- raise TypeError("Expected argument 'database_id' to be a str")
46
- pulumi.set(__self__, "database_id", database_id)
47
- if database_type and not isinstance(database_type, str):
48
- raise TypeError("Expected argument 'database_type' to be a str")
49
- pulumi.set(__self__, "database_type", database_type)
50
- if defined_tags and not isinstance(defined_tags, dict):
51
- raise TypeError("Expected argument 'defined_tags' to be a dict")
52
- pulumi.set(__self__, "defined_tags", defined_tags)
53
- if display_name and not isinstance(display_name, str):
54
- raise TypeError("Expected argument 'display_name' to be a str")
55
- pulumi.set(__self__, "display_name", display_name)
56
- if freeform_tags and not isinstance(freeform_tags, dict):
57
- raise TypeError("Expected argument 'freeform_tags' to be a dict")
58
- pulumi.set(__self__, "freeform_tags", freeform_tags)
59
- if id and not isinstance(id, str):
60
- raise TypeError("Expected argument 'id' to be a str")
61
- pulumi.set(__self__, "id", id)
62
- if lifecycle_details and not isinstance(lifecycle_details, str):
63
- raise TypeError("Expected argument 'lifecycle_details' to be a str")
64
- pulumi.set(__self__, "lifecycle_details", lifecycle_details)
65
- if manual_database_sub_type and not isinstance(manual_database_sub_type, str):
66
- raise TypeError("Expected argument 'manual_database_sub_type' to be a str")
67
- pulumi.set(__self__, "manual_database_sub_type", manual_database_sub_type)
68
- if nsg_ids and not isinstance(nsg_ids, list):
69
- raise TypeError("Expected argument 'nsg_ids' to be a list")
70
- pulumi.set(__self__, "nsg_ids", nsg_ids)
71
- if private_endpoints and not isinstance(private_endpoints, list):
72
- raise TypeError("Expected argument 'private_endpoints' to be a list")
73
- pulumi.set(__self__, "private_endpoints", private_endpoints)
74
- if replication_credentials and not isinstance(replication_credentials, list):
75
- raise TypeError("Expected argument 'replication_credentials' to be a list")
76
- pulumi.set(__self__, "replication_credentials", replication_credentials)
77
- if ssh_details and not isinstance(ssh_details, list):
78
- raise TypeError("Expected argument 'ssh_details' to be a list")
79
- pulumi.set(__self__, "ssh_details", ssh_details)
80
- if state and not isinstance(state, str):
81
- raise TypeError("Expected argument 'state' to be a str")
82
- pulumi.set(__self__, "state", state)
83
- if system_tags and not isinstance(system_tags, dict):
84
- raise TypeError("Expected argument 'system_tags' to be a dict")
85
- pulumi.set(__self__, "system_tags", system_tags)
86
- if time_created and not isinstance(time_created, str):
87
- raise TypeError("Expected argument 'time_created' to be a str")
88
- pulumi.set(__self__, "time_created", time_created)
89
- if time_updated and not isinstance(time_updated, str):
90
- raise TypeError("Expected argument 'time_updated' to be a str")
91
- pulumi.set(__self__, "time_updated", time_updated)
92
- if tls_keystore and not isinstance(tls_keystore, str):
93
- raise TypeError("Expected argument 'tls_keystore' to be a str")
94
- pulumi.set(__self__, "tls_keystore", tls_keystore)
95
- if tls_wallet and not isinstance(tls_wallet, str):
96
- raise TypeError("Expected argument 'tls_wallet' to be a str")
97
- pulumi.set(__self__, "tls_wallet", tls_wallet)
98
- if vault_details and not isinstance(vault_details, list):
99
- raise TypeError("Expected argument 'vault_details' to be a list")
100
- pulumi.set(__self__, "vault_details", vault_details)
101
-
102
- @property
103
- @pulumi.getter(name="adminCredentials")
104
- def admin_credentials(self) -> Sequence['outputs.GetConnectionAdminCredentialResult']:
105
- """
106
- Database Administrator Credentials details.
107
- """
108
- return pulumi.get(self, "admin_credentials")
109
-
110
- @property
111
- @pulumi.getter(name="certificateTdn")
112
- def certificate_tdn(self) -> str:
113
- """
114
- This name is the distinguished name used while creating the certificate on target database.
115
- """
116
- return pulumi.get(self, "certificate_tdn")
117
-
118
- @property
119
- @pulumi.getter(name="compartmentId")
120
- def compartment_id(self) -> str:
121
- """
122
- OCID of the compartment where the secret containing the credentials will be created.
123
- """
124
- return pulumi.get(self, "compartment_id")
125
-
126
- @property
127
- @pulumi.getter(name="connectDescriptors")
128
- def connect_descriptors(self) -> Sequence['outputs.GetConnectionConnectDescriptorResult']:
129
- """
130
- Connect Descriptor details.
131
- """
132
- return pulumi.get(self, "connect_descriptors")
133
-
134
- @property
135
- @pulumi.getter(name="connectionId")
136
- def connection_id(self) -> str:
137
- return pulumi.get(self, "connection_id")
138
-
139
- @property
140
- @pulumi.getter(name="credentialsSecretId")
141
- def credentials_secret_id(self) -> str:
142
- """
143
- OCID of the Secret in the Oracle Cloud Infrastructure vault containing the Database Connection credentials.
144
- """
145
- return pulumi.get(self, "credentials_secret_id")
146
-
147
- @property
148
- @pulumi.getter(name="databaseId")
149
- def database_id(self) -> str:
150
- """
151
- The OCID of the cloud database.
152
- """
153
- return pulumi.get(self, "database_id")
154
-
155
- @property
156
- @pulumi.getter(name="databaseType")
157
- def database_type(self) -> str:
158
- """
159
- Database connection type.
160
- """
161
- return pulumi.get(self, "database_type")
162
-
163
- @property
164
- @pulumi.getter(name="definedTags")
165
- def defined_tags(self) -> Mapping[str, Any]:
166
- """
167
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
168
- """
169
- return pulumi.get(self, "defined_tags")
170
-
171
- @property
172
- @pulumi.getter(name="displayName")
173
- def display_name(self) -> str:
174
- """
175
- Database Connection display name identifier.
176
- """
177
- return pulumi.get(self, "display_name")
178
-
179
- @property
180
- @pulumi.getter(name="freeformTags")
181
- def freeform_tags(self) -> Mapping[str, Any]:
182
- """
183
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
184
- """
185
- return pulumi.get(self, "freeform_tags")
186
-
187
- @property
188
- @pulumi.getter
189
- def id(self) -> str:
190
- """
191
- [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a previously created Private Endpoint.
192
- """
193
- return pulumi.get(self, "id")
194
-
195
- @property
196
- @pulumi.getter(name="lifecycleDetails")
197
- def lifecycle_details(self) -> str:
198
- """
199
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
200
- """
201
- return pulumi.get(self, "lifecycle_details")
202
-
203
- @property
204
- @pulumi.getter(name="manualDatabaseSubType")
205
- def manual_database_sub_type(self) -> str:
206
- """
207
- Database manual connection subtype. This value can only be specified for manual connections.
208
- """
209
- return pulumi.get(self, "manual_database_sub_type")
210
-
211
- @property
212
- @pulumi.getter(name="nsgIds")
213
- def nsg_ids(self) -> Sequence[str]:
214
- """
215
- An array of Network Security Group OCIDs used to define network access for Connections.
216
- """
217
- return pulumi.get(self, "nsg_ids")
218
-
219
- @property
220
- @pulumi.getter(name="privateEndpoints")
221
- def private_endpoints(self) -> Sequence['outputs.GetConnectionPrivateEndpointResult']:
222
- """
223
- Oracle Cloud Infrastructure Private Endpoint configuration details.
224
- """
225
- return pulumi.get(self, "private_endpoints")
226
-
227
- @property
228
- @pulumi.getter(name="replicationCredentials")
229
- def replication_credentials(self) -> Sequence['outputs.GetConnectionReplicationCredentialResult']:
230
- """
231
- Database Administrator Credentials details.
232
- """
233
- return pulumi.get(self, "replication_credentials")
234
-
235
- @property
236
- @pulumi.getter(name="sshDetails")
237
- def ssh_details(self) -> Sequence['outputs.GetConnectionSshDetailResult']:
238
- """
239
- Details of the SSH key that will be used.
240
- """
241
- return pulumi.get(self, "ssh_details")
242
-
243
- @property
244
- @pulumi.getter
245
- def state(self) -> str:
246
- """
247
- The current state of the Connection resource.
248
- """
249
- return pulumi.get(self, "state")
250
-
251
- @property
252
- @pulumi.getter(name="systemTags")
253
- def system_tags(self) -> Mapping[str, Any]:
254
- """
255
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
256
- """
257
- return pulumi.get(self, "system_tags")
258
-
259
- @property
260
- @pulumi.getter(name="timeCreated")
261
- def time_created(self) -> str:
262
- """
263
- The time the Connection resource was created. An RFC3339 formatted datetime string.
264
- """
265
- return pulumi.get(self, "time_created")
266
-
267
- @property
268
- @pulumi.getter(name="timeUpdated")
269
- def time_updated(self) -> str:
270
- """
271
- The time of the last Connection resource details update. An RFC3339 formatted datetime string.
272
- """
273
- return pulumi.get(self, "time_updated")
274
-
275
- @property
276
- @pulumi.getter(name="tlsKeystore")
277
- def tls_keystore(self) -> str:
278
- return pulumi.get(self, "tls_keystore")
279
-
280
- @property
281
- @pulumi.getter(name="tlsWallet")
282
- def tls_wallet(self) -> str:
283
- return pulumi.get(self, "tls_wallet")
284
-
285
- @property
286
- @pulumi.getter(name="vaultDetails")
287
- def vault_details(self) -> Sequence['outputs.GetConnectionVaultDetailResult']:
288
- """
289
- Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
290
- """
291
- return pulumi.get(self, "vault_details")
292
-
293
-
294
- class AwaitableGetConnectionResult(GetConnectionResult):
295
- # pylint: disable=using-constant-test
296
- def __await__(self):
297
- if False:
298
- yield self
299
- return GetConnectionResult(
300
- admin_credentials=self.admin_credentials,
301
- certificate_tdn=self.certificate_tdn,
302
- compartment_id=self.compartment_id,
303
- connect_descriptors=self.connect_descriptors,
304
- connection_id=self.connection_id,
305
- credentials_secret_id=self.credentials_secret_id,
306
- database_id=self.database_id,
307
- database_type=self.database_type,
308
- defined_tags=self.defined_tags,
309
- display_name=self.display_name,
310
- freeform_tags=self.freeform_tags,
311
- id=self.id,
312
- lifecycle_details=self.lifecycle_details,
313
- manual_database_sub_type=self.manual_database_sub_type,
314
- nsg_ids=self.nsg_ids,
315
- private_endpoints=self.private_endpoints,
316
- replication_credentials=self.replication_credentials,
317
- ssh_details=self.ssh_details,
318
- state=self.state,
319
- system_tags=self.system_tags,
320
- time_created=self.time_created,
321
- time_updated=self.time_updated,
322
- tls_keystore=self.tls_keystore,
323
- tls_wallet=self.tls_wallet,
324
- vault_details=self.vault_details)
325
-
326
-
327
- def get_connection(connection_id: Optional[str] = None,
328
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectionResult:
329
- """
330
- This data source provides details about a specific Connection resource in Oracle Cloud Infrastructure Database Migration service.
331
-
332
- Display Database Connection details.
333
-
334
- ## Example Usage
335
-
336
- ```python
337
- import pulumi
338
- import pulumi_oci as oci
339
-
340
- test_connection = oci.DatabaseMigration.get_connection(connection_id=test_connection_oci_database_migration_connection["id"])
341
- ```
342
-
343
-
344
- :param str connection_id: The OCID of the database connection
345
- """
346
- __args__ = dict()
347
- __args__['connectionId'] = connection_id
348
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
349
- __ret__ = pulumi.runtime.invoke('oci:DatabaseMigration/getConnection:getConnection', __args__, opts=opts, typ=GetConnectionResult).value
350
-
351
- return AwaitableGetConnectionResult(
352
- admin_credentials=pulumi.get(__ret__, 'admin_credentials'),
353
- certificate_tdn=pulumi.get(__ret__, 'certificate_tdn'),
354
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
355
- connect_descriptors=pulumi.get(__ret__, 'connect_descriptors'),
356
- connection_id=pulumi.get(__ret__, 'connection_id'),
357
- credentials_secret_id=pulumi.get(__ret__, 'credentials_secret_id'),
358
- database_id=pulumi.get(__ret__, 'database_id'),
359
- database_type=pulumi.get(__ret__, 'database_type'),
360
- defined_tags=pulumi.get(__ret__, 'defined_tags'),
361
- display_name=pulumi.get(__ret__, 'display_name'),
362
- freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
363
- id=pulumi.get(__ret__, 'id'),
364
- lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
365
- manual_database_sub_type=pulumi.get(__ret__, 'manual_database_sub_type'),
366
- nsg_ids=pulumi.get(__ret__, 'nsg_ids'),
367
- private_endpoints=pulumi.get(__ret__, 'private_endpoints'),
368
- replication_credentials=pulumi.get(__ret__, 'replication_credentials'),
369
- ssh_details=pulumi.get(__ret__, 'ssh_details'),
370
- state=pulumi.get(__ret__, 'state'),
371
- system_tags=pulumi.get(__ret__, 'system_tags'),
372
- time_created=pulumi.get(__ret__, 'time_created'),
373
- time_updated=pulumi.get(__ret__, 'time_updated'),
374
- tls_keystore=pulumi.get(__ret__, 'tls_keystore'),
375
- tls_wallet=pulumi.get(__ret__, 'tls_wallet'),
376
- vault_details=pulumi.get(__ret__, 'vault_details'))
377
-
378
-
379
- @_utilities.lift_output_func(get_connection)
380
- def get_connection_output(connection_id: Optional[pulumi.Input[str]] = None,
381
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionResult]:
382
- """
383
- This data source provides details about a specific Connection resource in Oracle Cloud Infrastructure Database Migration service.
384
-
385
- Display Database Connection details.
386
-
387
- ## Example Usage
388
-
389
- ```python
390
- import pulumi
391
- import pulumi_oci as oci
392
-
393
- test_connection = oci.DatabaseMigration.get_connection(connection_id=test_connection_oci_database_migration_connection["id"])
394
- ```
395
-
396
-
397
- :param str connection_id: The OCID of the database connection
398
- """
399
- ...
@@ -1,176 +0,0 @@
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__ = [
15
- 'GetConnectionsResult',
16
- 'AwaitableGetConnectionsResult',
17
- 'get_connections',
18
- 'get_connections_output',
19
- ]
20
-
21
- @pulumi.output_type
22
- class GetConnectionsResult:
23
- """
24
- A collection of values returned by getConnections.
25
- """
26
- def __init__(__self__, compartment_id=None, connection_collections=None, display_name=None, filters=None, id=None, state=None):
27
- if compartment_id and not isinstance(compartment_id, str):
28
- raise TypeError("Expected argument 'compartment_id' to be a str")
29
- pulumi.set(__self__, "compartment_id", compartment_id)
30
- if connection_collections and not isinstance(connection_collections, list):
31
- raise TypeError("Expected argument 'connection_collections' to be a list")
32
- pulumi.set(__self__, "connection_collections", connection_collections)
33
- if display_name and not isinstance(display_name, str):
34
- raise TypeError("Expected argument 'display_name' to be a str")
35
- pulumi.set(__self__, "display_name", display_name)
36
- if filters and not isinstance(filters, list):
37
- raise TypeError("Expected argument 'filters' to be a list")
38
- pulumi.set(__self__, "filters", filters)
39
- if id and not isinstance(id, str):
40
- raise TypeError("Expected argument 'id' to be a str")
41
- pulumi.set(__self__, "id", id)
42
- if state and not isinstance(state, str):
43
- raise TypeError("Expected argument 'state' to be a str")
44
- pulumi.set(__self__, "state", state)
45
-
46
- @property
47
- @pulumi.getter(name="compartmentId")
48
- def compartment_id(self) -> str:
49
- """
50
- OCID of the compartment where the secret containing the credentials will be created.
51
- """
52
- return pulumi.get(self, "compartment_id")
53
-
54
- @property
55
- @pulumi.getter(name="connectionCollections")
56
- def connection_collections(self) -> Sequence['outputs.GetConnectionsConnectionCollectionResult']:
57
- """
58
- The list of connection_collection.
59
- """
60
- return pulumi.get(self, "connection_collections")
61
-
62
- @property
63
- @pulumi.getter(name="displayName")
64
- def display_name(self) -> Optional[str]:
65
- """
66
- Database Connection display name identifier.
67
- """
68
- return pulumi.get(self, "display_name")
69
-
70
- @property
71
- @pulumi.getter
72
- def filters(self) -> Optional[Sequence['outputs.GetConnectionsFilterResult']]:
73
- return pulumi.get(self, "filters")
74
-
75
- @property
76
- @pulumi.getter
77
- def id(self) -> str:
78
- """
79
- The provider-assigned unique ID for this managed resource.
80
- """
81
- return pulumi.get(self, "id")
82
-
83
- @property
84
- @pulumi.getter
85
- def state(self) -> Optional[str]:
86
- """
87
- The current state of the Connection resource.
88
- """
89
- return pulumi.get(self, "state")
90
-
91
-
92
- class AwaitableGetConnectionsResult(GetConnectionsResult):
93
- # pylint: disable=using-constant-test
94
- def __await__(self):
95
- if False:
96
- yield self
97
- return GetConnectionsResult(
98
- compartment_id=self.compartment_id,
99
- connection_collections=self.connection_collections,
100
- display_name=self.display_name,
101
- filters=self.filters,
102
- id=self.id,
103
- state=self.state)
104
-
105
-
106
- def get_connections(compartment_id: Optional[str] = None,
107
- display_name: Optional[str] = None,
108
- filters: Optional[Sequence[pulumi.InputType['GetConnectionsFilterArgs']]] = None,
109
- state: Optional[str] = None,
110
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectionsResult:
111
- """
112
- This data source provides the list of Connections in Oracle Cloud Infrastructure Database Migration service.
113
-
114
- List all Database Connections.
115
-
116
- ## Example Usage
117
-
118
- ```python
119
- import pulumi
120
- import pulumi_oci as oci
121
-
122
- test_connections = oci.DatabaseMigration.get_connections(compartment_id=compartment_id,
123
- display_name=connection_display_name,
124
- state=connection_state)
125
- ```
126
-
127
-
128
- :param str compartment_id: The ID of the compartment in which to list resources.
129
- :param str display_name: A filter to return only resources that match the entire display name given.
130
- :param str state: The current state of the Database Migration Deployment.
131
- """
132
- __args__ = dict()
133
- __args__['compartmentId'] = compartment_id
134
- __args__['displayName'] = display_name
135
- __args__['filters'] = filters
136
- __args__['state'] = state
137
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
138
- __ret__ = pulumi.runtime.invoke('oci:DatabaseMigration/getConnections:getConnections', __args__, opts=opts, typ=GetConnectionsResult).value
139
-
140
- return AwaitableGetConnectionsResult(
141
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
142
- connection_collections=pulumi.get(__ret__, 'connection_collections'),
143
- display_name=pulumi.get(__ret__, 'display_name'),
144
- filters=pulumi.get(__ret__, 'filters'),
145
- id=pulumi.get(__ret__, 'id'),
146
- state=pulumi.get(__ret__, 'state'))
147
-
148
-
149
- @_utilities.lift_output_func(get_connections)
150
- def get_connections_output(compartment_id: Optional[pulumi.Input[str]] = None,
151
- display_name: Optional[pulumi.Input[Optional[str]]] = None,
152
- filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetConnectionsFilterArgs']]]]] = None,
153
- state: Optional[pulumi.Input[Optional[str]]] = None,
154
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionsResult]:
155
- """
156
- This data source provides the list of Connections in Oracle Cloud Infrastructure Database Migration service.
157
-
158
- List all Database Connections.
159
-
160
- ## Example Usage
161
-
162
- ```python
163
- import pulumi
164
- import pulumi_oci as oci
165
-
166
- test_connections = oci.DatabaseMigration.get_connections(compartment_id=compartment_id,
167
- display_name=connection_display_name,
168
- state=connection_state)
169
- ```
170
-
171
-
172
- :param str compartment_id: The ID of the compartment in which to list resources.
173
- :param str display_name: A filter to return only resources that match the entire display name given.
174
- :param str state: The current state of the Database Migration Deployment.
175
- """
176
- ...