pulumi-oci 2.0.0a1719867547__py3-none-any.whl → 2.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +43 -0
- pulumi_oci/database/__init__.py +11 -0
- pulumi_oci/database/_inputs.py +607 -0
- pulumi_oci/database/db_node.py +28 -0
- pulumi_oci/database/exadb_vm_cluster.py +1761 -0
- pulumi_oci/database/exascale_db_storage_vault.py +787 -0
- pulumi_oci/database/get_backups.py +22 -5
- pulumi_oci/database/get_db_node.py +14 -1
- pulumi_oci/database/get_db_nodes.py +2 -2
- pulumi_oci/database/get_exadb_vm_cluster.py +614 -0
- pulumi_oci/database/get_exadb_vm_cluster_update.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entries.py +153 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entry.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_updates.py +173 -0
- pulumi_oci/database/get_exadb_vm_clusters.py +196 -0
- pulumi_oci/database/get_exascale_db_storage_vault.py +301 -0
- pulumi_oci/database/get_exascale_db_storage_vaults.py +176 -0
- pulumi_oci/database/get_gi_version_minor_versions.py +221 -0
- pulumi_oci/database/get_gi_versions.py +22 -5
- pulumi_oci/database/outputs.py +2050 -0
- pulumi_oci/database/pluggable_database.py +7 -7
- pulumi_oci/databasemigration/__init__.py +6 -0
- pulumi_oci/databasemigration/_inputs.py +1577 -0
- pulumi_oci/databasemigration/connection.py +2019 -0
- pulumi_oci/databasemigration/get_connection.py +616 -0
- pulumi_oci/databasemigration/get_connections.py +225 -0
- pulumi_oci/databasemigration/get_job_advisor_report.py +2 -10
- pulumi_oci/databasemigration/get_migration.py +427 -0
- pulumi_oci/databasemigration/get_migration_object_types.py +24 -13
- pulumi_oci/databasemigration/get_migrations.py +407 -0
- pulumi_oci/databasemigration/job.py +16 -20
- pulumi_oci/databasemigration/migration.py +1471 -0
- pulumi_oci/databasemigration/outputs.py +4301 -73
- pulumi_oci/filestorage/_inputs.py +10 -18
- pulumi_oci/filestorage/export.py +28 -7
- pulumi_oci/filestorage/file_system.py +159 -35
- pulumi_oci/filestorage/outputs.py +55 -34
- pulumi_oci/generativeai/_inputs.py +50 -2
- pulumi_oci/generativeai/dedicated_ai_cluster.py +30 -2
- pulumi_oci/generativeai/endpoint.py +2 -2
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +2 -47
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +2 -14
- pulumi_oci/generativeai/get_endpoint.py +2 -26
- pulumi_oci/generativeai/get_endpoints.py +2 -8
- pulumi_oci/generativeai/get_model.py +2 -38
- pulumi_oci/generativeai/get_models.py +2 -8
- pulumi_oci/generativeai/model.py +2 -2
- pulumi_oci/generativeai/outputs.py +86 -310
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/resourcescheduler/__init__.py +12 -0
- pulumi_oci/resourcescheduler/_inputs.py +224 -0
- pulumi_oci/resourcescheduler/get_schedule.py +340 -0
- pulumi_oci/resourcescheduler/get_schedules.py +193 -0
- pulumi_oci/resourcescheduler/outputs.py +687 -0
- pulumi_oci/resourcescheduler/schedule.py +977 -0
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/RECORD +59 -36
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,616 @@
|
|
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__, additional_attributes=None, compartment_id=None, connection_id=None, connection_string=None, connection_type=None, database_id=None, database_name=None, db_system_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, host=None, id=None, ingress_ips=None, key_id=None, lifecycle_details=None, nsg_ids=None, password=None, port=None, private_endpoint_id=None, replication_password=None, replication_username=None, secret_id=None, security_protocol=None, ssh_host=None, ssh_key=None, ssh_sudo_location=None, ssh_user=None, ssl_ca=None, ssl_cert=None, ssl_crl=None, ssl_key=None, ssl_mode=None, state=None, subnet_id=None, system_tags=None, technology_type=None, time_created=None, time_updated=None, username=None, vault_id=None, wallet=None):
|
26
|
+
if additional_attributes and not isinstance(additional_attributes, list):
|
27
|
+
raise TypeError("Expected argument 'additional_attributes' to be a list")
|
28
|
+
pulumi.set(__self__, "additional_attributes", additional_attributes)
|
29
|
+
if compartment_id and not isinstance(compartment_id, str):
|
30
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
31
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
32
|
+
if connection_id and not isinstance(connection_id, str):
|
33
|
+
raise TypeError("Expected argument 'connection_id' to be a str")
|
34
|
+
pulumi.set(__self__, "connection_id", connection_id)
|
35
|
+
if connection_string and not isinstance(connection_string, str):
|
36
|
+
raise TypeError("Expected argument 'connection_string' to be a str")
|
37
|
+
pulumi.set(__self__, "connection_string", connection_string)
|
38
|
+
if connection_type and not isinstance(connection_type, str):
|
39
|
+
raise TypeError("Expected argument 'connection_type' to be a str")
|
40
|
+
pulumi.set(__self__, "connection_type", connection_type)
|
41
|
+
if database_id and not isinstance(database_id, str):
|
42
|
+
raise TypeError("Expected argument 'database_id' to be a str")
|
43
|
+
pulumi.set(__self__, "database_id", database_id)
|
44
|
+
if database_name and not isinstance(database_name, str):
|
45
|
+
raise TypeError("Expected argument 'database_name' to be a str")
|
46
|
+
pulumi.set(__self__, "database_name", database_name)
|
47
|
+
if db_system_id and not isinstance(db_system_id, str):
|
48
|
+
raise TypeError("Expected argument 'db_system_id' to be a str")
|
49
|
+
pulumi.set(__self__, "db_system_id", db_system_id)
|
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 description and not isinstance(description, str):
|
54
|
+
raise TypeError("Expected argument 'description' to be a str")
|
55
|
+
pulumi.set(__self__, "description", description)
|
56
|
+
if display_name and not isinstance(display_name, str):
|
57
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
58
|
+
pulumi.set(__self__, "display_name", display_name)
|
59
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
60
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
61
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
62
|
+
if host and not isinstance(host, str):
|
63
|
+
raise TypeError("Expected argument 'host' to be a str")
|
64
|
+
pulumi.set(__self__, "host", host)
|
65
|
+
if id and not isinstance(id, str):
|
66
|
+
raise TypeError("Expected argument 'id' to be a str")
|
67
|
+
pulumi.set(__self__, "id", id)
|
68
|
+
if ingress_ips and not isinstance(ingress_ips, list):
|
69
|
+
raise TypeError("Expected argument 'ingress_ips' to be a list")
|
70
|
+
pulumi.set(__self__, "ingress_ips", ingress_ips)
|
71
|
+
if key_id and not isinstance(key_id, str):
|
72
|
+
raise TypeError("Expected argument 'key_id' to be a str")
|
73
|
+
pulumi.set(__self__, "key_id", key_id)
|
74
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
75
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
76
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
77
|
+
if nsg_ids and not isinstance(nsg_ids, list):
|
78
|
+
raise TypeError("Expected argument 'nsg_ids' to be a list")
|
79
|
+
pulumi.set(__self__, "nsg_ids", nsg_ids)
|
80
|
+
if password and not isinstance(password, str):
|
81
|
+
raise TypeError("Expected argument 'password' to be a str")
|
82
|
+
pulumi.set(__self__, "password", password)
|
83
|
+
if port and not isinstance(port, int):
|
84
|
+
raise TypeError("Expected argument 'port' to be a int")
|
85
|
+
pulumi.set(__self__, "port", port)
|
86
|
+
if private_endpoint_id and not isinstance(private_endpoint_id, str):
|
87
|
+
raise TypeError("Expected argument 'private_endpoint_id' to be a str")
|
88
|
+
pulumi.set(__self__, "private_endpoint_id", private_endpoint_id)
|
89
|
+
if replication_password and not isinstance(replication_password, str):
|
90
|
+
raise TypeError("Expected argument 'replication_password' to be a str")
|
91
|
+
pulumi.set(__self__, "replication_password", replication_password)
|
92
|
+
if replication_username and not isinstance(replication_username, str):
|
93
|
+
raise TypeError("Expected argument 'replication_username' to be a str")
|
94
|
+
pulumi.set(__self__, "replication_username", replication_username)
|
95
|
+
if secret_id and not isinstance(secret_id, str):
|
96
|
+
raise TypeError("Expected argument 'secret_id' to be a str")
|
97
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
98
|
+
if security_protocol and not isinstance(security_protocol, str):
|
99
|
+
raise TypeError("Expected argument 'security_protocol' to be a str")
|
100
|
+
pulumi.set(__self__, "security_protocol", security_protocol)
|
101
|
+
if ssh_host and not isinstance(ssh_host, str):
|
102
|
+
raise TypeError("Expected argument 'ssh_host' to be a str")
|
103
|
+
pulumi.set(__self__, "ssh_host", ssh_host)
|
104
|
+
if ssh_key and not isinstance(ssh_key, str):
|
105
|
+
raise TypeError("Expected argument 'ssh_key' to be a str")
|
106
|
+
pulumi.set(__self__, "ssh_key", ssh_key)
|
107
|
+
if ssh_sudo_location and not isinstance(ssh_sudo_location, str):
|
108
|
+
raise TypeError("Expected argument 'ssh_sudo_location' to be a str")
|
109
|
+
pulumi.set(__self__, "ssh_sudo_location", ssh_sudo_location)
|
110
|
+
if ssh_user and not isinstance(ssh_user, str):
|
111
|
+
raise TypeError("Expected argument 'ssh_user' to be a str")
|
112
|
+
pulumi.set(__self__, "ssh_user", ssh_user)
|
113
|
+
if ssl_ca and not isinstance(ssl_ca, str):
|
114
|
+
raise TypeError("Expected argument 'ssl_ca' to be a str")
|
115
|
+
pulumi.set(__self__, "ssl_ca", ssl_ca)
|
116
|
+
if ssl_cert and not isinstance(ssl_cert, str):
|
117
|
+
raise TypeError("Expected argument 'ssl_cert' to be a str")
|
118
|
+
pulumi.set(__self__, "ssl_cert", ssl_cert)
|
119
|
+
if ssl_crl and not isinstance(ssl_crl, str):
|
120
|
+
raise TypeError("Expected argument 'ssl_crl' to be a str")
|
121
|
+
pulumi.set(__self__, "ssl_crl", ssl_crl)
|
122
|
+
if ssl_key and not isinstance(ssl_key, str):
|
123
|
+
raise TypeError("Expected argument 'ssl_key' to be a str")
|
124
|
+
pulumi.set(__self__, "ssl_key", ssl_key)
|
125
|
+
if ssl_mode and not isinstance(ssl_mode, str):
|
126
|
+
raise TypeError("Expected argument 'ssl_mode' to be a str")
|
127
|
+
pulumi.set(__self__, "ssl_mode", ssl_mode)
|
128
|
+
if state and not isinstance(state, str):
|
129
|
+
raise TypeError("Expected argument 'state' to be a str")
|
130
|
+
pulumi.set(__self__, "state", state)
|
131
|
+
if subnet_id and not isinstance(subnet_id, str):
|
132
|
+
raise TypeError("Expected argument 'subnet_id' to be a str")
|
133
|
+
pulumi.set(__self__, "subnet_id", subnet_id)
|
134
|
+
if system_tags and not isinstance(system_tags, dict):
|
135
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
136
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
137
|
+
if technology_type and not isinstance(technology_type, str):
|
138
|
+
raise TypeError("Expected argument 'technology_type' to be a str")
|
139
|
+
pulumi.set(__self__, "technology_type", technology_type)
|
140
|
+
if time_created and not isinstance(time_created, str):
|
141
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
142
|
+
pulumi.set(__self__, "time_created", time_created)
|
143
|
+
if time_updated and not isinstance(time_updated, str):
|
144
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
145
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
146
|
+
if username and not isinstance(username, str):
|
147
|
+
raise TypeError("Expected argument 'username' to be a str")
|
148
|
+
pulumi.set(__self__, "username", username)
|
149
|
+
if vault_id and not isinstance(vault_id, str):
|
150
|
+
raise TypeError("Expected argument 'vault_id' to be a str")
|
151
|
+
pulumi.set(__self__, "vault_id", vault_id)
|
152
|
+
if wallet and not isinstance(wallet, str):
|
153
|
+
raise TypeError("Expected argument 'wallet' to be a str")
|
154
|
+
pulumi.set(__self__, "wallet", wallet)
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="additionalAttributes")
|
158
|
+
def additional_attributes(self) -> Sequence['outputs.GetConnectionAdditionalAttributeResult']:
|
159
|
+
"""
|
160
|
+
An array of name-value pair attribute entries.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "additional_attributes")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="compartmentId")
|
166
|
+
def compartment_id(self) -> str:
|
167
|
+
"""
|
168
|
+
The OCID of the compartment.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "compartment_id")
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter(name="connectionId")
|
174
|
+
def connection_id(self) -> str:
|
175
|
+
return pulumi.get(self, "connection_id")
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter(name="connectionString")
|
179
|
+
def connection_string(self) -> str:
|
180
|
+
"""
|
181
|
+
Connect descriptor or Easy Connect Naming method used to connect to a database.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "connection_string")
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter(name="connectionType")
|
187
|
+
def connection_type(self) -> str:
|
188
|
+
"""
|
189
|
+
Defines the type of connection. For example, ORACLE.
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "connection_type")
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="databaseId")
|
195
|
+
def database_id(self) -> str:
|
196
|
+
"""
|
197
|
+
The OCID of the database being referenced.
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "database_id")
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter(name="databaseName")
|
203
|
+
def database_name(self) -> str:
|
204
|
+
"""
|
205
|
+
The name of the database being referenced.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "database_name")
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="dbSystemId")
|
211
|
+
def db_system_id(self) -> str:
|
212
|
+
"""
|
213
|
+
The OCID of the database system being referenced.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "db_system_id")
|
216
|
+
|
217
|
+
@property
|
218
|
+
@pulumi.getter(name="definedTags")
|
219
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
220
|
+
"""
|
221
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "defined_tags")
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter
|
227
|
+
def description(self) -> str:
|
228
|
+
"""
|
229
|
+
A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "description")
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter(name="displayName")
|
235
|
+
def display_name(self) -> str:
|
236
|
+
"""
|
237
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "display_name")
|
240
|
+
|
241
|
+
@property
|
242
|
+
@pulumi.getter(name="freeformTags")
|
243
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
244
|
+
"""
|
245
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "freeform_tags")
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter
|
251
|
+
def host(self) -> str:
|
252
|
+
"""
|
253
|
+
The IP Address of the host.
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "host")
|
256
|
+
|
257
|
+
@property
|
258
|
+
@pulumi.getter
|
259
|
+
def id(self) -> str:
|
260
|
+
"""
|
261
|
+
The OCID of the connection being referenced.
|
262
|
+
"""
|
263
|
+
return pulumi.get(self, "id")
|
264
|
+
|
265
|
+
@property
|
266
|
+
@pulumi.getter(name="ingressIps")
|
267
|
+
def ingress_ips(self) -> Sequence['outputs.GetConnectionIngressIpResult']:
|
268
|
+
"""
|
269
|
+
List of ingress IP addresses from where to connect to this connection's privateIp.
|
270
|
+
"""
|
271
|
+
return pulumi.get(self, "ingress_ips")
|
272
|
+
|
273
|
+
@property
|
274
|
+
@pulumi.getter(name="keyId")
|
275
|
+
def key_id(self) -> str:
|
276
|
+
"""
|
277
|
+
The OCID of the key used in cryptographic operations.
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "key_id")
|
280
|
+
|
281
|
+
@property
|
282
|
+
@pulumi.getter(name="lifecycleDetails")
|
283
|
+
def lifecycle_details(self) -> str:
|
284
|
+
"""
|
285
|
+
The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "lifecycle_details")
|
288
|
+
|
289
|
+
@property
|
290
|
+
@pulumi.getter(name="nsgIds")
|
291
|
+
def nsg_ids(self) -> Sequence[str]:
|
292
|
+
"""
|
293
|
+
An array of Network Security Group OCIDs used to define network access for Connections.
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "nsg_ids")
|
296
|
+
|
297
|
+
@property
|
298
|
+
@pulumi.getter
|
299
|
+
def password(self) -> str:
|
300
|
+
"""
|
301
|
+
The password (credential) used when creating or updating this resource.
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "password")
|
304
|
+
|
305
|
+
@property
|
306
|
+
@pulumi.getter
|
307
|
+
def port(self) -> int:
|
308
|
+
"""
|
309
|
+
The port to be used for the connection.
|
310
|
+
"""
|
311
|
+
return pulumi.get(self, "port")
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter(name="privateEndpointId")
|
315
|
+
def private_endpoint_id(self) -> str:
|
316
|
+
"""
|
317
|
+
The OCID of the resource being referenced.
|
318
|
+
"""
|
319
|
+
return pulumi.get(self, "private_endpoint_id")
|
320
|
+
|
321
|
+
@property
|
322
|
+
@pulumi.getter(name="replicationPassword")
|
323
|
+
def replication_password(self) -> str:
|
324
|
+
"""
|
325
|
+
The password (credential) used when creating or updating this resource.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "replication_password")
|
328
|
+
|
329
|
+
@property
|
330
|
+
@pulumi.getter(name="replicationUsername")
|
331
|
+
def replication_username(self) -> str:
|
332
|
+
"""
|
333
|
+
The username (credential) used when creating or updating this resource.
|
334
|
+
"""
|
335
|
+
return pulumi.get(self, "replication_username")
|
336
|
+
|
337
|
+
@property
|
338
|
+
@pulumi.getter(name="secretId")
|
339
|
+
def secret_id(self) -> str:
|
340
|
+
"""
|
341
|
+
The OCID of the resource being referenced.
|
342
|
+
"""
|
343
|
+
return pulumi.get(self, "secret_id")
|
344
|
+
|
345
|
+
@property
|
346
|
+
@pulumi.getter(name="securityProtocol")
|
347
|
+
def security_protocol(self) -> str:
|
348
|
+
"""
|
349
|
+
Security Protocol to be used for the connection.
|
350
|
+
"""
|
351
|
+
return pulumi.get(self, "security_protocol")
|
352
|
+
|
353
|
+
@property
|
354
|
+
@pulumi.getter(name="sshHost")
|
355
|
+
def ssh_host(self) -> str:
|
356
|
+
"""
|
357
|
+
Name of the host the SSH key is valid for.
|
358
|
+
"""
|
359
|
+
return pulumi.get(self, "ssh_host")
|
360
|
+
|
361
|
+
@property
|
362
|
+
@pulumi.getter(name="sshKey")
|
363
|
+
def ssh_key(self) -> str:
|
364
|
+
"""
|
365
|
+
Private SSH key string.
|
366
|
+
"""
|
367
|
+
return pulumi.get(self, "ssh_key")
|
368
|
+
|
369
|
+
@property
|
370
|
+
@pulumi.getter(name="sshSudoLocation")
|
371
|
+
def ssh_sudo_location(self) -> str:
|
372
|
+
"""
|
373
|
+
Sudo location
|
374
|
+
"""
|
375
|
+
return pulumi.get(self, "ssh_sudo_location")
|
376
|
+
|
377
|
+
@property
|
378
|
+
@pulumi.getter(name="sshUser")
|
379
|
+
def ssh_user(self) -> str:
|
380
|
+
"""
|
381
|
+
The username (credential) used when creating or updating this resource.
|
382
|
+
"""
|
383
|
+
return pulumi.get(self, "ssh_user")
|
384
|
+
|
385
|
+
@property
|
386
|
+
@pulumi.getter(name="sslCa")
|
387
|
+
def ssl_ca(self) -> str:
|
388
|
+
return pulumi.get(self, "ssl_ca")
|
389
|
+
|
390
|
+
@property
|
391
|
+
@pulumi.getter(name="sslCert")
|
392
|
+
def ssl_cert(self) -> str:
|
393
|
+
return pulumi.get(self, "ssl_cert")
|
394
|
+
|
395
|
+
@property
|
396
|
+
@pulumi.getter(name="sslCrl")
|
397
|
+
def ssl_crl(self) -> str:
|
398
|
+
return pulumi.get(self, "ssl_crl")
|
399
|
+
|
400
|
+
@property
|
401
|
+
@pulumi.getter(name="sslKey")
|
402
|
+
def ssl_key(self) -> str:
|
403
|
+
return pulumi.get(self, "ssl_key")
|
404
|
+
|
405
|
+
@property
|
406
|
+
@pulumi.getter(name="sslMode")
|
407
|
+
def ssl_mode(self) -> str:
|
408
|
+
"""
|
409
|
+
SSL mode to be used for the connection.
|
410
|
+
"""
|
411
|
+
return pulumi.get(self, "ssl_mode")
|
412
|
+
|
413
|
+
@property
|
414
|
+
@pulumi.getter
|
415
|
+
def state(self) -> str:
|
416
|
+
"""
|
417
|
+
The Connection's current lifecycle state.
|
418
|
+
"""
|
419
|
+
return pulumi.get(self, "state")
|
420
|
+
|
421
|
+
@property
|
422
|
+
@pulumi.getter(name="subnetId")
|
423
|
+
def subnet_id(self) -> str:
|
424
|
+
"""
|
425
|
+
Oracle Cloud Infrastructure resource ID.
|
426
|
+
"""
|
427
|
+
return pulumi.get(self, "subnet_id")
|
428
|
+
|
429
|
+
@property
|
430
|
+
@pulumi.getter(name="systemTags")
|
431
|
+
def system_tags(self) -> Mapping[str, Any]:
|
432
|
+
"""
|
433
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
434
|
+
"""
|
435
|
+
return pulumi.get(self, "system_tags")
|
436
|
+
|
437
|
+
@property
|
438
|
+
@pulumi.getter(name="technologyType")
|
439
|
+
def technology_type(self) -> str:
|
440
|
+
"""
|
441
|
+
The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
|
442
|
+
"""
|
443
|
+
return pulumi.get(self, "technology_type")
|
444
|
+
|
445
|
+
@property
|
446
|
+
@pulumi.getter(name="timeCreated")
|
447
|
+
def time_created(self) -> str:
|
448
|
+
"""
|
449
|
+
The time when this resource was created. An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
450
|
+
"""
|
451
|
+
return pulumi.get(self, "time_created")
|
452
|
+
|
453
|
+
@property
|
454
|
+
@pulumi.getter(name="timeUpdated")
|
455
|
+
def time_updated(self) -> str:
|
456
|
+
"""
|
457
|
+
The time when this resource was updated. An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
458
|
+
"""
|
459
|
+
return pulumi.get(self, "time_updated")
|
460
|
+
|
461
|
+
@property
|
462
|
+
@pulumi.getter
|
463
|
+
def username(self) -> str:
|
464
|
+
"""
|
465
|
+
The username (credential) used when creating or updating this resource.
|
466
|
+
"""
|
467
|
+
return pulumi.get(self, "username")
|
468
|
+
|
469
|
+
@property
|
470
|
+
@pulumi.getter(name="vaultId")
|
471
|
+
def vault_id(self) -> str:
|
472
|
+
"""
|
473
|
+
Oracle Cloud Infrastructure resource ID.
|
474
|
+
"""
|
475
|
+
return pulumi.get(self, "vault_id")
|
476
|
+
|
477
|
+
@property
|
478
|
+
@pulumi.getter
|
479
|
+
def wallet(self) -> str:
|
480
|
+
return pulumi.get(self, "wallet")
|
481
|
+
|
482
|
+
|
483
|
+
class AwaitableGetConnectionResult(GetConnectionResult):
|
484
|
+
# pylint: disable=using-constant-test
|
485
|
+
def __await__(self):
|
486
|
+
if False:
|
487
|
+
yield self
|
488
|
+
return GetConnectionResult(
|
489
|
+
additional_attributes=self.additional_attributes,
|
490
|
+
compartment_id=self.compartment_id,
|
491
|
+
connection_id=self.connection_id,
|
492
|
+
connection_string=self.connection_string,
|
493
|
+
connection_type=self.connection_type,
|
494
|
+
database_id=self.database_id,
|
495
|
+
database_name=self.database_name,
|
496
|
+
db_system_id=self.db_system_id,
|
497
|
+
defined_tags=self.defined_tags,
|
498
|
+
description=self.description,
|
499
|
+
display_name=self.display_name,
|
500
|
+
freeform_tags=self.freeform_tags,
|
501
|
+
host=self.host,
|
502
|
+
id=self.id,
|
503
|
+
ingress_ips=self.ingress_ips,
|
504
|
+
key_id=self.key_id,
|
505
|
+
lifecycle_details=self.lifecycle_details,
|
506
|
+
nsg_ids=self.nsg_ids,
|
507
|
+
password=self.password,
|
508
|
+
port=self.port,
|
509
|
+
private_endpoint_id=self.private_endpoint_id,
|
510
|
+
replication_password=self.replication_password,
|
511
|
+
replication_username=self.replication_username,
|
512
|
+
secret_id=self.secret_id,
|
513
|
+
security_protocol=self.security_protocol,
|
514
|
+
ssh_host=self.ssh_host,
|
515
|
+
ssh_key=self.ssh_key,
|
516
|
+
ssh_sudo_location=self.ssh_sudo_location,
|
517
|
+
ssh_user=self.ssh_user,
|
518
|
+
ssl_ca=self.ssl_ca,
|
519
|
+
ssl_cert=self.ssl_cert,
|
520
|
+
ssl_crl=self.ssl_crl,
|
521
|
+
ssl_key=self.ssl_key,
|
522
|
+
ssl_mode=self.ssl_mode,
|
523
|
+
state=self.state,
|
524
|
+
subnet_id=self.subnet_id,
|
525
|
+
system_tags=self.system_tags,
|
526
|
+
technology_type=self.technology_type,
|
527
|
+
time_created=self.time_created,
|
528
|
+
time_updated=self.time_updated,
|
529
|
+
username=self.username,
|
530
|
+
vault_id=self.vault_id,
|
531
|
+
wallet=self.wallet)
|
532
|
+
|
533
|
+
|
534
|
+
def get_connection(connection_id: Optional[str] = None,
|
535
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectionResult:
|
536
|
+
"""
|
537
|
+
## Example Usage
|
538
|
+
|
539
|
+
```python
|
540
|
+
import pulumi
|
541
|
+
import pulumi_oci as oci
|
542
|
+
|
543
|
+
test_connection = oci.DatabaseMigration.get_connection(connection_id=test_connection_oci_database_migration_connection["id"])
|
544
|
+
```
|
545
|
+
|
546
|
+
|
547
|
+
:param str connection_id: The OCID of the database connection.
|
548
|
+
"""
|
549
|
+
__args__ = dict()
|
550
|
+
__args__['connectionId'] = connection_id
|
551
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
552
|
+
__ret__ = pulumi.runtime.invoke('oci:DatabaseMigration/getConnection:getConnection', __args__, opts=opts, typ=GetConnectionResult).value
|
553
|
+
|
554
|
+
return AwaitableGetConnectionResult(
|
555
|
+
additional_attributes=pulumi.get(__ret__, 'additional_attributes'),
|
556
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
557
|
+
connection_id=pulumi.get(__ret__, 'connection_id'),
|
558
|
+
connection_string=pulumi.get(__ret__, 'connection_string'),
|
559
|
+
connection_type=pulumi.get(__ret__, 'connection_type'),
|
560
|
+
database_id=pulumi.get(__ret__, 'database_id'),
|
561
|
+
database_name=pulumi.get(__ret__, 'database_name'),
|
562
|
+
db_system_id=pulumi.get(__ret__, 'db_system_id'),
|
563
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
564
|
+
description=pulumi.get(__ret__, 'description'),
|
565
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
566
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
567
|
+
host=pulumi.get(__ret__, 'host'),
|
568
|
+
id=pulumi.get(__ret__, 'id'),
|
569
|
+
ingress_ips=pulumi.get(__ret__, 'ingress_ips'),
|
570
|
+
key_id=pulumi.get(__ret__, 'key_id'),
|
571
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
572
|
+
nsg_ids=pulumi.get(__ret__, 'nsg_ids'),
|
573
|
+
password=pulumi.get(__ret__, 'password'),
|
574
|
+
port=pulumi.get(__ret__, 'port'),
|
575
|
+
private_endpoint_id=pulumi.get(__ret__, 'private_endpoint_id'),
|
576
|
+
replication_password=pulumi.get(__ret__, 'replication_password'),
|
577
|
+
replication_username=pulumi.get(__ret__, 'replication_username'),
|
578
|
+
secret_id=pulumi.get(__ret__, 'secret_id'),
|
579
|
+
security_protocol=pulumi.get(__ret__, 'security_protocol'),
|
580
|
+
ssh_host=pulumi.get(__ret__, 'ssh_host'),
|
581
|
+
ssh_key=pulumi.get(__ret__, 'ssh_key'),
|
582
|
+
ssh_sudo_location=pulumi.get(__ret__, 'ssh_sudo_location'),
|
583
|
+
ssh_user=pulumi.get(__ret__, 'ssh_user'),
|
584
|
+
ssl_ca=pulumi.get(__ret__, 'ssl_ca'),
|
585
|
+
ssl_cert=pulumi.get(__ret__, 'ssl_cert'),
|
586
|
+
ssl_crl=pulumi.get(__ret__, 'ssl_crl'),
|
587
|
+
ssl_key=pulumi.get(__ret__, 'ssl_key'),
|
588
|
+
ssl_mode=pulumi.get(__ret__, 'ssl_mode'),
|
589
|
+
state=pulumi.get(__ret__, 'state'),
|
590
|
+
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
591
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
592
|
+
technology_type=pulumi.get(__ret__, 'technology_type'),
|
593
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
594
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
595
|
+
username=pulumi.get(__ret__, 'username'),
|
596
|
+
vault_id=pulumi.get(__ret__, 'vault_id'),
|
597
|
+
wallet=pulumi.get(__ret__, 'wallet'))
|
598
|
+
|
599
|
+
|
600
|
+
@_utilities.lift_output_func(get_connection)
|
601
|
+
def get_connection_output(connection_id: Optional[pulumi.Input[str]] = None,
|
602
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionResult]:
|
603
|
+
"""
|
604
|
+
## Example Usage
|
605
|
+
|
606
|
+
```python
|
607
|
+
import pulumi
|
608
|
+
import pulumi_oci as oci
|
609
|
+
|
610
|
+
test_connection = oci.DatabaseMigration.get_connection(connection_id=test_connection_oci_database_migration_connection["id"])
|
611
|
+
```
|
612
|
+
|
613
|
+
|
614
|
+
:param str connection_id: The OCID of the database connection.
|
615
|
+
"""
|
616
|
+
...
|