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