pulumi-oci 2.16.0a1731504509__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.
Files changed (38) hide show
  1. pulumi_oci/__init__.py +40 -0
  2. pulumi_oci/core/_inputs.py +3 -3
  3. pulumi_oci/core/compute_capacity_reservation.py +7 -7
  4. pulumi_oci/core/get_boot_volume.py +1 -1
  5. pulumi_oci/core/get_volume.py +1 -1
  6. pulumi_oci/core/instance_pool.py +7 -7
  7. pulumi_oci/core/outputs.py +46 -46
  8. pulumi_oci/generativeai/__init__.py +16 -0
  9. pulumi_oci/generativeai/_inputs.py +1090 -0
  10. pulumi_oci/generativeai/agent_agent.py +665 -0
  11. pulumi_oci/generativeai/agent_agent_endpoint.py +888 -0
  12. pulumi_oci/generativeai/agent_data_ingestion_job.py +647 -0
  13. pulumi_oci/generativeai/agent_data_source.py +697 -0
  14. pulumi_oci/generativeai/agent_knowledge_base.py +659 -0
  15. pulumi_oci/generativeai/get_agent_agent.py +285 -0
  16. pulumi_oci/generativeai/get_agent_agent_endpoint.py +342 -0
  17. pulumi_oci/generativeai/get_agent_agent_endpoints.py +217 -0
  18. pulumi_oci/generativeai/get_agent_agents.py +195 -0
  19. pulumi_oci/generativeai/get_agent_data_ingestion_job.py +286 -0
  20. pulumi_oci/generativeai/get_agent_data_ingestion_job_log_content.py +117 -0
  21. pulumi_oci/generativeai/get_agent_data_ingestion_jobs.py +217 -0
  22. pulumi_oci/generativeai/get_agent_data_source.py +286 -0
  23. pulumi_oci/generativeai/get_agent_data_sources.py +217 -0
  24. pulumi_oci/generativeai/get_agent_knowledge_base.py +272 -0
  25. pulumi_oci/generativeai/get_agent_knowledge_bases.py +195 -0
  26. pulumi_oci/generativeai/outputs.py +2840 -268
  27. pulumi_oci/goldengate/connection.py +1065 -78
  28. pulumi_oci/goldengate/deployment.py +7 -7
  29. pulumi_oci/goldengate/deployment_backup.py +49 -0
  30. pulumi_oci/goldengate/get_connection.py +288 -7
  31. pulumi_oci/goldengate/get_deployment.py +1 -1
  32. pulumi_oci/goldengate/get_deployment_backup.py +15 -1
  33. pulumi_oci/goldengate/outputs.py +240 -3
  34. pulumi_oci/pulumi-plugin.json +1 -1
  35. {pulumi_oci-2.16.0a1731504509.dist-info → pulumi_oci-2.17.0.dist-info}/METADATA +1 -1
  36. {pulumi_oci-2.16.0a1731504509.dist-info → pulumi_oci-2.17.0.dist-info}/RECORD +38 -22
  37. {pulumi_oci-2.16.0a1731504509.dist-info → pulumi_oci-2.17.0.dist-info}/WHEEL +0 -0
  38. {pulumi_oci-2.16.0a1731504509.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
+ 'GetAgentDataSourceResult',
20
+ 'AwaitableGetAgentDataSourceResult',
21
+ 'get_agent_data_source',
22
+ 'get_agent_data_source_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetAgentDataSourceResult:
27
+ """
28
+ A collection of values returned by getAgentDataSource.
29
+ """
30
+ def __init__(__self__, compartment_id=None, data_source_configs=None, data_source_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, knowledge_base_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_source_configs and not isinstance(data_source_configs, list):
35
+ raise TypeError("Expected argument 'data_source_configs' to be a list")
36
+ pulumi.set(__self__, "data_source_configs", data_source_configs)
37
+ if data_source_id and not isinstance(data_source_id, str):
38
+ raise TypeError("Expected argument 'data_source_id' to be a str")
39
+ pulumi.set(__self__, "data_source_id", data_source_id)
40
+ if defined_tags and not isinstance(defined_tags, dict):
41
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
42
+ pulumi.set(__self__, "defined_tags", defined_tags)
43
+ if description and not isinstance(description, str):
44
+ raise TypeError("Expected argument 'description' to be a str")
45
+ pulumi.set(__self__, "description", description)
46
+ if display_name and not isinstance(display_name, str):
47
+ raise TypeError("Expected argument 'display_name' to be a str")
48
+ pulumi.set(__self__, "display_name", display_name)
49
+ if freeform_tags and not isinstance(freeform_tags, dict):
50
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
51
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
52
+ if id and not isinstance(id, str):
53
+ raise TypeError("Expected argument 'id' to be a str")
54
+ pulumi.set(__self__, "id", id)
55
+ if knowledge_base_id and not isinstance(knowledge_base_id, str):
56
+ raise TypeError("Expected argument 'knowledge_base_id' to be a str")
57
+ pulumi.set(__self__, "knowledge_base_id", knowledge_base_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="dataSourceConfigs")
84
+ def data_source_configs(self) -> Sequence['outputs.GetAgentDataSourceDataSourceConfigResult']:
85
+ """
86
+ **DataSourceConfig**
87
+ """
88
+ return pulumi.get(self, "data_source_configs")
89
+
90
+ @property
91
+ @pulumi.getter(name="dataSourceId")
92
+ def data_source_id(self) -> str:
93
+ return pulumi.get(self, "data_source_id")
94
+
95
+ @property
96
+ @pulumi.getter(name="definedTags")
97
+ def defined_tags(self) -> Mapping[str, str]:
98
+ """
99
+ 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"}`
100
+ """
101
+ return pulumi.get(self, "defined_tags")
102
+
103
+ @property
104
+ @pulumi.getter
105
+ def description(self) -> str:
106
+ """
107
+ A description of the data source.
108
+ """
109
+ return pulumi.get(self, "description")
110
+
111
+ @property
112
+ @pulumi.getter(name="displayName")
113
+ def display_name(self) -> str:
114
+ """
115
+ A user-friendly name. Does not have to be unique, and it's changeable.
116
+ """
117
+ return pulumi.get(self, "display_name")
118
+
119
+ @property
120
+ @pulumi.getter(name="freeformTags")
121
+ def freeform_tags(self) -> Mapping[str, str]:
122
+ """
123
+ 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"}`
124
+ """
125
+ return pulumi.get(self, "freeform_tags")
126
+
127
+ @property
128
+ @pulumi.getter
129
+ def id(self) -> str:
130
+ """
131
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data source.
132
+ """
133
+ return pulumi.get(self, "id")
134
+
135
+ @property
136
+ @pulumi.getter(name="knowledgeBaseId")
137
+ def knowledge_base_id(self) -> str:
138
+ """
139
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
140
+ """
141
+ return pulumi.get(self, "knowledge_base_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 source 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 source.
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 source 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 source 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 AwaitableGetAgentDataSourceResult(GetAgentDataSourceResult):
185
+ # pylint: disable=using-constant-test
186
+ def __await__(self):
187
+ if False:
188
+ yield self
189
+ return GetAgentDataSourceResult(
190
+ compartment_id=self.compartment_id,
191
+ data_source_configs=self.data_source_configs,
192
+ data_source_id=self.data_source_id,
193
+ defined_tags=self.defined_tags,
194
+ description=self.description,
195
+ display_name=self.display_name,
196
+ freeform_tags=self.freeform_tags,
197
+ id=self.id,
198
+ knowledge_base_id=self.knowledge_base_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_source(data_source_id: Optional[str] = None,
207
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentDataSourceResult:
208
+ """
209
+ This data source provides details about a specific Data Source resource in Oracle Cloud Infrastructure Generative Ai Agent service.
210
+
211
+ **GetDataSource**
212
+
213
+ Gets information about a data source.
214
+
215
+ ## Example Usage
216
+
217
+ ```python
218
+ import pulumi
219
+ import pulumi_oci as oci
220
+
221
+ test_data_source = oci.GenerativeAi.get_agent_data_source(data_source_id=test_data_source_oci_generative_ai_agent_data_source["id"])
222
+ ```
223
+
224
+
225
+ :param str data_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data source.
226
+ """
227
+ __args__ = dict()
228
+ __args__['dataSourceId'] = data_source_id
229
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
230
+ __ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentDataSource:getAgentDataSource', __args__, opts=opts, typ=GetAgentDataSourceResult).value
231
+
232
+ return AwaitableGetAgentDataSourceResult(
233
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
234
+ data_source_configs=pulumi.get(__ret__, 'data_source_configs'),
235
+ data_source_id=pulumi.get(__ret__, 'data_source_id'),
236
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
237
+ description=pulumi.get(__ret__, 'description'),
238
+ display_name=pulumi.get(__ret__, 'display_name'),
239
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
240
+ id=pulumi.get(__ret__, 'id'),
241
+ knowledge_base_id=pulumi.get(__ret__, 'knowledge_base_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_source_output(data_source_id: Optional[pulumi.Input[str]] = None,
248
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentDataSourceResult]:
249
+ """
250
+ This data source provides details about a specific Data Source resource in Oracle Cloud Infrastructure Generative Ai Agent service.
251
+
252
+ **GetDataSource**
253
+
254
+ Gets information about a data source.
255
+
256
+ ## Example Usage
257
+
258
+ ```python
259
+ import pulumi
260
+ import pulumi_oci as oci
261
+
262
+ test_data_source = oci.GenerativeAi.get_agent_data_source(data_source_id=test_data_source_oci_generative_ai_agent_data_source["id"])
263
+ ```
264
+
265
+
266
+ :param str data_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the data source.
267
+ """
268
+ __args__ = dict()
269
+ __args__['dataSourceId'] = data_source_id
270
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
271
+ __ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentDataSource:getAgentDataSource', __args__, opts=opts, typ=GetAgentDataSourceResult)
272
+ return __ret__.apply(lambda __response__: GetAgentDataSourceResult(
273
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
274
+ data_source_configs=pulumi.get(__response__, 'data_source_configs'),
275
+ data_source_id=pulumi.get(__response__, 'data_source_id'),
276
+ defined_tags=pulumi.get(__response__, 'defined_tags'),
277
+ description=pulumi.get(__response__, 'description'),
278
+ display_name=pulumi.get(__response__, 'display_name'),
279
+ freeform_tags=pulumi.get(__response__, 'freeform_tags'),
280
+ id=pulumi.get(__response__, 'id'),
281
+ knowledge_base_id=pulumi.get(__response__, 'knowledge_base_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,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
+ 'GetAgentDataSourcesResult',
21
+ 'AwaitableGetAgentDataSourcesResult',
22
+ 'get_agent_data_sources',
23
+ 'get_agent_data_sources_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetAgentDataSourcesResult:
28
+ """
29
+ A collection of values returned by getAgentDataSources.
30
+ """
31
+ def __init__(__self__, compartment_id=None, data_source_collections=None, display_name=None, filters=None, id=None, knowledge_base_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_source_collections and not isinstance(data_source_collections, list):
36
+ raise TypeError("Expected argument 'data_source_collections' to be a list")
37
+ pulumi.set(__self__, "data_source_collections", data_source_collections)
38
+ if display_name and not isinstance(display_name, str):
39
+ raise TypeError("Expected argument 'display_name' to be a str")
40
+ pulumi.set(__self__, "display_name", display_name)
41
+ if filters and not isinstance(filters, list):
42
+ raise TypeError("Expected argument 'filters' to be a list")
43
+ pulumi.set(__self__, "filters", filters)
44
+ if id and not isinstance(id, str):
45
+ raise TypeError("Expected argument 'id' to be a str")
46
+ pulumi.set(__self__, "id", id)
47
+ if knowledge_base_id and not isinstance(knowledge_base_id, str):
48
+ raise TypeError("Expected argument 'knowledge_base_id' to be a str")
49
+ pulumi.set(__self__, "knowledge_base_id", knowledge_base_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="dataSourceCollections")
64
+ def data_source_collections(self) -> Sequence['outputs.GetAgentDataSourcesDataSourceCollectionResult']:
65
+ """
66
+ The list of data_source_collection.
67
+ """
68
+ return pulumi.get(self, "data_source_collections")
69
+
70
+ @property
71
+ @pulumi.getter(name="displayName")
72
+ def display_name(self) -> Optional[str]:
73
+ """
74
+ A user-friendly name. Does not have to be unique, and it's changeable.
75
+ """
76
+ return pulumi.get(self, "display_name")
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def filters(self) -> Optional[Sequence['outputs.GetAgentDataSourcesFilterResult']]:
81
+ return pulumi.get(self, "filters")
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def id(self) -> str:
86
+ """
87
+ The provider-assigned unique ID for this managed resource.
88
+ """
89
+ return pulumi.get(self, "id")
90
+
91
+ @property
92
+ @pulumi.getter(name="knowledgeBaseId")
93
+ def knowledge_base_id(self) -> Optional[str]:
94
+ """
95
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
96
+ """
97
+ return pulumi.get(self, "knowledge_base_id")
98
+
99
+ @property
100
+ @pulumi.getter
101
+ def state(self) -> Optional[str]:
102
+ """
103
+ The current state of the data source.
104
+ """
105
+ return pulumi.get(self, "state")
106
+
107
+
108
+ class AwaitableGetAgentDataSourcesResult(GetAgentDataSourcesResult):
109
+ # pylint: disable=using-constant-test
110
+ def __await__(self):
111
+ if False:
112
+ yield self
113
+ return GetAgentDataSourcesResult(
114
+ compartment_id=self.compartment_id,
115
+ data_source_collections=self.data_source_collections,
116
+ display_name=self.display_name,
117
+ filters=self.filters,
118
+ id=self.id,
119
+ knowledge_base_id=self.knowledge_base_id,
120
+ state=self.state)
121
+
122
+
123
+ def get_agent_data_sources(compartment_id: Optional[str] = None,
124
+ display_name: Optional[str] = None,
125
+ filters: Optional[Sequence[Union['GetAgentDataSourcesFilterArgs', 'GetAgentDataSourcesFilterArgsDict']]] = None,
126
+ knowledge_base_id: Optional[str] = None,
127
+ state: Optional[str] = None,
128
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentDataSourcesResult:
129
+ """
130
+ This data source provides the list of Data Sources in Oracle Cloud Infrastructure Generative Ai Agent service.
131
+
132
+ **ListDataSources**
133
+
134
+ Gets a list of data sources.
135
+
136
+ ## Example Usage
137
+
138
+ ```python
139
+ import pulumi
140
+ import pulumi_oci as oci
141
+
142
+ test_data_sources = oci.GenerativeAi.get_agent_data_sources(compartment_id=compartment_id,
143
+ display_name=data_source_display_name,
144
+ knowledge_base_id=test_knowledge_base["id"],
145
+ state=data_source_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 display_name: A filter to return only resources that match the given display name exactly.
151
+ :param str knowledge_base_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledge base.
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__['displayName'] = display_name
157
+ __args__['filters'] = filters
158
+ __args__['knowledgeBaseId'] = knowledge_base_id
159
+ __args__['state'] = state
160
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
161
+ __ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentDataSources:getAgentDataSources', __args__, opts=opts, typ=GetAgentDataSourcesResult).value
162
+
163
+ return AwaitableGetAgentDataSourcesResult(
164
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
165
+ data_source_collections=pulumi.get(__ret__, 'data_source_collections'),
166
+ display_name=pulumi.get(__ret__, 'display_name'),
167
+ filters=pulumi.get(__ret__, 'filters'),
168
+ id=pulumi.get(__ret__, 'id'),
169
+ knowledge_base_id=pulumi.get(__ret__, 'knowledge_base_id'),
170
+ state=pulumi.get(__ret__, 'state'))
171
+ def get_agent_data_sources_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
172
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
173
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAgentDataSourcesFilterArgs', 'GetAgentDataSourcesFilterArgsDict']]]]] = None,
174
+ knowledge_base_id: Optional[pulumi.Input[Optional[str]]] = None,
175
+ state: Optional[pulumi.Input[Optional[str]]] = None,
176
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentDataSourcesResult]:
177
+ """
178
+ This data source provides the list of Data Sources in Oracle Cloud Infrastructure Generative Ai Agent service.
179
+
180
+ **ListDataSources**
181
+
182
+ Gets a list of data sources.
183
+
184
+ ## Example Usage
185
+
186
+ ```python
187
+ import pulumi
188
+ import pulumi_oci as oci
189
+
190
+ test_data_sources = oci.GenerativeAi.get_agent_data_sources(compartment_id=compartment_id,
191
+ display_name=data_source_display_name,
192
+ knowledge_base_id=test_knowledge_base["id"],
193
+ state=data_source_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 display_name: A filter to return only resources that match the given display name exactly.
199
+ :param str knowledge_base_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledge base.
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__['displayName'] = display_name
205
+ __args__['filters'] = filters
206
+ __args__['knowledgeBaseId'] = knowledge_base_id
207
+ __args__['state'] = state
208
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
209
+ __ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentDataSources:getAgentDataSources', __args__, opts=opts, typ=GetAgentDataSourcesResult)
210
+ return __ret__.apply(lambda __response__: GetAgentDataSourcesResult(
211
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
212
+ data_source_collections=pulumi.get(__response__, 'data_source_collections'),
213
+ display_name=pulumi.get(__response__, 'display_name'),
214
+ filters=pulumi.get(__response__, 'filters'),
215
+ id=pulumi.get(__response__, 'id'),
216
+ knowledge_base_id=pulumi.get(__response__, 'knowledge_base_id'),
217
+ state=pulumi.get(__response__, 'state')))