pulumi-oci 2.1.0__py3-none-any.whl → 2.1.0a1719958917__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 (59) hide show
  1. pulumi_oci/__init__.py +0 -43
  2. pulumi_oci/database/__init__.py +0 -11
  3. pulumi_oci/database/_inputs.py +0 -607
  4. pulumi_oci/database/db_node.py +0 -28
  5. pulumi_oci/database/get_backups.py +5 -22
  6. pulumi_oci/database/get_db_node.py +1 -14
  7. pulumi_oci/database/get_db_nodes.py +2 -2
  8. pulumi_oci/database/get_gi_versions.py +5 -22
  9. pulumi_oci/database/outputs.py +0 -2050
  10. pulumi_oci/database/pluggable_database.py +7 -7
  11. pulumi_oci/databasemigration/__init__.py +0 -6
  12. pulumi_oci/databasemigration/_inputs.py +0 -1577
  13. pulumi_oci/databasemigration/get_job_advisor_report.py +10 -2
  14. pulumi_oci/databasemigration/get_migration_object_types.py +13 -24
  15. pulumi_oci/databasemigration/job.py +20 -16
  16. pulumi_oci/databasemigration/outputs.py +72 -4300
  17. pulumi_oci/filestorage/_inputs.py +18 -10
  18. pulumi_oci/filestorage/export.py +7 -28
  19. pulumi_oci/filestorage/file_system.py +35 -159
  20. pulumi_oci/filestorage/outputs.py +34 -55
  21. pulumi_oci/generativeai/_inputs.py +2 -50
  22. pulumi_oci/generativeai/dedicated_ai_cluster.py +2 -30
  23. pulumi_oci/generativeai/endpoint.py +2 -2
  24. pulumi_oci/generativeai/get_dedicated_ai_cluster.py +47 -2
  25. pulumi_oci/generativeai/get_dedicated_ai_clusters.py +14 -2
  26. pulumi_oci/generativeai/get_endpoint.py +26 -2
  27. pulumi_oci/generativeai/get_endpoints.py +8 -2
  28. pulumi_oci/generativeai/get_model.py +38 -2
  29. pulumi_oci/generativeai/get_models.py +8 -2
  30. pulumi_oci/generativeai/model.py +2 -2
  31. pulumi_oci/generativeai/outputs.py +310 -86
  32. pulumi_oci/pulumi-plugin.json +1 -1
  33. {pulumi_oci-2.1.0.dist-info → pulumi_oci-2.1.0a1719958917.dist-info}/METADATA +1 -1
  34. {pulumi_oci-2.1.0.dist-info → pulumi_oci-2.1.0a1719958917.dist-info}/RECORD +36 -59
  35. pulumi_oci/database/exadb_vm_cluster.py +0 -1761
  36. pulumi_oci/database/exascale_db_storage_vault.py +0 -787
  37. pulumi_oci/database/get_exadb_vm_cluster.py +0 -614
  38. pulumi_oci/database/get_exadb_vm_cluster_update.py +0 -226
  39. pulumi_oci/database/get_exadb_vm_cluster_update_history_entries.py +0 -153
  40. pulumi_oci/database/get_exadb_vm_cluster_update_history_entry.py +0 -226
  41. pulumi_oci/database/get_exadb_vm_cluster_updates.py +0 -173
  42. pulumi_oci/database/get_exadb_vm_clusters.py +0 -196
  43. pulumi_oci/database/get_exascale_db_storage_vault.py +0 -301
  44. pulumi_oci/database/get_exascale_db_storage_vaults.py +0 -176
  45. pulumi_oci/database/get_gi_version_minor_versions.py +0 -221
  46. pulumi_oci/databasemigration/connection.py +0 -2019
  47. pulumi_oci/databasemigration/get_connection.py +0 -616
  48. pulumi_oci/databasemigration/get_connections.py +0 -225
  49. pulumi_oci/databasemigration/get_migration.py +0 -427
  50. pulumi_oci/databasemigration/get_migrations.py +0 -407
  51. pulumi_oci/databasemigration/migration.py +0 -1471
  52. pulumi_oci/resourcescheduler/__init__.py +0 -12
  53. pulumi_oci/resourcescheduler/_inputs.py +0 -224
  54. pulumi_oci/resourcescheduler/get_schedule.py +0 -340
  55. pulumi_oci/resourcescheduler/get_schedules.py +0 -193
  56. pulumi_oci/resourcescheduler/outputs.py +0 -687
  57. pulumi_oci/resourcescheduler/schedule.py +0 -977
  58. {pulumi_oci-2.1.0.dist-info → pulumi_oci-2.1.0a1719958917.dist-info}/WHEEL +0 -0
  59. {pulumi_oci-2.1.0.dist-info → pulumi_oci-2.1.0a1719958917.dist-info}/top_level.txt +0 -0
