pulumi-oci 2.16.0a1731393786__py3-none-any.whl → 2.17.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 +59 -0
- pulumi_oci/core/_inputs.py +3 -3
- pulumi_oci/core/compute_capacity_reservation.py +7 -7
- pulumi_oci/core/get_boot_volume.py +1 -1
- pulumi_oci/core/get_volume.py +1 -1
- pulumi_oci/core/instance_pool.py +7 -7
- pulumi_oci/core/outputs.py +46 -46
- pulumi_oci/database/autonomous_database.py +47 -0
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +105 -0
- pulumi_oci/database/cloud_vm_cluster.py +49 -0
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/db_system.py +47 -0
- pulumi_oci/database/exadb_vm_cluster.py +68 -7
- pulumi_oci/database/get_autonomous_database.py +15 -1
- pulumi_oci/database/get_cloud_autonomous_vm_cluster.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_data_guard_association.py +12 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +16 -2
- pulumi_oci/database/outputs.py +97 -2
- pulumi_oci/dataflow/get_sql_endpoint.py +1 -15
- pulumi_oci/dataflow/outputs.py +0 -11
- pulumi_oci/dataflow/sql_endpoint.py +88 -85
- pulumi_oci/generativeai/__init__.py +16 -0
- pulumi_oci/generativeai/_inputs.py +1090 -0
- pulumi_oci/generativeai/agent_agent.py +665 -0
- pulumi_oci/generativeai/agent_agent_endpoint.py +888 -0
- pulumi_oci/generativeai/agent_data_ingestion_job.py +647 -0
- pulumi_oci/generativeai/agent_data_source.py +697 -0
- pulumi_oci/generativeai/agent_knowledge_base.py +659 -0
- pulumi_oci/generativeai/get_agent_agent.py +285 -0
- pulumi_oci/generativeai/get_agent_agent_endpoint.py +342 -0
- pulumi_oci/generativeai/get_agent_agent_endpoints.py +217 -0
- pulumi_oci/generativeai/get_agent_agents.py +195 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +286 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job_log_content.py +117 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_jobs.py +217 -0
- pulumi_oci/generativeai/get_agent_data_source.py +286 -0
- pulumi_oci/generativeai/get_agent_data_sources.py +217 -0
- pulumi_oci/generativeai/get_agent_knowledge_base.py +272 -0
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +195 -0
- pulumi_oci/generativeai/outputs.py +2840 -268
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1289 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +348 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +191 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +746 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +191 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2114 -0
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +822 -0
- pulumi_oci/globallydistributeddatabase/sharded_database.py +2157 -0
- pulumi_oci/goldengate/connection.py +1065 -78
- pulumi_oci/goldengate/deployment.py +7 -7
- pulumi_oci/goldengate/deployment_backup.py +49 -0
- pulumi_oci/goldengate/get_connection.py +288 -7
- pulumi_oci/goldengate/get_deployment.py +1 -1
- pulumi_oci/goldengate/get_deployment_backup.py +15 -1
- pulumi_oci/goldengate/outputs.py +240 -3
- pulumi_oci/identity/__init__.py +2 -0
- pulumi_oci/identity/_inputs.py +55 -6
- pulumi_oci/identity/domains_condition.py +9 -2
- pulumi_oci/identity/domains_policy.py +9 -2
- pulumi_oci/identity/domains_rule.py +9 -2
- pulumi_oci/identity/get_domains_condition.py +2 -2
- pulumi_oci/identity/get_domains_conditions.py +2 -2
- pulumi_oci/identity/get_domains_oci_console_sign_on_policy_consent.py +503 -0
- pulumi_oci/identity/get_domains_oci_console_sign_on_policy_consents.py +338 -0
- pulumi_oci/identity/get_domains_policies.py +2 -2
- pulumi_oci/identity/get_domains_policy.py +2 -2
- pulumi_oci/identity/get_domains_rule.py +2 -2
- pulumi_oci/identity/get_domains_rules.py +2 -2
- pulumi_oci/identity/outputs.py +917 -4
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/RECORD +76 -49
- {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,286 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetAgentDataIngestionJobResult',
|
20
|
+
'AwaitableGetAgentDataIngestionJobResult',
|
21
|
+
'get_agent_data_ingestion_job',
|
22
|
+
'get_agent_data_ingestion_job_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetAgentDataIngestionJobResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getAgentDataIngestionJob.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment_id=None, data_ingestion_job_id=None, data_ingestion_job_statistics=None, data_source_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
31
|
+
if compartment_id and not isinstance(compartment_id, str):
|
32
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
+
if data_ingestion_job_id and not isinstance(data_ingestion_job_id, str):
|
35
|
+
raise TypeError("Expected argument 'data_ingestion_job_id' to be a str")
|
36
|
+
pulumi.set(__self__, "data_ingestion_job_id", data_ingestion_job_id)
|
37
|
+
if data_ingestion_job_statistics and not isinstance(data_ingestion_job_statistics, list):
|
38
|
+
raise TypeError("Expected argument 'data_ingestion_job_statistics' to be a list")
|
39
|
+
pulumi.set(__self__, "data_ingestion_job_statistics", data_ingestion_job_statistics)
|
40
|
+
if data_source_id and not isinstance(data_source_id, str):
|
41
|
+
raise TypeError("Expected argument 'data_source_id' to be a str")
|
42
|
+
pulumi.set(__self__, "data_source_id", data_source_id)
|
43
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
44
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
45
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
46
|
+
if description and not isinstance(description, str):
|
47
|
+
raise TypeError("Expected argument 'description' to be a str")
|
48
|
+
pulumi.set(__self__, "description", description)
|
49
|
+
if display_name and not isinstance(display_name, str):
|
50
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
51
|
+
pulumi.set(__self__, "display_name", display_name)
|
52
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
53
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
54
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
55
|
+
if id and not isinstance(id, str):
|
56
|
+
raise TypeError("Expected argument 'id' to be a str")
|
57
|
+
pulumi.set(__self__, "id", id)
|
58
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
59
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
60
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
61
|
+
if state and not isinstance(state, str):
|
62
|
+
raise TypeError("Expected argument 'state' to be a str")
|
63
|
+
pulumi.set(__self__, "state", state)
|
64
|
+
if system_tags and not isinstance(system_tags, dict):
|
65
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
66
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
67
|
+
if time_created and not isinstance(time_created, str):
|
68
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
69
|
+
pulumi.set(__self__, "time_created", time_created)
|
70
|
+
if time_updated and not isinstance(time_updated, str):
|
71
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
72
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="compartmentId")
|
76
|
+
def compartment_id(self) -> str:
|
77
|
+
"""
|
78
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "compartment_id")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="dataIngestionJobId")
|
84
|
+
def data_ingestion_job_id(self) -> str:
|
85
|
+
return pulumi.get(self, "data_ingestion_job_id")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="dataIngestionJobStatistics")
|
89
|
+
def data_ingestion_job_statistics(self) -> Sequence['outputs.GetAgentDataIngestionJobDataIngestionJobStatisticResult']:
|
90
|
+
"""
|
91
|
+
**DataIngestionJobStatistics**
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "data_ingestion_job_statistics")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="dataSourceId")
|
97
|
+
def data_source_id(self) -> str:
|
98
|
+
"""
|
99
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent DataSource.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "data_source_id")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="definedTags")
|
105
|
+
def defined_tags(self) -> Mapping[str, str]:
|
106
|
+
"""
|
107
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "defined_tags")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def description(self) -> str:
|
114
|
+
"""
|
115
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "description")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="displayName")
|
121
|
+
def display_name(self) -> str:
|
122
|
+
"""
|
123
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "display_name")
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="freeformTags")
|
129
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
130
|
+
"""
|
131
|
+
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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "freeform_tags")
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def id(self) -> str:
|
138
|
+
"""
|
139
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DataIngestionJob.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "id")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter(name="lifecycleDetails")
|
145
|
+
def lifecycle_details(self) -> str:
|
146
|
+
"""
|
147
|
+
A message that describes the current state of the data ingestion job in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "lifecycle_details")
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter
|
153
|
+
def state(self) -> str:
|
154
|
+
"""
|
155
|
+
The current state of the data ingestion job.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "state")
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter(name="systemTags")
|
161
|
+
def system_tags(self) -> Mapping[str, str]:
|
162
|
+
"""
|
163
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "system_tags")
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter(name="timeCreated")
|
169
|
+
def time_created(self) -> str:
|
170
|
+
"""
|
171
|
+
The date and time the data ingestion job was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "time_created")
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter(name="timeUpdated")
|
177
|
+
def time_updated(self) -> str:
|
178
|
+
"""
|
179
|
+
The date and time the data ingestion job was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "time_updated")
|
182
|
+
|
183
|
+
|
184
|
+
class AwaitableGetAgentDataIngestionJobResult(GetAgentDataIngestionJobResult):
|
185
|
+
# pylint: disable=using-constant-test
|
186
|
+
def __await__(self):
|
187
|
+
if False:
|
188
|
+
yield self
|
189
|
+
return GetAgentDataIngestionJobResult(
|
190
|
+
compartment_id=self.compartment_id,
|
191
|
+
data_ingestion_job_id=self.data_ingestion_job_id,
|
192
|
+
data_ingestion_job_statistics=self.data_ingestion_job_statistics,
|
193
|
+
data_source_id=self.data_source_id,
|
194
|
+
defined_tags=self.defined_tags,
|
195
|
+
description=self.description,
|
196
|
+
display_name=self.display_name,
|
197
|
+
freeform_tags=self.freeform_tags,
|
198
|
+
id=self.id,
|
199
|
+
lifecycle_details=self.lifecycle_details,
|
200
|
+
state=self.state,
|
201
|
+
system_tags=self.system_tags,
|
202
|
+
time_created=self.time_created,
|
203
|
+
time_updated=self.time_updated)
|
204
|
+
|
205
|
+
|
206
|
+
def get_agent_data_ingestion_job(data_ingestion_job_id: Optional[str] = None,
|
207
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentDataIngestionJobResult:
|
208
|
+
"""
|
209
|
+
This data source provides details about a specific Data Ingestion Job resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
210
|
+
|
211
|
+
**GetDataIngestionJob**
|
212
|
+
|
213
|
+
Gets information about a data ingestion job.
|
214
|
+
|
215
|
+
## Example Usage
|
216
|
+
|
217
|
+
```python
|
218
|
+
import pulumi
|
219
|
+
import pulumi_oci as oci
|
220
|
+
|
221
|
+
test_data_ingestion_job = oci.GenerativeAi.get_agent_data_ingestion_job(data_ingestion_job_id=test_data_ingestion_job_oci_generative_ai_agent_data_ingestion_job["id"])
|
222
|
+
```
|
223
|
+
|
224
|
+
|
225
|
+
:param str data_ingestion_job_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data ingestion job.
|
226
|
+
"""
|
227
|
+
__args__ = dict()
|
228
|
+
__args__['dataIngestionJobId'] = data_ingestion_job_id
|
229
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
230
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentDataIngestionJob:getAgentDataIngestionJob', __args__, opts=opts, typ=GetAgentDataIngestionJobResult).value
|
231
|
+
|
232
|
+
return AwaitableGetAgentDataIngestionJobResult(
|
233
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
234
|
+
data_ingestion_job_id=pulumi.get(__ret__, 'data_ingestion_job_id'),
|
235
|
+
data_ingestion_job_statistics=pulumi.get(__ret__, 'data_ingestion_job_statistics'),
|
236
|
+
data_source_id=pulumi.get(__ret__, 'data_source_id'),
|
237
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
238
|
+
description=pulumi.get(__ret__, 'description'),
|
239
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
240
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
241
|
+
id=pulumi.get(__ret__, 'id'),
|
242
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
243
|
+
state=pulumi.get(__ret__, 'state'),
|
244
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
245
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
246
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
247
|
+
def get_agent_data_ingestion_job_output(data_ingestion_job_id: Optional[pulumi.Input[str]] = None,
|
248
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentDataIngestionJobResult]:
|
249
|
+
"""
|
250
|
+
This data source provides details about a specific Data Ingestion Job resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
251
|
+
|
252
|
+
**GetDataIngestionJob**
|
253
|
+
|
254
|
+
Gets information about a data ingestion job.
|
255
|
+
|
256
|
+
## Example Usage
|
257
|
+
|
258
|
+
```python
|
259
|
+
import pulumi
|
260
|
+
import pulumi_oci as oci
|
261
|
+
|
262
|
+
test_data_ingestion_job = oci.GenerativeAi.get_agent_data_ingestion_job(data_ingestion_job_id=test_data_ingestion_job_oci_generative_ai_agent_data_ingestion_job["id"])
|
263
|
+
```
|
264
|
+
|
265
|
+
|
266
|
+
:param str data_ingestion_job_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data ingestion job.
|
267
|
+
"""
|
268
|
+
__args__ = dict()
|
269
|
+
__args__['dataIngestionJobId'] = data_ingestion_job_id
|
270
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
271
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentDataIngestionJob:getAgentDataIngestionJob', __args__, opts=opts, typ=GetAgentDataIngestionJobResult)
|
272
|
+
return __ret__.apply(lambda __response__: GetAgentDataIngestionJobResult(
|
273
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
274
|
+
data_ingestion_job_id=pulumi.get(__response__, 'data_ingestion_job_id'),
|
275
|
+
data_ingestion_job_statistics=pulumi.get(__response__, 'data_ingestion_job_statistics'),
|
276
|
+
data_source_id=pulumi.get(__response__, 'data_source_id'),
|
277
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
278
|
+
description=pulumi.get(__response__, 'description'),
|
279
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
280
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
281
|
+
id=pulumi.get(__response__, 'id'),
|
282
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
283
|
+
state=pulumi.get(__response__, 'state'),
|
284
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
285
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
286
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,117 @@
|
|
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
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetAgentDataIngestionJobLogContentResult',
|
19
|
+
'AwaitableGetAgentDataIngestionJobLogContentResult',
|
20
|
+
'get_agent_data_ingestion_job_log_content',
|
21
|
+
'get_agent_data_ingestion_job_log_content_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetAgentDataIngestionJobLogContentResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getAgentDataIngestionJobLogContent.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, data_ingestion_job_id=None, id=None):
|
30
|
+
if data_ingestion_job_id and not isinstance(data_ingestion_job_id, str):
|
31
|
+
raise TypeError("Expected argument 'data_ingestion_job_id' to be a str")
|
32
|
+
pulumi.set(__self__, "data_ingestion_job_id", data_ingestion_job_id)
|
33
|
+
if id and not isinstance(id, str):
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
35
|
+
pulumi.set(__self__, "id", id)
|
36
|
+
|
37
|
+
@property
|
38
|
+
@pulumi.getter(name="dataIngestionJobId")
|
39
|
+
def data_ingestion_job_id(self) -> str:
|
40
|
+
return pulumi.get(self, "data_ingestion_job_id")
|
41
|
+
|
42
|
+
@property
|
43
|
+
@pulumi.getter
|
44
|
+
def id(self) -> str:
|
45
|
+
"""
|
46
|
+
The provider-assigned unique ID for this managed resource.
|
47
|
+
"""
|
48
|
+
return pulumi.get(self, "id")
|
49
|
+
|
50
|
+
|
51
|
+
class AwaitableGetAgentDataIngestionJobLogContentResult(GetAgentDataIngestionJobLogContentResult):
|
52
|
+
# pylint: disable=using-constant-test
|
53
|
+
def __await__(self):
|
54
|
+
if False:
|
55
|
+
yield self
|
56
|
+
return GetAgentDataIngestionJobLogContentResult(
|
57
|
+
data_ingestion_job_id=self.data_ingestion_job_id,
|
58
|
+
id=self.id)
|
59
|
+
|
60
|
+
|
61
|
+
def get_agent_data_ingestion_job_log_content(data_ingestion_job_id: Optional[str] = None,
|
62
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentDataIngestionJobLogContentResult:
|
63
|
+
"""
|
64
|
+
This data source provides details about a specific Data Ingestion Job Log Content resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
65
|
+
|
66
|
+
**GetDataIngestionJobLogContent**
|
67
|
+
|
68
|
+
Returns the raw log file for the specified data ingestion job in text format.
|
69
|
+
|
70
|
+
## Example Usage
|
71
|
+
|
72
|
+
```python
|
73
|
+
import pulumi
|
74
|
+
import pulumi_oci as oci
|
75
|
+
|
76
|
+
test_data_ingestion_job_log_content = oci.GenerativeAi.get_agent_data_ingestion_job_log_content(data_ingestion_job_id=test_data_ingestion_job["id"])
|
77
|
+
```
|
78
|
+
|
79
|
+
|
80
|
+
:param str data_ingestion_job_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data ingestion job.
|
81
|
+
"""
|
82
|
+
__args__ = dict()
|
83
|
+
__args__['dataIngestionJobId'] = data_ingestion_job_id
|
84
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
85
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentDataIngestionJobLogContent:getAgentDataIngestionJobLogContent', __args__, opts=opts, typ=GetAgentDataIngestionJobLogContentResult).value
|
86
|
+
|
87
|
+
return AwaitableGetAgentDataIngestionJobLogContentResult(
|
88
|
+
data_ingestion_job_id=pulumi.get(__ret__, 'data_ingestion_job_id'),
|
89
|
+
id=pulumi.get(__ret__, 'id'))
|
90
|
+
def get_agent_data_ingestion_job_log_content_output(data_ingestion_job_id: Optional[pulumi.Input[str]] = None,
|
91
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentDataIngestionJobLogContentResult]:
|
92
|
+
"""
|
93
|
+
This data source provides details about a specific Data Ingestion Job Log Content resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
94
|
+
|
95
|
+
**GetDataIngestionJobLogContent**
|
96
|
+
|
97
|
+
Returns the raw log file for the specified data ingestion job in text format.
|
98
|
+
|
99
|
+
## Example Usage
|
100
|
+
|
101
|
+
```python
|
102
|
+
import pulumi
|
103
|
+
import pulumi_oci as oci
|
104
|
+
|
105
|
+
test_data_ingestion_job_log_content = oci.GenerativeAi.get_agent_data_ingestion_job_log_content(data_ingestion_job_id=test_data_ingestion_job["id"])
|
106
|
+
```
|
107
|
+
|
108
|
+
|
109
|
+
:param str data_ingestion_job_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data ingestion job.
|
110
|
+
"""
|
111
|
+
__args__ = dict()
|
112
|
+
__args__['dataIngestionJobId'] = data_ingestion_job_id
|
113
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
114
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentDataIngestionJobLogContent:getAgentDataIngestionJobLogContent', __args__, opts=opts, typ=GetAgentDataIngestionJobLogContentResult)
|
115
|
+
return __ret__.apply(lambda __response__: GetAgentDataIngestionJobLogContentResult(
|
116
|
+
data_ingestion_job_id=pulumi.get(__response__, 'data_ingestion_job_id'),
|
117
|
+
id=pulumi.get(__response__, 'id')))
|
@@ -0,0 +1,217 @@
|
|
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
|
+
'GetAgentDataIngestionJobsResult',
|
21
|
+
'AwaitableGetAgentDataIngestionJobsResult',
|
22
|
+
'get_agent_data_ingestion_jobs',
|
23
|
+
'get_agent_data_ingestion_jobs_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetAgentDataIngestionJobsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getAgentDataIngestionJobs.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, data_ingestion_job_collections=None, data_source_id=None, display_name=None, filters=None, id=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 data_ingestion_job_collections and not isinstance(data_ingestion_job_collections, list):
|
36
|
+
raise TypeError("Expected argument 'data_ingestion_job_collections' to be a list")
|
37
|
+
pulumi.set(__self__, "data_ingestion_job_collections", data_ingestion_job_collections)
|
38
|
+
if data_source_id and not isinstance(data_source_id, str):
|
39
|
+
raise TypeError("Expected argument 'data_source_id' to be a str")
|
40
|
+
pulumi.set(__self__, "data_source_id", data_source_id)
|
41
|
+
if display_name and not isinstance(display_name, str):
|
42
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
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) -> Optional[str]:
|
57
|
+
"""
|
58
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "compartment_id")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="dataIngestionJobCollections")
|
64
|
+
def data_ingestion_job_collections(self) -> Sequence['outputs.GetAgentDataIngestionJobsDataIngestionJobCollectionResult']:
|
65
|
+
"""
|
66
|
+
The list of data_ingestion_job_collection.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "data_ingestion_job_collections")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="dataSourceId")
|
72
|
+
def data_source_id(self) -> Optional[str]:
|
73
|
+
"""
|
74
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent DataSource.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "data_source_id")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="displayName")
|
80
|
+
def display_name(self) -> Optional[str]:
|
81
|
+
"""
|
82
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "display_name")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def filters(self) -> Optional[Sequence['outputs.GetAgentDataIngestionJobsFilterResult']]:
|
89
|
+
return pulumi.get(self, "filters")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def id(self) -> str:
|
94
|
+
"""
|
95
|
+
The provider-assigned unique ID for this managed resource.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def state(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
The current state of the data ingestion job.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "state")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetAgentDataIngestionJobsResult(GetAgentDataIngestionJobsResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetAgentDataIngestionJobsResult(
|
114
|
+
compartment_id=self.compartment_id,
|
115
|
+
data_ingestion_job_collections=self.data_ingestion_job_collections,
|
116
|
+
data_source_id=self.data_source_id,
|
117
|
+
display_name=self.display_name,
|
118
|
+
filters=self.filters,
|
119
|
+
id=self.id,
|
120
|
+
state=self.state)
|
121
|
+
|
122
|
+
|
123
|
+
def get_agent_data_ingestion_jobs(compartment_id: Optional[str] = None,
|
124
|
+
data_source_id: Optional[str] = None,
|
125
|
+
display_name: Optional[str] = None,
|
126
|
+
filters: Optional[Sequence[Union['GetAgentDataIngestionJobsFilterArgs', 'GetAgentDataIngestionJobsFilterArgsDict']]] = None,
|
127
|
+
state: Optional[str] = None,
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentDataIngestionJobsResult:
|
129
|
+
"""
|
130
|
+
This data source provides the list of Data Ingestion Jobs in Oracle Cloud Infrastructure Generative Ai Agent service.
|
131
|
+
|
132
|
+
**ListDataIngestionJobs**
|
133
|
+
|
134
|
+
Gets a list of data ingestion jobs.
|
135
|
+
|
136
|
+
## Example Usage
|
137
|
+
|
138
|
+
```python
|
139
|
+
import pulumi
|
140
|
+
import pulumi_oci as oci
|
141
|
+
|
142
|
+
test_data_ingestion_jobs = oci.GenerativeAi.get_agent_data_ingestion_jobs(compartment_id=compartment_id,
|
143
|
+
data_source_id=test_data_source["id"],
|
144
|
+
display_name=data_ingestion_job_display_name,
|
145
|
+
state=data_ingestion_job_state)
|
146
|
+
```
|
147
|
+
|
148
|
+
|
149
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
150
|
+
:param str data_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data source.
|
151
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
152
|
+
:param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
153
|
+
"""
|
154
|
+
__args__ = dict()
|
155
|
+
__args__['compartmentId'] = compartment_id
|
156
|
+
__args__['dataSourceId'] = data_source_id
|
157
|
+
__args__['displayName'] = display_name
|
158
|
+
__args__['filters'] = filters
|
159
|
+
__args__['state'] = state
|
160
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
161
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentDataIngestionJobs:getAgentDataIngestionJobs', __args__, opts=opts, typ=GetAgentDataIngestionJobsResult).value
|
162
|
+
|
163
|
+
return AwaitableGetAgentDataIngestionJobsResult(
|
164
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
165
|
+
data_ingestion_job_collections=pulumi.get(__ret__, 'data_ingestion_job_collections'),
|
166
|
+
data_source_id=pulumi.get(__ret__, 'data_source_id'),
|
167
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
168
|
+
filters=pulumi.get(__ret__, 'filters'),
|
169
|
+
id=pulumi.get(__ret__, 'id'),
|
170
|
+
state=pulumi.get(__ret__, 'state'))
|
171
|
+
def get_agent_data_ingestion_jobs_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
+
data_source_id: Optional[pulumi.Input[Optional[str]]] = None,
|
173
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAgentDataIngestionJobsFilterArgs', 'GetAgentDataIngestionJobsFilterArgsDict']]]]] = None,
|
175
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
176
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentDataIngestionJobsResult]:
|
177
|
+
"""
|
178
|
+
This data source provides the list of Data Ingestion Jobs in Oracle Cloud Infrastructure Generative Ai Agent service.
|
179
|
+
|
180
|
+
**ListDataIngestionJobs**
|
181
|
+
|
182
|
+
Gets a list of data ingestion jobs.
|
183
|
+
|
184
|
+
## Example Usage
|
185
|
+
|
186
|
+
```python
|
187
|
+
import pulumi
|
188
|
+
import pulumi_oci as oci
|
189
|
+
|
190
|
+
test_data_ingestion_jobs = oci.GenerativeAi.get_agent_data_ingestion_jobs(compartment_id=compartment_id,
|
191
|
+
data_source_id=test_data_source["id"],
|
192
|
+
display_name=data_ingestion_job_display_name,
|
193
|
+
state=data_ingestion_job_state)
|
194
|
+
```
|
195
|
+
|
196
|
+
|
197
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
198
|
+
:param str data_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data source.
|
199
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
200
|
+
:param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
201
|
+
"""
|
202
|
+
__args__ = dict()
|
203
|
+
__args__['compartmentId'] = compartment_id
|
204
|
+
__args__['dataSourceId'] = data_source_id
|
205
|
+
__args__['displayName'] = display_name
|
206
|
+
__args__['filters'] = filters
|
207
|
+
__args__['state'] = state
|
208
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
209
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentDataIngestionJobs:getAgentDataIngestionJobs', __args__, opts=opts, typ=GetAgentDataIngestionJobsResult)
|
210
|
+
return __ret__.apply(lambda __response__: GetAgentDataIngestionJobsResult(
|
211
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
212
|
+
data_ingestion_job_collections=pulumi.get(__response__, 'data_ingestion_job_collections'),
|
213
|
+
data_source_id=pulumi.get(__response__, 'data_source_id'),
|
214
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
215
|
+
filters=pulumi.get(__response__, 'filters'),
|
216
|
+
id=pulumi.get(__response__, 'id'),
|
217
|
+
state=pulumi.get(__response__, 'state')))
|