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.
- pulumi_oci/__init__.py +8 -16
- pulumi_oci/core/_inputs.py +4 -4
- pulumi_oci/core/ipsec_connection_tunnel_management.py +62 -62
- pulumi_oci/core/outputs.py +10 -10
- pulumi_oci/databasemigration/__init__.py +0 -6
- pulumi_oci/databasemigration/_inputs.py +10 -2359
- pulumi_oci/databasemigration/outputs.py +74 -6309
- pulumi_oci/datascience/pipeline.py +26 -26
- pulumi_oci/jms/__init__.py +1 -0
- pulumi_oci/jms/_inputs.py +672 -0
- pulumi_oci/jms/fleet_advanced_feature_configuration.py +704 -0
- pulumi_oci/jms/get_fleet_advanced_feature_configuration.py +0 -3
- pulumi_oci/jms/outputs.py +770 -0
- pulumi_oci/mysql/_inputs.py +125 -8
- pulumi_oci/mysql/get_mysql_backup.py +60 -1
- pulumi_oci/mysql/mysql_backup.py +183 -47
- pulumi_oci/mysql/outputs.py +366 -8
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-1.42.0a1719642398.dist-info → pulumi_oci-2.0.0.dist-info}/METADATA +2 -2
- {pulumi_oci-1.42.0a1719642398.dist-info → pulumi_oci-2.0.0.dist-info}/RECORD +22 -27
- {pulumi_oci-1.42.0a1719642398.dist-info → pulumi_oci-2.0.0.dist-info}/WHEEL +1 -1
- pulumi_oci/databasemigration/connection.py +0 -1199
- pulumi_oci/databasemigration/get_connection.py +0 -399
- pulumi_oci/databasemigration/get_connections.py +0 -176
- pulumi_oci/databasemigration/get_migration.py +0 -480
- pulumi_oci/databasemigration/get_migrations.py +0 -196
- pulumi_oci/databasemigration/migration.py +0 -1630
- {pulumi_oci-1.42.0a1719642398.dist-info → pulumi_oci-2.0.0.dist-info}/top_level.txt +0 -0
@@ -1,480 +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
|
-
'GetMigrationResult',
|
15
|
-
'AwaitableGetMigrationResult',
|
16
|
-
'get_migration',
|
17
|
-
'get_migration_output',
|
18
|
-
]
|
19
|
-
|
20
|
-
@pulumi.output_type
|
21
|
-
class GetMigrationResult:
|
22
|
-
"""
|
23
|
-
A collection of values returned by getMigration.
|
24
|
-
"""
|
25
|
-
def __init__(__self__, advisor_settings=None, agent_id=None, compartment_id=None, credentials_secret_id=None, csv_text=None, data_transfer_medium_details=None, data_transfer_medium_details_v2s=None, datapump_settings=None, defined_tags=None, display_name=None, dump_transfer_details=None, exclude_objects=None, executing_job_id=None, freeform_tags=None, golden_gate_details=None, golden_gate_service_details=None, id=None, include_objects=None, lifecycle_details=None, migration_id=None, source_container_database_connection_id=None, source_database_connection_id=None, state=None, system_tags=None, target_database_connection_id=None, time_created=None, time_last_migration=None, time_updated=None, type=None, vault_details=None, wait_after=None):
|
26
|
-
if advisor_settings and not isinstance(advisor_settings, list):
|
27
|
-
raise TypeError("Expected argument 'advisor_settings' to be a list")
|
28
|
-
pulumi.set(__self__, "advisor_settings", advisor_settings)
|
29
|
-
if agent_id and not isinstance(agent_id, str):
|
30
|
-
raise TypeError("Expected argument 'agent_id' to be a str")
|
31
|
-
pulumi.set(__self__, "agent_id", agent_id)
|
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 credentials_secret_id and not isinstance(credentials_secret_id, str):
|
36
|
-
raise TypeError("Expected argument 'credentials_secret_id' to be a str")
|
37
|
-
pulumi.set(__self__, "credentials_secret_id", credentials_secret_id)
|
38
|
-
if csv_text and not isinstance(csv_text, str):
|
39
|
-
raise TypeError("Expected argument 'csv_text' to be a str")
|
40
|
-
pulumi.set(__self__, "csv_text", csv_text)
|
41
|
-
if data_transfer_medium_details and not isinstance(data_transfer_medium_details, list):
|
42
|
-
raise TypeError("Expected argument 'data_transfer_medium_details' to be a list")
|
43
|
-
pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details)
|
44
|
-
if data_transfer_medium_details_v2s and not isinstance(data_transfer_medium_details_v2s, list):
|
45
|
-
raise TypeError("Expected argument 'data_transfer_medium_details_v2s' to be a list")
|
46
|
-
pulumi.set(__self__, "data_transfer_medium_details_v2s", data_transfer_medium_details_v2s)
|
47
|
-
if datapump_settings and not isinstance(datapump_settings, list):
|
48
|
-
raise TypeError("Expected argument 'datapump_settings' to be a list")
|
49
|
-
pulumi.set(__self__, "datapump_settings", datapump_settings)
|
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 dump_transfer_details and not isinstance(dump_transfer_details, list):
|
57
|
-
raise TypeError("Expected argument 'dump_transfer_details' to be a list")
|
58
|
-
pulumi.set(__self__, "dump_transfer_details", dump_transfer_details)
|
59
|
-
if exclude_objects and not isinstance(exclude_objects, list):
|
60
|
-
raise TypeError("Expected argument 'exclude_objects' to be a list")
|
61
|
-
pulumi.set(__self__, "exclude_objects", exclude_objects)
|
62
|
-
if executing_job_id and not isinstance(executing_job_id, str):
|
63
|
-
raise TypeError("Expected argument 'executing_job_id' to be a str")
|
64
|
-
pulumi.set(__self__, "executing_job_id", executing_job_id)
|
65
|
-
if freeform_tags and not isinstance(freeform_tags, dict):
|
66
|
-
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
67
|
-
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
68
|
-
if golden_gate_details and not isinstance(golden_gate_details, list):
|
69
|
-
raise TypeError("Expected argument 'golden_gate_details' to be a list")
|
70
|
-
pulumi.set(__self__, "golden_gate_details", golden_gate_details)
|
71
|
-
if golden_gate_service_details and not isinstance(golden_gate_service_details, list):
|
72
|
-
raise TypeError("Expected argument 'golden_gate_service_details' to be a list")
|
73
|
-
pulumi.set(__self__, "golden_gate_service_details", golden_gate_service_details)
|
74
|
-
if id and not isinstance(id, str):
|
75
|
-
raise TypeError("Expected argument 'id' to be a str")
|
76
|
-
pulumi.set(__self__, "id", id)
|
77
|
-
if include_objects and not isinstance(include_objects, list):
|
78
|
-
raise TypeError("Expected argument 'include_objects' to be a list")
|
79
|
-
pulumi.set(__self__, "include_objects", include_objects)
|
80
|
-
if lifecycle_details and not isinstance(lifecycle_details, str):
|
81
|
-
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
82
|
-
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
83
|
-
if migration_id and not isinstance(migration_id, str):
|
84
|
-
raise TypeError("Expected argument 'migration_id' to be a str")
|
85
|
-
pulumi.set(__self__, "migration_id", migration_id)
|
86
|
-
if source_container_database_connection_id and not isinstance(source_container_database_connection_id, str):
|
87
|
-
raise TypeError("Expected argument 'source_container_database_connection_id' to be a str")
|
88
|
-
pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id)
|
89
|
-
if source_database_connection_id and not isinstance(source_database_connection_id, str):
|
90
|
-
raise TypeError("Expected argument 'source_database_connection_id' to be a str")
|
91
|
-
pulumi.set(__self__, "source_database_connection_id", source_database_connection_id)
|
92
|
-
if state and not isinstance(state, str):
|
93
|
-
raise TypeError("Expected argument 'state' to be a str")
|
94
|
-
pulumi.set(__self__, "state", state)
|
95
|
-
if system_tags and not isinstance(system_tags, dict):
|
96
|
-
raise TypeError("Expected argument 'system_tags' to be a dict")
|
97
|
-
pulumi.set(__self__, "system_tags", system_tags)
|
98
|
-
if target_database_connection_id and not isinstance(target_database_connection_id, str):
|
99
|
-
raise TypeError("Expected argument 'target_database_connection_id' to be a str")
|
100
|
-
pulumi.set(__self__, "target_database_connection_id", target_database_connection_id)
|
101
|
-
if time_created and not isinstance(time_created, str):
|
102
|
-
raise TypeError("Expected argument 'time_created' to be a str")
|
103
|
-
pulumi.set(__self__, "time_created", time_created)
|
104
|
-
if time_last_migration and not isinstance(time_last_migration, str):
|
105
|
-
raise TypeError("Expected argument 'time_last_migration' to be a str")
|
106
|
-
pulumi.set(__self__, "time_last_migration", time_last_migration)
|
107
|
-
if time_updated and not isinstance(time_updated, str):
|
108
|
-
raise TypeError("Expected argument 'time_updated' to be a str")
|
109
|
-
pulumi.set(__self__, "time_updated", time_updated)
|
110
|
-
if type and not isinstance(type, str):
|
111
|
-
raise TypeError("Expected argument 'type' to be a str")
|
112
|
-
pulumi.set(__self__, "type", type)
|
113
|
-
if vault_details and not isinstance(vault_details, list):
|
114
|
-
raise TypeError("Expected argument 'vault_details' to be a list")
|
115
|
-
pulumi.set(__self__, "vault_details", vault_details)
|
116
|
-
if wait_after and not isinstance(wait_after, str):
|
117
|
-
raise TypeError("Expected argument 'wait_after' to be a str")
|
118
|
-
pulumi.set(__self__, "wait_after", wait_after)
|
119
|
-
|
120
|
-
@property
|
121
|
-
@pulumi.getter(name="advisorSettings")
|
122
|
-
def advisor_settings(self) -> Sequence['outputs.GetMigrationAdvisorSettingResult']:
|
123
|
-
"""
|
124
|
-
Optional Pre-Migration advisor settings.
|
125
|
-
"""
|
126
|
-
return pulumi.get(self, "advisor_settings")
|
127
|
-
|
128
|
-
@property
|
129
|
-
@pulumi.getter(name="agentId")
|
130
|
-
def agent_id(self) -> str:
|
131
|
-
"""
|
132
|
-
The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations.
|
133
|
-
"""
|
134
|
-
return pulumi.get(self, "agent_id")
|
135
|
-
|
136
|
-
@property
|
137
|
-
@pulumi.getter(name="compartmentId")
|
138
|
-
def compartment_id(self) -> str:
|
139
|
-
"""
|
140
|
-
OCID of the compartment where the secret containing the credentials will be created.
|
141
|
-
"""
|
142
|
-
return pulumi.get(self, "compartment_id")
|
143
|
-
|
144
|
-
@property
|
145
|
-
@pulumi.getter(name="credentialsSecretId")
|
146
|
-
def credentials_secret_id(self) -> str:
|
147
|
-
"""
|
148
|
-
OCID of the Secret in the Oracle Cloud Infrastructure vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
|
149
|
-
"""
|
150
|
-
return pulumi.get(self, "credentials_secret_id")
|
151
|
-
|
152
|
-
@property
|
153
|
-
@pulumi.getter(name="csvText")
|
154
|
-
def csv_text(self) -> str:
|
155
|
-
return pulumi.get(self, "csv_text")
|
156
|
-
|
157
|
-
@property
|
158
|
-
@pulumi.getter(name="dataTransferMediumDetails")
|
159
|
-
def data_transfer_medium_details(self) -> Sequence['outputs.GetMigrationDataTransferMediumDetailResult']:
|
160
|
-
"""
|
161
|
-
Data Transfer Medium details for the Migration.
|
162
|
-
"""
|
163
|
-
return pulumi.get(self, "data_transfer_medium_details")
|
164
|
-
|
165
|
-
@property
|
166
|
-
@pulumi.getter(name="dataTransferMediumDetailsV2s")
|
167
|
-
def data_transfer_medium_details_v2s(self) -> Sequence['outputs.GetMigrationDataTransferMediumDetailsV2Result']:
|
168
|
-
"""
|
169
|
-
Optional additional properties for dump transfer in source or target host.
|
170
|
-
"""
|
171
|
-
return pulumi.get(self, "data_transfer_medium_details_v2s")
|
172
|
-
|
173
|
-
@property
|
174
|
-
@pulumi.getter(name="datapumpSettings")
|
175
|
-
def datapump_settings(self) -> Sequence['outputs.GetMigrationDatapumpSettingResult']:
|
176
|
-
"""
|
177
|
-
Optional settings for Data Pump Export and Import jobs
|
178
|
-
"""
|
179
|
-
return pulumi.get(self, "datapump_settings")
|
180
|
-
|
181
|
-
@property
|
182
|
-
@pulumi.getter(name="definedTags")
|
183
|
-
def defined_tags(self) -> Mapping[str, Any]:
|
184
|
-
"""
|
185
|
-
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
186
|
-
"""
|
187
|
-
return pulumi.get(self, "defined_tags")
|
188
|
-
|
189
|
-
@property
|
190
|
-
@pulumi.getter(name="displayName")
|
191
|
-
def display_name(self) -> str:
|
192
|
-
"""
|
193
|
-
Migration Display Name
|
194
|
-
"""
|
195
|
-
return pulumi.get(self, "display_name")
|
196
|
-
|
197
|
-
@property
|
198
|
-
@pulumi.getter(name="dumpTransferDetails")
|
199
|
-
def dump_transfer_details(self) -> Sequence['outputs.GetMigrationDumpTransferDetailResult']:
|
200
|
-
"""
|
201
|
-
Optional additional properties for dump transfer.
|
202
|
-
"""
|
203
|
-
return pulumi.get(self, "dump_transfer_details")
|
204
|
-
|
205
|
-
@property
|
206
|
-
@pulumi.getter(name="excludeObjects")
|
207
|
-
def exclude_objects(self) -> Sequence['outputs.GetMigrationExcludeObjectResult']:
|
208
|
-
"""
|
209
|
-
Database objects to exclude from migration. If 'includeObjects' are specified, only exclude object types can be specified with general wildcards (.*) for owner and objectName.
|
210
|
-
"""
|
211
|
-
return pulumi.get(self, "exclude_objects")
|
212
|
-
|
213
|
-
@property
|
214
|
-
@pulumi.getter(name="executingJobId")
|
215
|
-
def executing_job_id(self) -> str:
|
216
|
-
"""
|
217
|
-
OCID of the current ODMS Job in execution for the Migration, if any.
|
218
|
-
"""
|
219
|
-
return pulumi.get(self, "executing_job_id")
|
220
|
-
|
221
|
-
@property
|
222
|
-
@pulumi.getter(name="freeformTags")
|
223
|
-
def freeform_tags(self) -> Mapping[str, Any]:
|
224
|
-
"""
|
225
|
-
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
226
|
-
"""
|
227
|
-
return pulumi.get(self, "freeform_tags")
|
228
|
-
|
229
|
-
@property
|
230
|
-
@pulumi.getter(name="goldenGateDetails")
|
231
|
-
def golden_gate_details(self) -> Sequence['outputs.GetMigrationGoldenGateDetailResult']:
|
232
|
-
"""
|
233
|
-
Details about Oracle GoldenGate Microservices.
|
234
|
-
"""
|
235
|
-
return pulumi.get(self, "golden_gate_details")
|
236
|
-
|
237
|
-
@property
|
238
|
-
@pulumi.getter(name="goldenGateServiceDetails")
|
239
|
-
def golden_gate_service_details(self) -> Sequence['outputs.GetMigrationGoldenGateServiceDetailResult']:
|
240
|
-
"""
|
241
|
-
Details about Oracle GoldenGate GGS Deployment.
|
242
|
-
"""
|
243
|
-
return pulumi.get(self, "golden_gate_service_details")
|
244
|
-
|
245
|
-
@property
|
246
|
-
@pulumi.getter
|
247
|
-
def id(self) -> str:
|
248
|
-
"""
|
249
|
-
The OCID of the resource
|
250
|
-
"""
|
251
|
-
return pulumi.get(self, "id")
|
252
|
-
|
253
|
-
@property
|
254
|
-
@pulumi.getter(name="includeObjects")
|
255
|
-
def include_objects(self) -> Sequence['outputs.GetMigrationIncludeObjectResult']:
|
256
|
-
"""
|
257
|
-
Database objects to include from migration.
|
258
|
-
"""
|
259
|
-
return pulumi.get(self, "include_objects")
|
260
|
-
|
261
|
-
@property
|
262
|
-
@pulumi.getter(name="lifecycleDetails")
|
263
|
-
def lifecycle_details(self) -> str:
|
264
|
-
"""
|
265
|
-
Additional status related to the execution and current state of the Migration.
|
266
|
-
"""
|
267
|
-
return pulumi.get(self, "lifecycle_details")
|
268
|
-
|
269
|
-
@property
|
270
|
-
@pulumi.getter(name="migrationId")
|
271
|
-
def migration_id(self) -> str:
|
272
|
-
return pulumi.get(self, "migration_id")
|
273
|
-
|
274
|
-
@property
|
275
|
-
@pulumi.getter(name="sourceContainerDatabaseConnectionId")
|
276
|
-
def source_container_database_connection_id(self) -> str:
|
277
|
-
"""
|
278
|
-
The OCID of the Source Container Database Connection.
|
279
|
-
"""
|
280
|
-
return pulumi.get(self, "source_container_database_connection_id")
|
281
|
-
|
282
|
-
@property
|
283
|
-
@pulumi.getter(name="sourceDatabaseConnectionId")
|
284
|
-
def source_database_connection_id(self) -> str:
|
285
|
-
"""
|
286
|
-
The OCID of the Source Database Connection.
|
287
|
-
"""
|
288
|
-
return pulumi.get(self, "source_database_connection_id")
|
289
|
-
|
290
|
-
@property
|
291
|
-
@pulumi.getter
|
292
|
-
def state(self) -> str:
|
293
|
-
"""
|
294
|
-
The current state of the Migration resource.
|
295
|
-
"""
|
296
|
-
return pulumi.get(self, "state")
|
297
|
-
|
298
|
-
@property
|
299
|
-
@pulumi.getter(name="systemTags")
|
300
|
-
def system_tags(self) -> Mapping[str, Any]:
|
301
|
-
"""
|
302
|
-
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
303
|
-
"""
|
304
|
-
return pulumi.get(self, "system_tags")
|
305
|
-
|
306
|
-
@property
|
307
|
-
@pulumi.getter(name="targetDatabaseConnectionId")
|
308
|
-
def target_database_connection_id(self) -> str:
|
309
|
-
"""
|
310
|
-
The OCID of the Target Database Connection.
|
311
|
-
"""
|
312
|
-
return pulumi.get(self, "target_database_connection_id")
|
313
|
-
|
314
|
-
@property
|
315
|
-
@pulumi.getter(name="timeCreated")
|
316
|
-
def time_created(self) -> str:
|
317
|
-
"""
|
318
|
-
The time the Migration was created. An RFC3339 formatted datetime string.
|
319
|
-
"""
|
320
|
-
return pulumi.get(self, "time_created")
|
321
|
-
|
322
|
-
@property
|
323
|
-
@pulumi.getter(name="timeLastMigration")
|
324
|
-
def time_last_migration(self) -> str:
|
325
|
-
"""
|
326
|
-
The time of last Migration. An RFC3339 formatted datetime string.
|
327
|
-
"""
|
328
|
-
return pulumi.get(self, "time_last_migration")
|
329
|
-
|
330
|
-
@property
|
331
|
-
@pulumi.getter(name="timeUpdated")
|
332
|
-
def time_updated(self) -> str:
|
333
|
-
"""
|
334
|
-
The time of the last Migration details update. An RFC3339 formatted datetime string.
|
335
|
-
"""
|
336
|
-
return pulumi.get(self, "time_updated")
|
337
|
-
|
338
|
-
@property
|
339
|
-
@pulumi.getter
|
340
|
-
def type(self) -> str:
|
341
|
-
"""
|
342
|
-
Migration type.
|
343
|
-
"""
|
344
|
-
return pulumi.get(self, "type")
|
345
|
-
|
346
|
-
@property
|
347
|
-
@pulumi.getter(name="vaultDetails")
|
348
|
-
def vault_details(self) -> Sequence['outputs.GetMigrationVaultDetailResult']:
|
349
|
-
"""
|
350
|
-
Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
|
351
|
-
"""
|
352
|
-
return pulumi.get(self, "vault_details")
|
353
|
-
|
354
|
-
@property
|
355
|
-
@pulumi.getter(name="waitAfter")
|
356
|
-
def wait_after(self) -> str:
|
357
|
-
"""
|
358
|
-
Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called.
|
359
|
-
"""
|
360
|
-
return pulumi.get(self, "wait_after")
|
361
|
-
|
362
|
-
|
363
|
-
class AwaitableGetMigrationResult(GetMigrationResult):
|
364
|
-
# pylint: disable=using-constant-test
|
365
|
-
def __await__(self):
|
366
|
-
if False:
|
367
|
-
yield self
|
368
|
-
return GetMigrationResult(
|
369
|
-
advisor_settings=self.advisor_settings,
|
370
|
-
agent_id=self.agent_id,
|
371
|
-
compartment_id=self.compartment_id,
|
372
|
-
credentials_secret_id=self.credentials_secret_id,
|
373
|
-
csv_text=self.csv_text,
|
374
|
-
data_transfer_medium_details=self.data_transfer_medium_details,
|
375
|
-
data_transfer_medium_details_v2s=self.data_transfer_medium_details_v2s,
|
376
|
-
datapump_settings=self.datapump_settings,
|
377
|
-
defined_tags=self.defined_tags,
|
378
|
-
display_name=self.display_name,
|
379
|
-
dump_transfer_details=self.dump_transfer_details,
|
380
|
-
exclude_objects=self.exclude_objects,
|
381
|
-
executing_job_id=self.executing_job_id,
|
382
|
-
freeform_tags=self.freeform_tags,
|
383
|
-
golden_gate_details=self.golden_gate_details,
|
384
|
-
golden_gate_service_details=self.golden_gate_service_details,
|
385
|
-
id=self.id,
|
386
|
-
include_objects=self.include_objects,
|
387
|
-
lifecycle_details=self.lifecycle_details,
|
388
|
-
migration_id=self.migration_id,
|
389
|
-
source_container_database_connection_id=self.source_container_database_connection_id,
|
390
|
-
source_database_connection_id=self.source_database_connection_id,
|
391
|
-
state=self.state,
|
392
|
-
system_tags=self.system_tags,
|
393
|
-
target_database_connection_id=self.target_database_connection_id,
|
394
|
-
time_created=self.time_created,
|
395
|
-
time_last_migration=self.time_last_migration,
|
396
|
-
time_updated=self.time_updated,
|
397
|
-
type=self.type,
|
398
|
-
vault_details=self.vault_details,
|
399
|
-
wait_after=self.wait_after)
|
400
|
-
|
401
|
-
|
402
|
-
def get_migration(migration_id: Optional[str] = None,
|
403
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMigrationResult:
|
404
|
-
"""
|
405
|
-
This data source provides details about a specific Migration resource in Oracle Cloud Infrastructure Database Migration service.
|
406
|
-
|
407
|
-
Display Migration details.
|
408
|
-
|
409
|
-
## Example Usage
|
410
|
-
|
411
|
-
```python
|
412
|
-
import pulumi
|
413
|
-
import pulumi_oci as oci
|
414
|
-
|
415
|
-
test_migration = oci.DatabaseMigration.get_migration(migration_id=test_migration_oci_database_migration_migration["id"])
|
416
|
-
```
|
417
|
-
|
418
|
-
|
419
|
-
:param str migration_id: The OCID of the migration
|
420
|
-
"""
|
421
|
-
__args__ = dict()
|
422
|
-
__args__['migrationId'] = migration_id
|
423
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
424
|
-
__ret__ = pulumi.runtime.invoke('oci:DatabaseMigration/getMigration:getMigration', __args__, opts=opts, typ=GetMigrationResult).value
|
425
|
-
|
426
|
-
return AwaitableGetMigrationResult(
|
427
|
-
advisor_settings=pulumi.get(__ret__, 'advisor_settings'),
|
428
|
-
agent_id=pulumi.get(__ret__, 'agent_id'),
|
429
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
430
|
-
credentials_secret_id=pulumi.get(__ret__, 'credentials_secret_id'),
|
431
|
-
csv_text=pulumi.get(__ret__, 'csv_text'),
|
432
|
-
data_transfer_medium_details=pulumi.get(__ret__, 'data_transfer_medium_details'),
|
433
|
-
data_transfer_medium_details_v2s=pulumi.get(__ret__, 'data_transfer_medium_details_v2s'),
|
434
|
-
datapump_settings=pulumi.get(__ret__, 'datapump_settings'),
|
435
|
-
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
436
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
437
|
-
dump_transfer_details=pulumi.get(__ret__, 'dump_transfer_details'),
|
438
|
-
exclude_objects=pulumi.get(__ret__, 'exclude_objects'),
|
439
|
-
executing_job_id=pulumi.get(__ret__, 'executing_job_id'),
|
440
|
-
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
441
|
-
golden_gate_details=pulumi.get(__ret__, 'golden_gate_details'),
|
442
|
-
golden_gate_service_details=pulumi.get(__ret__, 'golden_gate_service_details'),
|
443
|
-
id=pulumi.get(__ret__, 'id'),
|
444
|
-
include_objects=pulumi.get(__ret__, 'include_objects'),
|
445
|
-
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
446
|
-
migration_id=pulumi.get(__ret__, 'migration_id'),
|
447
|
-
source_container_database_connection_id=pulumi.get(__ret__, 'source_container_database_connection_id'),
|
448
|
-
source_database_connection_id=pulumi.get(__ret__, 'source_database_connection_id'),
|
449
|
-
state=pulumi.get(__ret__, 'state'),
|
450
|
-
system_tags=pulumi.get(__ret__, 'system_tags'),
|
451
|
-
target_database_connection_id=pulumi.get(__ret__, 'target_database_connection_id'),
|
452
|
-
time_created=pulumi.get(__ret__, 'time_created'),
|
453
|
-
time_last_migration=pulumi.get(__ret__, 'time_last_migration'),
|
454
|
-
time_updated=pulumi.get(__ret__, 'time_updated'),
|
455
|
-
type=pulumi.get(__ret__, 'type'),
|
456
|
-
vault_details=pulumi.get(__ret__, 'vault_details'),
|
457
|
-
wait_after=pulumi.get(__ret__, 'wait_after'))
|
458
|
-
|
459
|
-
|
460
|
-
@_utilities.lift_output_func(get_migration)
|
461
|
-
def get_migration_output(migration_id: Optional[pulumi.Input[str]] = None,
|
462
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMigrationResult]:
|
463
|
-
"""
|
464
|
-
This data source provides details about a specific Migration resource in Oracle Cloud Infrastructure Database Migration service.
|
465
|
-
|
466
|
-
Display Migration details.
|
467
|
-
|
468
|
-
## Example Usage
|
469
|
-
|
470
|
-
```python
|
471
|
-
import pulumi
|
472
|
-
import pulumi_oci as oci
|
473
|
-
|
474
|
-
test_migration = oci.DatabaseMigration.get_migration(migration_id=test_migration_oci_database_migration_migration["id"])
|
475
|
-
```
|
476
|
-
|
477
|
-
|
478
|
-
:param str migration_id: The OCID of the migration
|
479
|
-
"""
|
480
|
-
...
|
@@ -1,196 +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
|
-
'GetMigrationsResult',
|
16
|
-
'AwaitableGetMigrationsResult',
|
17
|
-
'get_migrations',
|
18
|
-
'get_migrations_output',
|
19
|
-
]
|
20
|
-
|
21
|
-
@pulumi.output_type
|
22
|
-
class GetMigrationsResult:
|
23
|
-
"""
|
24
|
-
A collection of values returned by getMigrations.
|
25
|
-
"""
|
26
|
-
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, lifecycle_details=None, migration_collections=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 display_name and not isinstance(display_name, str):
|
31
|
-
raise TypeError("Expected argument 'display_name' to be a str")
|
32
|
-
pulumi.set(__self__, "display_name", display_name)
|
33
|
-
if filters and not isinstance(filters, list):
|
34
|
-
raise TypeError("Expected argument 'filters' to be a list")
|
35
|
-
pulumi.set(__self__, "filters", filters)
|
36
|
-
if id and not isinstance(id, str):
|
37
|
-
raise TypeError("Expected argument 'id' to be a str")
|
38
|
-
pulumi.set(__self__, "id", id)
|
39
|
-
if lifecycle_details and not isinstance(lifecycle_details, str):
|
40
|
-
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
41
|
-
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
42
|
-
if migration_collections and not isinstance(migration_collections, list):
|
43
|
-
raise TypeError("Expected argument 'migration_collections' to be a list")
|
44
|
-
pulumi.set(__self__, "migration_collections", migration_collections)
|
45
|
-
if state and not isinstance(state, str):
|
46
|
-
raise TypeError("Expected argument 'state' to be a str")
|
47
|
-
pulumi.set(__self__, "state", state)
|
48
|
-
|
49
|
-
@property
|
50
|
-
@pulumi.getter(name="compartmentId")
|
51
|
-
def compartment_id(self) -> str:
|
52
|
-
"""
|
53
|
-
OCID of the compartment where the secret containing the credentials will be created.
|
54
|
-
"""
|
55
|
-
return pulumi.get(self, "compartment_id")
|
56
|
-
|
57
|
-
@property
|
58
|
-
@pulumi.getter(name="displayName")
|
59
|
-
def display_name(self) -> Optional[str]:
|
60
|
-
"""
|
61
|
-
Migration Display Name
|
62
|
-
"""
|
63
|
-
return pulumi.get(self, "display_name")
|
64
|
-
|
65
|
-
@property
|
66
|
-
@pulumi.getter
|
67
|
-
def filters(self) -> Optional[Sequence['outputs.GetMigrationsFilterResult']]:
|
68
|
-
return pulumi.get(self, "filters")
|
69
|
-
|
70
|
-
@property
|
71
|
-
@pulumi.getter
|
72
|
-
def id(self) -> str:
|
73
|
-
"""
|
74
|
-
The provider-assigned unique ID for this managed resource.
|
75
|
-
"""
|
76
|
-
return pulumi.get(self, "id")
|
77
|
-
|
78
|
-
@property
|
79
|
-
@pulumi.getter(name="lifecycleDetails")
|
80
|
-
def lifecycle_details(self) -> Optional[str]:
|
81
|
-
"""
|
82
|
-
Additional status related to the execution and current state of the Migration.
|
83
|
-
"""
|
84
|
-
return pulumi.get(self, "lifecycle_details")
|
85
|
-
|
86
|
-
@property
|
87
|
-
@pulumi.getter(name="migrationCollections")
|
88
|
-
def migration_collections(self) -> Sequence['outputs.GetMigrationsMigrationCollectionResult']:
|
89
|
-
"""
|
90
|
-
The list of migration_collection.
|
91
|
-
"""
|
92
|
-
return pulumi.get(self, "migration_collections")
|
93
|
-
|
94
|
-
@property
|
95
|
-
@pulumi.getter
|
96
|
-
def state(self) -> Optional[str]:
|
97
|
-
"""
|
98
|
-
The current state of the Migration resource.
|
99
|
-
"""
|
100
|
-
return pulumi.get(self, "state")
|
101
|
-
|
102
|
-
|
103
|
-
class AwaitableGetMigrationsResult(GetMigrationsResult):
|
104
|
-
# pylint: disable=using-constant-test
|
105
|
-
def __await__(self):
|
106
|
-
if False:
|
107
|
-
yield self
|
108
|
-
return GetMigrationsResult(
|
109
|
-
compartment_id=self.compartment_id,
|
110
|
-
display_name=self.display_name,
|
111
|
-
filters=self.filters,
|
112
|
-
id=self.id,
|
113
|
-
lifecycle_details=self.lifecycle_details,
|
114
|
-
migration_collections=self.migration_collections,
|
115
|
-
state=self.state)
|
116
|
-
|
117
|
-
|
118
|
-
def get_migrations(compartment_id: Optional[str] = None,
|
119
|
-
display_name: Optional[str] = None,
|
120
|
-
filters: Optional[Sequence[pulumi.InputType['GetMigrationsFilterArgs']]] = None,
|
121
|
-
lifecycle_details: Optional[str] = None,
|
122
|
-
state: Optional[str] = None,
|
123
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMigrationsResult:
|
124
|
-
"""
|
125
|
-
This data source provides the list of Migrations in Oracle Cloud Infrastructure Database Migration service.
|
126
|
-
|
127
|
-
List all Migrations.
|
128
|
-
|
129
|
-
## Example Usage
|
130
|
-
|
131
|
-
```python
|
132
|
-
import pulumi
|
133
|
-
import pulumi_oci as oci
|
134
|
-
|
135
|
-
test_migrations = oci.DatabaseMigration.get_migrations(compartment_id=compartment_id,
|
136
|
-
display_name=migration_display_name,
|
137
|
-
lifecycle_details=migration_lifecycle_details,
|
138
|
-
state=migration_state)
|
139
|
-
```
|
140
|
-
|
141
|
-
|
142
|
-
:param str compartment_id: The ID of the compartment in which to list resources.
|
143
|
-
:param str display_name: A filter to return only resources that match the entire display name given.
|
144
|
-
:param str lifecycle_details: The lifecycle detailed status of the Migration.
|
145
|
-
:param str state: The lifecycle state of the Migration.
|
146
|
-
"""
|
147
|
-
__args__ = dict()
|
148
|
-
__args__['compartmentId'] = compartment_id
|
149
|
-
__args__['displayName'] = display_name
|
150
|
-
__args__['filters'] = filters
|
151
|
-
__args__['lifecycleDetails'] = lifecycle_details
|
152
|
-
__args__['state'] = state
|
153
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
154
|
-
__ret__ = pulumi.runtime.invoke('oci:DatabaseMigration/getMigrations:getMigrations', __args__, opts=opts, typ=GetMigrationsResult).value
|
155
|
-
|
156
|
-
return AwaitableGetMigrationsResult(
|
157
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
158
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
159
|
-
filters=pulumi.get(__ret__, 'filters'),
|
160
|
-
id=pulumi.get(__ret__, 'id'),
|
161
|
-
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
162
|
-
migration_collections=pulumi.get(__ret__, 'migration_collections'),
|
163
|
-
state=pulumi.get(__ret__, 'state'))
|
164
|
-
|
165
|
-
|
166
|
-
@_utilities.lift_output_func(get_migrations)
|
167
|
-
def get_migrations_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
168
|
-
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
169
|
-
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetMigrationsFilterArgs']]]]] = None,
|
170
|
-
lifecycle_details: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
-
state: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMigrationsResult]:
|
173
|
-
"""
|
174
|
-
This data source provides the list of Migrations in Oracle Cloud Infrastructure Database Migration service.
|
175
|
-
|
176
|
-
List all Migrations.
|
177
|
-
|
178
|
-
## Example Usage
|
179
|
-
|
180
|
-
```python
|
181
|
-
import pulumi
|
182
|
-
import pulumi_oci as oci
|
183
|
-
|
184
|
-
test_migrations = oci.DatabaseMigration.get_migrations(compartment_id=compartment_id,
|
185
|
-
display_name=migration_display_name,
|
186
|
-
lifecycle_details=migration_lifecycle_details,
|
187
|
-
state=migration_state)
|
188
|
-
```
|
189
|
-
|
190
|
-
|
191
|
-
:param str compartment_id: The ID of the compartment in which to list resources.
|
192
|
-
:param str display_name: A filter to return only resources that match the entire display name given.
|
193
|
-
:param str lifecycle_details: The lifecycle detailed status of the Migration.
|
194
|
-
:param str state: The lifecycle state of the Migration.
|
195
|
-
"""
|
196
|
-
...
|