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,1630 +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__ = ['MigrationArgs', 'Migration']
|
15
|
-
|
16
|
-
@pulumi.input_type
|
17
|
-
class MigrationArgs:
|
18
|
-
def __init__(__self__, *,
|
19
|
-
compartment_id: pulumi.Input[str],
|
20
|
-
source_database_connection_id: pulumi.Input[str],
|
21
|
-
target_database_connection_id: pulumi.Input[str],
|
22
|
-
type: pulumi.Input[str],
|
23
|
-
advisor_settings: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']] = None,
|
24
|
-
agent_id: Optional[pulumi.Input[str]] = None,
|
25
|
-
csv_text: Optional[pulumi.Input[str]] = None,
|
26
|
-
data_transfer_medium_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']] = None,
|
27
|
-
data_transfer_medium_details_v2: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']] = None,
|
28
|
-
datapump_settings: Optional[pulumi.Input['MigrationDatapumpSettingsArgs']] = None,
|
29
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
30
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
31
|
-
dump_transfer_details: Optional[pulumi.Input['MigrationDumpTransferDetailsArgs']] = None,
|
32
|
-
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]] = None,
|
33
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
34
|
-
golden_gate_details: Optional[pulumi.Input['MigrationGoldenGateDetailsArgs']] = None,
|
35
|
-
golden_gate_service_details: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsArgs']] = None,
|
36
|
-
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]] = None,
|
37
|
-
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
38
|
-
vault_details: Optional[pulumi.Input['MigrationVaultDetailsArgs']] = None):
|
39
|
-
"""
|
40
|
-
The set of arguments for constructing a Migration resource.
|
41
|
-
:param pulumi.Input[str] compartment_id: (Updatable) OCID of the compartment
|
42
|
-
:param pulumi.Input[str] source_database_connection_id: (Updatable) The OCID of the Source Database Connection.
|
43
|
-
:param pulumi.Input[str] target_database_connection_id: (Updatable) The OCID of the Target Database Connection.
|
44
|
-
:param pulumi.Input[str] type: (Updatable) Migration type.
|
45
|
-
:param pulumi.Input['MigrationAdvisorSettingsArgs'] advisor_settings: (Updatable) Optional Pre-Migration advisor settings.
|
46
|
-
:param pulumi.Input[str] agent_id: (Updatable) The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
|
47
|
-
:param pulumi.Input[str] csv_text: Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null.
|
48
|
-
:param pulumi.Input['MigrationDataTransferMediumDetailsArgs'] data_transfer_medium_details: (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.
|
49
|
-
:param pulumi.Input['MigrationDataTransferMediumDetailsV2Args'] data_transfer_medium_details_v2: (Updatable) Optional additional properties for dump transfer in source or target host.
|
50
|
-
:param pulumi.Input['MigrationDatapumpSettingsArgs'] datapump_settings: (Updatable) Optional settings for Data Pump Export and Import jobs
|
51
|
-
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
52
|
-
:param pulumi.Input[str] display_name: (Updatable) Migration Display Name
|
53
|
-
:param pulumi.Input['MigrationDumpTransferDetailsArgs'] dump_transfer_details: (Updatable) Optional additional properties for dump transfer.
|
54
|
-
:param pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]] exclude_objects: (Updatable) Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
55
|
-
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
56
|
-
:param pulumi.Input['MigrationGoldenGateDetailsArgs'] golden_gate_details: (Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration.
|
57
|
-
:param pulumi.Input['MigrationGoldenGateServiceDetailsArgs'] golden_gate_service_details: (Updatable) Details about Oracle GoldenGate GGS Deployment.
|
58
|
-
:param pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]] include_objects: (Updatable) Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
59
|
-
:param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases.
|
60
|
-
:param pulumi.Input['MigrationVaultDetailsArgs'] vault_details: (Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
|
61
|
-
"""
|
62
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
63
|
-
pulumi.set(__self__, "source_database_connection_id", source_database_connection_id)
|
64
|
-
pulumi.set(__self__, "target_database_connection_id", target_database_connection_id)
|
65
|
-
pulumi.set(__self__, "type", type)
|
66
|
-
if advisor_settings is not None:
|
67
|
-
pulumi.set(__self__, "advisor_settings", advisor_settings)
|
68
|
-
if agent_id is not None:
|
69
|
-
pulumi.set(__self__, "agent_id", agent_id)
|
70
|
-
if csv_text is not None:
|
71
|
-
pulumi.set(__self__, "csv_text", csv_text)
|
72
|
-
if data_transfer_medium_details is not None:
|
73
|
-
pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details)
|
74
|
-
if data_transfer_medium_details_v2 is not None:
|
75
|
-
pulumi.set(__self__, "data_transfer_medium_details_v2", data_transfer_medium_details_v2)
|
76
|
-
if datapump_settings is not None:
|
77
|
-
pulumi.set(__self__, "datapump_settings", datapump_settings)
|
78
|
-
if defined_tags is not None:
|
79
|
-
pulumi.set(__self__, "defined_tags", defined_tags)
|
80
|
-
if display_name is not None:
|
81
|
-
pulumi.set(__self__, "display_name", display_name)
|
82
|
-
if dump_transfer_details is not None:
|
83
|
-
pulumi.set(__self__, "dump_transfer_details", dump_transfer_details)
|
84
|
-
if exclude_objects is not None:
|
85
|
-
pulumi.set(__self__, "exclude_objects", exclude_objects)
|
86
|
-
if freeform_tags is not None:
|
87
|
-
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
88
|
-
if golden_gate_details is not None:
|
89
|
-
pulumi.set(__self__, "golden_gate_details", golden_gate_details)
|
90
|
-
if golden_gate_service_details is not None:
|
91
|
-
pulumi.set(__self__, "golden_gate_service_details", golden_gate_service_details)
|
92
|
-
if include_objects is not None:
|
93
|
-
pulumi.set(__self__, "include_objects", include_objects)
|
94
|
-
if source_container_database_connection_id is not None:
|
95
|
-
pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id)
|
96
|
-
if vault_details is not None:
|
97
|
-
pulumi.set(__self__, "vault_details", vault_details)
|
98
|
-
|
99
|
-
@property
|
100
|
-
@pulumi.getter(name="compartmentId")
|
101
|
-
def compartment_id(self) -> pulumi.Input[str]:
|
102
|
-
"""
|
103
|
-
(Updatable) OCID of the compartment
|
104
|
-
"""
|
105
|
-
return pulumi.get(self, "compartment_id")
|
106
|
-
|
107
|
-
@compartment_id.setter
|
108
|
-
def compartment_id(self, value: pulumi.Input[str]):
|
109
|
-
pulumi.set(self, "compartment_id", value)
|
110
|
-
|
111
|
-
@property
|
112
|
-
@pulumi.getter(name="sourceDatabaseConnectionId")
|
113
|
-
def source_database_connection_id(self) -> pulumi.Input[str]:
|
114
|
-
"""
|
115
|
-
(Updatable) The OCID of the Source Database Connection.
|
116
|
-
"""
|
117
|
-
return pulumi.get(self, "source_database_connection_id")
|
118
|
-
|
119
|
-
@source_database_connection_id.setter
|
120
|
-
def source_database_connection_id(self, value: pulumi.Input[str]):
|
121
|
-
pulumi.set(self, "source_database_connection_id", value)
|
122
|
-
|
123
|
-
@property
|
124
|
-
@pulumi.getter(name="targetDatabaseConnectionId")
|
125
|
-
def target_database_connection_id(self) -> pulumi.Input[str]:
|
126
|
-
"""
|
127
|
-
(Updatable) The OCID of the Target Database Connection.
|
128
|
-
"""
|
129
|
-
return pulumi.get(self, "target_database_connection_id")
|
130
|
-
|
131
|
-
@target_database_connection_id.setter
|
132
|
-
def target_database_connection_id(self, value: pulumi.Input[str]):
|
133
|
-
pulumi.set(self, "target_database_connection_id", value)
|
134
|
-
|
135
|
-
@property
|
136
|
-
@pulumi.getter
|
137
|
-
def type(self) -> pulumi.Input[str]:
|
138
|
-
"""
|
139
|
-
(Updatable) Migration type.
|
140
|
-
"""
|
141
|
-
return pulumi.get(self, "type")
|
142
|
-
|
143
|
-
@type.setter
|
144
|
-
def type(self, value: pulumi.Input[str]):
|
145
|
-
pulumi.set(self, "type", value)
|
146
|
-
|
147
|
-
@property
|
148
|
-
@pulumi.getter(name="advisorSettings")
|
149
|
-
def advisor_settings(self) -> Optional[pulumi.Input['MigrationAdvisorSettingsArgs']]:
|
150
|
-
"""
|
151
|
-
(Updatable) Optional Pre-Migration advisor settings.
|
152
|
-
"""
|
153
|
-
return pulumi.get(self, "advisor_settings")
|
154
|
-
|
155
|
-
@advisor_settings.setter
|
156
|
-
def advisor_settings(self, value: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']]):
|
157
|
-
pulumi.set(self, "advisor_settings", value)
|
158
|
-
|
159
|
-
@property
|
160
|
-
@pulumi.getter(name="agentId")
|
161
|
-
def agent_id(self) -> Optional[pulumi.Input[str]]:
|
162
|
-
"""
|
163
|
-
(Updatable) The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
|
164
|
-
"""
|
165
|
-
return pulumi.get(self, "agent_id")
|
166
|
-
|
167
|
-
@agent_id.setter
|
168
|
-
def agent_id(self, value: Optional[pulumi.Input[str]]):
|
169
|
-
pulumi.set(self, "agent_id", value)
|
170
|
-
|
171
|
-
@property
|
172
|
-
@pulumi.getter(name="csvText")
|
173
|
-
def csv_text(self) -> Optional[pulumi.Input[str]]:
|
174
|
-
"""
|
175
|
-
Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null.
|
176
|
-
"""
|
177
|
-
return pulumi.get(self, "csv_text")
|
178
|
-
|
179
|
-
@csv_text.setter
|
180
|
-
def csv_text(self, value: Optional[pulumi.Input[str]]):
|
181
|
-
pulumi.set(self, "csv_text", value)
|
182
|
-
|
183
|
-
@property
|
184
|
-
@pulumi.getter(name="dataTransferMediumDetails")
|
185
|
-
def data_transfer_medium_details(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]:
|
186
|
-
"""
|
187
|
-
(Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.
|
188
|
-
"""
|
189
|
-
return pulumi.get(self, "data_transfer_medium_details")
|
190
|
-
|
191
|
-
@data_transfer_medium_details.setter
|
192
|
-
def data_transfer_medium_details(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]):
|
193
|
-
pulumi.set(self, "data_transfer_medium_details", value)
|
194
|
-
|
195
|
-
@property
|
196
|
-
@pulumi.getter(name="dataTransferMediumDetailsV2")
|
197
|
-
def data_transfer_medium_details_v2(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']]:
|
198
|
-
"""
|
199
|
-
(Updatable) Optional additional properties for dump transfer in source or target host.
|
200
|
-
"""
|
201
|
-
return pulumi.get(self, "data_transfer_medium_details_v2")
|
202
|
-
|
203
|
-
@data_transfer_medium_details_v2.setter
|
204
|
-
def data_transfer_medium_details_v2(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']]):
|
205
|
-
pulumi.set(self, "data_transfer_medium_details_v2", value)
|
206
|
-
|
207
|
-
@property
|
208
|
-
@pulumi.getter(name="datapumpSettings")
|
209
|
-
def datapump_settings(self) -> Optional[pulumi.Input['MigrationDatapumpSettingsArgs']]:
|
210
|
-
"""
|
211
|
-
(Updatable) Optional settings for Data Pump Export and Import jobs
|
212
|
-
"""
|
213
|
-
return pulumi.get(self, "datapump_settings")
|
214
|
-
|
215
|
-
@datapump_settings.setter
|
216
|
-
def datapump_settings(self, value: Optional[pulumi.Input['MigrationDatapumpSettingsArgs']]):
|
217
|
-
pulumi.set(self, "datapump_settings", value)
|
218
|
-
|
219
|
-
@property
|
220
|
-
@pulumi.getter(name="definedTags")
|
221
|
-
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
222
|
-
"""
|
223
|
-
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
224
|
-
"""
|
225
|
-
return pulumi.get(self, "defined_tags")
|
226
|
-
|
227
|
-
@defined_tags.setter
|
228
|
-
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
229
|
-
pulumi.set(self, "defined_tags", value)
|
230
|
-
|
231
|
-
@property
|
232
|
-
@pulumi.getter(name="displayName")
|
233
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
234
|
-
"""
|
235
|
-
(Updatable) Migration Display Name
|
236
|
-
"""
|
237
|
-
return pulumi.get(self, "display_name")
|
238
|
-
|
239
|
-
@display_name.setter
|
240
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
241
|
-
pulumi.set(self, "display_name", value)
|
242
|
-
|
243
|
-
@property
|
244
|
-
@pulumi.getter(name="dumpTransferDetails")
|
245
|
-
def dump_transfer_details(self) -> Optional[pulumi.Input['MigrationDumpTransferDetailsArgs']]:
|
246
|
-
"""
|
247
|
-
(Updatable) Optional additional properties for dump transfer.
|
248
|
-
"""
|
249
|
-
return pulumi.get(self, "dump_transfer_details")
|
250
|
-
|
251
|
-
@dump_transfer_details.setter
|
252
|
-
def dump_transfer_details(self, value: Optional[pulumi.Input['MigrationDumpTransferDetailsArgs']]):
|
253
|
-
pulumi.set(self, "dump_transfer_details", value)
|
254
|
-
|
255
|
-
@property
|
256
|
-
@pulumi.getter(name="excludeObjects")
|
257
|
-
def exclude_objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]]:
|
258
|
-
"""
|
259
|
-
(Updatable) Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
260
|
-
"""
|
261
|
-
return pulumi.get(self, "exclude_objects")
|
262
|
-
|
263
|
-
@exclude_objects.setter
|
264
|
-
def exclude_objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]]):
|
265
|
-
pulumi.set(self, "exclude_objects", value)
|
266
|
-
|
267
|
-
@property
|
268
|
-
@pulumi.getter(name="freeformTags")
|
269
|
-
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
270
|
-
"""
|
271
|
-
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
272
|
-
"""
|
273
|
-
return pulumi.get(self, "freeform_tags")
|
274
|
-
|
275
|
-
@freeform_tags.setter
|
276
|
-
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
277
|
-
pulumi.set(self, "freeform_tags", value)
|
278
|
-
|
279
|
-
@property
|
280
|
-
@pulumi.getter(name="goldenGateDetails")
|
281
|
-
def golden_gate_details(self) -> Optional[pulumi.Input['MigrationGoldenGateDetailsArgs']]:
|
282
|
-
"""
|
283
|
-
(Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration.
|
284
|
-
"""
|
285
|
-
return pulumi.get(self, "golden_gate_details")
|
286
|
-
|
287
|
-
@golden_gate_details.setter
|
288
|
-
def golden_gate_details(self, value: Optional[pulumi.Input['MigrationGoldenGateDetailsArgs']]):
|
289
|
-
pulumi.set(self, "golden_gate_details", value)
|
290
|
-
|
291
|
-
@property
|
292
|
-
@pulumi.getter(name="goldenGateServiceDetails")
|
293
|
-
def golden_gate_service_details(self) -> Optional[pulumi.Input['MigrationGoldenGateServiceDetailsArgs']]:
|
294
|
-
"""
|
295
|
-
(Updatable) Details about Oracle GoldenGate GGS Deployment.
|
296
|
-
"""
|
297
|
-
return pulumi.get(self, "golden_gate_service_details")
|
298
|
-
|
299
|
-
@golden_gate_service_details.setter
|
300
|
-
def golden_gate_service_details(self, value: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsArgs']]):
|
301
|
-
pulumi.set(self, "golden_gate_service_details", value)
|
302
|
-
|
303
|
-
@property
|
304
|
-
@pulumi.getter(name="includeObjects")
|
305
|
-
def include_objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]]:
|
306
|
-
"""
|
307
|
-
(Updatable) Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
308
|
-
"""
|
309
|
-
return pulumi.get(self, "include_objects")
|
310
|
-
|
311
|
-
@include_objects.setter
|
312
|
-
def include_objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]]):
|
313
|
-
pulumi.set(self, "include_objects", value)
|
314
|
-
|
315
|
-
@property
|
316
|
-
@pulumi.getter(name="sourceContainerDatabaseConnectionId")
|
317
|
-
def source_container_database_connection_id(self) -> Optional[pulumi.Input[str]]:
|
318
|
-
"""
|
319
|
-
(Updatable) The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases.
|
320
|
-
"""
|
321
|
-
return pulumi.get(self, "source_container_database_connection_id")
|
322
|
-
|
323
|
-
@source_container_database_connection_id.setter
|
324
|
-
def source_container_database_connection_id(self, value: Optional[pulumi.Input[str]]):
|
325
|
-
pulumi.set(self, "source_container_database_connection_id", value)
|
326
|
-
|
327
|
-
@property
|
328
|
-
@pulumi.getter(name="vaultDetails")
|
329
|
-
def vault_details(self) -> Optional[pulumi.Input['MigrationVaultDetailsArgs']]:
|
330
|
-
"""
|
331
|
-
(Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
|
332
|
-
"""
|
333
|
-
return pulumi.get(self, "vault_details")
|
334
|
-
|
335
|
-
@vault_details.setter
|
336
|
-
def vault_details(self, value: Optional[pulumi.Input['MigrationVaultDetailsArgs']]):
|
337
|
-
pulumi.set(self, "vault_details", value)
|
338
|
-
|
339
|
-
|
340
|
-
@pulumi.input_type
|
341
|
-
class _MigrationState:
|
342
|
-
def __init__(__self__, *,
|
343
|
-
advisor_settings: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']] = None,
|
344
|
-
agent_id: Optional[pulumi.Input[str]] = None,
|
345
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
346
|
-
credentials_secret_id: Optional[pulumi.Input[str]] = None,
|
347
|
-
csv_text: Optional[pulumi.Input[str]] = None,
|
348
|
-
data_transfer_medium_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']] = None,
|
349
|
-
data_transfer_medium_details_v2: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']] = None,
|
350
|
-
datapump_settings: Optional[pulumi.Input['MigrationDatapumpSettingsArgs']] = None,
|
351
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
352
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
353
|
-
dump_transfer_details: Optional[pulumi.Input['MigrationDumpTransferDetailsArgs']] = None,
|
354
|
-
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]] = None,
|
355
|
-
executing_job_id: Optional[pulumi.Input[str]] = None,
|
356
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
357
|
-
golden_gate_details: Optional[pulumi.Input['MigrationGoldenGateDetailsArgs']] = None,
|
358
|
-
golden_gate_service_details: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsArgs']] = None,
|
359
|
-
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]] = None,
|
360
|
-
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
361
|
-
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
362
|
-
source_database_connection_id: Optional[pulumi.Input[str]] = None,
|
363
|
-
state: Optional[pulumi.Input[str]] = None,
|
364
|
-
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
365
|
-
target_database_connection_id: Optional[pulumi.Input[str]] = None,
|
366
|
-
time_created: Optional[pulumi.Input[str]] = None,
|
367
|
-
time_last_migration: Optional[pulumi.Input[str]] = None,
|
368
|
-
time_updated: Optional[pulumi.Input[str]] = None,
|
369
|
-
type: Optional[pulumi.Input[str]] = None,
|
370
|
-
vault_details: Optional[pulumi.Input['MigrationVaultDetailsArgs']] = None,
|
371
|
-
wait_after: Optional[pulumi.Input[str]] = None):
|
372
|
-
"""
|
373
|
-
Input properties used for looking up and filtering Migration resources.
|
374
|
-
:param pulumi.Input['MigrationAdvisorSettingsArgs'] advisor_settings: (Updatable) Optional Pre-Migration advisor settings.
|
375
|
-
:param pulumi.Input[str] agent_id: (Updatable) The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
|
376
|
-
:param pulumi.Input[str] compartment_id: (Updatable) OCID of the compartment
|
377
|
-
:param pulumi.Input[str] credentials_secret_id: OCID of the Secret in the Oracle Cloud Infrastructure vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
|
378
|
-
:param pulumi.Input[str] csv_text: Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null.
|
379
|
-
:param pulumi.Input['MigrationDataTransferMediumDetailsArgs'] data_transfer_medium_details: (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.
|
380
|
-
:param pulumi.Input['MigrationDataTransferMediumDetailsV2Args'] data_transfer_medium_details_v2: (Updatable) Optional additional properties for dump transfer in source or target host.
|
381
|
-
:param pulumi.Input['MigrationDatapumpSettingsArgs'] datapump_settings: (Updatable) Optional settings for Data Pump Export and Import jobs
|
382
|
-
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
383
|
-
:param pulumi.Input[str] display_name: (Updatable) Migration Display Name
|
384
|
-
:param pulumi.Input['MigrationDumpTransferDetailsArgs'] dump_transfer_details: (Updatable) Optional additional properties for dump transfer.
|
385
|
-
:param pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]] exclude_objects: (Updatable) Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
386
|
-
:param pulumi.Input[str] executing_job_id: OCID of the current ODMS Job in execution for the Migration, if any.
|
387
|
-
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
388
|
-
:param pulumi.Input['MigrationGoldenGateDetailsArgs'] golden_gate_details: (Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration.
|
389
|
-
:param pulumi.Input['MigrationGoldenGateServiceDetailsArgs'] golden_gate_service_details: (Updatable) Details about Oracle GoldenGate GGS Deployment.
|
390
|
-
:param pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]] include_objects: (Updatable) Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
391
|
-
:param pulumi.Input[str] lifecycle_details: Additional status related to the execution and current state of the Migration.
|
392
|
-
:param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases.
|
393
|
-
:param pulumi.Input[str] source_database_connection_id: (Updatable) The OCID of the Source Database Connection.
|
394
|
-
:param pulumi.Input[str] state: The current state of the Migration resource.
|
395
|
-
:param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
396
|
-
:param pulumi.Input[str] target_database_connection_id: (Updatable) The OCID of the Target Database Connection.
|
397
|
-
:param pulumi.Input[str] time_created: The time the Migration was created. An RFC3339 formatted datetime string.
|
398
|
-
:param pulumi.Input[str] time_last_migration: The time of last Migration. An RFC3339 formatted datetime string.
|
399
|
-
:param pulumi.Input[str] time_updated: The time of the last Migration details update. An RFC3339 formatted datetime string.
|
400
|
-
:param pulumi.Input[str] type: (Updatable) Migration type.
|
401
|
-
:param pulumi.Input['MigrationVaultDetailsArgs'] vault_details: (Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
|
402
|
-
:param pulumi.Input[str] wait_after: Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called.
|
403
|
-
"""
|
404
|
-
if advisor_settings is not None:
|
405
|
-
pulumi.set(__self__, "advisor_settings", advisor_settings)
|
406
|
-
if agent_id is not None:
|
407
|
-
pulumi.set(__self__, "agent_id", agent_id)
|
408
|
-
if compartment_id is not None:
|
409
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
410
|
-
if credentials_secret_id is not None:
|
411
|
-
pulumi.set(__self__, "credentials_secret_id", credentials_secret_id)
|
412
|
-
if csv_text is not None:
|
413
|
-
pulumi.set(__self__, "csv_text", csv_text)
|
414
|
-
if data_transfer_medium_details is not None:
|
415
|
-
pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details)
|
416
|
-
if data_transfer_medium_details_v2 is not None:
|
417
|
-
pulumi.set(__self__, "data_transfer_medium_details_v2", data_transfer_medium_details_v2)
|
418
|
-
if datapump_settings is not None:
|
419
|
-
pulumi.set(__self__, "datapump_settings", datapump_settings)
|
420
|
-
if defined_tags is not None:
|
421
|
-
pulumi.set(__self__, "defined_tags", defined_tags)
|
422
|
-
if display_name is not None:
|
423
|
-
pulumi.set(__self__, "display_name", display_name)
|
424
|
-
if dump_transfer_details is not None:
|
425
|
-
pulumi.set(__self__, "dump_transfer_details", dump_transfer_details)
|
426
|
-
if exclude_objects is not None:
|
427
|
-
pulumi.set(__self__, "exclude_objects", exclude_objects)
|
428
|
-
if executing_job_id is not None:
|
429
|
-
pulumi.set(__self__, "executing_job_id", executing_job_id)
|
430
|
-
if freeform_tags is not None:
|
431
|
-
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
432
|
-
if golden_gate_details is not None:
|
433
|
-
pulumi.set(__self__, "golden_gate_details", golden_gate_details)
|
434
|
-
if golden_gate_service_details is not None:
|
435
|
-
pulumi.set(__self__, "golden_gate_service_details", golden_gate_service_details)
|
436
|
-
if include_objects is not None:
|
437
|
-
pulumi.set(__self__, "include_objects", include_objects)
|
438
|
-
if lifecycle_details is not None:
|
439
|
-
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
440
|
-
if source_container_database_connection_id is not None:
|
441
|
-
pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id)
|
442
|
-
if source_database_connection_id is not None:
|
443
|
-
pulumi.set(__self__, "source_database_connection_id", source_database_connection_id)
|
444
|
-
if state is not None:
|
445
|
-
pulumi.set(__self__, "state", state)
|
446
|
-
if system_tags is not None:
|
447
|
-
pulumi.set(__self__, "system_tags", system_tags)
|
448
|
-
if target_database_connection_id is not None:
|
449
|
-
pulumi.set(__self__, "target_database_connection_id", target_database_connection_id)
|
450
|
-
if time_created is not None:
|
451
|
-
pulumi.set(__self__, "time_created", time_created)
|
452
|
-
if time_last_migration is not None:
|
453
|
-
pulumi.set(__self__, "time_last_migration", time_last_migration)
|
454
|
-
if time_updated is not None:
|
455
|
-
pulumi.set(__self__, "time_updated", time_updated)
|
456
|
-
if type is not None:
|
457
|
-
pulumi.set(__self__, "type", type)
|
458
|
-
if vault_details is not None:
|
459
|
-
pulumi.set(__self__, "vault_details", vault_details)
|
460
|
-
if wait_after is not None:
|
461
|
-
pulumi.set(__self__, "wait_after", wait_after)
|
462
|
-
|
463
|
-
@property
|
464
|
-
@pulumi.getter(name="advisorSettings")
|
465
|
-
def advisor_settings(self) -> Optional[pulumi.Input['MigrationAdvisorSettingsArgs']]:
|
466
|
-
"""
|
467
|
-
(Updatable) Optional Pre-Migration advisor settings.
|
468
|
-
"""
|
469
|
-
return pulumi.get(self, "advisor_settings")
|
470
|
-
|
471
|
-
@advisor_settings.setter
|
472
|
-
def advisor_settings(self, value: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']]):
|
473
|
-
pulumi.set(self, "advisor_settings", value)
|
474
|
-
|
475
|
-
@property
|
476
|
-
@pulumi.getter(name="agentId")
|
477
|
-
def agent_id(self) -> Optional[pulumi.Input[str]]:
|
478
|
-
"""
|
479
|
-
(Updatable) The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
|
480
|
-
"""
|
481
|
-
return pulumi.get(self, "agent_id")
|
482
|
-
|
483
|
-
@agent_id.setter
|
484
|
-
def agent_id(self, value: Optional[pulumi.Input[str]]):
|
485
|
-
pulumi.set(self, "agent_id", value)
|
486
|
-
|
487
|
-
@property
|
488
|
-
@pulumi.getter(name="compartmentId")
|
489
|
-
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
490
|
-
"""
|
491
|
-
(Updatable) OCID of the compartment
|
492
|
-
"""
|
493
|
-
return pulumi.get(self, "compartment_id")
|
494
|
-
|
495
|
-
@compartment_id.setter
|
496
|
-
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
497
|
-
pulumi.set(self, "compartment_id", value)
|
498
|
-
|
499
|
-
@property
|
500
|
-
@pulumi.getter(name="credentialsSecretId")
|
501
|
-
def credentials_secret_id(self) -> Optional[pulumi.Input[str]]:
|
502
|
-
"""
|
503
|
-
OCID of the Secret in the Oracle Cloud Infrastructure vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
|
504
|
-
"""
|
505
|
-
return pulumi.get(self, "credentials_secret_id")
|
506
|
-
|
507
|
-
@credentials_secret_id.setter
|
508
|
-
def credentials_secret_id(self, value: Optional[pulumi.Input[str]]):
|
509
|
-
pulumi.set(self, "credentials_secret_id", value)
|
510
|
-
|
511
|
-
@property
|
512
|
-
@pulumi.getter(name="csvText")
|
513
|
-
def csv_text(self) -> Optional[pulumi.Input[str]]:
|
514
|
-
"""
|
515
|
-
Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null.
|
516
|
-
"""
|
517
|
-
return pulumi.get(self, "csv_text")
|
518
|
-
|
519
|
-
@csv_text.setter
|
520
|
-
def csv_text(self, value: Optional[pulumi.Input[str]]):
|
521
|
-
pulumi.set(self, "csv_text", value)
|
522
|
-
|
523
|
-
@property
|
524
|
-
@pulumi.getter(name="dataTransferMediumDetails")
|
525
|
-
def data_transfer_medium_details(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]:
|
526
|
-
"""
|
527
|
-
(Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.
|
528
|
-
"""
|
529
|
-
return pulumi.get(self, "data_transfer_medium_details")
|
530
|
-
|
531
|
-
@data_transfer_medium_details.setter
|
532
|
-
def data_transfer_medium_details(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]):
|
533
|
-
pulumi.set(self, "data_transfer_medium_details", value)
|
534
|
-
|
535
|
-
@property
|
536
|
-
@pulumi.getter(name="dataTransferMediumDetailsV2")
|
537
|
-
def data_transfer_medium_details_v2(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']]:
|
538
|
-
"""
|
539
|
-
(Updatable) Optional additional properties for dump transfer in source or target host.
|
540
|
-
"""
|
541
|
-
return pulumi.get(self, "data_transfer_medium_details_v2")
|
542
|
-
|
543
|
-
@data_transfer_medium_details_v2.setter
|
544
|
-
def data_transfer_medium_details_v2(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']]):
|
545
|
-
pulumi.set(self, "data_transfer_medium_details_v2", value)
|
546
|
-
|
547
|
-
@property
|
548
|
-
@pulumi.getter(name="datapumpSettings")
|
549
|
-
def datapump_settings(self) -> Optional[pulumi.Input['MigrationDatapumpSettingsArgs']]:
|
550
|
-
"""
|
551
|
-
(Updatable) Optional settings for Data Pump Export and Import jobs
|
552
|
-
"""
|
553
|
-
return pulumi.get(self, "datapump_settings")
|
554
|
-
|
555
|
-
@datapump_settings.setter
|
556
|
-
def datapump_settings(self, value: Optional[pulumi.Input['MigrationDatapumpSettingsArgs']]):
|
557
|
-
pulumi.set(self, "datapump_settings", value)
|
558
|
-
|
559
|
-
@property
|
560
|
-
@pulumi.getter(name="definedTags")
|
561
|
-
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
562
|
-
"""
|
563
|
-
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
564
|
-
"""
|
565
|
-
return pulumi.get(self, "defined_tags")
|
566
|
-
|
567
|
-
@defined_tags.setter
|
568
|
-
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
569
|
-
pulumi.set(self, "defined_tags", value)
|
570
|
-
|
571
|
-
@property
|
572
|
-
@pulumi.getter(name="displayName")
|
573
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
574
|
-
"""
|
575
|
-
(Updatable) Migration Display Name
|
576
|
-
"""
|
577
|
-
return pulumi.get(self, "display_name")
|
578
|
-
|
579
|
-
@display_name.setter
|
580
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
581
|
-
pulumi.set(self, "display_name", value)
|
582
|
-
|
583
|
-
@property
|
584
|
-
@pulumi.getter(name="dumpTransferDetails")
|
585
|
-
def dump_transfer_details(self) -> Optional[pulumi.Input['MigrationDumpTransferDetailsArgs']]:
|
586
|
-
"""
|
587
|
-
(Updatable) Optional additional properties for dump transfer.
|
588
|
-
"""
|
589
|
-
return pulumi.get(self, "dump_transfer_details")
|
590
|
-
|
591
|
-
@dump_transfer_details.setter
|
592
|
-
def dump_transfer_details(self, value: Optional[pulumi.Input['MigrationDumpTransferDetailsArgs']]):
|
593
|
-
pulumi.set(self, "dump_transfer_details", value)
|
594
|
-
|
595
|
-
@property
|
596
|
-
@pulumi.getter(name="excludeObjects")
|
597
|
-
def exclude_objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]]:
|
598
|
-
"""
|
599
|
-
(Updatable) Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
600
|
-
"""
|
601
|
-
return pulumi.get(self, "exclude_objects")
|
602
|
-
|
603
|
-
@exclude_objects.setter
|
604
|
-
def exclude_objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]]):
|
605
|
-
pulumi.set(self, "exclude_objects", value)
|
606
|
-
|
607
|
-
@property
|
608
|
-
@pulumi.getter(name="executingJobId")
|
609
|
-
def executing_job_id(self) -> Optional[pulumi.Input[str]]:
|
610
|
-
"""
|
611
|
-
OCID of the current ODMS Job in execution for the Migration, if any.
|
612
|
-
"""
|
613
|
-
return pulumi.get(self, "executing_job_id")
|
614
|
-
|
615
|
-
@executing_job_id.setter
|
616
|
-
def executing_job_id(self, value: Optional[pulumi.Input[str]]):
|
617
|
-
pulumi.set(self, "executing_job_id", value)
|
618
|
-
|
619
|
-
@property
|
620
|
-
@pulumi.getter(name="freeformTags")
|
621
|
-
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
622
|
-
"""
|
623
|
-
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
624
|
-
"""
|
625
|
-
return pulumi.get(self, "freeform_tags")
|
626
|
-
|
627
|
-
@freeform_tags.setter
|
628
|
-
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
629
|
-
pulumi.set(self, "freeform_tags", value)
|
630
|
-
|
631
|
-
@property
|
632
|
-
@pulumi.getter(name="goldenGateDetails")
|
633
|
-
def golden_gate_details(self) -> Optional[pulumi.Input['MigrationGoldenGateDetailsArgs']]:
|
634
|
-
"""
|
635
|
-
(Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration.
|
636
|
-
"""
|
637
|
-
return pulumi.get(self, "golden_gate_details")
|
638
|
-
|
639
|
-
@golden_gate_details.setter
|
640
|
-
def golden_gate_details(self, value: Optional[pulumi.Input['MigrationGoldenGateDetailsArgs']]):
|
641
|
-
pulumi.set(self, "golden_gate_details", value)
|
642
|
-
|
643
|
-
@property
|
644
|
-
@pulumi.getter(name="goldenGateServiceDetails")
|
645
|
-
def golden_gate_service_details(self) -> Optional[pulumi.Input['MigrationGoldenGateServiceDetailsArgs']]:
|
646
|
-
"""
|
647
|
-
(Updatable) Details about Oracle GoldenGate GGS Deployment.
|
648
|
-
"""
|
649
|
-
return pulumi.get(self, "golden_gate_service_details")
|
650
|
-
|
651
|
-
@golden_gate_service_details.setter
|
652
|
-
def golden_gate_service_details(self, value: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsArgs']]):
|
653
|
-
pulumi.set(self, "golden_gate_service_details", value)
|
654
|
-
|
655
|
-
@property
|
656
|
-
@pulumi.getter(name="includeObjects")
|
657
|
-
def include_objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]]:
|
658
|
-
"""
|
659
|
-
(Updatable) Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
660
|
-
"""
|
661
|
-
return pulumi.get(self, "include_objects")
|
662
|
-
|
663
|
-
@include_objects.setter
|
664
|
-
def include_objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]]):
|
665
|
-
pulumi.set(self, "include_objects", value)
|
666
|
-
|
667
|
-
@property
|
668
|
-
@pulumi.getter(name="lifecycleDetails")
|
669
|
-
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
670
|
-
"""
|
671
|
-
Additional status related to the execution and current state of the Migration.
|
672
|
-
"""
|
673
|
-
return pulumi.get(self, "lifecycle_details")
|
674
|
-
|
675
|
-
@lifecycle_details.setter
|
676
|
-
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
677
|
-
pulumi.set(self, "lifecycle_details", value)
|
678
|
-
|
679
|
-
@property
|
680
|
-
@pulumi.getter(name="sourceContainerDatabaseConnectionId")
|
681
|
-
def source_container_database_connection_id(self) -> Optional[pulumi.Input[str]]:
|
682
|
-
"""
|
683
|
-
(Updatable) The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases.
|
684
|
-
"""
|
685
|
-
return pulumi.get(self, "source_container_database_connection_id")
|
686
|
-
|
687
|
-
@source_container_database_connection_id.setter
|
688
|
-
def source_container_database_connection_id(self, value: Optional[pulumi.Input[str]]):
|
689
|
-
pulumi.set(self, "source_container_database_connection_id", value)
|
690
|
-
|
691
|
-
@property
|
692
|
-
@pulumi.getter(name="sourceDatabaseConnectionId")
|
693
|
-
def source_database_connection_id(self) -> Optional[pulumi.Input[str]]:
|
694
|
-
"""
|
695
|
-
(Updatable) The OCID of the Source Database Connection.
|
696
|
-
"""
|
697
|
-
return pulumi.get(self, "source_database_connection_id")
|
698
|
-
|
699
|
-
@source_database_connection_id.setter
|
700
|
-
def source_database_connection_id(self, value: Optional[pulumi.Input[str]]):
|
701
|
-
pulumi.set(self, "source_database_connection_id", value)
|
702
|
-
|
703
|
-
@property
|
704
|
-
@pulumi.getter
|
705
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
706
|
-
"""
|
707
|
-
The current state of the Migration resource.
|
708
|
-
"""
|
709
|
-
return pulumi.get(self, "state")
|
710
|
-
|
711
|
-
@state.setter
|
712
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
713
|
-
pulumi.set(self, "state", value)
|
714
|
-
|
715
|
-
@property
|
716
|
-
@pulumi.getter(name="systemTags")
|
717
|
-
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
718
|
-
"""
|
719
|
-
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
720
|
-
"""
|
721
|
-
return pulumi.get(self, "system_tags")
|
722
|
-
|
723
|
-
@system_tags.setter
|
724
|
-
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
725
|
-
pulumi.set(self, "system_tags", value)
|
726
|
-
|
727
|
-
@property
|
728
|
-
@pulumi.getter(name="targetDatabaseConnectionId")
|
729
|
-
def target_database_connection_id(self) -> Optional[pulumi.Input[str]]:
|
730
|
-
"""
|
731
|
-
(Updatable) The OCID of the Target Database Connection.
|
732
|
-
"""
|
733
|
-
return pulumi.get(self, "target_database_connection_id")
|
734
|
-
|
735
|
-
@target_database_connection_id.setter
|
736
|
-
def target_database_connection_id(self, value: Optional[pulumi.Input[str]]):
|
737
|
-
pulumi.set(self, "target_database_connection_id", value)
|
738
|
-
|
739
|
-
@property
|
740
|
-
@pulumi.getter(name="timeCreated")
|
741
|
-
def time_created(self) -> Optional[pulumi.Input[str]]:
|
742
|
-
"""
|
743
|
-
The time the Migration was created. An RFC3339 formatted datetime string.
|
744
|
-
"""
|
745
|
-
return pulumi.get(self, "time_created")
|
746
|
-
|
747
|
-
@time_created.setter
|
748
|
-
def time_created(self, value: Optional[pulumi.Input[str]]):
|
749
|
-
pulumi.set(self, "time_created", value)
|
750
|
-
|
751
|
-
@property
|
752
|
-
@pulumi.getter(name="timeLastMigration")
|
753
|
-
def time_last_migration(self) -> Optional[pulumi.Input[str]]:
|
754
|
-
"""
|
755
|
-
The time of last Migration. An RFC3339 formatted datetime string.
|
756
|
-
"""
|
757
|
-
return pulumi.get(self, "time_last_migration")
|
758
|
-
|
759
|
-
@time_last_migration.setter
|
760
|
-
def time_last_migration(self, value: Optional[pulumi.Input[str]]):
|
761
|
-
pulumi.set(self, "time_last_migration", value)
|
762
|
-
|
763
|
-
@property
|
764
|
-
@pulumi.getter(name="timeUpdated")
|
765
|
-
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
766
|
-
"""
|
767
|
-
The time of the last Migration details update. An RFC3339 formatted datetime string.
|
768
|
-
"""
|
769
|
-
return pulumi.get(self, "time_updated")
|
770
|
-
|
771
|
-
@time_updated.setter
|
772
|
-
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
773
|
-
pulumi.set(self, "time_updated", value)
|
774
|
-
|
775
|
-
@property
|
776
|
-
@pulumi.getter
|
777
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
778
|
-
"""
|
779
|
-
(Updatable) Migration type.
|
780
|
-
"""
|
781
|
-
return pulumi.get(self, "type")
|
782
|
-
|
783
|
-
@type.setter
|
784
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
785
|
-
pulumi.set(self, "type", value)
|
786
|
-
|
787
|
-
@property
|
788
|
-
@pulumi.getter(name="vaultDetails")
|
789
|
-
def vault_details(self) -> Optional[pulumi.Input['MigrationVaultDetailsArgs']]:
|
790
|
-
"""
|
791
|
-
(Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
|
792
|
-
"""
|
793
|
-
return pulumi.get(self, "vault_details")
|
794
|
-
|
795
|
-
@vault_details.setter
|
796
|
-
def vault_details(self, value: Optional[pulumi.Input['MigrationVaultDetailsArgs']]):
|
797
|
-
pulumi.set(self, "vault_details", value)
|
798
|
-
|
799
|
-
@property
|
800
|
-
@pulumi.getter(name="waitAfter")
|
801
|
-
def wait_after(self) -> Optional[pulumi.Input[str]]:
|
802
|
-
"""
|
803
|
-
Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called.
|
804
|
-
"""
|
805
|
-
return pulumi.get(self, "wait_after")
|
806
|
-
|
807
|
-
@wait_after.setter
|
808
|
-
def wait_after(self, value: Optional[pulumi.Input[str]]):
|
809
|
-
pulumi.set(self, "wait_after", value)
|
810
|
-
|
811
|
-
|
812
|
-
class Migration(pulumi.CustomResource):
|
813
|
-
@overload
|
814
|
-
def __init__(__self__,
|
815
|
-
resource_name: str,
|
816
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
817
|
-
advisor_settings: Optional[pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']]] = None,
|
818
|
-
agent_id: Optional[pulumi.Input[str]] = None,
|
819
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
820
|
-
csv_text: Optional[pulumi.Input[str]] = None,
|
821
|
-
data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None,
|
822
|
-
data_transfer_medium_details_v2: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsV2Args']]] = None,
|
823
|
-
datapump_settings: Optional[pulumi.Input[pulumi.InputType['MigrationDatapumpSettingsArgs']]] = None,
|
824
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
825
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
826
|
-
dump_transfer_details: Optional[pulumi.Input[pulumi.InputType['MigrationDumpTransferDetailsArgs']]] = None,
|
827
|
-
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]]] = None,
|
828
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
829
|
-
golden_gate_details: Optional[pulumi.Input[pulumi.InputType['MigrationGoldenGateDetailsArgs']]] = None,
|
830
|
-
golden_gate_service_details: Optional[pulumi.Input[pulumi.InputType['MigrationGoldenGateServiceDetailsArgs']]] = None,
|
831
|
-
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]]] = None,
|
832
|
-
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
833
|
-
source_database_connection_id: Optional[pulumi.Input[str]] = None,
|
834
|
-
target_database_connection_id: Optional[pulumi.Input[str]] = None,
|
835
|
-
type: Optional[pulumi.Input[str]] = None,
|
836
|
-
vault_details: Optional[pulumi.Input[pulumi.InputType['MigrationVaultDetailsArgs']]] = None,
|
837
|
-
__props__=None):
|
838
|
-
"""
|
839
|
-
This resource provides the Migration resource in Oracle Cloud Infrastructure Database Migration service.
|
840
|
-
|
841
|
-
Create a Migration resource that contains all the details to perform the
|
842
|
-
database migration operation, such as source and destination database
|
843
|
-
details, credentials, etc.
|
844
|
-
|
845
|
-
## Example Usage
|
846
|
-
|
847
|
-
```python
|
848
|
-
import pulumi
|
849
|
-
import pulumi_oci as oci
|
850
|
-
|
851
|
-
test_migration = oci.database_migration.Migration("test_migration",
|
852
|
-
compartment_id=compartment_id,
|
853
|
-
source_database_connection_id=test_connection["id"],
|
854
|
-
target_database_connection_id=test_connection["id"],
|
855
|
-
type=migration_type,
|
856
|
-
advisor_settings=oci.database_migration.MigrationAdvisorSettingsArgs(
|
857
|
-
is_ignore_errors=migration_advisor_settings_is_ignore_errors,
|
858
|
-
is_skip_advisor=migration_advisor_settings_is_skip_advisor,
|
859
|
-
),
|
860
|
-
agent_id=test_agent["id"],
|
861
|
-
csv_text=migration_csv_text,
|
862
|
-
data_transfer_medium_details=oci.database_migration.MigrationDataTransferMediumDetailsArgs(
|
863
|
-
database_link_details=oci.database_migration.MigrationDataTransferMediumDetailsDatabaseLinkDetailsArgs(
|
864
|
-
name=migration_data_transfer_medium_details_database_link_details_name,
|
865
|
-
wallet_bucket=oci.database_migration.MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketArgs(
|
866
|
-
bucket=migration_data_transfer_medium_details_database_link_details_wallet_bucket_bucket,
|
867
|
-
namespace=migration_data_transfer_medium_details_database_link_details_wallet_bucket_namespace,
|
868
|
-
),
|
869
|
-
),
|
870
|
-
object_storage_details=oci.database_migration.MigrationDataTransferMediumDetailsObjectStorageDetailsArgs(
|
871
|
-
bucket=migration_data_transfer_medium_details_object_storage_details_bucket,
|
872
|
-
namespace=migration_data_transfer_medium_details_object_storage_details_namespace,
|
873
|
-
),
|
874
|
-
),
|
875
|
-
datapump_settings=oci.database_migration.MigrationDatapumpSettingsArgs(
|
876
|
-
data_pump_parameters=oci.database_migration.MigrationDatapumpSettingsDataPumpParametersArgs(
|
877
|
-
estimate=migration_datapump_settings_data_pump_parameters_estimate,
|
878
|
-
exclude_parameters=migration_datapump_settings_data_pump_parameters_exclude_parameters,
|
879
|
-
export_parallelism_degree=migration_datapump_settings_data_pump_parameters_export_parallelism_degree,
|
880
|
-
import_parallelism_degree=migration_datapump_settings_data_pump_parameters_import_parallelism_degree,
|
881
|
-
is_cluster=migration_datapump_settings_data_pump_parameters_is_cluster,
|
882
|
-
table_exists_action=migration_datapump_settings_data_pump_parameters_table_exists_action,
|
883
|
-
),
|
884
|
-
export_directory_object=oci.database_migration.MigrationDatapumpSettingsExportDirectoryObjectArgs(
|
885
|
-
name=migration_datapump_settings_export_directory_object_name,
|
886
|
-
path=migration_datapump_settings_export_directory_object_path,
|
887
|
-
),
|
888
|
-
import_directory_object=oci.database_migration.MigrationDatapumpSettingsImportDirectoryObjectArgs(
|
889
|
-
name=migration_datapump_settings_import_directory_object_name,
|
890
|
-
path=migration_datapump_settings_import_directory_object_path,
|
891
|
-
),
|
892
|
-
job_mode=migration_datapump_settings_job_mode,
|
893
|
-
metadata_remaps=[oci.database_migration.MigrationDatapumpSettingsMetadataRemapArgs(
|
894
|
-
new_value=migration_datapump_settings_metadata_remaps_new_value,
|
895
|
-
old_value=migration_datapump_settings_metadata_remaps_old_value,
|
896
|
-
type=migration_datapump_settings_metadata_remaps_type,
|
897
|
-
)],
|
898
|
-
),
|
899
|
-
defined_tags={
|
900
|
-
"foo-namespace.bar-key": "value",
|
901
|
-
},
|
902
|
-
display_name=migration_display_name,
|
903
|
-
dump_transfer_details=oci.database_migration.MigrationDumpTransferDetailsArgs(
|
904
|
-
source=oci.database_migration.MigrationDumpTransferDetailsSourceArgs(
|
905
|
-
kind=migration_dump_transfer_details_source_kind,
|
906
|
-
oci_home=migration_dump_transfer_details_source_oci_home,
|
907
|
-
wallet_location=migration_dump_transfer_details_source_wallet_location,
|
908
|
-
),
|
909
|
-
target=oci.database_migration.MigrationDumpTransferDetailsTargetArgs(
|
910
|
-
kind=migration_dump_transfer_details_target_kind,
|
911
|
-
oci_home=migration_dump_transfer_details_target_oci_home,
|
912
|
-
wallet_location=migration_dump_transfer_details_target_wallet_location,
|
913
|
-
),
|
914
|
-
),
|
915
|
-
exclude_objects=[oci.database_migration.MigrationExcludeObjectArgs(
|
916
|
-
object=migration_exclude_objects_object,
|
917
|
-
owner=migration_exclude_objects_owner,
|
918
|
-
is_omit_excluded_table_from_replication=migration_exclude_objects_is_omit_excluded_table_from_replication,
|
919
|
-
type=migration_exclude_objects_type,
|
920
|
-
)],
|
921
|
-
freeform_tags={
|
922
|
-
"bar-key": "value",
|
923
|
-
},
|
924
|
-
golden_gate_details=oci.database_migration.MigrationGoldenGateDetailsArgs(
|
925
|
-
hub=oci.database_migration.MigrationGoldenGateDetailsHubArgs(
|
926
|
-
rest_admin_credentials=oci.database_migration.MigrationGoldenGateDetailsHubRestAdminCredentialsArgs(
|
927
|
-
password=migration_golden_gate_details_hub_rest_admin_credentials_password,
|
928
|
-
username=migration_golden_gate_details_hub_rest_admin_credentials_username,
|
929
|
-
),
|
930
|
-
url=migration_golden_gate_details_hub_url,
|
931
|
-
compute_id=test_compute["id"],
|
932
|
-
source_container_db_admin_credentials=oci.database_migration.MigrationGoldenGateDetailsHubSourceContainerDbAdminCredentialsArgs(
|
933
|
-
password=migration_golden_gate_details_hub_source_container_db_admin_credentials_password,
|
934
|
-
username=migration_golden_gate_details_hub_source_container_db_admin_credentials_username,
|
935
|
-
),
|
936
|
-
source_db_admin_credentials=oci.database_migration.MigrationGoldenGateDetailsHubSourceDbAdminCredentialsArgs(
|
937
|
-
password=migration_golden_gate_details_hub_source_db_admin_credentials_password,
|
938
|
-
username=migration_golden_gate_details_hub_source_db_admin_credentials_username,
|
939
|
-
),
|
940
|
-
source_microservices_deployment_name=test_deployment["name"],
|
941
|
-
target_db_admin_credentials=oci.database_migration.MigrationGoldenGateDetailsHubTargetDbAdminCredentialsArgs(
|
942
|
-
password=migration_golden_gate_details_hub_target_db_admin_credentials_password,
|
943
|
-
username=migration_golden_gate_details_hub_target_db_admin_credentials_username,
|
944
|
-
),
|
945
|
-
target_microservices_deployment_name=test_deployment["name"],
|
946
|
-
),
|
947
|
-
settings=oci.database_migration.MigrationGoldenGateDetailsSettingsArgs(
|
948
|
-
acceptable_lag=migration_golden_gate_details_settings_acceptable_lag,
|
949
|
-
extract=oci.database_migration.MigrationGoldenGateDetailsSettingsExtractArgs(
|
950
|
-
long_trans_duration=migration_golden_gate_details_settings_extract_long_trans_duration,
|
951
|
-
performance_profile=migration_golden_gate_details_settings_extract_performance_profile,
|
952
|
-
),
|
953
|
-
replicat=oci.database_migration.MigrationGoldenGateDetailsSettingsReplicatArgs(
|
954
|
-
map_parallelism=migration_golden_gate_details_settings_replicat_map_parallelism,
|
955
|
-
max_apply_parallelism=migration_golden_gate_details_settings_replicat_max_apply_parallelism,
|
956
|
-
min_apply_parallelism=migration_golden_gate_details_settings_replicat_min_apply_parallelism,
|
957
|
-
),
|
958
|
-
),
|
959
|
-
),
|
960
|
-
golden_gate_service_details=oci.database_migration.MigrationGoldenGateServiceDetailsArgs(
|
961
|
-
settings=oci.database_migration.MigrationGoldenGateServiceDetailsSettingsArgs(
|
962
|
-
acceptable_lag=migration_golden_gate_service_details_settings_acceptable_lag,
|
963
|
-
extract=oci.database_migration.MigrationGoldenGateServiceDetailsSettingsExtractArgs(
|
964
|
-
long_trans_duration=migration_golden_gate_service_details_settings_extract_long_trans_duration,
|
965
|
-
performance_profile=migration_golden_gate_service_details_settings_extract_performance_profile,
|
966
|
-
),
|
967
|
-
replicat=oci.database_migration.MigrationGoldenGateServiceDetailsSettingsReplicatArgs(
|
968
|
-
map_parallelism=migration_golden_gate_service_details_settings_replicat_map_parallelism,
|
969
|
-
max_apply_parallelism=migration_golden_gate_service_details_settings_replicat_max_apply_parallelism,
|
970
|
-
min_apply_parallelism=migration_golden_gate_service_details_settings_replicat_min_apply_parallelism,
|
971
|
-
),
|
972
|
-
),
|
973
|
-
source_container_db_credentials=oci.database_migration.MigrationGoldenGateServiceDetailsSourceContainerDbCredentialsArgs(
|
974
|
-
password=migration_golden_gate_service_details_source_container_db_credentials_password,
|
975
|
-
username=migration_golden_gate_service_details_source_container_db_credentials_username,
|
976
|
-
),
|
977
|
-
source_db_credentials=oci.database_migration.MigrationGoldenGateServiceDetailsSourceDbCredentialsArgs(
|
978
|
-
password=migration_golden_gate_service_details_source_db_credentials_password,
|
979
|
-
username=migration_golden_gate_service_details_source_db_credentials_username,
|
980
|
-
),
|
981
|
-
target_db_credentials=oci.database_migration.MigrationGoldenGateServiceDetailsTargetDbCredentialsArgs(
|
982
|
-
password=migration_golden_gate_service_details_target_db_credentials_password,
|
983
|
-
username=migration_golden_gate_service_details_target_db_credentials_username,
|
984
|
-
),
|
985
|
-
),
|
986
|
-
include_objects=[oci.database_migration.MigrationIncludeObjectArgs(
|
987
|
-
object=migration_include_objects_object,
|
988
|
-
owner=migration_include_objects_owner,
|
989
|
-
is_omit_excluded_table_from_replication=migration_include_objects_is_omit_excluded_table_from_replication,
|
990
|
-
type=migration_include_objects_type,
|
991
|
-
)],
|
992
|
-
source_container_database_connection_id=test_connection["id"],
|
993
|
-
vault_details=oci.database_migration.MigrationVaultDetailsArgs(
|
994
|
-
compartment_id=compartment_id,
|
995
|
-
key_id=test_key["id"],
|
996
|
-
vault_id=test_vault["id"],
|
997
|
-
))
|
998
|
-
```
|
999
|
-
|
1000
|
-
## Import
|
1001
|
-
|
1002
|
-
Migrations can be imported using the `id`, e.g.
|
1003
|
-
|
1004
|
-
```sh
|
1005
|
-
$ pulumi import oci:DatabaseMigration/migration:Migration test_migration "id"
|
1006
|
-
```
|
1007
|
-
|
1008
|
-
:param str resource_name: The name of the resource.
|
1009
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
1010
|
-
:param pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']] advisor_settings: (Updatable) Optional Pre-Migration advisor settings.
|
1011
|
-
:param pulumi.Input[str] agent_id: (Updatable) The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
|
1012
|
-
:param pulumi.Input[str] compartment_id: (Updatable) OCID of the compartment
|
1013
|
-
:param pulumi.Input[str] csv_text: Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null.
|
1014
|
-
:param pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']] data_transfer_medium_details: (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.
|
1015
|
-
:param pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsV2Args']] data_transfer_medium_details_v2: (Updatable) Optional additional properties for dump transfer in source or target host.
|
1016
|
-
:param pulumi.Input[pulumi.InputType['MigrationDatapumpSettingsArgs']] datapump_settings: (Updatable) Optional settings for Data Pump Export and Import jobs
|
1017
|
-
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
1018
|
-
:param pulumi.Input[str] display_name: (Updatable) Migration Display Name
|
1019
|
-
:param pulumi.Input[pulumi.InputType['MigrationDumpTransferDetailsArgs']] dump_transfer_details: (Updatable) Optional additional properties for dump transfer.
|
1020
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]] exclude_objects: (Updatable) Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
1021
|
-
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
1022
|
-
:param pulumi.Input[pulumi.InputType['MigrationGoldenGateDetailsArgs']] golden_gate_details: (Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration.
|
1023
|
-
:param pulumi.Input[pulumi.InputType['MigrationGoldenGateServiceDetailsArgs']] golden_gate_service_details: (Updatable) Details about Oracle GoldenGate GGS Deployment.
|
1024
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]] include_objects: (Updatable) Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
1025
|
-
:param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases.
|
1026
|
-
:param pulumi.Input[str] source_database_connection_id: (Updatable) The OCID of the Source Database Connection.
|
1027
|
-
:param pulumi.Input[str] target_database_connection_id: (Updatable) The OCID of the Target Database Connection.
|
1028
|
-
:param pulumi.Input[str] type: (Updatable) Migration type.
|
1029
|
-
:param pulumi.Input[pulumi.InputType['MigrationVaultDetailsArgs']] vault_details: (Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
|
1030
|
-
"""
|
1031
|
-
...
|
1032
|
-
@overload
|
1033
|
-
def __init__(__self__,
|
1034
|
-
resource_name: str,
|
1035
|
-
args: MigrationArgs,
|
1036
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
1037
|
-
"""
|
1038
|
-
This resource provides the Migration resource in Oracle Cloud Infrastructure Database Migration service.
|
1039
|
-
|
1040
|
-
Create a Migration resource that contains all the details to perform the
|
1041
|
-
database migration operation, such as source and destination database
|
1042
|
-
details, credentials, etc.
|
1043
|
-
|
1044
|
-
## Example Usage
|
1045
|
-
|
1046
|
-
```python
|
1047
|
-
import pulumi
|
1048
|
-
import pulumi_oci as oci
|
1049
|
-
|
1050
|
-
test_migration = oci.database_migration.Migration("test_migration",
|
1051
|
-
compartment_id=compartment_id,
|
1052
|
-
source_database_connection_id=test_connection["id"],
|
1053
|
-
target_database_connection_id=test_connection["id"],
|
1054
|
-
type=migration_type,
|
1055
|
-
advisor_settings=oci.database_migration.MigrationAdvisorSettingsArgs(
|
1056
|
-
is_ignore_errors=migration_advisor_settings_is_ignore_errors,
|
1057
|
-
is_skip_advisor=migration_advisor_settings_is_skip_advisor,
|
1058
|
-
),
|
1059
|
-
agent_id=test_agent["id"],
|
1060
|
-
csv_text=migration_csv_text,
|
1061
|
-
data_transfer_medium_details=oci.database_migration.MigrationDataTransferMediumDetailsArgs(
|
1062
|
-
database_link_details=oci.database_migration.MigrationDataTransferMediumDetailsDatabaseLinkDetailsArgs(
|
1063
|
-
name=migration_data_transfer_medium_details_database_link_details_name,
|
1064
|
-
wallet_bucket=oci.database_migration.MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketArgs(
|
1065
|
-
bucket=migration_data_transfer_medium_details_database_link_details_wallet_bucket_bucket,
|
1066
|
-
namespace=migration_data_transfer_medium_details_database_link_details_wallet_bucket_namespace,
|
1067
|
-
),
|
1068
|
-
),
|
1069
|
-
object_storage_details=oci.database_migration.MigrationDataTransferMediumDetailsObjectStorageDetailsArgs(
|
1070
|
-
bucket=migration_data_transfer_medium_details_object_storage_details_bucket,
|
1071
|
-
namespace=migration_data_transfer_medium_details_object_storage_details_namespace,
|
1072
|
-
),
|
1073
|
-
),
|
1074
|
-
datapump_settings=oci.database_migration.MigrationDatapumpSettingsArgs(
|
1075
|
-
data_pump_parameters=oci.database_migration.MigrationDatapumpSettingsDataPumpParametersArgs(
|
1076
|
-
estimate=migration_datapump_settings_data_pump_parameters_estimate,
|
1077
|
-
exclude_parameters=migration_datapump_settings_data_pump_parameters_exclude_parameters,
|
1078
|
-
export_parallelism_degree=migration_datapump_settings_data_pump_parameters_export_parallelism_degree,
|
1079
|
-
import_parallelism_degree=migration_datapump_settings_data_pump_parameters_import_parallelism_degree,
|
1080
|
-
is_cluster=migration_datapump_settings_data_pump_parameters_is_cluster,
|
1081
|
-
table_exists_action=migration_datapump_settings_data_pump_parameters_table_exists_action,
|
1082
|
-
),
|
1083
|
-
export_directory_object=oci.database_migration.MigrationDatapumpSettingsExportDirectoryObjectArgs(
|
1084
|
-
name=migration_datapump_settings_export_directory_object_name,
|
1085
|
-
path=migration_datapump_settings_export_directory_object_path,
|
1086
|
-
),
|
1087
|
-
import_directory_object=oci.database_migration.MigrationDatapumpSettingsImportDirectoryObjectArgs(
|
1088
|
-
name=migration_datapump_settings_import_directory_object_name,
|
1089
|
-
path=migration_datapump_settings_import_directory_object_path,
|
1090
|
-
),
|
1091
|
-
job_mode=migration_datapump_settings_job_mode,
|
1092
|
-
metadata_remaps=[oci.database_migration.MigrationDatapumpSettingsMetadataRemapArgs(
|
1093
|
-
new_value=migration_datapump_settings_metadata_remaps_new_value,
|
1094
|
-
old_value=migration_datapump_settings_metadata_remaps_old_value,
|
1095
|
-
type=migration_datapump_settings_metadata_remaps_type,
|
1096
|
-
)],
|
1097
|
-
),
|
1098
|
-
defined_tags={
|
1099
|
-
"foo-namespace.bar-key": "value",
|
1100
|
-
},
|
1101
|
-
display_name=migration_display_name,
|
1102
|
-
dump_transfer_details=oci.database_migration.MigrationDumpTransferDetailsArgs(
|
1103
|
-
source=oci.database_migration.MigrationDumpTransferDetailsSourceArgs(
|
1104
|
-
kind=migration_dump_transfer_details_source_kind,
|
1105
|
-
oci_home=migration_dump_transfer_details_source_oci_home,
|
1106
|
-
wallet_location=migration_dump_transfer_details_source_wallet_location,
|
1107
|
-
),
|
1108
|
-
target=oci.database_migration.MigrationDumpTransferDetailsTargetArgs(
|
1109
|
-
kind=migration_dump_transfer_details_target_kind,
|
1110
|
-
oci_home=migration_dump_transfer_details_target_oci_home,
|
1111
|
-
wallet_location=migration_dump_transfer_details_target_wallet_location,
|
1112
|
-
),
|
1113
|
-
),
|
1114
|
-
exclude_objects=[oci.database_migration.MigrationExcludeObjectArgs(
|
1115
|
-
object=migration_exclude_objects_object,
|
1116
|
-
owner=migration_exclude_objects_owner,
|
1117
|
-
is_omit_excluded_table_from_replication=migration_exclude_objects_is_omit_excluded_table_from_replication,
|
1118
|
-
type=migration_exclude_objects_type,
|
1119
|
-
)],
|
1120
|
-
freeform_tags={
|
1121
|
-
"bar-key": "value",
|
1122
|
-
},
|
1123
|
-
golden_gate_details=oci.database_migration.MigrationGoldenGateDetailsArgs(
|
1124
|
-
hub=oci.database_migration.MigrationGoldenGateDetailsHubArgs(
|
1125
|
-
rest_admin_credentials=oci.database_migration.MigrationGoldenGateDetailsHubRestAdminCredentialsArgs(
|
1126
|
-
password=migration_golden_gate_details_hub_rest_admin_credentials_password,
|
1127
|
-
username=migration_golden_gate_details_hub_rest_admin_credentials_username,
|
1128
|
-
),
|
1129
|
-
url=migration_golden_gate_details_hub_url,
|
1130
|
-
compute_id=test_compute["id"],
|
1131
|
-
source_container_db_admin_credentials=oci.database_migration.MigrationGoldenGateDetailsHubSourceContainerDbAdminCredentialsArgs(
|
1132
|
-
password=migration_golden_gate_details_hub_source_container_db_admin_credentials_password,
|
1133
|
-
username=migration_golden_gate_details_hub_source_container_db_admin_credentials_username,
|
1134
|
-
),
|
1135
|
-
source_db_admin_credentials=oci.database_migration.MigrationGoldenGateDetailsHubSourceDbAdminCredentialsArgs(
|
1136
|
-
password=migration_golden_gate_details_hub_source_db_admin_credentials_password,
|
1137
|
-
username=migration_golden_gate_details_hub_source_db_admin_credentials_username,
|
1138
|
-
),
|
1139
|
-
source_microservices_deployment_name=test_deployment["name"],
|
1140
|
-
target_db_admin_credentials=oci.database_migration.MigrationGoldenGateDetailsHubTargetDbAdminCredentialsArgs(
|
1141
|
-
password=migration_golden_gate_details_hub_target_db_admin_credentials_password,
|
1142
|
-
username=migration_golden_gate_details_hub_target_db_admin_credentials_username,
|
1143
|
-
),
|
1144
|
-
target_microservices_deployment_name=test_deployment["name"],
|
1145
|
-
),
|
1146
|
-
settings=oci.database_migration.MigrationGoldenGateDetailsSettingsArgs(
|
1147
|
-
acceptable_lag=migration_golden_gate_details_settings_acceptable_lag,
|
1148
|
-
extract=oci.database_migration.MigrationGoldenGateDetailsSettingsExtractArgs(
|
1149
|
-
long_trans_duration=migration_golden_gate_details_settings_extract_long_trans_duration,
|
1150
|
-
performance_profile=migration_golden_gate_details_settings_extract_performance_profile,
|
1151
|
-
),
|
1152
|
-
replicat=oci.database_migration.MigrationGoldenGateDetailsSettingsReplicatArgs(
|
1153
|
-
map_parallelism=migration_golden_gate_details_settings_replicat_map_parallelism,
|
1154
|
-
max_apply_parallelism=migration_golden_gate_details_settings_replicat_max_apply_parallelism,
|
1155
|
-
min_apply_parallelism=migration_golden_gate_details_settings_replicat_min_apply_parallelism,
|
1156
|
-
),
|
1157
|
-
),
|
1158
|
-
),
|
1159
|
-
golden_gate_service_details=oci.database_migration.MigrationGoldenGateServiceDetailsArgs(
|
1160
|
-
settings=oci.database_migration.MigrationGoldenGateServiceDetailsSettingsArgs(
|
1161
|
-
acceptable_lag=migration_golden_gate_service_details_settings_acceptable_lag,
|
1162
|
-
extract=oci.database_migration.MigrationGoldenGateServiceDetailsSettingsExtractArgs(
|
1163
|
-
long_trans_duration=migration_golden_gate_service_details_settings_extract_long_trans_duration,
|
1164
|
-
performance_profile=migration_golden_gate_service_details_settings_extract_performance_profile,
|
1165
|
-
),
|
1166
|
-
replicat=oci.database_migration.MigrationGoldenGateServiceDetailsSettingsReplicatArgs(
|
1167
|
-
map_parallelism=migration_golden_gate_service_details_settings_replicat_map_parallelism,
|
1168
|
-
max_apply_parallelism=migration_golden_gate_service_details_settings_replicat_max_apply_parallelism,
|
1169
|
-
min_apply_parallelism=migration_golden_gate_service_details_settings_replicat_min_apply_parallelism,
|
1170
|
-
),
|
1171
|
-
),
|
1172
|
-
source_container_db_credentials=oci.database_migration.MigrationGoldenGateServiceDetailsSourceContainerDbCredentialsArgs(
|
1173
|
-
password=migration_golden_gate_service_details_source_container_db_credentials_password,
|
1174
|
-
username=migration_golden_gate_service_details_source_container_db_credentials_username,
|
1175
|
-
),
|
1176
|
-
source_db_credentials=oci.database_migration.MigrationGoldenGateServiceDetailsSourceDbCredentialsArgs(
|
1177
|
-
password=migration_golden_gate_service_details_source_db_credentials_password,
|
1178
|
-
username=migration_golden_gate_service_details_source_db_credentials_username,
|
1179
|
-
),
|
1180
|
-
target_db_credentials=oci.database_migration.MigrationGoldenGateServiceDetailsTargetDbCredentialsArgs(
|
1181
|
-
password=migration_golden_gate_service_details_target_db_credentials_password,
|
1182
|
-
username=migration_golden_gate_service_details_target_db_credentials_username,
|
1183
|
-
),
|
1184
|
-
),
|
1185
|
-
include_objects=[oci.database_migration.MigrationIncludeObjectArgs(
|
1186
|
-
object=migration_include_objects_object,
|
1187
|
-
owner=migration_include_objects_owner,
|
1188
|
-
is_omit_excluded_table_from_replication=migration_include_objects_is_omit_excluded_table_from_replication,
|
1189
|
-
type=migration_include_objects_type,
|
1190
|
-
)],
|
1191
|
-
source_container_database_connection_id=test_connection["id"],
|
1192
|
-
vault_details=oci.database_migration.MigrationVaultDetailsArgs(
|
1193
|
-
compartment_id=compartment_id,
|
1194
|
-
key_id=test_key["id"],
|
1195
|
-
vault_id=test_vault["id"],
|
1196
|
-
))
|
1197
|
-
```
|
1198
|
-
|
1199
|
-
## Import
|
1200
|
-
|
1201
|
-
Migrations can be imported using the `id`, e.g.
|
1202
|
-
|
1203
|
-
```sh
|
1204
|
-
$ pulumi import oci:DatabaseMigration/migration:Migration test_migration "id"
|
1205
|
-
```
|
1206
|
-
|
1207
|
-
:param str resource_name: The name of the resource.
|
1208
|
-
:param MigrationArgs args: The arguments to use to populate this resource's properties.
|
1209
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
1210
|
-
"""
|
1211
|
-
...
|
1212
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
1213
|
-
resource_args, opts = _utilities.get_resource_args_opts(MigrationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
1214
|
-
if resource_args is not None:
|
1215
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
1216
|
-
else:
|
1217
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
1218
|
-
|
1219
|
-
def _internal_init(__self__,
|
1220
|
-
resource_name: str,
|
1221
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
1222
|
-
advisor_settings: Optional[pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']]] = None,
|
1223
|
-
agent_id: Optional[pulumi.Input[str]] = None,
|
1224
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
1225
|
-
csv_text: Optional[pulumi.Input[str]] = None,
|
1226
|
-
data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None,
|
1227
|
-
data_transfer_medium_details_v2: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsV2Args']]] = None,
|
1228
|
-
datapump_settings: Optional[pulumi.Input[pulumi.InputType['MigrationDatapumpSettingsArgs']]] = None,
|
1229
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1230
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
1231
|
-
dump_transfer_details: Optional[pulumi.Input[pulumi.InputType['MigrationDumpTransferDetailsArgs']]] = None,
|
1232
|
-
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]]] = None,
|
1233
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1234
|
-
golden_gate_details: Optional[pulumi.Input[pulumi.InputType['MigrationGoldenGateDetailsArgs']]] = None,
|
1235
|
-
golden_gate_service_details: Optional[pulumi.Input[pulumi.InputType['MigrationGoldenGateServiceDetailsArgs']]] = None,
|
1236
|
-
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]]] = None,
|
1237
|
-
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1238
|
-
source_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1239
|
-
target_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1240
|
-
type: Optional[pulumi.Input[str]] = None,
|
1241
|
-
vault_details: Optional[pulumi.Input[pulumi.InputType['MigrationVaultDetailsArgs']]] = None,
|
1242
|
-
__props__=None):
|
1243
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
1244
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
1245
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
1246
|
-
if opts.id is None:
|
1247
|
-
if __props__ is not None:
|
1248
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1249
|
-
__props__ = MigrationArgs.__new__(MigrationArgs)
|
1250
|
-
|
1251
|
-
__props__.__dict__["advisor_settings"] = advisor_settings
|
1252
|
-
__props__.__dict__["agent_id"] = agent_id
|
1253
|
-
if compartment_id is None and not opts.urn:
|
1254
|
-
raise TypeError("Missing required property 'compartment_id'")
|
1255
|
-
__props__.__dict__["compartment_id"] = compartment_id
|
1256
|
-
__props__.__dict__["csv_text"] = csv_text
|
1257
|
-
__props__.__dict__["data_transfer_medium_details"] = data_transfer_medium_details
|
1258
|
-
__props__.__dict__["data_transfer_medium_details_v2"] = data_transfer_medium_details_v2
|
1259
|
-
__props__.__dict__["datapump_settings"] = datapump_settings
|
1260
|
-
__props__.__dict__["defined_tags"] = defined_tags
|
1261
|
-
__props__.__dict__["display_name"] = display_name
|
1262
|
-
__props__.__dict__["dump_transfer_details"] = dump_transfer_details
|
1263
|
-
__props__.__dict__["exclude_objects"] = exclude_objects
|
1264
|
-
__props__.__dict__["freeform_tags"] = freeform_tags
|
1265
|
-
__props__.__dict__["golden_gate_details"] = golden_gate_details
|
1266
|
-
__props__.__dict__["golden_gate_service_details"] = golden_gate_service_details
|
1267
|
-
__props__.__dict__["include_objects"] = include_objects
|
1268
|
-
__props__.__dict__["source_container_database_connection_id"] = source_container_database_connection_id
|
1269
|
-
if source_database_connection_id is None and not opts.urn:
|
1270
|
-
raise TypeError("Missing required property 'source_database_connection_id'")
|
1271
|
-
__props__.__dict__["source_database_connection_id"] = source_database_connection_id
|
1272
|
-
if target_database_connection_id is None and not opts.urn:
|
1273
|
-
raise TypeError("Missing required property 'target_database_connection_id'")
|
1274
|
-
__props__.__dict__["target_database_connection_id"] = target_database_connection_id
|
1275
|
-
if type is None and not opts.urn:
|
1276
|
-
raise TypeError("Missing required property 'type'")
|
1277
|
-
__props__.__dict__["type"] = type
|
1278
|
-
__props__.__dict__["vault_details"] = vault_details
|
1279
|
-
__props__.__dict__["credentials_secret_id"] = None
|
1280
|
-
__props__.__dict__["executing_job_id"] = None
|
1281
|
-
__props__.__dict__["lifecycle_details"] = None
|
1282
|
-
__props__.__dict__["state"] = None
|
1283
|
-
__props__.__dict__["system_tags"] = None
|
1284
|
-
__props__.__dict__["time_created"] = None
|
1285
|
-
__props__.__dict__["time_last_migration"] = None
|
1286
|
-
__props__.__dict__["time_updated"] = None
|
1287
|
-
__props__.__dict__["wait_after"] = None
|
1288
|
-
super(Migration, __self__).__init__(
|
1289
|
-
'oci:DatabaseMigration/migration:Migration',
|
1290
|
-
resource_name,
|
1291
|
-
__props__,
|
1292
|
-
opts)
|
1293
|
-
|
1294
|
-
@staticmethod
|
1295
|
-
def get(resource_name: str,
|
1296
|
-
id: pulumi.Input[str],
|
1297
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
1298
|
-
advisor_settings: Optional[pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']]] = None,
|
1299
|
-
agent_id: Optional[pulumi.Input[str]] = None,
|
1300
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
1301
|
-
credentials_secret_id: Optional[pulumi.Input[str]] = None,
|
1302
|
-
csv_text: Optional[pulumi.Input[str]] = None,
|
1303
|
-
data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None,
|
1304
|
-
data_transfer_medium_details_v2: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsV2Args']]] = None,
|
1305
|
-
datapump_settings: Optional[pulumi.Input[pulumi.InputType['MigrationDatapumpSettingsArgs']]] = None,
|
1306
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1307
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
1308
|
-
dump_transfer_details: Optional[pulumi.Input[pulumi.InputType['MigrationDumpTransferDetailsArgs']]] = None,
|
1309
|
-
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]]] = None,
|
1310
|
-
executing_job_id: Optional[pulumi.Input[str]] = None,
|
1311
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1312
|
-
golden_gate_details: Optional[pulumi.Input[pulumi.InputType['MigrationGoldenGateDetailsArgs']]] = None,
|
1313
|
-
golden_gate_service_details: Optional[pulumi.Input[pulumi.InputType['MigrationGoldenGateServiceDetailsArgs']]] = None,
|
1314
|
-
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]]] = None,
|
1315
|
-
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
1316
|
-
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1317
|
-
source_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1318
|
-
state: Optional[pulumi.Input[str]] = None,
|
1319
|
-
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1320
|
-
target_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1321
|
-
time_created: Optional[pulumi.Input[str]] = None,
|
1322
|
-
time_last_migration: Optional[pulumi.Input[str]] = None,
|
1323
|
-
time_updated: Optional[pulumi.Input[str]] = None,
|
1324
|
-
type: Optional[pulumi.Input[str]] = None,
|
1325
|
-
vault_details: Optional[pulumi.Input[pulumi.InputType['MigrationVaultDetailsArgs']]] = None,
|
1326
|
-
wait_after: Optional[pulumi.Input[str]] = None) -> 'Migration':
|
1327
|
-
"""
|
1328
|
-
Get an existing Migration resource's state with the given name, id, and optional extra
|
1329
|
-
properties used to qualify the lookup.
|
1330
|
-
|
1331
|
-
:param str resource_name: The unique name of the resulting resource.
|
1332
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1333
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
1334
|
-
:param pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']] advisor_settings: (Updatable) Optional Pre-Migration advisor settings.
|
1335
|
-
:param pulumi.Input[str] agent_id: (Updatable) The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
|
1336
|
-
:param pulumi.Input[str] compartment_id: (Updatable) OCID of the compartment
|
1337
|
-
:param pulumi.Input[str] credentials_secret_id: OCID of the Secret in the Oracle Cloud Infrastructure vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
|
1338
|
-
:param pulumi.Input[str] csv_text: Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null.
|
1339
|
-
:param pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']] data_transfer_medium_details: (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.
|
1340
|
-
:param pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsV2Args']] data_transfer_medium_details_v2: (Updatable) Optional additional properties for dump transfer in source or target host.
|
1341
|
-
:param pulumi.Input[pulumi.InputType['MigrationDatapumpSettingsArgs']] datapump_settings: (Updatable) Optional settings for Data Pump Export and Import jobs
|
1342
|
-
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
1343
|
-
:param pulumi.Input[str] display_name: (Updatable) Migration Display Name
|
1344
|
-
:param pulumi.Input[pulumi.InputType['MigrationDumpTransferDetailsArgs']] dump_transfer_details: (Updatable) Optional additional properties for dump transfer.
|
1345
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]] exclude_objects: (Updatable) Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
1346
|
-
:param pulumi.Input[str] executing_job_id: OCID of the current ODMS Job in execution for the Migration, if any.
|
1347
|
-
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
1348
|
-
:param pulumi.Input[pulumi.InputType['MigrationGoldenGateDetailsArgs']] golden_gate_details: (Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration.
|
1349
|
-
:param pulumi.Input[pulumi.InputType['MigrationGoldenGateServiceDetailsArgs']] golden_gate_service_details: (Updatable) Details about Oracle GoldenGate GGS Deployment.
|
1350
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]] include_objects: (Updatable) Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
1351
|
-
:param pulumi.Input[str] lifecycle_details: Additional status related to the execution and current state of the Migration.
|
1352
|
-
:param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases.
|
1353
|
-
:param pulumi.Input[str] source_database_connection_id: (Updatable) The OCID of the Source Database Connection.
|
1354
|
-
:param pulumi.Input[str] state: The current state of the Migration resource.
|
1355
|
-
:param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1356
|
-
:param pulumi.Input[str] target_database_connection_id: (Updatable) The OCID of the Target Database Connection.
|
1357
|
-
:param pulumi.Input[str] time_created: The time the Migration was created. An RFC3339 formatted datetime string.
|
1358
|
-
:param pulumi.Input[str] time_last_migration: The time of last Migration. An RFC3339 formatted datetime string.
|
1359
|
-
:param pulumi.Input[str] time_updated: The time of the last Migration details update. An RFC3339 formatted datetime string.
|
1360
|
-
:param pulumi.Input[str] type: (Updatable) Migration type.
|
1361
|
-
:param pulumi.Input[pulumi.InputType['MigrationVaultDetailsArgs']] vault_details: (Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
|
1362
|
-
:param pulumi.Input[str] wait_after: Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called.
|
1363
|
-
"""
|
1364
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1365
|
-
|
1366
|
-
__props__ = _MigrationState.__new__(_MigrationState)
|
1367
|
-
|
1368
|
-
__props__.__dict__["advisor_settings"] = advisor_settings
|
1369
|
-
__props__.__dict__["agent_id"] = agent_id
|
1370
|
-
__props__.__dict__["compartment_id"] = compartment_id
|
1371
|
-
__props__.__dict__["credentials_secret_id"] = credentials_secret_id
|
1372
|
-
__props__.__dict__["csv_text"] = csv_text
|
1373
|
-
__props__.__dict__["data_transfer_medium_details"] = data_transfer_medium_details
|
1374
|
-
__props__.__dict__["data_transfer_medium_details_v2"] = data_transfer_medium_details_v2
|
1375
|
-
__props__.__dict__["datapump_settings"] = datapump_settings
|
1376
|
-
__props__.__dict__["defined_tags"] = defined_tags
|
1377
|
-
__props__.__dict__["display_name"] = display_name
|
1378
|
-
__props__.__dict__["dump_transfer_details"] = dump_transfer_details
|
1379
|
-
__props__.__dict__["exclude_objects"] = exclude_objects
|
1380
|
-
__props__.__dict__["executing_job_id"] = executing_job_id
|
1381
|
-
__props__.__dict__["freeform_tags"] = freeform_tags
|
1382
|
-
__props__.__dict__["golden_gate_details"] = golden_gate_details
|
1383
|
-
__props__.__dict__["golden_gate_service_details"] = golden_gate_service_details
|
1384
|
-
__props__.__dict__["include_objects"] = include_objects
|
1385
|
-
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
1386
|
-
__props__.__dict__["source_container_database_connection_id"] = source_container_database_connection_id
|
1387
|
-
__props__.__dict__["source_database_connection_id"] = source_database_connection_id
|
1388
|
-
__props__.__dict__["state"] = state
|
1389
|
-
__props__.__dict__["system_tags"] = system_tags
|
1390
|
-
__props__.__dict__["target_database_connection_id"] = target_database_connection_id
|
1391
|
-
__props__.__dict__["time_created"] = time_created
|
1392
|
-
__props__.__dict__["time_last_migration"] = time_last_migration
|
1393
|
-
__props__.__dict__["time_updated"] = time_updated
|
1394
|
-
__props__.__dict__["type"] = type
|
1395
|
-
__props__.__dict__["vault_details"] = vault_details
|
1396
|
-
__props__.__dict__["wait_after"] = wait_after
|
1397
|
-
return Migration(resource_name, opts=opts, __props__=__props__)
|
1398
|
-
|
1399
|
-
@property
|
1400
|
-
@pulumi.getter(name="advisorSettings")
|
1401
|
-
def advisor_settings(self) -> pulumi.Output['outputs.MigrationAdvisorSettings']:
|
1402
|
-
"""
|
1403
|
-
(Updatable) Optional Pre-Migration advisor settings.
|
1404
|
-
"""
|
1405
|
-
return pulumi.get(self, "advisor_settings")
|
1406
|
-
|
1407
|
-
@property
|
1408
|
-
@pulumi.getter(name="agentId")
|
1409
|
-
def agent_id(self) -> pulumi.Output[str]:
|
1410
|
-
"""
|
1411
|
-
(Updatable) The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
|
1412
|
-
"""
|
1413
|
-
return pulumi.get(self, "agent_id")
|
1414
|
-
|
1415
|
-
@property
|
1416
|
-
@pulumi.getter(name="compartmentId")
|
1417
|
-
def compartment_id(self) -> pulumi.Output[str]:
|
1418
|
-
"""
|
1419
|
-
(Updatable) OCID of the compartment
|
1420
|
-
"""
|
1421
|
-
return pulumi.get(self, "compartment_id")
|
1422
|
-
|
1423
|
-
@property
|
1424
|
-
@pulumi.getter(name="credentialsSecretId")
|
1425
|
-
def credentials_secret_id(self) -> pulumi.Output[str]:
|
1426
|
-
"""
|
1427
|
-
OCID of the Secret in the Oracle Cloud Infrastructure vault containing the Migration credentials. Used to store GoldenGate administrator user credentials.
|
1428
|
-
"""
|
1429
|
-
return pulumi.get(self, "credentials_secret_id")
|
1430
|
-
|
1431
|
-
@property
|
1432
|
-
@pulumi.getter(name="csvText")
|
1433
|
-
def csv_text(self) -> pulumi.Output[str]:
|
1434
|
-
"""
|
1435
|
-
Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null.
|
1436
|
-
"""
|
1437
|
-
return pulumi.get(self, "csv_text")
|
1438
|
-
|
1439
|
-
@property
|
1440
|
-
@pulumi.getter(name="dataTransferMediumDetails")
|
1441
|
-
def data_transfer_medium_details(self) -> pulumi.Output['outputs.MigrationDataTransferMediumDetails']:
|
1442
|
-
"""
|
1443
|
-
(Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.
|
1444
|
-
"""
|
1445
|
-
return pulumi.get(self, "data_transfer_medium_details")
|
1446
|
-
|
1447
|
-
@property
|
1448
|
-
@pulumi.getter(name="dataTransferMediumDetailsV2")
|
1449
|
-
def data_transfer_medium_details_v2(self) -> pulumi.Output['outputs.MigrationDataTransferMediumDetailsV2']:
|
1450
|
-
"""
|
1451
|
-
(Updatable) Optional additional properties for dump transfer in source or target host.
|
1452
|
-
"""
|
1453
|
-
return pulumi.get(self, "data_transfer_medium_details_v2")
|
1454
|
-
|
1455
|
-
@property
|
1456
|
-
@pulumi.getter(name="datapumpSettings")
|
1457
|
-
def datapump_settings(self) -> pulumi.Output['outputs.MigrationDatapumpSettings']:
|
1458
|
-
"""
|
1459
|
-
(Updatable) Optional settings for Data Pump Export and Import jobs
|
1460
|
-
"""
|
1461
|
-
return pulumi.get(self, "datapump_settings")
|
1462
|
-
|
1463
|
-
@property
|
1464
|
-
@pulumi.getter(name="definedTags")
|
1465
|
-
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1466
|
-
"""
|
1467
|
-
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
1468
|
-
"""
|
1469
|
-
return pulumi.get(self, "defined_tags")
|
1470
|
-
|
1471
|
-
@property
|
1472
|
-
@pulumi.getter(name="displayName")
|
1473
|
-
def display_name(self) -> pulumi.Output[str]:
|
1474
|
-
"""
|
1475
|
-
(Updatable) Migration Display Name
|
1476
|
-
"""
|
1477
|
-
return pulumi.get(self, "display_name")
|
1478
|
-
|
1479
|
-
@property
|
1480
|
-
@pulumi.getter(name="dumpTransferDetails")
|
1481
|
-
def dump_transfer_details(self) -> pulumi.Output['outputs.MigrationDumpTransferDetails']:
|
1482
|
-
"""
|
1483
|
-
(Updatable) Optional additional properties for dump transfer.
|
1484
|
-
"""
|
1485
|
-
return pulumi.get(self, "dump_transfer_details")
|
1486
|
-
|
1487
|
-
@property
|
1488
|
-
@pulumi.getter(name="excludeObjects")
|
1489
|
-
def exclude_objects(self) -> pulumi.Output[Sequence['outputs.MigrationExcludeObject']]:
|
1490
|
-
"""
|
1491
|
-
(Updatable) Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
1492
|
-
"""
|
1493
|
-
return pulumi.get(self, "exclude_objects")
|
1494
|
-
|
1495
|
-
@property
|
1496
|
-
@pulumi.getter(name="executingJobId")
|
1497
|
-
def executing_job_id(self) -> pulumi.Output[str]:
|
1498
|
-
"""
|
1499
|
-
OCID of the current ODMS Job in execution for the Migration, if any.
|
1500
|
-
"""
|
1501
|
-
return pulumi.get(self, "executing_job_id")
|
1502
|
-
|
1503
|
-
@property
|
1504
|
-
@pulumi.getter(name="freeformTags")
|
1505
|
-
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1506
|
-
"""
|
1507
|
-
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
1508
|
-
"""
|
1509
|
-
return pulumi.get(self, "freeform_tags")
|
1510
|
-
|
1511
|
-
@property
|
1512
|
-
@pulumi.getter(name="goldenGateDetails")
|
1513
|
-
def golden_gate_details(self) -> pulumi.Output['outputs.MigrationGoldenGateDetails']:
|
1514
|
-
"""
|
1515
|
-
(Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration.
|
1516
|
-
"""
|
1517
|
-
return pulumi.get(self, "golden_gate_details")
|
1518
|
-
|
1519
|
-
@property
|
1520
|
-
@pulumi.getter(name="goldenGateServiceDetails")
|
1521
|
-
def golden_gate_service_details(self) -> pulumi.Output['outputs.MigrationGoldenGateServiceDetails']:
|
1522
|
-
"""
|
1523
|
-
(Updatable) Details about Oracle GoldenGate GGS Deployment.
|
1524
|
-
"""
|
1525
|
-
return pulumi.get(self, "golden_gate_service_details")
|
1526
|
-
|
1527
|
-
@property
|
1528
|
-
@pulumi.getter(name="includeObjects")
|
1529
|
-
def include_objects(self) -> pulumi.Output[Sequence['outputs.MigrationIncludeObject']]:
|
1530
|
-
"""
|
1531
|
-
(Updatable) Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
1532
|
-
"""
|
1533
|
-
return pulumi.get(self, "include_objects")
|
1534
|
-
|
1535
|
-
@property
|
1536
|
-
@pulumi.getter(name="lifecycleDetails")
|
1537
|
-
def lifecycle_details(self) -> pulumi.Output[str]:
|
1538
|
-
"""
|
1539
|
-
Additional status related to the execution and current state of the Migration.
|
1540
|
-
"""
|
1541
|
-
return pulumi.get(self, "lifecycle_details")
|
1542
|
-
|
1543
|
-
@property
|
1544
|
-
@pulumi.getter(name="sourceContainerDatabaseConnectionId")
|
1545
|
-
def source_container_database_connection_id(self) -> pulumi.Output[str]:
|
1546
|
-
"""
|
1547
|
-
(Updatable) The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases.
|
1548
|
-
"""
|
1549
|
-
return pulumi.get(self, "source_container_database_connection_id")
|
1550
|
-
|
1551
|
-
@property
|
1552
|
-
@pulumi.getter(name="sourceDatabaseConnectionId")
|
1553
|
-
def source_database_connection_id(self) -> pulumi.Output[str]:
|
1554
|
-
"""
|
1555
|
-
(Updatable) The OCID of the Source Database Connection.
|
1556
|
-
"""
|
1557
|
-
return pulumi.get(self, "source_database_connection_id")
|
1558
|
-
|
1559
|
-
@property
|
1560
|
-
@pulumi.getter
|
1561
|
-
def state(self) -> pulumi.Output[str]:
|
1562
|
-
"""
|
1563
|
-
The current state of the Migration resource.
|
1564
|
-
"""
|
1565
|
-
return pulumi.get(self, "state")
|
1566
|
-
|
1567
|
-
@property
|
1568
|
-
@pulumi.getter(name="systemTags")
|
1569
|
-
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1570
|
-
"""
|
1571
|
-
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1572
|
-
"""
|
1573
|
-
return pulumi.get(self, "system_tags")
|
1574
|
-
|
1575
|
-
@property
|
1576
|
-
@pulumi.getter(name="targetDatabaseConnectionId")
|
1577
|
-
def target_database_connection_id(self) -> pulumi.Output[str]:
|
1578
|
-
"""
|
1579
|
-
(Updatable) The OCID of the Target Database Connection.
|
1580
|
-
"""
|
1581
|
-
return pulumi.get(self, "target_database_connection_id")
|
1582
|
-
|
1583
|
-
@property
|
1584
|
-
@pulumi.getter(name="timeCreated")
|
1585
|
-
def time_created(self) -> pulumi.Output[str]:
|
1586
|
-
"""
|
1587
|
-
The time the Migration was created. An RFC3339 formatted datetime string.
|
1588
|
-
"""
|
1589
|
-
return pulumi.get(self, "time_created")
|
1590
|
-
|
1591
|
-
@property
|
1592
|
-
@pulumi.getter(name="timeLastMigration")
|
1593
|
-
def time_last_migration(self) -> pulumi.Output[str]:
|
1594
|
-
"""
|
1595
|
-
The time of last Migration. An RFC3339 formatted datetime string.
|
1596
|
-
"""
|
1597
|
-
return pulumi.get(self, "time_last_migration")
|
1598
|
-
|
1599
|
-
@property
|
1600
|
-
@pulumi.getter(name="timeUpdated")
|
1601
|
-
def time_updated(self) -> pulumi.Output[str]:
|
1602
|
-
"""
|
1603
|
-
The time of the last Migration details update. An RFC3339 formatted datetime string.
|
1604
|
-
"""
|
1605
|
-
return pulumi.get(self, "time_updated")
|
1606
|
-
|
1607
|
-
@property
|
1608
|
-
@pulumi.getter
|
1609
|
-
def type(self) -> pulumi.Output[str]:
|
1610
|
-
"""
|
1611
|
-
(Updatable) Migration type.
|
1612
|
-
"""
|
1613
|
-
return pulumi.get(self, "type")
|
1614
|
-
|
1615
|
-
@property
|
1616
|
-
@pulumi.getter(name="vaultDetails")
|
1617
|
-
def vault_details(self) -> pulumi.Output['outputs.MigrationVaultDetails']:
|
1618
|
-
"""
|
1619
|
-
(Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets
|
1620
|
-
"""
|
1621
|
-
return pulumi.get(self, "vault_details")
|
1622
|
-
|
1623
|
-
@property
|
1624
|
-
@pulumi.getter(name="waitAfter")
|
1625
|
-
def wait_after(self) -> pulumi.Output[str]:
|
1626
|
-
"""
|
1627
|
-
Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called.
|
1628
|
-
"""
|
1629
|
-
return pulumi.get(self, "wait_after")
|
1630
|
-
|