pulumi-oci 2.0.0a1719867547__py3-none-any.whl → 2.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +43 -0
- pulumi_oci/database/__init__.py +11 -0
- pulumi_oci/database/_inputs.py +607 -0
- pulumi_oci/database/db_node.py +28 -0
- pulumi_oci/database/exadb_vm_cluster.py +1761 -0
- pulumi_oci/database/exascale_db_storage_vault.py +787 -0
- pulumi_oci/database/get_backups.py +22 -5
- pulumi_oci/database/get_db_node.py +14 -1
- pulumi_oci/database/get_db_nodes.py +2 -2
- pulumi_oci/database/get_exadb_vm_cluster.py +614 -0
- pulumi_oci/database/get_exadb_vm_cluster_update.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entries.py +153 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entry.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_updates.py +173 -0
- pulumi_oci/database/get_exadb_vm_clusters.py +196 -0
- pulumi_oci/database/get_exascale_db_storage_vault.py +301 -0
- pulumi_oci/database/get_exascale_db_storage_vaults.py +176 -0
- pulumi_oci/database/get_gi_version_minor_versions.py +221 -0
- pulumi_oci/database/get_gi_versions.py +22 -5
- pulumi_oci/database/outputs.py +2050 -0
- pulumi_oci/database/pluggable_database.py +7 -7
- pulumi_oci/databasemigration/__init__.py +6 -0
- pulumi_oci/databasemigration/_inputs.py +1577 -0
- pulumi_oci/databasemigration/connection.py +2019 -0
- pulumi_oci/databasemigration/get_connection.py +616 -0
- pulumi_oci/databasemigration/get_connections.py +225 -0
- pulumi_oci/databasemigration/get_job_advisor_report.py +2 -10
- pulumi_oci/databasemigration/get_migration.py +427 -0
- pulumi_oci/databasemigration/get_migration_object_types.py +24 -13
- pulumi_oci/databasemigration/get_migrations.py +407 -0
- pulumi_oci/databasemigration/job.py +16 -20
- pulumi_oci/databasemigration/migration.py +1471 -0
- pulumi_oci/databasemigration/outputs.py +4301 -73
- pulumi_oci/filestorage/_inputs.py +10 -18
- pulumi_oci/filestorage/export.py +28 -7
- pulumi_oci/filestorage/file_system.py +159 -35
- pulumi_oci/filestorage/outputs.py +55 -34
- pulumi_oci/generativeai/_inputs.py +50 -2
- pulumi_oci/generativeai/dedicated_ai_cluster.py +30 -2
- pulumi_oci/generativeai/endpoint.py +2 -2
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +2 -47
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +2 -14
- pulumi_oci/generativeai/get_endpoint.py +2 -26
- pulumi_oci/generativeai/get_endpoints.py +2 -8
- pulumi_oci/generativeai/get_model.py +2 -38
- pulumi_oci/generativeai/get_models.py +2 -8
- pulumi_oci/generativeai/model.py +2 -2
- pulumi_oci/generativeai/outputs.py +86 -310
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/resourcescheduler/__init__.py +12 -0
- pulumi_oci/resourcescheduler/_inputs.py +224 -0
- pulumi_oci/resourcescheduler/get_schedule.py +340 -0
- pulumi_oci/resourcescheduler/get_schedules.py +193 -0
- pulumi_oci/resourcescheduler/outputs.py +687 -0
- pulumi_oci/resourcescheduler/schedule.py +977 -0
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/RECORD +59 -36
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,427 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetMigrationResult',
|
15
|
+
'AwaitableGetMigrationResult',
|
16
|
+
'get_migration',
|
17
|
+
'get_migration_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetMigrationResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getMigration.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, advisor_settings=None, bulk_include_exclude_data=None, compartment_id=None, data_transfer_medium_details=None, database_combination=None, defined_tags=None, description=None, display_name=None, exclude_objects=None, executing_job_id=None, freeform_tags=None, ggs_details=None, hub_details=None, id=None, include_objects=None, initial_load_settings=None, lifecycle_details=None, migration_id=None, source_container_database_connection_id=None, source_database_connection_id=None, state=None, system_tags=None, target_database_connection_id=None, time_created=None, time_last_migration=None, time_updated=None, type=None, wait_after=None):
|
26
|
+
if advisor_settings and not isinstance(advisor_settings, list):
|
27
|
+
raise TypeError("Expected argument 'advisor_settings' to be a list")
|
28
|
+
pulumi.set(__self__, "advisor_settings", advisor_settings)
|
29
|
+
if bulk_include_exclude_data and not isinstance(bulk_include_exclude_data, str):
|
30
|
+
raise TypeError("Expected argument 'bulk_include_exclude_data' to be a str")
|
31
|
+
pulumi.set(__self__, "bulk_include_exclude_data", bulk_include_exclude_data)
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if data_transfer_medium_details and not isinstance(data_transfer_medium_details, list):
|
36
|
+
raise TypeError("Expected argument 'data_transfer_medium_details' to be a list")
|
37
|
+
pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details)
|
38
|
+
if database_combination and not isinstance(database_combination, str):
|
39
|
+
raise TypeError("Expected argument 'database_combination' to be a str")
|
40
|
+
pulumi.set(__self__, "database_combination", database_combination)
|
41
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
42
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
43
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
44
|
+
if description and not isinstance(description, str):
|
45
|
+
raise TypeError("Expected argument 'description' to be a str")
|
46
|
+
pulumi.set(__self__, "description", description)
|
47
|
+
if display_name and not isinstance(display_name, str):
|
48
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
49
|
+
pulumi.set(__self__, "display_name", display_name)
|
50
|
+
if exclude_objects and not isinstance(exclude_objects, list):
|
51
|
+
raise TypeError("Expected argument 'exclude_objects' to be a list")
|
52
|
+
pulumi.set(__self__, "exclude_objects", exclude_objects)
|
53
|
+
if executing_job_id and not isinstance(executing_job_id, str):
|
54
|
+
raise TypeError("Expected argument 'executing_job_id' to be a str")
|
55
|
+
pulumi.set(__self__, "executing_job_id", executing_job_id)
|
56
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
57
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
58
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
59
|
+
if ggs_details and not isinstance(ggs_details, list):
|
60
|
+
raise TypeError("Expected argument 'ggs_details' to be a list")
|
61
|
+
pulumi.set(__self__, "ggs_details", ggs_details)
|
62
|
+
if hub_details and not isinstance(hub_details, list):
|
63
|
+
raise TypeError("Expected argument 'hub_details' to be a list")
|
64
|
+
pulumi.set(__self__, "hub_details", hub_details)
|
65
|
+
if id and not isinstance(id, str):
|
66
|
+
raise TypeError("Expected argument 'id' to be a str")
|
67
|
+
pulumi.set(__self__, "id", id)
|
68
|
+
if include_objects and not isinstance(include_objects, list):
|
69
|
+
raise TypeError("Expected argument 'include_objects' to be a list")
|
70
|
+
pulumi.set(__self__, "include_objects", include_objects)
|
71
|
+
if initial_load_settings and not isinstance(initial_load_settings, list):
|
72
|
+
raise TypeError("Expected argument 'initial_load_settings' to be a list")
|
73
|
+
pulumi.set(__self__, "initial_load_settings", initial_load_settings)
|
74
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
75
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
76
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
77
|
+
if migration_id and not isinstance(migration_id, str):
|
78
|
+
raise TypeError("Expected argument 'migration_id' to be a str")
|
79
|
+
pulumi.set(__self__, "migration_id", migration_id)
|
80
|
+
if source_container_database_connection_id and not isinstance(source_container_database_connection_id, str):
|
81
|
+
raise TypeError("Expected argument 'source_container_database_connection_id' to be a str")
|
82
|
+
pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id)
|
83
|
+
if source_database_connection_id and not isinstance(source_database_connection_id, str):
|
84
|
+
raise TypeError("Expected argument 'source_database_connection_id' to be a str")
|
85
|
+
pulumi.set(__self__, "source_database_connection_id", source_database_connection_id)
|
86
|
+
if state and not isinstance(state, str):
|
87
|
+
raise TypeError("Expected argument 'state' to be a str")
|
88
|
+
pulumi.set(__self__, "state", state)
|
89
|
+
if system_tags and not isinstance(system_tags, dict):
|
90
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
91
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
92
|
+
if target_database_connection_id and not isinstance(target_database_connection_id, str):
|
93
|
+
raise TypeError("Expected argument 'target_database_connection_id' to be a str")
|
94
|
+
pulumi.set(__self__, "target_database_connection_id", target_database_connection_id)
|
95
|
+
if time_created and not isinstance(time_created, str):
|
96
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
97
|
+
pulumi.set(__self__, "time_created", time_created)
|
98
|
+
if time_last_migration and not isinstance(time_last_migration, str):
|
99
|
+
raise TypeError("Expected argument 'time_last_migration' to be a str")
|
100
|
+
pulumi.set(__self__, "time_last_migration", time_last_migration)
|
101
|
+
if time_updated and not isinstance(time_updated, str):
|
102
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
103
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
104
|
+
if type and not isinstance(type, str):
|
105
|
+
raise TypeError("Expected argument 'type' to be a str")
|
106
|
+
pulumi.set(__self__, "type", type)
|
107
|
+
if wait_after and not isinstance(wait_after, str):
|
108
|
+
raise TypeError("Expected argument 'wait_after' to be a str")
|
109
|
+
pulumi.set(__self__, "wait_after", wait_after)
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="advisorSettings")
|
113
|
+
def advisor_settings(self) -> Sequence['outputs.GetMigrationAdvisorSettingResult']:
|
114
|
+
"""
|
115
|
+
Details about Oracle Advisor Settings.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "advisor_settings")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="bulkIncludeExcludeData")
|
121
|
+
def bulk_include_exclude_data(self) -> str:
|
122
|
+
return pulumi.get(self, "bulk_include_exclude_data")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="compartmentId")
|
126
|
+
def compartment_id(self) -> str:
|
127
|
+
"""
|
128
|
+
The OCID of the resource being referenced.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "compartment_id")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="dataTransferMediumDetails")
|
134
|
+
def data_transfer_medium_details(self) -> Sequence['outputs.GetMigrationDataTransferMediumDetailResult']:
|
135
|
+
"""
|
136
|
+
Optional additional properties for data transfer.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "data_transfer_medium_details")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="databaseCombination")
|
142
|
+
def database_combination(self) -> str:
|
143
|
+
"""
|
144
|
+
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.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "database_combination")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="definedTags")
|
150
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
151
|
+
"""
|
152
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "defined_tags")
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter
|
158
|
+
def description(self) -> str:
|
159
|
+
"""
|
160
|
+
A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "description")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="displayName")
|
166
|
+
def display_name(self) -> str:
|
167
|
+
"""
|
168
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "display_name")
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter(name="excludeObjects")
|
174
|
+
def exclude_objects(self) -> Sequence['outputs.GetMigrationExcludeObjectResult']:
|
175
|
+
return pulumi.get(self, "exclude_objects")
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter(name="executingJobId")
|
179
|
+
def executing_job_id(self) -> str:
|
180
|
+
"""
|
181
|
+
The OCID of the resource being referenced.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "executing_job_id")
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter(name="freeformTags")
|
187
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
188
|
+
"""
|
189
|
+
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"}
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "freeform_tags")
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="ggsDetails")
|
195
|
+
def ggs_details(self) -> Sequence['outputs.GetMigrationGgsDetailResult']:
|
196
|
+
"""
|
197
|
+
Details for Oracle GoldenGate Deployment (Internally managed by the service, not required and will be ignored if provided).
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "ggs_details")
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter(name="hubDetails")
|
203
|
+
def hub_details(self) -> Sequence['outputs.GetMigrationHubDetailResult']:
|
204
|
+
"""
|
205
|
+
Details for Oracle GoldenGate Marketplace Instance / Deployment (Currently not supported for MySQL migrations).
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "hub_details")
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter
|
211
|
+
def id(self) -> str:
|
212
|
+
"""
|
213
|
+
The OCID of the resource being referenced.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "id")
|
216
|
+
|
217
|
+
@property
|
218
|
+
@pulumi.getter(name="includeObjects")
|
219
|
+
def include_objects(self) -> Sequence['outputs.GetMigrationIncludeObjectResult']:
|
220
|
+
return pulumi.get(self, "include_objects")
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter(name="initialLoadSettings")
|
224
|
+
def initial_load_settings(self) -> Sequence['outputs.GetMigrationInitialLoadSettingResult']:
|
225
|
+
"""
|
226
|
+
Optional settings for Data Pump Export and Import jobs
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "initial_load_settings")
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="lifecycleDetails")
|
232
|
+
def lifecycle_details(self) -> str:
|
233
|
+
"""
|
234
|
+
Additional status related to the execution and current state of the Migration.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "lifecycle_details")
|
237
|
+
|
238
|
+
@property
|
239
|
+
@pulumi.getter(name="migrationId")
|
240
|
+
def migration_id(self) -> str:
|
241
|
+
return pulumi.get(self, "migration_id")
|
242
|
+
|
243
|
+
@property
|
244
|
+
@pulumi.getter(name="sourceContainerDatabaseConnectionId")
|
245
|
+
def source_container_database_connection_id(self) -> str:
|
246
|
+
"""
|
247
|
+
The OCID of the resource being referenced.
|
248
|
+
"""
|
249
|
+
return pulumi.get(self, "source_container_database_connection_id")
|
250
|
+
|
251
|
+
@property
|
252
|
+
@pulumi.getter(name="sourceDatabaseConnectionId")
|
253
|
+
def source_database_connection_id(self) -> str:
|
254
|
+
"""
|
255
|
+
The OCID of the resource being referenced.
|
256
|
+
"""
|
257
|
+
return pulumi.get(self, "source_database_connection_id")
|
258
|
+
|
259
|
+
@property
|
260
|
+
@pulumi.getter
|
261
|
+
def state(self) -> str:
|
262
|
+
"""
|
263
|
+
The current state of the Migration resource.
|
264
|
+
"""
|
265
|
+
return pulumi.get(self, "state")
|
266
|
+
|
267
|
+
@property
|
268
|
+
@pulumi.getter(name="systemTags")
|
269
|
+
def system_tags(self) -> Mapping[str, Any]:
|
270
|
+
"""
|
271
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
272
|
+
"""
|
273
|
+
return pulumi.get(self, "system_tags")
|
274
|
+
|
275
|
+
@property
|
276
|
+
@pulumi.getter(name="targetDatabaseConnectionId")
|
277
|
+
def target_database_connection_id(self) -> str:
|
278
|
+
"""
|
279
|
+
The OCID of the resource being referenced.
|
280
|
+
"""
|
281
|
+
return pulumi.get(self, "target_database_connection_id")
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter(name="timeCreated")
|
285
|
+
def time_created(self) -> str:
|
286
|
+
"""
|
287
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
288
|
+
"""
|
289
|
+
return pulumi.get(self, "time_created")
|
290
|
+
|
291
|
+
@property
|
292
|
+
@pulumi.getter(name="timeLastMigration")
|
293
|
+
def time_last_migration(self) -> str:
|
294
|
+
"""
|
295
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
296
|
+
"""
|
297
|
+
return pulumi.get(self, "time_last_migration")
|
298
|
+
|
299
|
+
@property
|
300
|
+
@pulumi.getter(name="timeUpdated")
|
301
|
+
def time_updated(self) -> str:
|
302
|
+
"""
|
303
|
+
An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
|
304
|
+
"""
|
305
|
+
return pulumi.get(self, "time_updated")
|
306
|
+
|
307
|
+
@property
|
308
|
+
@pulumi.getter
|
309
|
+
def type(self) -> str:
|
310
|
+
"""
|
311
|
+
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.
|
312
|
+
"""
|
313
|
+
return pulumi.get(self, "type")
|
314
|
+
|
315
|
+
@property
|
316
|
+
@pulumi.getter(name="waitAfter")
|
317
|
+
def wait_after(self) -> str:
|
318
|
+
"""
|
319
|
+
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.
|
320
|
+
"""
|
321
|
+
return pulumi.get(self, "wait_after")
|
322
|
+
|
323
|
+
|
324
|
+
class AwaitableGetMigrationResult(GetMigrationResult):
|
325
|
+
# pylint: disable=using-constant-test
|
326
|
+
def __await__(self):
|
327
|
+
if False:
|
328
|
+
yield self
|
329
|
+
return GetMigrationResult(
|
330
|
+
advisor_settings=self.advisor_settings,
|
331
|
+
bulk_include_exclude_data=self.bulk_include_exclude_data,
|
332
|
+
compartment_id=self.compartment_id,
|
333
|
+
data_transfer_medium_details=self.data_transfer_medium_details,
|
334
|
+
database_combination=self.database_combination,
|
335
|
+
defined_tags=self.defined_tags,
|
336
|
+
description=self.description,
|
337
|
+
display_name=self.display_name,
|
338
|
+
exclude_objects=self.exclude_objects,
|
339
|
+
executing_job_id=self.executing_job_id,
|
340
|
+
freeform_tags=self.freeform_tags,
|
341
|
+
ggs_details=self.ggs_details,
|
342
|
+
hub_details=self.hub_details,
|
343
|
+
id=self.id,
|
344
|
+
include_objects=self.include_objects,
|
345
|
+
initial_load_settings=self.initial_load_settings,
|
346
|
+
lifecycle_details=self.lifecycle_details,
|
347
|
+
migration_id=self.migration_id,
|
348
|
+
source_container_database_connection_id=self.source_container_database_connection_id,
|
349
|
+
source_database_connection_id=self.source_database_connection_id,
|
350
|
+
state=self.state,
|
351
|
+
system_tags=self.system_tags,
|
352
|
+
target_database_connection_id=self.target_database_connection_id,
|
353
|
+
time_created=self.time_created,
|
354
|
+
time_last_migration=self.time_last_migration,
|
355
|
+
time_updated=self.time_updated,
|
356
|
+
type=self.type,
|
357
|
+
wait_after=self.wait_after)
|
358
|
+
|
359
|
+
|
360
|
+
def get_migration(migration_id: Optional[str] = None,
|
361
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMigrationResult:
|
362
|
+
"""
|
363
|
+
## Example Usage
|
364
|
+
|
365
|
+
```python
|
366
|
+
import pulumi
|
367
|
+
import pulumi_oci as oci
|
368
|
+
|
369
|
+
test_migration = oci.DatabaseMigration.get_migration(migration_id=test_migration_oci_database_migration_migration["id"])
|
370
|
+
```
|
371
|
+
|
372
|
+
|
373
|
+
:param str migration_id: The OCID of the migration
|
374
|
+
"""
|
375
|
+
__args__ = dict()
|
376
|
+
__args__['migrationId'] = migration_id
|
377
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
378
|
+
__ret__ = pulumi.runtime.invoke('oci:DatabaseMigration/getMigration:getMigration', __args__, opts=opts, typ=GetMigrationResult).value
|
379
|
+
|
380
|
+
return AwaitableGetMigrationResult(
|
381
|
+
advisor_settings=pulumi.get(__ret__, 'advisor_settings'),
|
382
|
+
bulk_include_exclude_data=pulumi.get(__ret__, 'bulk_include_exclude_data'),
|
383
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
384
|
+
data_transfer_medium_details=pulumi.get(__ret__, 'data_transfer_medium_details'),
|
385
|
+
database_combination=pulumi.get(__ret__, 'database_combination'),
|
386
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
387
|
+
description=pulumi.get(__ret__, 'description'),
|
388
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
389
|
+
exclude_objects=pulumi.get(__ret__, 'exclude_objects'),
|
390
|
+
executing_job_id=pulumi.get(__ret__, 'executing_job_id'),
|
391
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
392
|
+
ggs_details=pulumi.get(__ret__, 'ggs_details'),
|
393
|
+
hub_details=pulumi.get(__ret__, 'hub_details'),
|
394
|
+
id=pulumi.get(__ret__, 'id'),
|
395
|
+
include_objects=pulumi.get(__ret__, 'include_objects'),
|
396
|
+
initial_load_settings=pulumi.get(__ret__, 'initial_load_settings'),
|
397
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
398
|
+
migration_id=pulumi.get(__ret__, 'migration_id'),
|
399
|
+
source_container_database_connection_id=pulumi.get(__ret__, 'source_container_database_connection_id'),
|
400
|
+
source_database_connection_id=pulumi.get(__ret__, 'source_database_connection_id'),
|
401
|
+
state=pulumi.get(__ret__, 'state'),
|
402
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
403
|
+
target_database_connection_id=pulumi.get(__ret__, 'target_database_connection_id'),
|
404
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
405
|
+
time_last_migration=pulumi.get(__ret__, 'time_last_migration'),
|
406
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
407
|
+
type=pulumi.get(__ret__, 'type'),
|
408
|
+
wait_after=pulumi.get(__ret__, 'wait_after'))
|
409
|
+
|
410
|
+
|
411
|
+
@_utilities.lift_output_func(get_migration)
|
412
|
+
def get_migration_output(migration_id: Optional[pulumi.Input[str]] = None,
|
413
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMigrationResult]:
|
414
|
+
"""
|
415
|
+
## Example Usage
|
416
|
+
|
417
|
+
```python
|
418
|
+
import pulumi
|
419
|
+
import pulumi_oci as oci
|
420
|
+
|
421
|
+
test_migration = oci.DatabaseMigration.get_migration(migration_id=test_migration_oci_database_migration_migration["id"])
|
422
|
+
```
|
423
|
+
|
424
|
+
|
425
|
+
:param str migration_id: The OCID of the migration
|
426
|
+
"""
|
427
|
+
...
|
@@ -23,7 +23,10 @@ class GetMigrationObjectTypesResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getMigrationObjectTypes.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, filters=None, id=None, migration_object_type_summary_collections=None):
|
26
|
+
def __init__(__self__, connection_type=None, filters=None, id=None, migration_object_type_summary_collections=None):
|
27
|
+
if connection_type and not isinstance(connection_type, str):
|
28
|
+
raise TypeError("Expected argument 'connection_type' to be a str")
|
29
|
+
pulumi.set(__self__, "connection_type", connection_type)
|
27
30
|
if filters and not isinstance(filters, list):
|
28
31
|
raise TypeError("Expected argument 'filters' to be a list")
|
29
32
|
pulumi.set(__self__, "filters", filters)
|
@@ -34,6 +37,11 @@ class GetMigrationObjectTypesResult:
|
|
34
37
|
raise TypeError("Expected argument 'migration_object_type_summary_collections' to be a list")
|
35
38
|
pulumi.set(__self__, "migration_object_type_summary_collections", migration_object_type_summary_collections)
|
36
39
|
|
40
|
+
@property
|
41
|
+
@pulumi.getter(name="connectionType")
|
42
|
+
def connection_type(self) -> str:
|
43
|
+
return pulumi.get(self, "connection_type")
|
44
|
+
|
37
45
|
@property
|
38
46
|
@pulumi.getter
|
39
47
|
def filters(self) -> Optional[Sequence['outputs.GetMigrationObjectTypesFilterResult']]:
|
@@ -62,53 +70,56 @@ class AwaitableGetMigrationObjectTypesResult(GetMigrationObjectTypesResult):
|
|
62
70
|
if False:
|
63
71
|
yield self
|
64
72
|
return GetMigrationObjectTypesResult(
|
73
|
+
connection_type=self.connection_type,
|
65
74
|
filters=self.filters,
|
66
75
|
id=self.id,
|
67
76
|
migration_object_type_summary_collections=self.migration_object_type_summary_collections)
|
68
77
|
|
69
78
|
|
70
|
-
def get_migration_object_types(
|
79
|
+
def get_migration_object_types(connection_type: Optional[str] = None,
|
80
|
+
filters: Optional[Sequence[pulumi.InputType['GetMigrationObjectTypesFilterArgs']]] = None,
|
71
81
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMigrationObjectTypesResult:
|
72
82
|
"""
|
73
|
-
This data source provides the list of Migration Object Types in Oracle Cloud Infrastructure Database Migration service.
|
74
|
-
|
75
|
-
Display sample object types to exclude or include for a Migration.
|
76
|
-
|
77
83
|
## Example Usage
|
78
84
|
|
79
85
|
```python
|
80
86
|
import pulumi
|
81
87
|
import pulumi_oci as oci
|
82
88
|
|
83
|
-
test_migration_object_types = oci.DatabaseMigration.get_migration_object_types()
|
89
|
+
test_migration_object_types = oci.DatabaseMigration.get_migration_object_types(connection_type=migration_object_type_connection_type)
|
84
90
|
```
|
91
|
+
|
92
|
+
|
93
|
+
:param str connection_type: The connection type for migration objects.
|
85
94
|
"""
|
86
95
|
__args__ = dict()
|
96
|
+
__args__['connectionType'] = connection_type
|
87
97
|
__args__['filters'] = filters
|
88
98
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
89
99
|
__ret__ = pulumi.runtime.invoke('oci:DatabaseMigration/getMigrationObjectTypes:getMigrationObjectTypes', __args__, opts=opts, typ=GetMigrationObjectTypesResult).value
|
90
100
|
|
91
101
|
return AwaitableGetMigrationObjectTypesResult(
|
102
|
+
connection_type=pulumi.get(__ret__, 'connection_type'),
|
92
103
|
filters=pulumi.get(__ret__, 'filters'),
|
93
104
|
id=pulumi.get(__ret__, 'id'),
|
94
105
|
migration_object_type_summary_collections=pulumi.get(__ret__, 'migration_object_type_summary_collections'))
|
95
106
|
|
96
107
|
|
97
108
|
@_utilities.lift_output_func(get_migration_object_types)
|
98
|
-
def get_migration_object_types_output(
|
109
|
+
def get_migration_object_types_output(connection_type: Optional[pulumi.Input[str]] = None,
|
110
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetMigrationObjectTypesFilterArgs']]]]] = None,
|
99
111
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMigrationObjectTypesResult]:
|
100
112
|
"""
|
101
|
-
This data source provides the list of Migration Object Types in Oracle Cloud Infrastructure Database Migration service.
|
102
|
-
|
103
|
-
Display sample object types to exclude or include for a Migration.
|
104
|
-
|
105
113
|
## Example Usage
|
106
114
|
|
107
115
|
```python
|
108
116
|
import pulumi
|
109
117
|
import pulumi_oci as oci
|
110
118
|
|
111
|
-
test_migration_object_types = oci.DatabaseMigration.get_migration_object_types()
|
119
|
+
test_migration_object_types = oci.DatabaseMigration.get_migration_object_types(connection_type=migration_object_type_connection_type)
|
112
120
|
```
|
121
|
+
|
122
|
+
|
123
|
+
:param str connection_type: The connection type for migration objects.
|
113
124
|
"""
|
114
125
|
...
|