pulumi-oci 2.19.0a1734003732__py3-none-any.whl → 2.20.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 +16 -0
- pulumi_oci/bigdataservice/__init__.py +4 -0
- pulumi_oci/bigdataservice/_inputs.py +672 -6
- pulumi_oci/bigdataservice/bds_instance.py +169 -7
- pulumi_oci/bigdataservice/bds_instance_api_key.py +66 -3
- pulumi_oci/bigdataservice/bds_instance_identity_configuration.py +859 -0
- pulumi_oci/bigdataservice/bds_instance_patch_action.py +4 -0
- pulumi_oci/bigdataservice/get_bds_cluster_versions.py +123 -0
- pulumi_oci/bigdataservice/get_bds_instance.py +48 -1
- pulumi_oci/bigdataservice/get_bds_instance_api_key.py +17 -1
- pulumi_oci/bigdataservice/get_bds_instance_api_keys.py +3 -0
- pulumi_oci/bigdataservice/get_bds_instance_identity_configuration.py +322 -0
- pulumi_oci/bigdataservice/get_bds_instance_identity_configurations.py +207 -0
- pulumi_oci/bigdataservice/outputs.py +1466 -98
- pulumi_oci/blockchain/get_blockchain_platform.py +1 -1
- pulumi_oci/blockchain/outputs.py +2 -2
- pulumi_oci/core/outputs.py +4 -0
- pulumi_oci/database/autonomous_database.py +47 -0
- pulumi_oci/database/exadb_vm_cluster.py +104 -0
- pulumi_oci/database/get_autonomous_database.py +15 -1
- pulumi_oci/database/outputs.py +22 -0
- pulumi_oci/datascience/_inputs.py +32 -12
- pulumi_oci/datascience/get_job_run.py +3 -3
- pulumi_oci/datascience/get_job_runs.py +2 -2
- pulumi_oci/datascience/job_run.py +7 -7
- pulumi_oci/datascience/model_deployment.py +2 -0
- pulumi_oci/datascience/outputs.py +62 -26
- pulumi_oci/generativeai/dedicated_ai_cluster.py +21 -0
- pulumi_oci/goldengate/__init__.py +7 -0
- pulumi_oci/goldengate/_inputs.py +665 -0
- pulumi_oci/goldengate/connection.py +7 -7
- pulumi_oci/goldengate/get_pipeline.py +408 -0
- pulumi_oci/goldengate/get_pipeline_running_processes.py +144 -0
- pulumi_oci/goldengate/get_pipeline_schema_tables.py +207 -0
- pulumi_oci/goldengate/get_pipeline_schemas.py +163 -0
- pulumi_oci/goldengate/get_pipelines.py +213 -0
- pulumi_oci/goldengate/get_recipes.py +188 -0
- pulumi_oci/goldengate/get_trail_files.py +4 -2
- pulumi_oci/goldengate/get_trail_sequences.py +4 -2
- pulumi_oci/goldengate/outputs.py +1500 -0
- pulumi_oci/goldengate/pipeline.py +928 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/stackmonitoring/_inputs.py +94 -14
- pulumi_oci/stackmonitoring/get_metric_extensions.py +22 -3
- pulumi_oci/stackmonitoring/metric_extension.py +8 -0
- pulumi_oci/stackmonitoring/outputs.py +166 -24
- {pulumi_oci-2.19.0a1734003732.dist-info → pulumi_oci-2.20.0.dist-info}/METADATA +3 -3
- {pulumi_oci-2.19.0a1734003732.dist-info → pulumi_oci-2.20.0.dist-info}/RECORD +50 -39
- {pulumi_oci-2.19.0a1734003732.dist-info → pulumi_oci-2.20.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.19.0a1734003732.dist-info → pulumi_oci-2.20.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,207 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetPipelineSchemaTablesResult',
|
21
|
+
'AwaitableGetPipelineSchemaTablesResult',
|
22
|
+
'get_pipeline_schema_tables',
|
23
|
+
'get_pipeline_schema_tables_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetPipelineSchemaTablesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getPipelineSchemaTables.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, display_name=None, filters=None, id=None, pipeline_id=None, pipeline_schema_table_collections=None, source_schema_name=None, target_schema_name=None):
|
32
|
+
if display_name and not isinstance(display_name, str):
|
33
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
34
|
+
pulumi.set(__self__, "display_name", display_name)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if pipeline_id and not isinstance(pipeline_id, str):
|
42
|
+
raise TypeError("Expected argument 'pipeline_id' to be a str")
|
43
|
+
pulumi.set(__self__, "pipeline_id", pipeline_id)
|
44
|
+
if pipeline_schema_table_collections and not isinstance(pipeline_schema_table_collections, list):
|
45
|
+
raise TypeError("Expected argument 'pipeline_schema_table_collections' to be a list")
|
46
|
+
pulumi.set(__self__, "pipeline_schema_table_collections", pipeline_schema_table_collections)
|
47
|
+
if source_schema_name and not isinstance(source_schema_name, str):
|
48
|
+
raise TypeError("Expected argument 'source_schema_name' to be a str")
|
49
|
+
pulumi.set(__self__, "source_schema_name", source_schema_name)
|
50
|
+
if target_schema_name and not isinstance(target_schema_name, str):
|
51
|
+
raise TypeError("Expected argument 'target_schema_name' to be a str")
|
52
|
+
pulumi.set(__self__, "target_schema_name", target_schema_name)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="displayName")
|
56
|
+
def display_name(self) -> Optional[str]:
|
57
|
+
return pulumi.get(self, "display_name")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def filters(self) -> Optional[Sequence['outputs.GetPipelineSchemaTablesFilterResult']]:
|
62
|
+
return pulumi.get(self, "filters")
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter
|
66
|
+
def id(self) -> str:
|
67
|
+
"""
|
68
|
+
The provider-assigned unique ID for this managed resource.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "id")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="pipelineId")
|
74
|
+
def pipeline_id(self) -> str:
|
75
|
+
return pulumi.get(self, "pipeline_id")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="pipelineSchemaTableCollections")
|
79
|
+
def pipeline_schema_table_collections(self) -> Sequence['outputs.GetPipelineSchemaTablesPipelineSchemaTableCollectionResult']:
|
80
|
+
"""
|
81
|
+
The list of pipeline_schema_table_collection.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "pipeline_schema_table_collections")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="sourceSchemaName")
|
87
|
+
def source_schema_name(self) -> str:
|
88
|
+
"""
|
89
|
+
The schema name from the database connection.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "source_schema_name")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="targetSchemaName")
|
95
|
+
def target_schema_name(self) -> str:
|
96
|
+
"""
|
97
|
+
The schema name from the database connection.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "target_schema_name")
|
100
|
+
|
101
|
+
|
102
|
+
class AwaitableGetPipelineSchemaTablesResult(GetPipelineSchemaTablesResult):
|
103
|
+
# pylint: disable=using-constant-test
|
104
|
+
def __await__(self):
|
105
|
+
if False:
|
106
|
+
yield self
|
107
|
+
return GetPipelineSchemaTablesResult(
|
108
|
+
display_name=self.display_name,
|
109
|
+
filters=self.filters,
|
110
|
+
id=self.id,
|
111
|
+
pipeline_id=self.pipeline_id,
|
112
|
+
pipeline_schema_table_collections=self.pipeline_schema_table_collections,
|
113
|
+
source_schema_name=self.source_schema_name,
|
114
|
+
target_schema_name=self.target_schema_name)
|
115
|
+
|
116
|
+
|
117
|
+
def get_pipeline_schema_tables(display_name: Optional[str] = None,
|
118
|
+
filters: Optional[Sequence[Union['GetPipelineSchemaTablesFilterArgs', 'GetPipelineSchemaTablesFilterArgsDict']]] = None,
|
119
|
+
pipeline_id: Optional[str] = None,
|
120
|
+
source_schema_name: Optional[str] = None,
|
121
|
+
target_schema_name: Optional[str] = None,
|
122
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPipelineSchemaTablesResult:
|
123
|
+
"""
|
124
|
+
This data source provides the list of Pipeline Schema Tables in Oracle Cloud Infrastructure Golden Gate service.
|
125
|
+
|
126
|
+
Returns an array of tables under the given schemas of the pipeline for given source and target schemas passed as query params.
|
127
|
+
|
128
|
+
## Example Usage
|
129
|
+
|
130
|
+
```python
|
131
|
+
import pulumi
|
132
|
+
import pulumi_oci as oci
|
133
|
+
|
134
|
+
test_pipeline_schema_tables = oci.GoldenGate.get_pipeline_schema_tables(pipeline_id=test_pipeline["id"],
|
135
|
+
source_schema_name=pipeline_schema_table_source_schema_name,
|
136
|
+
target_schema_name=pipeline_schema_table_target_schema_name,
|
137
|
+
display_name=pipeline_schema_table_display_name)
|
138
|
+
```
|
139
|
+
|
140
|
+
|
141
|
+
:param str display_name: A filter to return only the resources that match the entire 'displayName' given.
|
142
|
+
:param str pipeline_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline created.
|
143
|
+
:param str source_schema_name: Name of the source schema obtained from get schema endpoint of the created pipeline.
|
144
|
+
:param str target_schema_name: Name of the target schema obtained from get schema endpoint of the created pipeline.
|
145
|
+
"""
|
146
|
+
__args__ = dict()
|
147
|
+
__args__['displayName'] = display_name
|
148
|
+
__args__['filters'] = filters
|
149
|
+
__args__['pipelineId'] = pipeline_id
|
150
|
+
__args__['sourceSchemaName'] = source_schema_name
|
151
|
+
__args__['targetSchemaName'] = target_schema_name
|
152
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
153
|
+
__ret__ = pulumi.runtime.invoke('oci:GoldenGate/getPipelineSchemaTables:getPipelineSchemaTables', __args__, opts=opts, typ=GetPipelineSchemaTablesResult).value
|
154
|
+
|
155
|
+
return AwaitableGetPipelineSchemaTablesResult(
|
156
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
157
|
+
filters=pulumi.get(__ret__, 'filters'),
|
158
|
+
id=pulumi.get(__ret__, 'id'),
|
159
|
+
pipeline_id=pulumi.get(__ret__, 'pipeline_id'),
|
160
|
+
pipeline_schema_table_collections=pulumi.get(__ret__, 'pipeline_schema_table_collections'),
|
161
|
+
source_schema_name=pulumi.get(__ret__, 'source_schema_name'),
|
162
|
+
target_schema_name=pulumi.get(__ret__, 'target_schema_name'))
|
163
|
+
def get_pipeline_schema_tables_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
164
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPipelineSchemaTablesFilterArgs', 'GetPipelineSchemaTablesFilterArgsDict']]]]] = None,
|
165
|
+
pipeline_id: Optional[pulumi.Input[str]] = None,
|
166
|
+
source_schema_name: Optional[pulumi.Input[str]] = None,
|
167
|
+
target_schema_name: Optional[pulumi.Input[str]] = None,
|
168
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPipelineSchemaTablesResult]:
|
169
|
+
"""
|
170
|
+
This data source provides the list of Pipeline Schema Tables in Oracle Cloud Infrastructure Golden Gate service.
|
171
|
+
|
172
|
+
Returns an array of tables under the given schemas of the pipeline for given source and target schemas passed as query params.
|
173
|
+
|
174
|
+
## Example Usage
|
175
|
+
|
176
|
+
```python
|
177
|
+
import pulumi
|
178
|
+
import pulumi_oci as oci
|
179
|
+
|
180
|
+
test_pipeline_schema_tables = oci.GoldenGate.get_pipeline_schema_tables(pipeline_id=test_pipeline["id"],
|
181
|
+
source_schema_name=pipeline_schema_table_source_schema_name,
|
182
|
+
target_schema_name=pipeline_schema_table_target_schema_name,
|
183
|
+
display_name=pipeline_schema_table_display_name)
|
184
|
+
```
|
185
|
+
|
186
|
+
|
187
|
+
:param str display_name: A filter to return only the resources that match the entire 'displayName' given.
|
188
|
+
:param str pipeline_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline created.
|
189
|
+
:param str source_schema_name: Name of the source schema obtained from get schema endpoint of the created pipeline.
|
190
|
+
:param str target_schema_name: Name of the target schema obtained from get schema endpoint of the created pipeline.
|
191
|
+
"""
|
192
|
+
__args__ = dict()
|
193
|
+
__args__['displayName'] = display_name
|
194
|
+
__args__['filters'] = filters
|
195
|
+
__args__['pipelineId'] = pipeline_id
|
196
|
+
__args__['sourceSchemaName'] = source_schema_name
|
197
|
+
__args__['targetSchemaName'] = target_schema_name
|
198
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
199
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GoldenGate/getPipelineSchemaTables:getPipelineSchemaTables', __args__, opts=opts, typ=GetPipelineSchemaTablesResult)
|
200
|
+
return __ret__.apply(lambda __response__: GetPipelineSchemaTablesResult(
|
201
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
202
|
+
filters=pulumi.get(__response__, 'filters'),
|
203
|
+
id=pulumi.get(__response__, 'id'),
|
204
|
+
pipeline_id=pulumi.get(__response__, 'pipeline_id'),
|
205
|
+
pipeline_schema_table_collections=pulumi.get(__response__, 'pipeline_schema_table_collections'),
|
206
|
+
source_schema_name=pulumi.get(__response__, 'source_schema_name'),
|
207
|
+
target_schema_name=pulumi.get(__response__, 'target_schema_name')))
|
@@ -0,0 +1,163 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetPipelineSchemasResult',
|
21
|
+
'AwaitableGetPipelineSchemasResult',
|
22
|
+
'get_pipeline_schemas',
|
23
|
+
'get_pipeline_schemas_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetPipelineSchemasResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getPipelineSchemas.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, display_name=None, filters=None, id=None, pipeline_id=None, pipeline_schema_collections=None):
|
32
|
+
if display_name and not isinstance(display_name, str):
|
33
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
34
|
+
pulumi.set(__self__, "display_name", display_name)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if pipeline_id and not isinstance(pipeline_id, str):
|
42
|
+
raise TypeError("Expected argument 'pipeline_id' to be a str")
|
43
|
+
pulumi.set(__self__, "pipeline_id", pipeline_id)
|
44
|
+
if pipeline_schema_collections and not isinstance(pipeline_schema_collections, list):
|
45
|
+
raise TypeError("Expected argument 'pipeline_schema_collections' to be a list")
|
46
|
+
pulumi.set(__self__, "pipeline_schema_collections", pipeline_schema_collections)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter(name="displayName")
|
50
|
+
def display_name(self) -> Optional[str]:
|
51
|
+
return pulumi.get(self, "display_name")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def filters(self) -> Optional[Sequence['outputs.GetPipelineSchemasFilterResult']]:
|
56
|
+
return pulumi.get(self, "filters")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def id(self) -> str:
|
61
|
+
"""
|
62
|
+
The provider-assigned unique ID for this managed resource.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="pipelineId")
|
68
|
+
def pipeline_id(self) -> str:
|
69
|
+
return pulumi.get(self, "pipeline_id")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="pipelineSchemaCollections")
|
73
|
+
def pipeline_schema_collections(self) -> Sequence['outputs.GetPipelineSchemasPipelineSchemaCollectionResult']:
|
74
|
+
"""
|
75
|
+
The list of pipeline_schema_collection.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "pipeline_schema_collections")
|
78
|
+
|
79
|
+
|
80
|
+
class AwaitableGetPipelineSchemasResult(GetPipelineSchemasResult):
|
81
|
+
# pylint: disable=using-constant-test
|
82
|
+
def __await__(self):
|
83
|
+
if False:
|
84
|
+
yield self
|
85
|
+
return GetPipelineSchemasResult(
|
86
|
+
display_name=self.display_name,
|
87
|
+
filters=self.filters,
|
88
|
+
id=self.id,
|
89
|
+
pipeline_id=self.pipeline_id,
|
90
|
+
pipeline_schema_collections=self.pipeline_schema_collections)
|
91
|
+
|
92
|
+
|
93
|
+
def get_pipeline_schemas(display_name: Optional[str] = None,
|
94
|
+
filters: Optional[Sequence[Union['GetPipelineSchemasFilterArgs', 'GetPipelineSchemasFilterArgsDict']]] = None,
|
95
|
+
pipeline_id: Optional[str] = None,
|
96
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPipelineSchemasResult:
|
97
|
+
"""
|
98
|
+
This data source provides the list of Pipeline Schemas in Oracle Cloud Infrastructure Golden Gate service.
|
99
|
+
|
100
|
+
Returns an array of schemas based on mapping rules for a pipeline.
|
101
|
+
|
102
|
+
## Example Usage
|
103
|
+
|
104
|
+
```python
|
105
|
+
import pulumi
|
106
|
+
import pulumi_oci as oci
|
107
|
+
|
108
|
+
test_pipeline_schemas = oci.GoldenGate.get_pipeline_schemas(pipeline_id=test_pipeline["id"],
|
109
|
+
display_name=pipeline_schema_display_name)
|
110
|
+
```
|
111
|
+
|
112
|
+
|
113
|
+
:param str display_name: A filter to return only the resources that match the entire 'displayName' given.
|
114
|
+
:param str pipeline_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline created.
|
115
|
+
"""
|
116
|
+
__args__ = dict()
|
117
|
+
__args__['displayName'] = display_name
|
118
|
+
__args__['filters'] = filters
|
119
|
+
__args__['pipelineId'] = pipeline_id
|
120
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
121
|
+
__ret__ = pulumi.runtime.invoke('oci:GoldenGate/getPipelineSchemas:getPipelineSchemas', __args__, opts=opts, typ=GetPipelineSchemasResult).value
|
122
|
+
|
123
|
+
return AwaitableGetPipelineSchemasResult(
|
124
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
125
|
+
filters=pulumi.get(__ret__, 'filters'),
|
126
|
+
id=pulumi.get(__ret__, 'id'),
|
127
|
+
pipeline_id=pulumi.get(__ret__, 'pipeline_id'),
|
128
|
+
pipeline_schema_collections=pulumi.get(__ret__, 'pipeline_schema_collections'))
|
129
|
+
def get_pipeline_schemas_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
130
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPipelineSchemasFilterArgs', 'GetPipelineSchemasFilterArgsDict']]]]] = None,
|
131
|
+
pipeline_id: Optional[pulumi.Input[str]] = None,
|
132
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPipelineSchemasResult]:
|
133
|
+
"""
|
134
|
+
This data source provides the list of Pipeline Schemas in Oracle Cloud Infrastructure Golden Gate service.
|
135
|
+
|
136
|
+
Returns an array of schemas based on mapping rules for a pipeline.
|
137
|
+
|
138
|
+
## Example Usage
|
139
|
+
|
140
|
+
```python
|
141
|
+
import pulumi
|
142
|
+
import pulumi_oci as oci
|
143
|
+
|
144
|
+
test_pipeline_schemas = oci.GoldenGate.get_pipeline_schemas(pipeline_id=test_pipeline["id"],
|
145
|
+
display_name=pipeline_schema_display_name)
|
146
|
+
```
|
147
|
+
|
148
|
+
|
149
|
+
:param str display_name: A filter to return only the resources that match the entire 'displayName' given.
|
150
|
+
:param str pipeline_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline created.
|
151
|
+
"""
|
152
|
+
__args__ = dict()
|
153
|
+
__args__['displayName'] = display_name
|
154
|
+
__args__['filters'] = filters
|
155
|
+
__args__['pipelineId'] = pipeline_id
|
156
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
157
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GoldenGate/getPipelineSchemas:getPipelineSchemas', __args__, opts=opts, typ=GetPipelineSchemasResult)
|
158
|
+
return __ret__.apply(lambda __response__: GetPipelineSchemasResult(
|
159
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
160
|
+
filters=pulumi.get(__response__, 'filters'),
|
161
|
+
id=pulumi.get(__response__, 'id'),
|
162
|
+
pipeline_id=pulumi.get(__response__, 'pipeline_id'),
|
163
|
+
pipeline_schema_collections=pulumi.get(__response__, 'pipeline_schema_collections')))
|
@@ -0,0 +1,213 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetPipelinesResult',
|
21
|
+
'AwaitableGetPipelinesResult',
|
22
|
+
'get_pipelines',
|
23
|
+
'get_pipelines_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetPipelinesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getPipelines.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, lifecycle_sub_state=None, pipeline_collections=None, state=None):
|
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 display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if lifecycle_sub_state and not isinstance(lifecycle_sub_state, str):
|
45
|
+
raise TypeError("Expected argument 'lifecycle_sub_state' to be a str")
|
46
|
+
pulumi.set(__self__, "lifecycle_sub_state", lifecycle_sub_state)
|
47
|
+
if pipeline_collections and not isinstance(pipeline_collections, list):
|
48
|
+
raise TypeError("Expected argument 'pipeline_collections' to be a list")
|
49
|
+
pulumi.set(__self__, "pipeline_collections", pipeline_collections)
|
50
|
+
if state and not isinstance(state, str):
|
51
|
+
raise TypeError("Expected argument 'state' to be a str")
|
52
|
+
pulumi.set(__self__, "state", state)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="compartmentId")
|
56
|
+
def compartment_id(self) -> str:
|
57
|
+
"""
|
58
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "compartment_id")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="displayName")
|
64
|
+
def display_name(self) -> Optional[str]:
|
65
|
+
"""
|
66
|
+
An object's Display Name.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "display_name")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def filters(self) -> Optional[Sequence['outputs.GetPipelinesFilterResult']]:
|
73
|
+
return pulumi.get(self, "filters")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def id(self) -> str:
|
78
|
+
"""
|
79
|
+
The provider-assigned unique ID for this managed resource.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "id")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="lifecycleSubState")
|
85
|
+
def lifecycle_sub_state(self) -> Optional[str]:
|
86
|
+
"""
|
87
|
+
Possible lifecycle substates when retrieving a pipeline.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "lifecycle_sub_state")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="pipelineCollections")
|
93
|
+
def pipeline_collections(self) -> Sequence['outputs.GetPipelinesPipelineCollectionResult']:
|
94
|
+
"""
|
95
|
+
The list of pipeline_collection.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "pipeline_collections")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def state(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
Lifecycle state of the pipeline.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "state")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetPipelinesResult(GetPipelinesResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetPipelinesResult(
|
114
|
+
compartment_id=self.compartment_id,
|
115
|
+
display_name=self.display_name,
|
116
|
+
filters=self.filters,
|
117
|
+
id=self.id,
|
118
|
+
lifecycle_sub_state=self.lifecycle_sub_state,
|
119
|
+
pipeline_collections=self.pipeline_collections,
|
120
|
+
state=self.state)
|
121
|
+
|
122
|
+
|
123
|
+
def get_pipelines(compartment_id: Optional[str] = None,
|
124
|
+
display_name: Optional[str] = None,
|
125
|
+
filters: Optional[Sequence[Union['GetPipelinesFilterArgs', 'GetPipelinesFilterArgsDict']]] = None,
|
126
|
+
lifecycle_sub_state: Optional[str] = None,
|
127
|
+
state: Optional[str] = None,
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPipelinesResult:
|
129
|
+
"""
|
130
|
+
This data source provides the list of Pipelines in Oracle Cloud Infrastructure Golden Gate service.
|
131
|
+
|
132
|
+
Lists the Pipelines in the compartment.
|
133
|
+
|
134
|
+
## Example Usage
|
135
|
+
|
136
|
+
```python
|
137
|
+
import pulumi
|
138
|
+
import pulumi_oci as oci
|
139
|
+
|
140
|
+
test_pipelines = oci.GoldenGate.get_pipelines(compartment_id=compartment_id,
|
141
|
+
display_name=pipeline_display_name,
|
142
|
+
lifecycle_sub_state=pipeline_lifecycle_sub_state,
|
143
|
+
state=pipeline_state)
|
144
|
+
```
|
145
|
+
|
146
|
+
|
147
|
+
:param str compartment_id: The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
|
148
|
+
:param str display_name: A filter to return only the resources that match the entire 'displayName' given.
|
149
|
+
:param str lifecycle_sub_state: A filtered list of pipelines to return for a given lifecycleSubState.
|
150
|
+
:param str state: A filtered list of pipelines to return for a given lifecycleState.
|
151
|
+
"""
|
152
|
+
__args__ = dict()
|
153
|
+
__args__['compartmentId'] = compartment_id
|
154
|
+
__args__['displayName'] = display_name
|
155
|
+
__args__['filters'] = filters
|
156
|
+
__args__['lifecycleSubState'] = lifecycle_sub_state
|
157
|
+
__args__['state'] = state
|
158
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
159
|
+
__ret__ = pulumi.runtime.invoke('oci:GoldenGate/getPipelines:getPipelines', __args__, opts=opts, typ=GetPipelinesResult).value
|
160
|
+
|
161
|
+
return AwaitableGetPipelinesResult(
|
162
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
163
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
164
|
+
filters=pulumi.get(__ret__, 'filters'),
|
165
|
+
id=pulumi.get(__ret__, 'id'),
|
166
|
+
lifecycle_sub_state=pulumi.get(__ret__, 'lifecycle_sub_state'),
|
167
|
+
pipeline_collections=pulumi.get(__ret__, 'pipeline_collections'),
|
168
|
+
state=pulumi.get(__ret__, 'state'))
|
169
|
+
def get_pipelines_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
170
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPipelinesFilterArgs', 'GetPipelinesFilterArgsDict']]]]] = None,
|
172
|
+
lifecycle_sub_state: Optional[pulumi.Input[Optional[str]]] = None,
|
173
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPipelinesResult]:
|
175
|
+
"""
|
176
|
+
This data source provides the list of Pipelines in Oracle Cloud Infrastructure Golden Gate service.
|
177
|
+
|
178
|
+
Lists the Pipelines in the compartment.
|
179
|
+
|
180
|
+
## Example Usage
|
181
|
+
|
182
|
+
```python
|
183
|
+
import pulumi
|
184
|
+
import pulumi_oci as oci
|
185
|
+
|
186
|
+
test_pipelines = oci.GoldenGate.get_pipelines(compartment_id=compartment_id,
|
187
|
+
display_name=pipeline_display_name,
|
188
|
+
lifecycle_sub_state=pipeline_lifecycle_sub_state,
|
189
|
+
state=pipeline_state)
|
190
|
+
```
|
191
|
+
|
192
|
+
|
193
|
+
:param str compartment_id: The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
|
194
|
+
:param str display_name: A filter to return only the resources that match the entire 'displayName' given.
|
195
|
+
:param str lifecycle_sub_state: A filtered list of pipelines to return for a given lifecycleSubState.
|
196
|
+
:param str state: A filtered list of pipelines to return for a given lifecycleState.
|
197
|
+
"""
|
198
|
+
__args__ = dict()
|
199
|
+
__args__['compartmentId'] = compartment_id
|
200
|
+
__args__['displayName'] = display_name
|
201
|
+
__args__['filters'] = filters
|
202
|
+
__args__['lifecycleSubState'] = lifecycle_sub_state
|
203
|
+
__args__['state'] = state
|
204
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
205
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GoldenGate/getPipelines:getPipelines', __args__, opts=opts, typ=GetPipelinesResult)
|
206
|
+
return __ret__.apply(lambda __response__: GetPipelinesResult(
|
207
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
208
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
209
|
+
filters=pulumi.get(__response__, 'filters'),
|
210
|
+
id=pulumi.get(__response__, 'id'),
|
211
|
+
lifecycle_sub_state=pulumi.get(__response__, 'lifecycle_sub_state'),
|
212
|
+
pipeline_collections=pulumi.get(__response__, 'pipeline_collections'),
|
213
|
+
state=pulumi.get(__response__, 'state')))
|