@@ -1,225 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
- from . import outputs
12
- from ._inputs import *
13
-
14
- __all__ = [
15
- 'GetConnectionsResult',
16
- 'AwaitableGetConnectionsResult',
17
- 'get_connections',
18
- 'get_connections_output',
19
- ]
20
-
21
- @pulumi.output_type
22
- class GetConnectionsResult:
23
- """
24
- A collection of values returned by getConnections.
25
- """
26
- def __init__(__self__, compartment_id=None, connection_collections=None, connection_types=None, display_name=None, filters=None, id=None, source_connection_id=None, state=None, technology_types=None):
27
- if compartment_id and not isinstance(compartment_id, str):
28
- raise TypeError("Expected argument 'compartment_id' to be a str")
29
- pulumi.set(__self__, "compartment_id", compartment_id)
30
- if connection_collections and not isinstance(connection_collections, list):
31
- raise TypeError("Expected argument 'connection_collections' to be a list")
32
- pulumi.set(__self__, "connection_collections", connection_collections)
33
- if connection_types and not isinstance(connection_types, list):
34
- raise TypeError("Expected argument 'connection_types' to be a list")
35
- pulumi.set(__self__, "connection_types", connection_types)
36
- if display_name and not isinstance(display_name, str):
37
- raise TypeError("Expected argument 'display_name' to be a str")
38
- pulumi.set(__self__, "display_name", display_name)
39
- if filters and not isinstance(filters, list):
40
- raise TypeError("Expected argument 'filters' to be a list")
41
- pulumi.set(__self__, "filters", filters)
42
- if id and not isinstance(id, str):
43
- raise TypeError("Expected argument 'id' to be a str")
44
- pulumi.set(__self__, "id", id)
45
- if source_connection_id and not isinstance(source_connection_id, str):
46
- raise TypeError("Expected argument 'source_connection_id' to be a str")
47
- pulumi.set(__self__, "source_connection_id", source_connection_id)
48
- if state and not isinstance(state, str):
49
- raise TypeError("Expected argument 'state' to be a str")
50
- pulumi.set(__self__, "state", state)
51
- if technology_types and not isinstance(technology_types, list):
52
- raise TypeError("Expected argument 'technology_types' to be a list")
53
- pulumi.set(__self__, "technology_types", technology_types)
54
-
55
- @property
56
- @pulumi.getter(name="compartmentId")
57
- def compartment_id(self) -> str:
58
- """
59
- The OCID of the compartment.
60
- """
61
- return pulumi.get(self, "compartment_id")
62
-
63
- @property
64
- @pulumi.getter(name="connectionCollections")
65
- def connection_collections(self) -> Sequence['outputs.GetConnectionsConnectionCollectionResult']:
66
- """
67
- The list of connection_collection.
68
- """
69
- return pulumi.get(self, "connection_collections")
70
-
71
- @property
72
- @pulumi.getter(name="connectionTypes")
73
- def connection_types(self) -> Optional[Sequence[str]]:
74
- """
75
- Defines the type of connection. For example, ORACLE.
76
- """
77
- return pulumi.get(self, "connection_types")
78
-
79
- @property
80
- @pulumi.getter(name="displayName")
81
- def display_name(self) -> Optional[str]:
82
- """
83
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
84
- """
85
- return pulumi.get(self, "display_name")
86
-
87
- @property
88
- @pulumi.getter
89
- def filters(self) -> Optional[Sequence['outputs.GetConnectionsFilterResult']]:
90
- return pulumi.get(self, "filters")
91
-
92
- @property
93
- @pulumi.getter
94
- def id(self) -> str:
95
- """
96
- The provider-assigned unique ID for this managed resource.
97
- """
98
- return pulumi.get(self, "id")
99
-
100
- @property
101
- @pulumi.getter(name="sourceConnectionId")
102
- def source_connection_id(self) -> Optional[str]:
103
- return pulumi.get(self, "source_connection_id")
104
-
105
- @property
106
- @pulumi.getter
107
- def state(self) -> Optional[str]:
108
- """
109
- The Connection's current lifecycle state.
110
- """
111
- return pulumi.get(self, "state")
112
-
113
- @property
114
- @pulumi.getter(name="technologyTypes")
115
- def technology_types(self) -> Optional[Sequence[str]]:
116
- """
117
- The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
118
- """
119
- return pulumi.get(self, "technology_types")
120
-
121
-
122
- class AwaitableGetConnectionsResult(GetConnectionsResult):
123
- # pylint: disable=using-constant-test
124
- def __await__(self):
125
- if False:
126
- yield self
127
- return GetConnectionsResult(
128
- compartment_id=self.compartment_id,
129
- connection_collections=self.connection_collections,
130
- connection_types=self.connection_types,
131
- display_name=self.display_name,
132
- filters=self.filters,
133
- id=self.id,
134
- source_connection_id=self.source_connection_id,
135
- state=self.state,
136
- technology_types=self.technology_types)
137
-
138
-
139
- def get_connections(compartment_id: Optional[str] = None,
140
- connection_types: Optional[Sequence[str]] = None,
141
- display_name: Optional[str] = None,
142
- filters: Optional[Sequence[pulumi.InputType['GetConnectionsFilterArgs']]] = None,
143
- source_connection_id: Optional[str] = None,
144
- state: Optional[str] = None,
145
- technology_types: Optional[Sequence[str]] = None,
146
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectionsResult:
147
- """
148
- ## Example Usage
149
-
150
- ```python
151
- import pulumi
152
- import pulumi_oci as oci
153
-
154
- test_connections = oci.DatabaseMigration.get_connections(compartment_id=compartment_id,
155
- connection_types=connection_connection_type,
156
- display_name=connection_display_name,
157
- source_connection_id=test_connection["id"],
158
- state=connection_state,
159
- technology_types=connection_technology_type)
160
- ```
161
-
162
-
163
- :param str compartment_id: The ID of the compartment in which to list resources.
164
- :param Sequence[str] connection_types: The array of connection types.
165
- :param str display_name: A filter to return only resources that match the entire display name given.
166
- :param str source_connection_id: The OCID of the source database connection.
167
- :param str state: The current state of the Database Migration Deployment.
168
- :param Sequence[str] technology_types: The array of technology types.
169
- """
170
- __args__ = dict()
171
- __args__['compartmentId'] = compartment_id
172
- __args__['connectionTypes'] = connection_types
173
- __args__['displayName'] = display_name
174
- __args__['filters'] = filters
175
- __args__['sourceConnectionId'] = source_connection_id
176
- __args__['state'] = state
177
- __args__['technologyTypes'] = technology_types
178
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
179
- __ret__ = pulumi.runtime.invoke('oci:DatabaseMigration/getConnections:getConnections', __args__, opts=opts, typ=GetConnectionsResult).value
180
-
181
- return AwaitableGetConnectionsResult(
182
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
183
- connection_collections=pulumi.get(__ret__, 'connection_collections'),
184
- connection_types=pulumi.get(__ret__, 'connection_types'),
185
- display_name=pulumi.get(__ret__, 'display_name'),
186
- filters=pulumi.get(__ret__, 'filters'),
187
- id=pulumi.get(__ret__, 'id'),
188
- source_connection_id=pulumi.get(__ret__, 'source_connection_id'),
189
- state=pulumi.get(__ret__, 'state'),
190
- technology_types=pulumi.get(__ret__, 'technology_types'))
191
-
192
-
193
- @_utilities.lift_output_func(get_connections)
194
- def get_connections_output(compartment_id: Optional[pulumi.Input[str]] = None,
195
- connection_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
196
- display_name: Optional[pulumi.Input[Optional[str]]] = None,
197
- filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetConnectionsFilterArgs']]]]] = None,
198
- source_connection_id: Optional[pulumi.Input[Optional[str]]] = None,
199
- state: Optional[pulumi.Input[Optional[str]]] = None,
200
- technology_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
201
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionsResult]:
202
- """
203
- ## Example Usage
204
-
205
- ```python
206
- import pulumi
207
- import pulumi_oci as oci
208
-
209
- test_connections = oci.DatabaseMigration.get_connections(compartment_id=compartment_id,
210
- connection_types=connection_connection_type,
211
- display_name=connection_display_name,
212
- source_connection_id=test_connection["id"],
213
- state=connection_state,
214
- technology_types=connection_technology_type)
215
- ```
216
-
217
-
218
- :param str compartment_id: The ID of the compartment in which to list resources.
219
- :param Sequence[str] connection_types: The array of connection types.
220
- :param str display_name: A filter to return only resources that match the entire display name given.
221
- :param str source_connection_id: The OCID of the source database connection.
222
- :param str state: The current state of the Database Migration Deployment.
223
- :param Sequence[str] technology_types: The array of technology types.
224
- """
225
- ...
@@ -1,427 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
- from . import outputs
12
-
13
- __all__ = [
14
- 'GetMigrationResult',
15
- 'AwaitableGetMigrationResult',
16
- 'get_migration',
17
- 'get_migration_output',
18
- ]
19
-
20
- @pulumi.output_type
21
- class GetMigrationResult:
22
- """
23
- A collection of values returned by getMigration.
24
- """
25
- def __init__(__self__, advisor_settings=None, 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
- ...