pulumi-oci 2.1.0a1719958917__py3-none-any.whl → 2.1.0a1720054142__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +43 -0
- pulumi_oci/database/__init__.py +11 -0
- pulumi_oci/database/_inputs.py +607 -0
- pulumi_oci/database/db_node.py +28 -0
- pulumi_oci/database/exadb_vm_cluster.py +1761 -0
- pulumi_oci/database/exascale_db_storage_vault.py +787 -0
- pulumi_oci/database/get_backups.py +22 -5
- pulumi_oci/database/get_db_node.py +14 -1
- pulumi_oci/database/get_db_nodes.py +2 -2
- pulumi_oci/database/get_exadb_vm_cluster.py +614 -0
- pulumi_oci/database/get_exadb_vm_cluster_update.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entries.py +153 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entry.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_updates.py +173 -0
- pulumi_oci/database/get_exadb_vm_clusters.py +196 -0
- pulumi_oci/database/get_exascale_db_storage_vault.py +301 -0
- pulumi_oci/database/get_exascale_db_storage_vaults.py +176 -0
- pulumi_oci/database/get_gi_version_minor_versions.py +221 -0
- pulumi_oci/database/get_gi_versions.py +22 -5
- pulumi_oci/database/outputs.py +2050 -0
- pulumi_oci/database/pluggable_database.py +7 -7
- pulumi_oci/databasemigration/__init__.py +6 -0
- pulumi_oci/databasemigration/_inputs.py +1577 -0
- pulumi_oci/databasemigration/connection.py +2019 -0
- pulumi_oci/databasemigration/get_connection.py +616 -0
- pulumi_oci/databasemigration/get_connections.py +225 -0
- pulumi_oci/databasemigration/get_job_advisor_report.py +2 -10
- pulumi_oci/databasemigration/get_migration.py +427 -0
- pulumi_oci/databasemigration/get_migration_object_types.py +24 -13
- pulumi_oci/databasemigration/get_migrations.py +407 -0
- pulumi_oci/databasemigration/job.py +16 -20
- pulumi_oci/databasemigration/migration.py +1471 -0
- pulumi_oci/databasemigration/outputs.py +4301 -73
- pulumi_oci/filestorage/_inputs.py +10 -18
- pulumi_oci/filestorage/export.py +28 -7
- pulumi_oci/filestorage/file_system.py +159 -35
- pulumi_oci/filestorage/outputs.py +55 -34
- pulumi_oci/generativeai/_inputs.py +50 -2
- pulumi_oci/generativeai/dedicated_ai_cluster.py +30 -2
- pulumi_oci/generativeai/endpoint.py +2 -2
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +2 -47
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +2 -14
- pulumi_oci/generativeai/get_endpoint.py +2 -26
- pulumi_oci/generativeai/get_endpoints.py +2 -8
- pulumi_oci/generativeai/get_model.py +2 -38
- pulumi_oci/generativeai/get_models.py +2 -8
- pulumi_oci/generativeai/model.py +2 -2
- pulumi_oci/generativeai/outputs.py +86 -310
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/resourcescheduler/__init__.py +12 -0
- pulumi_oci/resourcescheduler/_inputs.py +224 -0
- pulumi_oci/resourcescheduler/get_schedule.py +340 -0
- pulumi_oci/resourcescheduler/get_schedules.py +193 -0
- pulumi_oci/resourcescheduler/outputs.py +687 -0
- pulumi_oci/resourcescheduler/schedule.py +977 -0
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/METADATA +1 -1
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/RECORD +59 -36
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1471 @@
|
|
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
|
+
database_combination: pulumi.Input[str],
|
21
|
+
source_database_connection_id: pulumi.Input[str],
|
22
|
+
target_database_connection_id: pulumi.Input[str],
|
23
|
+
type: pulumi.Input[str],
|
24
|
+
advisor_settings: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']] = None,
|
25
|
+
bulk_include_exclude_data: Optional[pulumi.Input[str]] = None,
|
26
|
+
data_transfer_medium_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']] = None,
|
27
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
28
|
+
description: Optional[pulumi.Input[str]] = None,
|
29
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
30
|
+
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]] = None,
|
31
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
32
|
+
ggs_details: Optional[pulumi.Input['MigrationGgsDetailsArgs']] = None,
|
33
|
+
hub_details: Optional[pulumi.Input['MigrationHubDetailsArgs']] = None,
|
34
|
+
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]] = None,
|
35
|
+
initial_load_settings: Optional[pulumi.Input['MigrationInitialLoadSettingsArgs']] = None,
|
36
|
+
source_container_database_connection_id: Optional[pulumi.Input[str]] = None):
|
37
|
+
"""
|
38
|
+
The set of arguments for constructing a Migration resource.
|
39
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the resource being referenced.
|
40
|
+
:param pulumi.Input[str] database_combination: (Updatable) The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
|
41
|
+
:param pulumi.Input[str] source_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
42
|
+
:param pulumi.Input[str] target_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
43
|
+
:param pulumi.Input[str] type: (Updatable) The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
|
44
|
+
|
45
|
+
|
46
|
+
** IMPORTANT **
|
47
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
48
|
+
:param pulumi.Input['MigrationAdvisorSettingsArgs'] advisor_settings: (Updatable) Optional Pre-Migration advisor settings.
|
49
|
+
:param pulumi.Input[str] bulk_include_exclude_data: Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.
|
50
|
+
:param pulumi.Input['MigrationDataTransferMediumDetailsArgs'] data_transfer_medium_details: (Updatable) Optional additional properties for data transfer.
|
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] description: (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
53
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]] exclude_objects: Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
55
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
|
56
|
+
:param pulumi.Input['MigrationGgsDetailsArgs'] ggs_details: (Updatable) Optional settings for Oracle GoldenGate processes
|
57
|
+
:param pulumi.Input['MigrationHubDetailsArgs'] hub_details: (Updatable) Details about Oracle GoldenGate Microservices.
|
58
|
+
:param pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]] include_objects: Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
59
|
+
:param pulumi.Input['MigrationInitialLoadSettingsArgs'] initial_load_settings: (Updatable) Optional settings for Data Pump Export and Import jobs
|
60
|
+
:param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
61
|
+
"""
|
62
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
63
|
+
pulumi.set(__self__, "database_combination", database_combination)
|
64
|
+
pulumi.set(__self__, "source_database_connection_id", source_database_connection_id)
|
65
|
+
pulumi.set(__self__, "target_database_connection_id", target_database_connection_id)
|
66
|
+
pulumi.set(__self__, "type", type)
|
67
|
+
if advisor_settings is not None:
|
68
|
+
pulumi.set(__self__, "advisor_settings", advisor_settings)
|
69
|
+
if bulk_include_exclude_data is not None:
|
70
|
+
pulumi.set(__self__, "bulk_include_exclude_data", bulk_include_exclude_data)
|
71
|
+
if data_transfer_medium_details is not None:
|
72
|
+
pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details)
|
73
|
+
if defined_tags is not None:
|
74
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
75
|
+
if description is not None:
|
76
|
+
pulumi.set(__self__, "description", description)
|
77
|
+
if display_name is not None:
|
78
|
+
pulumi.set(__self__, "display_name", display_name)
|
79
|
+
if exclude_objects is not None:
|
80
|
+
pulumi.set(__self__, "exclude_objects", exclude_objects)
|
81
|
+
if freeform_tags is not None:
|
82
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
83
|
+
if ggs_details is not None:
|
84
|
+
pulumi.set(__self__, "ggs_details", ggs_details)
|
85
|
+
if hub_details is not None:
|
86
|
+
pulumi.set(__self__, "hub_details", hub_details)
|
87
|
+
if include_objects is not None:
|
88
|
+
pulumi.set(__self__, "include_objects", include_objects)
|
89
|
+
if initial_load_settings is not None:
|
90
|
+
pulumi.set(__self__, "initial_load_settings", initial_load_settings)
|
91
|
+
if source_container_database_connection_id is not None:
|
92
|
+
pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="compartmentId")
|
96
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
97
|
+
"""
|
98
|
+
(Updatable) The OCID of the resource being referenced.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "compartment_id")
|
101
|
+
|
102
|
+
@compartment_id.setter
|
103
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
104
|
+
pulumi.set(self, "compartment_id", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="databaseCombination")
|
108
|
+
def database_combination(self) -> pulumi.Input[str]:
|
109
|
+
"""
|
110
|
+
(Updatable) The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "database_combination")
|
113
|
+
|
114
|
+
@database_combination.setter
|
115
|
+
def database_combination(self, value: pulumi.Input[str]):
|
116
|
+
pulumi.set(self, "database_combination", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="sourceDatabaseConnectionId")
|
120
|
+
def source_database_connection_id(self) -> pulumi.Input[str]:
|
121
|
+
"""
|
122
|
+
(Updatable) The OCID of the resource being referenced.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "source_database_connection_id")
|
125
|
+
|
126
|
+
@source_database_connection_id.setter
|
127
|
+
def source_database_connection_id(self, value: pulumi.Input[str]):
|
128
|
+
pulumi.set(self, "source_database_connection_id", value)
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="targetDatabaseConnectionId")
|
132
|
+
def target_database_connection_id(self) -> pulumi.Input[str]:
|
133
|
+
"""
|
134
|
+
(Updatable) The OCID of the resource being referenced.
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "target_database_connection_id")
|
137
|
+
|
138
|
+
@target_database_connection_id.setter
|
139
|
+
def target_database_connection_id(self, value: pulumi.Input[str]):
|
140
|
+
pulumi.set(self, "target_database_connection_id", value)
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter
|
144
|
+
def type(self) -> pulumi.Input[str]:
|
145
|
+
"""
|
146
|
+
(Updatable) The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
|
147
|
+
|
148
|
+
|
149
|
+
** IMPORTANT **
|
150
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "type")
|
153
|
+
|
154
|
+
@type.setter
|
155
|
+
def type(self, value: pulumi.Input[str]):
|
156
|
+
pulumi.set(self, "type", value)
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="advisorSettings")
|
160
|
+
def advisor_settings(self) -> Optional[pulumi.Input['MigrationAdvisorSettingsArgs']]:
|
161
|
+
"""
|
162
|
+
(Updatable) Optional Pre-Migration advisor settings.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "advisor_settings")
|
165
|
+
|
166
|
+
@advisor_settings.setter
|
167
|
+
def advisor_settings(self, value: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']]):
|
168
|
+
pulumi.set(self, "advisor_settings", value)
|
169
|
+
|
170
|
+
@property
|
171
|
+
@pulumi.getter(name="bulkIncludeExcludeData")
|
172
|
+
def bulk_include_exclude_data(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
"""
|
174
|
+
Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "bulk_include_exclude_data")
|
177
|
+
|
178
|
+
@bulk_include_exclude_data.setter
|
179
|
+
def bulk_include_exclude_data(self, value: Optional[pulumi.Input[str]]):
|
180
|
+
pulumi.set(self, "bulk_include_exclude_data", value)
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter(name="dataTransferMediumDetails")
|
184
|
+
def data_transfer_medium_details(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]:
|
185
|
+
"""
|
186
|
+
(Updatable) Optional additional properties for data transfer.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "data_transfer_medium_details")
|
189
|
+
|
190
|
+
@data_transfer_medium_details.setter
|
191
|
+
def data_transfer_medium_details(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]):
|
192
|
+
pulumi.set(self, "data_transfer_medium_details", value)
|
193
|
+
|
194
|
+
@property
|
195
|
+
@pulumi.getter(name="definedTags")
|
196
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
197
|
+
"""
|
198
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "defined_tags")
|
201
|
+
|
202
|
+
@defined_tags.setter
|
203
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
204
|
+
pulumi.set(self, "defined_tags", value)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
209
|
+
"""
|
210
|
+
(Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "description")
|
213
|
+
|
214
|
+
@description.setter
|
215
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
216
|
+
pulumi.set(self, "description", value)
|
217
|
+
|
218
|
+
@property
|
219
|
+
@pulumi.getter(name="displayName")
|
220
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
221
|
+
"""
|
222
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
223
|
+
"""
|
224
|
+
return pulumi.get(self, "display_name")
|
225
|
+
|
226
|
+
@display_name.setter
|
227
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
228
|
+
pulumi.set(self, "display_name", value)
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="excludeObjects")
|
232
|
+
def exclude_objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]]:
|
233
|
+
"""
|
234
|
+
Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "exclude_objects")
|
237
|
+
|
238
|
+
@exclude_objects.setter
|
239
|
+
def exclude_objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]]):
|
240
|
+
pulumi.set(self, "exclude_objects", value)
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter(name="freeformTags")
|
244
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
245
|
+
"""
|
246
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "freeform_tags")
|
249
|
+
|
250
|
+
@freeform_tags.setter
|
251
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
252
|
+
pulumi.set(self, "freeform_tags", value)
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="ggsDetails")
|
256
|
+
def ggs_details(self) -> Optional[pulumi.Input['MigrationGgsDetailsArgs']]:
|
257
|
+
"""
|
258
|
+
(Updatable) Optional settings for Oracle GoldenGate processes
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "ggs_details")
|
261
|
+
|
262
|
+
@ggs_details.setter
|
263
|
+
def ggs_details(self, value: Optional[pulumi.Input['MigrationGgsDetailsArgs']]):
|
264
|
+
pulumi.set(self, "ggs_details", value)
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter(name="hubDetails")
|
268
|
+
def hub_details(self) -> Optional[pulumi.Input['MigrationHubDetailsArgs']]:
|
269
|
+
"""
|
270
|
+
(Updatable) Details about Oracle GoldenGate Microservices.
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "hub_details")
|
273
|
+
|
274
|
+
@hub_details.setter
|
275
|
+
def hub_details(self, value: Optional[pulumi.Input['MigrationHubDetailsArgs']]):
|
276
|
+
pulumi.set(self, "hub_details", value)
|
277
|
+
|
278
|
+
@property
|
279
|
+
@pulumi.getter(name="includeObjects")
|
280
|
+
def include_objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]]:
|
281
|
+
"""
|
282
|
+
Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
283
|
+
"""
|
284
|
+
return pulumi.get(self, "include_objects")
|
285
|
+
|
286
|
+
@include_objects.setter
|
287
|
+
def include_objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]]):
|
288
|
+
pulumi.set(self, "include_objects", value)
|
289
|
+
|
290
|
+
@property
|
291
|
+
@pulumi.getter(name="initialLoadSettings")
|
292
|
+
def initial_load_settings(self) -> Optional[pulumi.Input['MigrationInitialLoadSettingsArgs']]:
|
293
|
+
"""
|
294
|
+
(Updatable) Optional settings for Data Pump Export and Import jobs
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "initial_load_settings")
|
297
|
+
|
298
|
+
@initial_load_settings.setter
|
299
|
+
def initial_load_settings(self, value: Optional[pulumi.Input['MigrationInitialLoadSettingsArgs']]):
|
300
|
+
pulumi.set(self, "initial_load_settings", value)
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter(name="sourceContainerDatabaseConnectionId")
|
304
|
+
def source_container_database_connection_id(self) -> Optional[pulumi.Input[str]]:
|
305
|
+
"""
|
306
|
+
(Updatable) The OCID of the resource being referenced.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "source_container_database_connection_id")
|
309
|
+
|
310
|
+
@source_container_database_connection_id.setter
|
311
|
+
def source_container_database_connection_id(self, value: Optional[pulumi.Input[str]]):
|
312
|
+
pulumi.set(self, "source_container_database_connection_id", value)
|
313
|
+
|
314
|
+
|
315
|
+
@pulumi.input_type
|
316
|
+
class _MigrationState:
|
317
|
+
def __init__(__self__, *,
|
318
|
+
advisor_settings: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']] = None,
|
319
|
+
bulk_include_exclude_data: Optional[pulumi.Input[str]] = None,
|
320
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
321
|
+
data_transfer_medium_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']] = None,
|
322
|
+
database_combination: Optional[pulumi.Input[str]] = None,
|
323
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
324
|
+
description: Optional[pulumi.Input[str]] = None,
|
325
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
326
|
+
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]] = None,
|
327
|
+
executing_job_id: Optional[pulumi.Input[str]] = None,
|
328
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
329
|
+
ggs_details: Optional[pulumi.Input['MigrationGgsDetailsArgs']] = None,
|
330
|
+
hub_details: Optional[pulumi.Input['MigrationHubDetailsArgs']] = None,
|
331
|
+
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]] = None,
|
332
|
+
initial_load_settings: Optional[pulumi.Input['MigrationInitialLoadSettingsArgs']] = None,
|
333
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
334
|
+
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
335
|
+
source_database_connection_id: Optional[pulumi.Input[str]] = None,
|
336
|
+
state: Optional[pulumi.Input[str]] = None,
|
337
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
338
|
+
target_database_connection_id: Optional[pulumi.Input[str]] = None,
|
339
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
340
|
+
time_last_migration: Optional[pulumi.Input[str]] = None,
|
341
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
342
|
+
type: Optional[pulumi.Input[str]] = None,
|
343
|
+
wait_after: Optional[pulumi.Input[str]] = None):
|
344
|
+
"""
|
345
|
+
Input properties used for looking up and filtering Migration resources.
|
346
|
+
:param pulumi.Input['MigrationAdvisorSettingsArgs'] advisor_settings: (Updatable) Optional Pre-Migration advisor settings.
|
347
|
+
:param pulumi.Input[str] bulk_include_exclude_data: Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.
|
348
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the resource being referenced.
|
349
|
+
:param pulumi.Input['MigrationDataTransferMediumDetailsArgs'] data_transfer_medium_details: (Updatable) Optional additional properties for data transfer.
|
350
|
+
:param pulumi.Input[str] database_combination: (Updatable) The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
|
351
|
+
: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"}`
|
352
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
353
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
354
|
+
:param pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]] exclude_objects: Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
355
|
+
:param pulumi.Input[str] executing_job_id: The OCID of the resource being referenced.
|
356
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
|
357
|
+
:param pulumi.Input['MigrationGgsDetailsArgs'] ggs_details: (Updatable) Optional settings for Oracle GoldenGate processes
|
358
|
+
:param pulumi.Input['MigrationHubDetailsArgs'] hub_details: (Updatable) Details about Oracle GoldenGate Microservices.
|
359
|
+
:param pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]] include_objects: Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
360
|
+
:param pulumi.Input['MigrationInitialLoadSettingsArgs'] initial_load_settings: (Updatable) Optional settings for Data Pump Export and Import jobs
|
361
|
+
:param pulumi.Input[str] lifecycle_details: Additional status related to the execution and current state of the Migration.
|
362
|
+
:param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
363
|
+
:param pulumi.Input[str] source_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
364
|
+
:param pulumi.Input[str] state: The current state of the Migration resource.
|
365
|
+
: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"}`
|
366
|
+
:param pulumi.Input[str] target_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
367
|
+
:param pulumi.Input[str] time_created: An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
368
|
+
:param pulumi.Input[str] time_last_migration: An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
369
|
+
:param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
370
|
+
:param pulumi.Input[str] type: (Updatable) The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
|
371
|
+
|
372
|
+
|
373
|
+
** IMPORTANT **
|
374
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
375
|
+
:param pulumi.Input[str] wait_after: You can optionally pause a migration after a job phase. This property allows you to optionally specify the phase after which you can pause the migration.
|
376
|
+
"""
|
377
|
+
if advisor_settings is not None:
|
378
|
+
pulumi.set(__self__, "advisor_settings", advisor_settings)
|
379
|
+
if bulk_include_exclude_data is not None:
|
380
|
+
pulumi.set(__self__, "bulk_include_exclude_data", bulk_include_exclude_data)
|
381
|
+
if compartment_id is not None:
|
382
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
383
|
+
if data_transfer_medium_details is not None:
|
384
|
+
pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details)
|
385
|
+
if database_combination is not None:
|
386
|
+
pulumi.set(__self__, "database_combination", database_combination)
|
387
|
+
if defined_tags is not None:
|
388
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
389
|
+
if description is not None:
|
390
|
+
pulumi.set(__self__, "description", description)
|
391
|
+
if display_name is not None:
|
392
|
+
pulumi.set(__self__, "display_name", display_name)
|
393
|
+
if exclude_objects is not None:
|
394
|
+
pulumi.set(__self__, "exclude_objects", exclude_objects)
|
395
|
+
if executing_job_id is not None:
|
396
|
+
pulumi.set(__self__, "executing_job_id", executing_job_id)
|
397
|
+
if freeform_tags is not None:
|
398
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
399
|
+
if ggs_details is not None:
|
400
|
+
pulumi.set(__self__, "ggs_details", ggs_details)
|
401
|
+
if hub_details is not None:
|
402
|
+
pulumi.set(__self__, "hub_details", hub_details)
|
403
|
+
if include_objects is not None:
|
404
|
+
pulumi.set(__self__, "include_objects", include_objects)
|
405
|
+
if initial_load_settings is not None:
|
406
|
+
pulumi.set(__self__, "initial_load_settings", initial_load_settings)
|
407
|
+
if lifecycle_details is not None:
|
408
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
409
|
+
if source_container_database_connection_id is not None:
|
410
|
+
pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id)
|
411
|
+
if source_database_connection_id is not None:
|
412
|
+
pulumi.set(__self__, "source_database_connection_id", source_database_connection_id)
|
413
|
+
if state is not None:
|
414
|
+
pulumi.set(__self__, "state", state)
|
415
|
+
if system_tags is not None:
|
416
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
417
|
+
if target_database_connection_id is not None:
|
418
|
+
pulumi.set(__self__, "target_database_connection_id", target_database_connection_id)
|
419
|
+
if time_created is not None:
|
420
|
+
pulumi.set(__self__, "time_created", time_created)
|
421
|
+
if time_last_migration is not None:
|
422
|
+
pulumi.set(__self__, "time_last_migration", time_last_migration)
|
423
|
+
if time_updated is not None:
|
424
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
425
|
+
if type is not None:
|
426
|
+
pulumi.set(__self__, "type", type)
|
427
|
+
if wait_after is not None:
|
428
|
+
pulumi.set(__self__, "wait_after", wait_after)
|
429
|
+
|
430
|
+
@property
|
431
|
+
@pulumi.getter(name="advisorSettings")
|
432
|
+
def advisor_settings(self) -> Optional[pulumi.Input['MigrationAdvisorSettingsArgs']]:
|
433
|
+
"""
|
434
|
+
(Updatable) Optional Pre-Migration advisor settings.
|
435
|
+
"""
|
436
|
+
return pulumi.get(self, "advisor_settings")
|
437
|
+
|
438
|
+
@advisor_settings.setter
|
439
|
+
def advisor_settings(self, value: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']]):
|
440
|
+
pulumi.set(self, "advisor_settings", value)
|
441
|
+
|
442
|
+
@property
|
443
|
+
@pulumi.getter(name="bulkIncludeExcludeData")
|
444
|
+
def bulk_include_exclude_data(self) -> Optional[pulumi.Input[str]]:
|
445
|
+
"""
|
446
|
+
Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.
|
447
|
+
"""
|
448
|
+
return pulumi.get(self, "bulk_include_exclude_data")
|
449
|
+
|
450
|
+
@bulk_include_exclude_data.setter
|
451
|
+
def bulk_include_exclude_data(self, value: Optional[pulumi.Input[str]]):
|
452
|
+
pulumi.set(self, "bulk_include_exclude_data", value)
|
453
|
+
|
454
|
+
@property
|
455
|
+
@pulumi.getter(name="compartmentId")
|
456
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
457
|
+
"""
|
458
|
+
(Updatable) The OCID of the resource being referenced.
|
459
|
+
"""
|
460
|
+
return pulumi.get(self, "compartment_id")
|
461
|
+
|
462
|
+
@compartment_id.setter
|
463
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
464
|
+
pulumi.set(self, "compartment_id", value)
|
465
|
+
|
466
|
+
@property
|
467
|
+
@pulumi.getter(name="dataTransferMediumDetails")
|
468
|
+
def data_transfer_medium_details(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]:
|
469
|
+
"""
|
470
|
+
(Updatable) Optional additional properties for data transfer.
|
471
|
+
"""
|
472
|
+
return pulumi.get(self, "data_transfer_medium_details")
|
473
|
+
|
474
|
+
@data_transfer_medium_details.setter
|
475
|
+
def data_transfer_medium_details(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]):
|
476
|
+
pulumi.set(self, "data_transfer_medium_details", value)
|
477
|
+
|
478
|
+
@property
|
479
|
+
@pulumi.getter(name="databaseCombination")
|
480
|
+
def database_combination(self) -> Optional[pulumi.Input[str]]:
|
481
|
+
"""
|
482
|
+
(Updatable) The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
|
483
|
+
"""
|
484
|
+
return pulumi.get(self, "database_combination")
|
485
|
+
|
486
|
+
@database_combination.setter
|
487
|
+
def database_combination(self, value: Optional[pulumi.Input[str]]):
|
488
|
+
pulumi.set(self, "database_combination", value)
|
489
|
+
|
490
|
+
@property
|
491
|
+
@pulumi.getter(name="definedTags")
|
492
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
493
|
+
"""
|
494
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
495
|
+
"""
|
496
|
+
return pulumi.get(self, "defined_tags")
|
497
|
+
|
498
|
+
@defined_tags.setter
|
499
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
500
|
+
pulumi.set(self, "defined_tags", value)
|
501
|
+
|
502
|
+
@property
|
503
|
+
@pulumi.getter
|
504
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
505
|
+
"""
|
506
|
+
(Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
507
|
+
"""
|
508
|
+
return pulumi.get(self, "description")
|
509
|
+
|
510
|
+
@description.setter
|
511
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
512
|
+
pulumi.set(self, "description", value)
|
513
|
+
|
514
|
+
@property
|
515
|
+
@pulumi.getter(name="displayName")
|
516
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
517
|
+
"""
|
518
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
519
|
+
"""
|
520
|
+
return pulumi.get(self, "display_name")
|
521
|
+
|
522
|
+
@display_name.setter
|
523
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
524
|
+
pulumi.set(self, "display_name", value)
|
525
|
+
|
526
|
+
@property
|
527
|
+
@pulumi.getter(name="excludeObjects")
|
528
|
+
def exclude_objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]]:
|
529
|
+
"""
|
530
|
+
Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
531
|
+
"""
|
532
|
+
return pulumi.get(self, "exclude_objects")
|
533
|
+
|
534
|
+
@exclude_objects.setter
|
535
|
+
def exclude_objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]]):
|
536
|
+
pulumi.set(self, "exclude_objects", value)
|
537
|
+
|
538
|
+
@property
|
539
|
+
@pulumi.getter(name="executingJobId")
|
540
|
+
def executing_job_id(self) -> Optional[pulumi.Input[str]]:
|
541
|
+
"""
|
542
|
+
The OCID of the resource being referenced.
|
543
|
+
"""
|
544
|
+
return pulumi.get(self, "executing_job_id")
|
545
|
+
|
546
|
+
@executing_job_id.setter
|
547
|
+
def executing_job_id(self, value: Optional[pulumi.Input[str]]):
|
548
|
+
pulumi.set(self, "executing_job_id", value)
|
549
|
+
|
550
|
+
@property
|
551
|
+
@pulumi.getter(name="freeformTags")
|
552
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
553
|
+
"""
|
554
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
|
555
|
+
"""
|
556
|
+
return pulumi.get(self, "freeform_tags")
|
557
|
+
|
558
|
+
@freeform_tags.setter
|
559
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
560
|
+
pulumi.set(self, "freeform_tags", value)
|
561
|
+
|
562
|
+
@property
|
563
|
+
@pulumi.getter(name="ggsDetails")
|
564
|
+
def ggs_details(self) -> Optional[pulumi.Input['MigrationGgsDetailsArgs']]:
|
565
|
+
"""
|
566
|
+
(Updatable) Optional settings for Oracle GoldenGate processes
|
567
|
+
"""
|
568
|
+
return pulumi.get(self, "ggs_details")
|
569
|
+
|
570
|
+
@ggs_details.setter
|
571
|
+
def ggs_details(self, value: Optional[pulumi.Input['MigrationGgsDetailsArgs']]):
|
572
|
+
pulumi.set(self, "ggs_details", value)
|
573
|
+
|
574
|
+
@property
|
575
|
+
@pulumi.getter(name="hubDetails")
|
576
|
+
def hub_details(self) -> Optional[pulumi.Input['MigrationHubDetailsArgs']]:
|
577
|
+
"""
|
578
|
+
(Updatable) Details about Oracle GoldenGate Microservices.
|
579
|
+
"""
|
580
|
+
return pulumi.get(self, "hub_details")
|
581
|
+
|
582
|
+
@hub_details.setter
|
583
|
+
def hub_details(self, value: Optional[pulumi.Input['MigrationHubDetailsArgs']]):
|
584
|
+
pulumi.set(self, "hub_details", value)
|
585
|
+
|
586
|
+
@property
|
587
|
+
@pulumi.getter(name="includeObjects")
|
588
|
+
def include_objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]]:
|
589
|
+
"""
|
590
|
+
Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
591
|
+
"""
|
592
|
+
return pulumi.get(self, "include_objects")
|
593
|
+
|
594
|
+
@include_objects.setter
|
595
|
+
def include_objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]]):
|
596
|
+
pulumi.set(self, "include_objects", value)
|
597
|
+
|
598
|
+
@property
|
599
|
+
@pulumi.getter(name="initialLoadSettings")
|
600
|
+
def initial_load_settings(self) -> Optional[pulumi.Input['MigrationInitialLoadSettingsArgs']]:
|
601
|
+
"""
|
602
|
+
(Updatable) Optional settings for Data Pump Export and Import jobs
|
603
|
+
"""
|
604
|
+
return pulumi.get(self, "initial_load_settings")
|
605
|
+
|
606
|
+
@initial_load_settings.setter
|
607
|
+
def initial_load_settings(self, value: Optional[pulumi.Input['MigrationInitialLoadSettingsArgs']]):
|
608
|
+
pulumi.set(self, "initial_load_settings", value)
|
609
|
+
|
610
|
+
@property
|
611
|
+
@pulumi.getter(name="lifecycleDetails")
|
612
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
613
|
+
"""
|
614
|
+
Additional status related to the execution and current state of the Migration.
|
615
|
+
"""
|
616
|
+
return pulumi.get(self, "lifecycle_details")
|
617
|
+
|
618
|
+
@lifecycle_details.setter
|
619
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
620
|
+
pulumi.set(self, "lifecycle_details", value)
|
621
|
+
|
622
|
+
@property
|
623
|
+
@pulumi.getter(name="sourceContainerDatabaseConnectionId")
|
624
|
+
def source_container_database_connection_id(self) -> Optional[pulumi.Input[str]]:
|
625
|
+
"""
|
626
|
+
(Updatable) The OCID of the resource being referenced.
|
627
|
+
"""
|
628
|
+
return pulumi.get(self, "source_container_database_connection_id")
|
629
|
+
|
630
|
+
@source_container_database_connection_id.setter
|
631
|
+
def source_container_database_connection_id(self, value: Optional[pulumi.Input[str]]):
|
632
|
+
pulumi.set(self, "source_container_database_connection_id", value)
|
633
|
+
|
634
|
+
@property
|
635
|
+
@pulumi.getter(name="sourceDatabaseConnectionId")
|
636
|
+
def source_database_connection_id(self) -> Optional[pulumi.Input[str]]:
|
637
|
+
"""
|
638
|
+
(Updatable) The OCID of the resource being referenced.
|
639
|
+
"""
|
640
|
+
return pulumi.get(self, "source_database_connection_id")
|
641
|
+
|
642
|
+
@source_database_connection_id.setter
|
643
|
+
def source_database_connection_id(self, value: Optional[pulumi.Input[str]]):
|
644
|
+
pulumi.set(self, "source_database_connection_id", value)
|
645
|
+
|
646
|
+
@property
|
647
|
+
@pulumi.getter
|
648
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
649
|
+
"""
|
650
|
+
The current state of the Migration resource.
|
651
|
+
"""
|
652
|
+
return pulumi.get(self, "state")
|
653
|
+
|
654
|
+
@state.setter
|
655
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
656
|
+
pulumi.set(self, "state", value)
|
657
|
+
|
658
|
+
@property
|
659
|
+
@pulumi.getter(name="systemTags")
|
660
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
661
|
+
"""
|
662
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
663
|
+
"""
|
664
|
+
return pulumi.get(self, "system_tags")
|
665
|
+
|
666
|
+
@system_tags.setter
|
667
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
668
|
+
pulumi.set(self, "system_tags", value)
|
669
|
+
|
670
|
+
@property
|
671
|
+
@pulumi.getter(name="targetDatabaseConnectionId")
|
672
|
+
def target_database_connection_id(self) -> Optional[pulumi.Input[str]]:
|
673
|
+
"""
|
674
|
+
(Updatable) The OCID of the resource being referenced.
|
675
|
+
"""
|
676
|
+
return pulumi.get(self, "target_database_connection_id")
|
677
|
+
|
678
|
+
@target_database_connection_id.setter
|
679
|
+
def target_database_connection_id(self, value: Optional[pulumi.Input[str]]):
|
680
|
+
pulumi.set(self, "target_database_connection_id", value)
|
681
|
+
|
682
|
+
@property
|
683
|
+
@pulumi.getter(name="timeCreated")
|
684
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
685
|
+
"""
|
686
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
687
|
+
"""
|
688
|
+
return pulumi.get(self, "time_created")
|
689
|
+
|
690
|
+
@time_created.setter
|
691
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
692
|
+
pulumi.set(self, "time_created", value)
|
693
|
+
|
694
|
+
@property
|
695
|
+
@pulumi.getter(name="timeLastMigration")
|
696
|
+
def time_last_migration(self) -> Optional[pulumi.Input[str]]:
|
697
|
+
"""
|
698
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
699
|
+
"""
|
700
|
+
return pulumi.get(self, "time_last_migration")
|
701
|
+
|
702
|
+
@time_last_migration.setter
|
703
|
+
def time_last_migration(self, value: Optional[pulumi.Input[str]]):
|
704
|
+
pulumi.set(self, "time_last_migration", value)
|
705
|
+
|
706
|
+
@property
|
707
|
+
@pulumi.getter(name="timeUpdated")
|
708
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
709
|
+
"""
|
710
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
711
|
+
"""
|
712
|
+
return pulumi.get(self, "time_updated")
|
713
|
+
|
714
|
+
@time_updated.setter
|
715
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
716
|
+
pulumi.set(self, "time_updated", value)
|
717
|
+
|
718
|
+
@property
|
719
|
+
@pulumi.getter
|
720
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
721
|
+
"""
|
722
|
+
(Updatable) The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
|
723
|
+
|
724
|
+
|
725
|
+
** IMPORTANT **
|
726
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
727
|
+
"""
|
728
|
+
return pulumi.get(self, "type")
|
729
|
+
|
730
|
+
@type.setter
|
731
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
732
|
+
pulumi.set(self, "type", value)
|
733
|
+
|
734
|
+
@property
|
735
|
+
@pulumi.getter(name="waitAfter")
|
736
|
+
def wait_after(self) -> Optional[pulumi.Input[str]]:
|
737
|
+
"""
|
738
|
+
You can optionally pause a migration after a job phase. This property allows you to optionally specify the phase after which you can pause the migration.
|
739
|
+
"""
|
740
|
+
return pulumi.get(self, "wait_after")
|
741
|
+
|
742
|
+
@wait_after.setter
|
743
|
+
def wait_after(self, value: Optional[pulumi.Input[str]]):
|
744
|
+
pulumi.set(self, "wait_after", value)
|
745
|
+
|
746
|
+
|
747
|
+
class Migration(pulumi.CustomResource):
|
748
|
+
@overload
|
749
|
+
def __init__(__self__,
|
750
|
+
resource_name: str,
|
751
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
752
|
+
advisor_settings: Optional[pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']]] = None,
|
753
|
+
bulk_include_exclude_data: Optional[pulumi.Input[str]] = None,
|
754
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
755
|
+
data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None,
|
756
|
+
database_combination: Optional[pulumi.Input[str]] = None,
|
757
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
758
|
+
description: Optional[pulumi.Input[str]] = None,
|
759
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
760
|
+
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]]] = None,
|
761
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
762
|
+
ggs_details: Optional[pulumi.Input[pulumi.InputType['MigrationGgsDetailsArgs']]] = None,
|
763
|
+
hub_details: Optional[pulumi.Input[pulumi.InputType['MigrationHubDetailsArgs']]] = None,
|
764
|
+
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]]] = None,
|
765
|
+
initial_load_settings: Optional[pulumi.Input[pulumi.InputType['MigrationInitialLoadSettingsArgs']]] = None,
|
766
|
+
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
767
|
+
source_database_connection_id: Optional[pulumi.Input[str]] = None,
|
768
|
+
target_database_connection_id: Optional[pulumi.Input[str]] = None,
|
769
|
+
type: Optional[pulumi.Input[str]] = None,
|
770
|
+
__props__=None):
|
771
|
+
"""
|
772
|
+
## Example Usage
|
773
|
+
|
774
|
+
```python
|
775
|
+
import pulumi
|
776
|
+
import pulumi_oci as oci
|
777
|
+
|
778
|
+
test_migration = oci.database_migration.Migration("test_migration",
|
779
|
+
compartment_id=compartment_id,
|
780
|
+
database_combination=migration_database_combination,
|
781
|
+
source_database_connection_id=test_connection["id"],
|
782
|
+
target_database_connection_id=test_connection["id"],
|
783
|
+
type=migration_type,
|
784
|
+
advisor_settings=oci.database_migration.MigrationAdvisorSettingsArgs(
|
785
|
+
is_ignore_errors=migration_advisor_settings_is_ignore_errors,
|
786
|
+
is_skip_advisor=migration_advisor_settings_is_skip_advisor,
|
787
|
+
),
|
788
|
+
bulk_include_exclude_data=migration_bulk_include_exclude_data,
|
789
|
+
data_transfer_medium_details=oci.database_migration.MigrationDataTransferMediumDetailsArgs(
|
790
|
+
type=migration_data_transfer_medium_details_type,
|
791
|
+
access_key_id=test_key["id"],
|
792
|
+
name=migration_data_transfer_medium_details_name,
|
793
|
+
object_storage_bucket=oci.database_migration.MigrationDataTransferMediumDetailsObjectStorageBucketArgs(
|
794
|
+
bucket=migration_data_transfer_medium_details_object_storage_bucket_bucket,
|
795
|
+
namespace=migration_data_transfer_medium_details_object_storage_bucket_namespace,
|
796
|
+
),
|
797
|
+
region=migration_data_transfer_medium_details_region,
|
798
|
+
secret_access_key=migration_data_transfer_medium_details_secret_access_key,
|
799
|
+
shared_storage_mount_target_id=test_mount_target["id"],
|
800
|
+
source=oci.database_migration.MigrationDataTransferMediumDetailsSourceArgs(
|
801
|
+
kind=migration_data_transfer_medium_details_source_kind,
|
802
|
+
oci_home=migration_data_transfer_medium_details_source_oci_home,
|
803
|
+
wallet_location=migration_data_transfer_medium_details_source_wallet_location,
|
804
|
+
),
|
805
|
+
target=oci.database_migration.MigrationDataTransferMediumDetailsTargetArgs(
|
806
|
+
kind=migration_data_transfer_medium_details_target_kind,
|
807
|
+
oci_home=migration_data_transfer_medium_details_target_oci_home,
|
808
|
+
wallet_location=migration_data_transfer_medium_details_target_wallet_location,
|
809
|
+
),
|
810
|
+
),
|
811
|
+
defined_tags={
|
812
|
+
"foo-namespace.bar-key": "value",
|
813
|
+
},
|
814
|
+
description=migration_description,
|
815
|
+
display_name=migration_display_name,
|
816
|
+
exclude_objects=[oci.database_migration.MigrationExcludeObjectArgs(
|
817
|
+
object=migration_exclude_objects_object,
|
818
|
+
is_omit_excluded_table_from_replication=migration_exclude_objects_is_omit_excluded_table_from_replication,
|
819
|
+
owner=migration_exclude_objects_owner,
|
820
|
+
schema=migration_exclude_objects_schema,
|
821
|
+
type=migration_exclude_objects_type,
|
822
|
+
)],
|
823
|
+
freeform_tags=migration_freeform_tags,
|
824
|
+
ggs_details=oci.database_migration.MigrationGgsDetailsArgs(
|
825
|
+
acceptable_lag=migration_ggs_details_acceptable_lag,
|
826
|
+
extract=oci.database_migration.MigrationGgsDetailsExtractArgs(
|
827
|
+
long_trans_duration=migration_ggs_details_extract_long_trans_duration,
|
828
|
+
performance_profile=migration_ggs_details_extract_performance_profile,
|
829
|
+
),
|
830
|
+
replicat=oci.database_migration.MigrationGgsDetailsReplicatArgs(
|
831
|
+
performance_profile=migration_ggs_details_replicat_performance_profile,
|
832
|
+
),
|
833
|
+
),
|
834
|
+
hub_details=oci.database_migration.MigrationHubDetailsArgs(
|
835
|
+
key_id=test_key["id"],
|
836
|
+
rest_admin_credentials=oci.database_migration.MigrationHubDetailsRestAdminCredentialsArgs(
|
837
|
+
password=migration_hub_details_rest_admin_credentials_password,
|
838
|
+
username=migration_hub_details_rest_admin_credentials_username,
|
839
|
+
),
|
840
|
+
url=migration_hub_details_url,
|
841
|
+
vault_id=test_vault["id"],
|
842
|
+
acceptable_lag=migration_hub_details_acceptable_lag,
|
843
|
+
compute_id=test_compute["id"],
|
844
|
+
extract=oci.database_migration.MigrationHubDetailsExtractArgs(
|
845
|
+
long_trans_duration=migration_hub_details_extract_long_trans_duration,
|
846
|
+
performance_profile=migration_hub_details_extract_performance_profile,
|
847
|
+
),
|
848
|
+
replicat=oci.database_migration.MigrationHubDetailsReplicatArgs(
|
849
|
+
performance_profile=migration_hub_details_replicat_performance_profile,
|
850
|
+
),
|
851
|
+
),
|
852
|
+
include_objects=[oci.database_migration.MigrationIncludeObjectArgs(
|
853
|
+
object=migration_include_objects_object,
|
854
|
+
is_omit_excluded_table_from_replication=migration_include_objects_is_omit_excluded_table_from_replication,
|
855
|
+
owner=migration_include_objects_owner,
|
856
|
+
schema=migration_include_objects_schema,
|
857
|
+
type=migration_include_objects_type,
|
858
|
+
)],
|
859
|
+
initial_load_settings=oci.database_migration.MigrationInitialLoadSettingsArgs(
|
860
|
+
job_mode=migration_initial_load_settings_job_mode,
|
861
|
+
compatibilities=migration_initial_load_settings_compatibility,
|
862
|
+
data_pump_parameters=oci.database_migration.MigrationInitialLoadSettingsDataPumpParametersArgs(
|
863
|
+
estimate=migration_initial_load_settings_data_pump_parameters_estimate,
|
864
|
+
exclude_parameters=migration_initial_load_settings_data_pump_parameters_exclude_parameters,
|
865
|
+
export_parallelism_degree=migration_initial_load_settings_data_pump_parameters_export_parallelism_degree,
|
866
|
+
import_parallelism_degree=migration_initial_load_settings_data_pump_parameters_import_parallelism_degree,
|
867
|
+
is_cluster=migration_initial_load_settings_data_pump_parameters_is_cluster,
|
868
|
+
table_exists_action=migration_initial_load_settings_data_pump_parameters_table_exists_action,
|
869
|
+
),
|
870
|
+
export_directory_object=oci.database_migration.MigrationInitialLoadSettingsExportDirectoryObjectArgs(
|
871
|
+
name=migration_initial_load_settings_export_directory_object_name,
|
872
|
+
path=migration_initial_load_settings_export_directory_object_path,
|
873
|
+
),
|
874
|
+
handle_grant_errors=migration_initial_load_settings_handle_grant_errors,
|
875
|
+
import_directory_object=oci.database_migration.MigrationInitialLoadSettingsImportDirectoryObjectArgs(
|
876
|
+
name=migration_initial_load_settings_import_directory_object_name,
|
877
|
+
path=migration_initial_load_settings_import_directory_object_path,
|
878
|
+
),
|
879
|
+
is_consistent=migration_initial_load_settings_is_consistent,
|
880
|
+
is_ignore_existing_objects=migration_initial_load_settings_is_ignore_existing_objects,
|
881
|
+
is_tz_utc=migration_initial_load_settings_is_tz_utc,
|
882
|
+
metadata_remaps=[oci.database_migration.MigrationInitialLoadSettingsMetadataRemapArgs(
|
883
|
+
new_value=migration_initial_load_settings_metadata_remaps_new_value,
|
884
|
+
old_value=migration_initial_load_settings_metadata_remaps_old_value,
|
885
|
+
type=migration_initial_load_settings_metadata_remaps_type,
|
886
|
+
)],
|
887
|
+
primary_key_compatibility=migration_initial_load_settings_primary_key_compatibility,
|
888
|
+
tablespace_details=oci.database_migration.MigrationInitialLoadSettingsTablespaceDetailsArgs(
|
889
|
+
target_type=migration_initial_load_settings_tablespace_details_target_type,
|
890
|
+
block_size_in_kbs=migration_initial_load_settings_tablespace_details_block_size_in_kbs,
|
891
|
+
extend_size_in_mbs=migration_initial_load_settings_tablespace_details_extend_size_in_mbs,
|
892
|
+
is_auto_create=migration_initial_load_settings_tablespace_details_is_auto_create,
|
893
|
+
is_big_file=migration_initial_load_settings_tablespace_details_is_big_file,
|
894
|
+
remap_target=migration_initial_load_settings_tablespace_details_remap_target,
|
895
|
+
),
|
896
|
+
),
|
897
|
+
source_container_database_connection_id=test_connection["id"])
|
898
|
+
```
|
899
|
+
|
900
|
+
## Import
|
901
|
+
|
902
|
+
Migrations can be imported using the `id`, e.g.
|
903
|
+
|
904
|
+
```sh
|
905
|
+
$ pulumi import oci:DatabaseMigration/migration:Migration test_migration "id"
|
906
|
+
```
|
907
|
+
|
908
|
+
:param str resource_name: The name of the resource.
|
909
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
910
|
+
:param pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']] advisor_settings: (Updatable) Optional Pre-Migration advisor settings.
|
911
|
+
:param pulumi.Input[str] bulk_include_exclude_data: Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.
|
912
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the resource being referenced.
|
913
|
+
:param pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']] data_transfer_medium_details: (Updatable) Optional additional properties for data transfer.
|
914
|
+
:param pulumi.Input[str] database_combination: (Updatable) The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
|
915
|
+
: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"}`
|
916
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
917
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
918
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]] exclude_objects: Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
919
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
|
920
|
+
:param pulumi.Input[pulumi.InputType['MigrationGgsDetailsArgs']] ggs_details: (Updatable) Optional settings for Oracle GoldenGate processes
|
921
|
+
:param pulumi.Input[pulumi.InputType['MigrationHubDetailsArgs']] hub_details: (Updatable) Details about Oracle GoldenGate Microservices.
|
922
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]] include_objects: Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
923
|
+
:param pulumi.Input[pulumi.InputType['MigrationInitialLoadSettingsArgs']] initial_load_settings: (Updatable) Optional settings for Data Pump Export and Import jobs
|
924
|
+
:param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
925
|
+
:param pulumi.Input[str] source_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
926
|
+
:param pulumi.Input[str] target_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
927
|
+
:param pulumi.Input[str] type: (Updatable) The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
|
928
|
+
|
929
|
+
|
930
|
+
** IMPORTANT **
|
931
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
932
|
+
"""
|
933
|
+
...
|
934
|
+
@overload
|
935
|
+
def __init__(__self__,
|
936
|
+
resource_name: str,
|
937
|
+
args: MigrationArgs,
|
938
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
939
|
+
"""
|
940
|
+
## Example Usage
|
941
|
+
|
942
|
+
```python
|
943
|
+
import pulumi
|
944
|
+
import pulumi_oci as oci
|
945
|
+
|
946
|
+
test_migration = oci.database_migration.Migration("test_migration",
|
947
|
+
compartment_id=compartment_id,
|
948
|
+
database_combination=migration_database_combination,
|
949
|
+
source_database_connection_id=test_connection["id"],
|
950
|
+
target_database_connection_id=test_connection["id"],
|
951
|
+
type=migration_type,
|
952
|
+
advisor_settings=oci.database_migration.MigrationAdvisorSettingsArgs(
|
953
|
+
is_ignore_errors=migration_advisor_settings_is_ignore_errors,
|
954
|
+
is_skip_advisor=migration_advisor_settings_is_skip_advisor,
|
955
|
+
),
|
956
|
+
bulk_include_exclude_data=migration_bulk_include_exclude_data,
|
957
|
+
data_transfer_medium_details=oci.database_migration.MigrationDataTransferMediumDetailsArgs(
|
958
|
+
type=migration_data_transfer_medium_details_type,
|
959
|
+
access_key_id=test_key["id"],
|
960
|
+
name=migration_data_transfer_medium_details_name,
|
961
|
+
object_storage_bucket=oci.database_migration.MigrationDataTransferMediumDetailsObjectStorageBucketArgs(
|
962
|
+
bucket=migration_data_transfer_medium_details_object_storage_bucket_bucket,
|
963
|
+
namespace=migration_data_transfer_medium_details_object_storage_bucket_namespace,
|
964
|
+
),
|
965
|
+
region=migration_data_transfer_medium_details_region,
|
966
|
+
secret_access_key=migration_data_transfer_medium_details_secret_access_key,
|
967
|
+
shared_storage_mount_target_id=test_mount_target["id"],
|
968
|
+
source=oci.database_migration.MigrationDataTransferMediumDetailsSourceArgs(
|
969
|
+
kind=migration_data_transfer_medium_details_source_kind,
|
970
|
+
oci_home=migration_data_transfer_medium_details_source_oci_home,
|
971
|
+
wallet_location=migration_data_transfer_medium_details_source_wallet_location,
|
972
|
+
),
|
973
|
+
target=oci.database_migration.MigrationDataTransferMediumDetailsTargetArgs(
|
974
|
+
kind=migration_data_transfer_medium_details_target_kind,
|
975
|
+
oci_home=migration_data_transfer_medium_details_target_oci_home,
|
976
|
+
wallet_location=migration_data_transfer_medium_details_target_wallet_location,
|
977
|
+
),
|
978
|
+
),
|
979
|
+
defined_tags={
|
980
|
+
"foo-namespace.bar-key": "value",
|
981
|
+
},
|
982
|
+
description=migration_description,
|
983
|
+
display_name=migration_display_name,
|
984
|
+
exclude_objects=[oci.database_migration.MigrationExcludeObjectArgs(
|
985
|
+
object=migration_exclude_objects_object,
|
986
|
+
is_omit_excluded_table_from_replication=migration_exclude_objects_is_omit_excluded_table_from_replication,
|
987
|
+
owner=migration_exclude_objects_owner,
|
988
|
+
schema=migration_exclude_objects_schema,
|
989
|
+
type=migration_exclude_objects_type,
|
990
|
+
)],
|
991
|
+
freeform_tags=migration_freeform_tags,
|
992
|
+
ggs_details=oci.database_migration.MigrationGgsDetailsArgs(
|
993
|
+
acceptable_lag=migration_ggs_details_acceptable_lag,
|
994
|
+
extract=oci.database_migration.MigrationGgsDetailsExtractArgs(
|
995
|
+
long_trans_duration=migration_ggs_details_extract_long_trans_duration,
|
996
|
+
performance_profile=migration_ggs_details_extract_performance_profile,
|
997
|
+
),
|
998
|
+
replicat=oci.database_migration.MigrationGgsDetailsReplicatArgs(
|
999
|
+
performance_profile=migration_ggs_details_replicat_performance_profile,
|
1000
|
+
),
|
1001
|
+
),
|
1002
|
+
hub_details=oci.database_migration.MigrationHubDetailsArgs(
|
1003
|
+
key_id=test_key["id"],
|
1004
|
+
rest_admin_credentials=oci.database_migration.MigrationHubDetailsRestAdminCredentialsArgs(
|
1005
|
+
password=migration_hub_details_rest_admin_credentials_password,
|
1006
|
+
username=migration_hub_details_rest_admin_credentials_username,
|
1007
|
+
),
|
1008
|
+
url=migration_hub_details_url,
|
1009
|
+
vault_id=test_vault["id"],
|
1010
|
+
acceptable_lag=migration_hub_details_acceptable_lag,
|
1011
|
+
compute_id=test_compute["id"],
|
1012
|
+
extract=oci.database_migration.MigrationHubDetailsExtractArgs(
|
1013
|
+
long_trans_duration=migration_hub_details_extract_long_trans_duration,
|
1014
|
+
performance_profile=migration_hub_details_extract_performance_profile,
|
1015
|
+
),
|
1016
|
+
replicat=oci.database_migration.MigrationHubDetailsReplicatArgs(
|
1017
|
+
performance_profile=migration_hub_details_replicat_performance_profile,
|
1018
|
+
),
|
1019
|
+
),
|
1020
|
+
include_objects=[oci.database_migration.MigrationIncludeObjectArgs(
|
1021
|
+
object=migration_include_objects_object,
|
1022
|
+
is_omit_excluded_table_from_replication=migration_include_objects_is_omit_excluded_table_from_replication,
|
1023
|
+
owner=migration_include_objects_owner,
|
1024
|
+
schema=migration_include_objects_schema,
|
1025
|
+
type=migration_include_objects_type,
|
1026
|
+
)],
|
1027
|
+
initial_load_settings=oci.database_migration.MigrationInitialLoadSettingsArgs(
|
1028
|
+
job_mode=migration_initial_load_settings_job_mode,
|
1029
|
+
compatibilities=migration_initial_load_settings_compatibility,
|
1030
|
+
data_pump_parameters=oci.database_migration.MigrationInitialLoadSettingsDataPumpParametersArgs(
|
1031
|
+
estimate=migration_initial_load_settings_data_pump_parameters_estimate,
|
1032
|
+
exclude_parameters=migration_initial_load_settings_data_pump_parameters_exclude_parameters,
|
1033
|
+
export_parallelism_degree=migration_initial_load_settings_data_pump_parameters_export_parallelism_degree,
|
1034
|
+
import_parallelism_degree=migration_initial_load_settings_data_pump_parameters_import_parallelism_degree,
|
1035
|
+
is_cluster=migration_initial_load_settings_data_pump_parameters_is_cluster,
|
1036
|
+
table_exists_action=migration_initial_load_settings_data_pump_parameters_table_exists_action,
|
1037
|
+
),
|
1038
|
+
export_directory_object=oci.database_migration.MigrationInitialLoadSettingsExportDirectoryObjectArgs(
|
1039
|
+
name=migration_initial_load_settings_export_directory_object_name,
|
1040
|
+
path=migration_initial_load_settings_export_directory_object_path,
|
1041
|
+
),
|
1042
|
+
handle_grant_errors=migration_initial_load_settings_handle_grant_errors,
|
1043
|
+
import_directory_object=oci.database_migration.MigrationInitialLoadSettingsImportDirectoryObjectArgs(
|
1044
|
+
name=migration_initial_load_settings_import_directory_object_name,
|
1045
|
+
path=migration_initial_load_settings_import_directory_object_path,
|
1046
|
+
),
|
1047
|
+
is_consistent=migration_initial_load_settings_is_consistent,
|
1048
|
+
is_ignore_existing_objects=migration_initial_load_settings_is_ignore_existing_objects,
|
1049
|
+
is_tz_utc=migration_initial_load_settings_is_tz_utc,
|
1050
|
+
metadata_remaps=[oci.database_migration.MigrationInitialLoadSettingsMetadataRemapArgs(
|
1051
|
+
new_value=migration_initial_load_settings_metadata_remaps_new_value,
|
1052
|
+
old_value=migration_initial_load_settings_metadata_remaps_old_value,
|
1053
|
+
type=migration_initial_load_settings_metadata_remaps_type,
|
1054
|
+
)],
|
1055
|
+
primary_key_compatibility=migration_initial_load_settings_primary_key_compatibility,
|
1056
|
+
tablespace_details=oci.database_migration.MigrationInitialLoadSettingsTablespaceDetailsArgs(
|
1057
|
+
target_type=migration_initial_load_settings_tablespace_details_target_type,
|
1058
|
+
block_size_in_kbs=migration_initial_load_settings_tablespace_details_block_size_in_kbs,
|
1059
|
+
extend_size_in_mbs=migration_initial_load_settings_tablespace_details_extend_size_in_mbs,
|
1060
|
+
is_auto_create=migration_initial_load_settings_tablespace_details_is_auto_create,
|
1061
|
+
is_big_file=migration_initial_load_settings_tablespace_details_is_big_file,
|
1062
|
+
remap_target=migration_initial_load_settings_tablespace_details_remap_target,
|
1063
|
+
),
|
1064
|
+
),
|
1065
|
+
source_container_database_connection_id=test_connection["id"])
|
1066
|
+
```
|
1067
|
+
|
1068
|
+
## Import
|
1069
|
+
|
1070
|
+
Migrations can be imported using the `id`, e.g.
|
1071
|
+
|
1072
|
+
```sh
|
1073
|
+
$ pulumi import oci:DatabaseMigration/migration:Migration test_migration "id"
|
1074
|
+
```
|
1075
|
+
|
1076
|
+
:param str resource_name: The name of the resource.
|
1077
|
+
:param MigrationArgs args: The arguments to use to populate this resource's properties.
|
1078
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
1079
|
+
"""
|
1080
|
+
...
|
1081
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
1082
|
+
resource_args, opts = _utilities.get_resource_args_opts(MigrationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
1083
|
+
if resource_args is not None:
|
1084
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
1085
|
+
else:
|
1086
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
1087
|
+
|
1088
|
+
def _internal_init(__self__,
|
1089
|
+
resource_name: str,
|
1090
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
1091
|
+
advisor_settings: Optional[pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']]] = None,
|
1092
|
+
bulk_include_exclude_data: Optional[pulumi.Input[str]] = None,
|
1093
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
1094
|
+
data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None,
|
1095
|
+
database_combination: Optional[pulumi.Input[str]] = None,
|
1096
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1097
|
+
description: Optional[pulumi.Input[str]] = None,
|
1098
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
1099
|
+
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]]] = None,
|
1100
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1101
|
+
ggs_details: Optional[pulumi.Input[pulumi.InputType['MigrationGgsDetailsArgs']]] = None,
|
1102
|
+
hub_details: Optional[pulumi.Input[pulumi.InputType['MigrationHubDetailsArgs']]] = None,
|
1103
|
+
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]]] = None,
|
1104
|
+
initial_load_settings: Optional[pulumi.Input[pulumi.InputType['MigrationInitialLoadSettingsArgs']]] = None,
|
1105
|
+
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1106
|
+
source_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1107
|
+
target_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1108
|
+
type: Optional[pulumi.Input[str]] = None,
|
1109
|
+
__props__=None):
|
1110
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
1111
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
1112
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
1113
|
+
if opts.id is None:
|
1114
|
+
if __props__ is not None:
|
1115
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1116
|
+
__props__ = MigrationArgs.__new__(MigrationArgs)
|
1117
|
+
|
1118
|
+
__props__.__dict__["advisor_settings"] = advisor_settings
|
1119
|
+
__props__.__dict__["bulk_include_exclude_data"] = bulk_include_exclude_data
|
1120
|
+
if compartment_id is None and not opts.urn:
|
1121
|
+
raise TypeError("Missing required property 'compartment_id'")
|
1122
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
1123
|
+
__props__.__dict__["data_transfer_medium_details"] = data_transfer_medium_details
|
1124
|
+
if database_combination is None and not opts.urn:
|
1125
|
+
raise TypeError("Missing required property 'database_combination'")
|
1126
|
+
__props__.__dict__["database_combination"] = database_combination
|
1127
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
1128
|
+
__props__.__dict__["description"] = description
|
1129
|
+
__props__.__dict__["display_name"] = display_name
|
1130
|
+
__props__.__dict__["exclude_objects"] = exclude_objects
|
1131
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
1132
|
+
__props__.__dict__["ggs_details"] = ggs_details
|
1133
|
+
__props__.__dict__["hub_details"] = hub_details
|
1134
|
+
__props__.__dict__["include_objects"] = include_objects
|
1135
|
+
__props__.__dict__["initial_load_settings"] = initial_load_settings
|
1136
|
+
__props__.__dict__["source_container_database_connection_id"] = source_container_database_connection_id
|
1137
|
+
if source_database_connection_id is None and not opts.urn:
|
1138
|
+
raise TypeError("Missing required property 'source_database_connection_id'")
|
1139
|
+
__props__.__dict__["source_database_connection_id"] = source_database_connection_id
|
1140
|
+
if target_database_connection_id is None and not opts.urn:
|
1141
|
+
raise TypeError("Missing required property 'target_database_connection_id'")
|
1142
|
+
__props__.__dict__["target_database_connection_id"] = target_database_connection_id
|
1143
|
+
if type is None and not opts.urn:
|
1144
|
+
raise TypeError("Missing required property 'type'")
|
1145
|
+
__props__.__dict__["type"] = type
|
1146
|
+
__props__.__dict__["executing_job_id"] = None
|
1147
|
+
__props__.__dict__["lifecycle_details"] = None
|
1148
|
+
__props__.__dict__["state"] = None
|
1149
|
+
__props__.__dict__["system_tags"] = None
|
1150
|
+
__props__.__dict__["time_created"] = None
|
1151
|
+
__props__.__dict__["time_last_migration"] = None
|
1152
|
+
__props__.__dict__["time_updated"] = None
|
1153
|
+
__props__.__dict__["wait_after"] = None
|
1154
|
+
super(Migration, __self__).__init__(
|
1155
|
+
'oci:DatabaseMigration/migration:Migration',
|
1156
|
+
resource_name,
|
1157
|
+
__props__,
|
1158
|
+
opts)
|
1159
|
+
|
1160
|
+
@staticmethod
|
1161
|
+
def get(resource_name: str,
|
1162
|
+
id: pulumi.Input[str],
|
1163
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
1164
|
+
advisor_settings: Optional[pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']]] = None,
|
1165
|
+
bulk_include_exclude_data: Optional[pulumi.Input[str]] = None,
|
1166
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
1167
|
+
data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None,
|
1168
|
+
database_combination: Optional[pulumi.Input[str]] = None,
|
1169
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1170
|
+
description: Optional[pulumi.Input[str]] = None,
|
1171
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
1172
|
+
exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]]] = None,
|
1173
|
+
executing_job_id: Optional[pulumi.Input[str]] = None,
|
1174
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1175
|
+
ggs_details: Optional[pulumi.Input[pulumi.InputType['MigrationGgsDetailsArgs']]] = None,
|
1176
|
+
hub_details: Optional[pulumi.Input[pulumi.InputType['MigrationHubDetailsArgs']]] = None,
|
1177
|
+
include_objects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]]] = None,
|
1178
|
+
initial_load_settings: Optional[pulumi.Input[pulumi.InputType['MigrationInitialLoadSettingsArgs']]] = None,
|
1179
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
1180
|
+
source_container_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1181
|
+
source_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1182
|
+
state: Optional[pulumi.Input[str]] = None,
|
1183
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1184
|
+
target_database_connection_id: Optional[pulumi.Input[str]] = None,
|
1185
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
1186
|
+
time_last_migration: Optional[pulumi.Input[str]] = None,
|
1187
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
1188
|
+
type: Optional[pulumi.Input[str]] = None,
|
1189
|
+
wait_after: Optional[pulumi.Input[str]] = None) -> 'Migration':
|
1190
|
+
"""
|
1191
|
+
Get an existing Migration resource's state with the given name, id, and optional extra
|
1192
|
+
properties used to qualify the lookup.
|
1193
|
+
|
1194
|
+
:param str resource_name: The unique name of the resulting resource.
|
1195
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1196
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
1197
|
+
:param pulumi.Input[pulumi.InputType['MigrationAdvisorSettingsArgs']] advisor_settings: (Updatable) Optional Pre-Migration advisor settings.
|
1198
|
+
:param pulumi.Input[str] bulk_include_exclude_data: Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.
|
1199
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the resource being referenced.
|
1200
|
+
:param pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']] data_transfer_medium_details: (Updatable) Optional additional properties for data transfer.
|
1201
|
+
:param pulumi.Input[str] database_combination: (Updatable) The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
|
1202
|
+
: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"}`
|
1203
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
1204
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
1205
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationExcludeObjectArgs']]]] exclude_objects: Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
1206
|
+
:param pulumi.Input[str] executing_job_id: The OCID of the resource being referenced.
|
1207
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
|
1208
|
+
:param pulumi.Input[pulumi.InputType['MigrationGgsDetailsArgs']] ggs_details: (Updatable) Optional settings for Oracle GoldenGate processes
|
1209
|
+
:param pulumi.Input[pulumi.InputType['MigrationHubDetailsArgs']] hub_details: (Updatable) Details about Oracle GoldenGate Microservices.
|
1210
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MigrationIncludeObjectArgs']]]] include_objects: Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
1211
|
+
:param pulumi.Input[pulumi.InputType['MigrationInitialLoadSettingsArgs']] initial_load_settings: (Updatable) Optional settings for Data Pump Export and Import jobs
|
1212
|
+
:param pulumi.Input[str] lifecycle_details: Additional status related to the execution and current state of the Migration.
|
1213
|
+
:param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
1214
|
+
:param pulumi.Input[str] source_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
1215
|
+
:param pulumi.Input[str] state: The current state of the Migration resource.
|
1216
|
+
: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"}`
|
1217
|
+
:param pulumi.Input[str] target_database_connection_id: (Updatable) The OCID of the resource being referenced.
|
1218
|
+
:param pulumi.Input[str] time_created: An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
1219
|
+
:param pulumi.Input[str] time_last_migration: An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
1220
|
+
:param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
1221
|
+
:param pulumi.Input[str] type: (Updatable) The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
|
1222
|
+
|
1223
|
+
|
1224
|
+
** IMPORTANT **
|
1225
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1226
|
+
:param pulumi.Input[str] wait_after: You can optionally pause a migration after a job phase. This property allows you to optionally specify the phase after which you can pause the migration.
|
1227
|
+
"""
|
1228
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1229
|
+
|
1230
|
+
__props__ = _MigrationState.__new__(_MigrationState)
|
1231
|
+
|
1232
|
+
__props__.__dict__["advisor_settings"] = advisor_settings
|
1233
|
+
__props__.__dict__["bulk_include_exclude_data"] = bulk_include_exclude_data
|
1234
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
1235
|
+
__props__.__dict__["data_transfer_medium_details"] = data_transfer_medium_details
|
1236
|
+
__props__.__dict__["database_combination"] = database_combination
|
1237
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
1238
|
+
__props__.__dict__["description"] = description
|
1239
|
+
__props__.__dict__["display_name"] = display_name
|
1240
|
+
__props__.__dict__["exclude_objects"] = exclude_objects
|
1241
|
+
__props__.__dict__["executing_job_id"] = executing_job_id
|
1242
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
1243
|
+
__props__.__dict__["ggs_details"] = ggs_details
|
1244
|
+
__props__.__dict__["hub_details"] = hub_details
|
1245
|
+
__props__.__dict__["include_objects"] = include_objects
|
1246
|
+
__props__.__dict__["initial_load_settings"] = initial_load_settings
|
1247
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
1248
|
+
__props__.__dict__["source_container_database_connection_id"] = source_container_database_connection_id
|
1249
|
+
__props__.__dict__["source_database_connection_id"] = source_database_connection_id
|
1250
|
+
__props__.__dict__["state"] = state
|
1251
|
+
__props__.__dict__["system_tags"] = system_tags
|
1252
|
+
__props__.__dict__["target_database_connection_id"] = target_database_connection_id
|
1253
|
+
__props__.__dict__["time_created"] = time_created
|
1254
|
+
__props__.__dict__["time_last_migration"] = time_last_migration
|
1255
|
+
__props__.__dict__["time_updated"] = time_updated
|
1256
|
+
__props__.__dict__["type"] = type
|
1257
|
+
__props__.__dict__["wait_after"] = wait_after
|
1258
|
+
return Migration(resource_name, opts=opts, __props__=__props__)
|
1259
|
+
|
1260
|
+
@property
|
1261
|
+
@pulumi.getter(name="advisorSettings")
|
1262
|
+
def advisor_settings(self) -> pulumi.Output['outputs.MigrationAdvisorSettings']:
|
1263
|
+
"""
|
1264
|
+
(Updatable) Optional Pre-Migration advisor settings.
|
1265
|
+
"""
|
1266
|
+
return pulumi.get(self, "advisor_settings")
|
1267
|
+
|
1268
|
+
@property
|
1269
|
+
@pulumi.getter(name="bulkIncludeExcludeData")
|
1270
|
+
def bulk_include_exclude_data(self) -> pulumi.Output[str]:
|
1271
|
+
"""
|
1272
|
+
Specifies the database objects to be excluded from the migration in bulk. The definition accepts input in a CSV format, newline separated for each entry. More details can be found in the documentation.
|
1273
|
+
"""
|
1274
|
+
return pulumi.get(self, "bulk_include_exclude_data")
|
1275
|
+
|
1276
|
+
@property
|
1277
|
+
@pulumi.getter(name="compartmentId")
|
1278
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
1279
|
+
"""
|
1280
|
+
(Updatable) The OCID of the resource being referenced.
|
1281
|
+
"""
|
1282
|
+
return pulumi.get(self, "compartment_id")
|
1283
|
+
|
1284
|
+
@property
|
1285
|
+
@pulumi.getter(name="dataTransferMediumDetails")
|
1286
|
+
def data_transfer_medium_details(self) -> pulumi.Output['outputs.MigrationDataTransferMediumDetails']:
|
1287
|
+
"""
|
1288
|
+
(Updatable) Optional additional properties for data transfer.
|
1289
|
+
"""
|
1290
|
+
return pulumi.get(self, "data_transfer_medium_details")
|
1291
|
+
|
1292
|
+
@property
|
1293
|
+
@pulumi.getter(name="databaseCombination")
|
1294
|
+
def database_combination(self) -> pulumi.Output[str]:
|
1295
|
+
"""
|
1296
|
+
(Updatable) The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
|
1297
|
+
"""
|
1298
|
+
return pulumi.get(self, "database_combination")
|
1299
|
+
|
1300
|
+
@property
|
1301
|
+
@pulumi.getter(name="definedTags")
|
1302
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1303
|
+
"""
|
1304
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
1305
|
+
"""
|
1306
|
+
return pulumi.get(self, "defined_tags")
|
1307
|
+
|
1308
|
+
@property
|
1309
|
+
@pulumi.getter
|
1310
|
+
def description(self) -> pulumi.Output[str]:
|
1311
|
+
"""
|
1312
|
+
(Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
1313
|
+
"""
|
1314
|
+
return pulumi.get(self, "description")
|
1315
|
+
|
1316
|
+
@property
|
1317
|
+
@pulumi.getter(name="displayName")
|
1318
|
+
def display_name(self) -> pulumi.Output[str]:
|
1319
|
+
"""
|
1320
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
1321
|
+
"""
|
1322
|
+
return pulumi.get(self, "display_name")
|
1323
|
+
|
1324
|
+
@property
|
1325
|
+
@pulumi.getter(name="excludeObjects")
|
1326
|
+
def exclude_objects(self) -> pulumi.Output[Sequence['outputs.MigrationExcludeObject']]:
|
1327
|
+
"""
|
1328
|
+
Database objects to exclude from migration, cannot be specified alongside 'includeObjects'
|
1329
|
+
"""
|
1330
|
+
return pulumi.get(self, "exclude_objects")
|
1331
|
+
|
1332
|
+
@property
|
1333
|
+
@pulumi.getter(name="executingJobId")
|
1334
|
+
def executing_job_id(self) -> pulumi.Output[str]:
|
1335
|
+
"""
|
1336
|
+
The OCID of the resource being referenced.
|
1337
|
+
"""
|
1338
|
+
return pulumi.get(self, "executing_job_id")
|
1339
|
+
|
1340
|
+
@property
|
1341
|
+
@pulumi.getter(name="freeformTags")
|
1342
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1343
|
+
"""
|
1344
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
|
1345
|
+
"""
|
1346
|
+
return pulumi.get(self, "freeform_tags")
|
1347
|
+
|
1348
|
+
@property
|
1349
|
+
@pulumi.getter(name="ggsDetails")
|
1350
|
+
def ggs_details(self) -> pulumi.Output['outputs.MigrationGgsDetails']:
|
1351
|
+
"""
|
1352
|
+
(Updatable) Optional settings for Oracle GoldenGate processes
|
1353
|
+
"""
|
1354
|
+
return pulumi.get(self, "ggs_details")
|
1355
|
+
|
1356
|
+
@property
|
1357
|
+
@pulumi.getter(name="hubDetails")
|
1358
|
+
def hub_details(self) -> pulumi.Output['outputs.MigrationHubDetails']:
|
1359
|
+
"""
|
1360
|
+
(Updatable) Details about Oracle GoldenGate Microservices.
|
1361
|
+
"""
|
1362
|
+
return pulumi.get(self, "hub_details")
|
1363
|
+
|
1364
|
+
@property
|
1365
|
+
@pulumi.getter(name="includeObjects")
|
1366
|
+
def include_objects(self) -> pulumi.Output[Sequence['outputs.MigrationIncludeObject']]:
|
1367
|
+
"""
|
1368
|
+
Database objects to include from migration, cannot be specified alongside 'excludeObjects'
|
1369
|
+
"""
|
1370
|
+
return pulumi.get(self, "include_objects")
|
1371
|
+
|
1372
|
+
@property
|
1373
|
+
@pulumi.getter(name="initialLoadSettings")
|
1374
|
+
def initial_load_settings(self) -> pulumi.Output['outputs.MigrationInitialLoadSettings']:
|
1375
|
+
"""
|
1376
|
+
(Updatable) Optional settings for Data Pump Export and Import jobs
|
1377
|
+
"""
|
1378
|
+
return pulumi.get(self, "initial_load_settings")
|
1379
|
+
|
1380
|
+
@property
|
1381
|
+
@pulumi.getter(name="lifecycleDetails")
|
1382
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
1383
|
+
"""
|
1384
|
+
Additional status related to the execution and current state of the Migration.
|
1385
|
+
"""
|
1386
|
+
return pulumi.get(self, "lifecycle_details")
|
1387
|
+
|
1388
|
+
@property
|
1389
|
+
@pulumi.getter(name="sourceContainerDatabaseConnectionId")
|
1390
|
+
def source_container_database_connection_id(self) -> pulumi.Output[str]:
|
1391
|
+
"""
|
1392
|
+
(Updatable) The OCID of the resource being referenced.
|
1393
|
+
"""
|
1394
|
+
return pulumi.get(self, "source_container_database_connection_id")
|
1395
|
+
|
1396
|
+
@property
|
1397
|
+
@pulumi.getter(name="sourceDatabaseConnectionId")
|
1398
|
+
def source_database_connection_id(self) -> pulumi.Output[str]:
|
1399
|
+
"""
|
1400
|
+
(Updatable) The OCID of the resource being referenced.
|
1401
|
+
"""
|
1402
|
+
return pulumi.get(self, "source_database_connection_id")
|
1403
|
+
|
1404
|
+
@property
|
1405
|
+
@pulumi.getter
|
1406
|
+
def state(self) -> pulumi.Output[str]:
|
1407
|
+
"""
|
1408
|
+
The current state of the Migration resource.
|
1409
|
+
"""
|
1410
|
+
return pulumi.get(self, "state")
|
1411
|
+
|
1412
|
+
@property
|
1413
|
+
@pulumi.getter(name="systemTags")
|
1414
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1415
|
+
"""
|
1416
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1417
|
+
"""
|
1418
|
+
return pulumi.get(self, "system_tags")
|
1419
|
+
|
1420
|
+
@property
|
1421
|
+
@pulumi.getter(name="targetDatabaseConnectionId")
|
1422
|
+
def target_database_connection_id(self) -> pulumi.Output[str]:
|
1423
|
+
"""
|
1424
|
+
(Updatable) The OCID of the resource being referenced.
|
1425
|
+
"""
|
1426
|
+
return pulumi.get(self, "target_database_connection_id")
|
1427
|
+
|
1428
|
+
@property
|
1429
|
+
@pulumi.getter(name="timeCreated")
|
1430
|
+
def time_created(self) -> pulumi.Output[str]:
|
1431
|
+
"""
|
1432
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
1433
|
+
"""
|
1434
|
+
return pulumi.get(self, "time_created")
|
1435
|
+
|
1436
|
+
@property
|
1437
|
+
@pulumi.getter(name="timeLastMigration")
|
1438
|
+
def time_last_migration(self) -> pulumi.Output[str]:
|
1439
|
+
"""
|
1440
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
1441
|
+
"""
|
1442
|
+
return pulumi.get(self, "time_last_migration")
|
1443
|
+
|
1444
|
+
@property
|
1445
|
+
@pulumi.getter(name="timeUpdated")
|
1446
|
+
def time_updated(self) -> pulumi.Output[str]:
|
1447
|
+
"""
|
1448
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
1449
|
+
"""
|
1450
|
+
return pulumi.get(self, "time_updated")
|
1451
|
+
|
1452
|
+
@property
|
1453
|
+
@pulumi.getter
|
1454
|
+
def type(self) -> pulumi.Output[str]:
|
1455
|
+
"""
|
1456
|
+
(Updatable) The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.
|
1457
|
+
|
1458
|
+
|
1459
|
+
** IMPORTANT **
|
1460
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1461
|
+
"""
|
1462
|
+
return pulumi.get(self, "type")
|
1463
|
+
|
1464
|
+
@property
|
1465
|
+
@pulumi.getter(name="waitAfter")
|
1466
|
+
def wait_after(self) -> pulumi.Output[str]:
|
1467
|
+
"""
|
1468
|
+
You can optionally pause a migration after a job phase. This property allows you to optionally specify the phase after which you can pause the migration.
|
1469
|
+
"""
|
1470
|
+
return pulumi.get(self, "wait_after")
|
1471
|
+
|