pulumi-oci 2.17.0__py3-none-any.whl → 2.17.0a1731653778__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 +0 -40
  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 +0 -16
  9. pulumi_oci/generativeai/_inputs.py +0 -1090
  10. pulumi_oci/generativeai/outputs.py +268 -2840
  11. pulumi_oci/goldengate/connection.py +78 -1065
  12. pulumi_oci/goldengate/deployment.py +7 -7
  13. pulumi_oci/goldengate/deployment_backup.py +0 -49
  14. pulumi_oci/goldengate/get_connection.py +7 -288
  15. pulumi_oci/goldengate/get_deployment.py +1 -1
  16. pulumi_oci/goldengate/get_deployment_backup.py +1 -15
  17. pulumi_oci/goldengate/outputs.py +3 -240
  18. pulumi_oci/pulumi-plugin.json +1 -1
  19. {pulumi_oci-2.17.0.dist-info → pulumi_oci-2.17.0a1731653778.dist-info}/METADATA +1 -1
  20. {pulumi_oci-2.17.0.dist-info → pulumi_oci-2.17.0a1731653778.dist-info}/RECORD +22 -38
  21. pulumi_oci/generativeai/agent_agent.py +0 -665
  22. pulumi_oci/generativeai/agent_agent_endpoint.py +0 -888
  23. pulumi_oci/generativeai/agent_data_ingestion_job.py +0 -647
  24. pulumi_oci/generativeai/agent_data_source.py +0 -697
  25. pulumi_oci/generativeai/agent_knowledge_base.py +0 -659
  26. pulumi_oci/generativeai/get_agent_agent.py +0 -285
  27. pulumi_oci/generativeai/get_agent_agent_endpoint.py +0 -342
  28. pulumi_oci/generativeai/get_agent_agent_endpoints.py +0 -217
  29. pulumi_oci/generativeai/get_agent_agents.py +0 -195
  30. pulumi_oci/generativeai/get_agent_data_ingestion_job.py +0 -286
  31. pulumi_oci/generativeai/get_agent_data_ingestion_job_log_content.py +0 -117
  32. pulumi_oci/generativeai/get_agent_data_ingestion_jobs.py +0 -217
  33. pulumi_oci/generativeai/get_agent_data_source.py +0 -286
  34. pulumi_oci/generativeai/get_agent_data_sources.py +0 -217
  35. pulumi_oci/generativeai/get_agent_knowledge_base.py +0 -272
  36. pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -195
  37. {pulumi_oci-2.17.0.dist-info → pulumi_oci-2.17.0a1731653778.dist-info}/WHEEL +0 -0
  38. {pulumi_oci-2.17.0.dist-info → pulumi_oci-2.17.0a1731653778.dist-info}/top_level.txt +0 -0
@@ -1,697 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import 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__ = ['AgentDataSourceArgs', 'AgentDataSource']
20
-
21
- @pulumi.input_type
22
- class AgentDataSourceArgs:
23
- def __init__(__self__, *,
24
- compartment_id: pulumi.Input[str],
25
- data_source_config: pulumi.Input['AgentDataSourceDataSourceConfigArgs'],
26
- knowledge_base_id: pulumi.Input[str],
27
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
28
- description: Optional[pulumi.Input[str]] = None,
29
- display_name: Optional[pulumi.Input[str]] = None,
30
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
31
- """
32
- The set of arguments for constructing a AgentDataSource resource.
33
- :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the data source in.
34
- :param pulumi.Input['AgentDataSourceDataSourceConfigArgs'] data_source_config: (Updatable) **DataSourceConfig**
35
-
36
- The details of data source.
37
- :param pulumi.Input[str] knowledge_base_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
38
-
39
-
40
- ** IMPORTANT **
41
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
42
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
43
- :param pulumi.Input[str] description: (Updatable) A description of the data source.
44
- :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
45
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
46
- """
47
- pulumi.set(__self__, "compartment_id", compartment_id)
48
- pulumi.set(__self__, "data_source_config", data_source_config)
49
- pulumi.set(__self__, "knowledge_base_id", knowledge_base_id)
50
- if defined_tags is not None:
51
- pulumi.set(__self__, "defined_tags", defined_tags)
52
- if description is not None:
53
- pulumi.set(__self__, "description", description)
54
- if display_name is not None:
55
- pulumi.set(__self__, "display_name", display_name)
56
- if freeform_tags is not None:
57
- pulumi.set(__self__, "freeform_tags", freeform_tags)
58
-
59
- @property
60
- @pulumi.getter(name="compartmentId")
61
- def compartment_id(self) -> pulumi.Input[str]:
62
- """
63
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the data source in.
64
- """
65
- return pulumi.get(self, "compartment_id")
66
-
67
- @compartment_id.setter
68
- def compartment_id(self, value: pulumi.Input[str]):
69
- pulumi.set(self, "compartment_id", value)
70
-
71
- @property
72
- @pulumi.getter(name="dataSourceConfig")
73
- def data_source_config(self) -> pulumi.Input['AgentDataSourceDataSourceConfigArgs']:
74
- """
75
- (Updatable) **DataSourceConfig**
76
-
77
- The details of data source.
78
- """
79
- return pulumi.get(self, "data_source_config")
80
-
81
- @data_source_config.setter
82
- def data_source_config(self, value: pulumi.Input['AgentDataSourceDataSourceConfigArgs']):
83
- pulumi.set(self, "data_source_config", value)
84
-
85
- @property
86
- @pulumi.getter(name="knowledgeBaseId")
87
- def knowledge_base_id(self) -> pulumi.Input[str]:
88
- """
89
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
90
-
91
-
92
- ** IMPORTANT **
93
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
94
- """
95
- return pulumi.get(self, "knowledge_base_id")
96
-
97
- @knowledge_base_id.setter
98
- def knowledge_base_id(self, value: pulumi.Input[str]):
99
- pulumi.set(self, "knowledge_base_id", value)
100
-
101
- @property
102
- @pulumi.getter(name="definedTags")
103
- def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
104
- """
105
- (Updatable) 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"}`
106
- """
107
- return pulumi.get(self, "defined_tags")
108
-
109
- @defined_tags.setter
110
- def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
111
- pulumi.set(self, "defined_tags", value)
112
-
113
- @property
114
- @pulumi.getter
115
- def description(self) -> Optional[pulumi.Input[str]]:
116
- """
117
- (Updatable) A description of the data source.
118
- """
119
- return pulumi.get(self, "description")
120
-
121
- @description.setter
122
- def description(self, value: Optional[pulumi.Input[str]]):
123
- pulumi.set(self, "description", value)
124
-
125
- @property
126
- @pulumi.getter(name="displayName")
127
- def display_name(self) -> Optional[pulumi.Input[str]]:
128
- """
129
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
130
- """
131
- return pulumi.get(self, "display_name")
132
-
133
- @display_name.setter
134
- def display_name(self, value: Optional[pulumi.Input[str]]):
135
- pulumi.set(self, "display_name", value)
136
-
137
- @property
138
- @pulumi.getter(name="freeformTags")
139
- def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
140
- """
141
- (Updatable) 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"}`
142
- """
143
- return pulumi.get(self, "freeform_tags")
144
-
145
- @freeform_tags.setter
146
- def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
147
- pulumi.set(self, "freeform_tags", value)
148
-
149
-
150
- @pulumi.input_type
151
- class _AgentDataSourceState:
152
- def __init__(__self__, *,
153
- compartment_id: Optional[pulumi.Input[str]] = None,
154
- data_source_config: Optional[pulumi.Input['AgentDataSourceDataSourceConfigArgs']] = None,
155
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
156
- description: Optional[pulumi.Input[str]] = None,
157
- display_name: Optional[pulumi.Input[str]] = None,
158
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
159
- knowledge_base_id: Optional[pulumi.Input[str]] = None,
160
- lifecycle_details: Optional[pulumi.Input[str]] = None,
161
- state: Optional[pulumi.Input[str]] = None,
162
- system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
163
- time_created: Optional[pulumi.Input[str]] = None,
164
- time_updated: Optional[pulumi.Input[str]] = None):
165
- """
166
- Input properties used for looking up and filtering AgentDataSource resources.
167
- :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the data source in.
168
- :param pulumi.Input['AgentDataSourceDataSourceConfigArgs'] data_source_config: (Updatable) **DataSourceConfig**
169
-
170
- The details of data source.
171
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
172
- :param pulumi.Input[str] description: (Updatable) A description of the data source.
173
- :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
174
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
175
- :param pulumi.Input[str] knowledge_base_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
176
-
177
-
178
- ** IMPORTANT **
179
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
180
- :param pulumi.Input[str] lifecycle_details: 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.
181
- :param pulumi.Input[str] state: The current state of the data source.
182
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
183
- :param pulumi.Input[str] time_created: 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`
184
- :param pulumi.Input[str] time_updated: 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`
185
- """
186
- if compartment_id is not None:
187
- pulumi.set(__self__, "compartment_id", compartment_id)
188
- if data_source_config is not None:
189
- pulumi.set(__self__, "data_source_config", data_source_config)
190
- if defined_tags is not None:
191
- pulumi.set(__self__, "defined_tags", defined_tags)
192
- if description is not None:
193
- pulumi.set(__self__, "description", description)
194
- if display_name is not None:
195
- pulumi.set(__self__, "display_name", display_name)
196
- if freeform_tags is not None:
197
- pulumi.set(__self__, "freeform_tags", freeform_tags)
198
- if knowledge_base_id is not None:
199
- pulumi.set(__self__, "knowledge_base_id", knowledge_base_id)
200
- if lifecycle_details is not None:
201
- pulumi.set(__self__, "lifecycle_details", lifecycle_details)
202
- if state is not None:
203
- pulumi.set(__self__, "state", state)
204
- if system_tags is not None:
205
- pulumi.set(__self__, "system_tags", system_tags)
206
- if time_created is not None:
207
- pulumi.set(__self__, "time_created", time_created)
208
- if time_updated is not None:
209
- pulumi.set(__self__, "time_updated", time_updated)
210
-
211
- @property
212
- @pulumi.getter(name="compartmentId")
213
- def compartment_id(self) -> Optional[pulumi.Input[str]]:
214
- """
215
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the data source in.
216
- """
217
- return pulumi.get(self, "compartment_id")
218
-
219
- @compartment_id.setter
220
- def compartment_id(self, value: Optional[pulumi.Input[str]]):
221
- pulumi.set(self, "compartment_id", value)
222
-
223
- @property
224
- @pulumi.getter(name="dataSourceConfig")
225
- def data_source_config(self) -> Optional[pulumi.Input['AgentDataSourceDataSourceConfigArgs']]:
226
- """
227
- (Updatable) **DataSourceConfig**
228
-
229
- The details of data source.
230
- """
231
- return pulumi.get(self, "data_source_config")
232
-
233
- @data_source_config.setter
234
- def data_source_config(self, value: Optional[pulumi.Input['AgentDataSourceDataSourceConfigArgs']]):
235
- pulumi.set(self, "data_source_config", value)
236
-
237
- @property
238
- @pulumi.getter(name="definedTags")
239
- def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
240
- """
241
- (Updatable) 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"}`
242
- """
243
- return pulumi.get(self, "defined_tags")
244
-
245
- @defined_tags.setter
246
- def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
247
- pulumi.set(self, "defined_tags", value)
248
-
249
- @property
250
- @pulumi.getter
251
- def description(self) -> Optional[pulumi.Input[str]]:
252
- """
253
- (Updatable) A description of the data source.
254
- """
255
- return pulumi.get(self, "description")
256
-
257
- @description.setter
258
- def description(self, value: Optional[pulumi.Input[str]]):
259
- pulumi.set(self, "description", value)
260
-
261
- @property
262
- @pulumi.getter(name="displayName")
263
- def display_name(self) -> Optional[pulumi.Input[str]]:
264
- """
265
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
266
- """
267
- return pulumi.get(self, "display_name")
268
-
269
- @display_name.setter
270
- def display_name(self, value: Optional[pulumi.Input[str]]):
271
- pulumi.set(self, "display_name", value)
272
-
273
- @property
274
- @pulumi.getter(name="freeformTags")
275
- def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
276
- """
277
- (Updatable) 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"}`
278
- """
279
- return pulumi.get(self, "freeform_tags")
280
-
281
- @freeform_tags.setter
282
- def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
283
- pulumi.set(self, "freeform_tags", value)
284
-
285
- @property
286
- @pulumi.getter(name="knowledgeBaseId")
287
- def knowledge_base_id(self) -> Optional[pulumi.Input[str]]:
288
- """
289
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
290
-
291
-
292
- ** IMPORTANT **
293
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
294
- """
295
- return pulumi.get(self, "knowledge_base_id")
296
-
297
- @knowledge_base_id.setter
298
- def knowledge_base_id(self, value: Optional[pulumi.Input[str]]):
299
- pulumi.set(self, "knowledge_base_id", value)
300
-
301
- @property
302
- @pulumi.getter(name="lifecycleDetails")
303
- def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
304
- """
305
- 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.
306
- """
307
- return pulumi.get(self, "lifecycle_details")
308
-
309
- @lifecycle_details.setter
310
- def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
311
- pulumi.set(self, "lifecycle_details", value)
312
-
313
- @property
314
- @pulumi.getter
315
- def state(self) -> Optional[pulumi.Input[str]]:
316
- """
317
- The current state of the data source.
318
- """
319
- return pulumi.get(self, "state")
320
-
321
- @state.setter
322
- def state(self, value: Optional[pulumi.Input[str]]):
323
- pulumi.set(self, "state", value)
324
-
325
- @property
326
- @pulumi.getter(name="systemTags")
327
- def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
328
- """
329
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
330
- """
331
- return pulumi.get(self, "system_tags")
332
-
333
- @system_tags.setter
334
- def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
335
- pulumi.set(self, "system_tags", value)
336
-
337
- @property
338
- @pulumi.getter(name="timeCreated")
339
- def time_created(self) -> Optional[pulumi.Input[str]]:
340
- """
341
- 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`
342
- """
343
- return pulumi.get(self, "time_created")
344
-
345
- @time_created.setter
346
- def time_created(self, value: Optional[pulumi.Input[str]]):
347
- pulumi.set(self, "time_created", value)
348
-
349
- @property
350
- @pulumi.getter(name="timeUpdated")
351
- def time_updated(self) -> Optional[pulumi.Input[str]]:
352
- """
353
- 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`
354
- """
355
- return pulumi.get(self, "time_updated")
356
-
357
- @time_updated.setter
358
- def time_updated(self, value: Optional[pulumi.Input[str]]):
359
- pulumi.set(self, "time_updated", value)
360
-
361
-
362
- class AgentDataSource(pulumi.CustomResource):
363
- @overload
364
- def __init__(__self__,
365
- resource_name: str,
366
- opts: Optional[pulumi.ResourceOptions] = None,
367
- compartment_id: Optional[pulumi.Input[str]] = None,
368
- data_source_config: Optional[pulumi.Input[Union['AgentDataSourceDataSourceConfigArgs', 'AgentDataSourceDataSourceConfigArgsDict']]] = None,
369
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
370
- description: Optional[pulumi.Input[str]] = None,
371
- display_name: Optional[pulumi.Input[str]] = None,
372
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
373
- knowledge_base_id: Optional[pulumi.Input[str]] = None,
374
- __props__=None):
375
- """
376
- This resource provides the Data Source resource in Oracle Cloud Infrastructure Generative Ai Agent service.
377
-
378
- **CreateDataSource**
379
-
380
- Creates a data source.
381
-
382
- ## Example Usage
383
-
384
- ```python
385
- import pulumi
386
- import pulumi_oci as oci
387
-
388
- test_data_source = oci.generative_ai.AgentDataSource("test_data_source",
389
- compartment_id=compartment_id,
390
- data_source_config={
391
- "data_source_config_type": data_source_data_source_config_data_source_config_type,
392
- "object_storage_prefixes": [{
393
- "bucket": data_source_data_source_config_object_storage_prefixes_bucket,
394
- "namespace": data_source_data_source_config_object_storage_prefixes_namespace,
395
- "prefix": data_source_data_source_config_object_storage_prefixes_prefix,
396
- }],
397
- },
398
- knowledge_base_id=test_knowledge_base["id"],
399
- defined_tags={
400
- "Operations.CostCenter": "42",
401
- },
402
- description=data_source_description,
403
- display_name=data_source_display_name,
404
- freeform_tags={
405
- "Department": "Finance",
406
- })
407
- ```
408
-
409
- ## Import
410
-
411
- DataSources can be imported using the `id`, e.g.
412
-
413
- ```sh
414
- $ pulumi import oci:GenerativeAi/agentDataSource:AgentDataSource test_data_source "id"
415
- ```
416
-
417
- :param str resource_name: The name of the resource.
418
- :param pulumi.ResourceOptions opts: Options for the resource.
419
- :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the data source in.
420
- :param pulumi.Input[Union['AgentDataSourceDataSourceConfigArgs', 'AgentDataSourceDataSourceConfigArgsDict']] data_source_config: (Updatable) **DataSourceConfig**
421
-
422
- The details of data source.
423
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
424
- :param pulumi.Input[str] description: (Updatable) A description of the data source.
425
- :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
426
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
427
- :param pulumi.Input[str] knowledge_base_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
428
-
429
-
430
- ** IMPORTANT **
431
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
432
- """
433
- ...
434
- @overload
435
- def __init__(__self__,
436
- resource_name: str,
437
- args: AgentDataSourceArgs,
438
- opts: Optional[pulumi.ResourceOptions] = None):
439
- """
440
- This resource provides the Data Source resource in Oracle Cloud Infrastructure Generative Ai Agent service.
441
-
442
- **CreateDataSource**
443
-
444
- Creates a data source.
445
-
446
- ## Example Usage
447
-
448
- ```python
449
- import pulumi
450
- import pulumi_oci as oci
451
-
452
- test_data_source = oci.generative_ai.AgentDataSource("test_data_source",
453
- compartment_id=compartment_id,
454
- data_source_config={
455
- "data_source_config_type": data_source_data_source_config_data_source_config_type,
456
- "object_storage_prefixes": [{
457
- "bucket": data_source_data_source_config_object_storage_prefixes_bucket,
458
- "namespace": data_source_data_source_config_object_storage_prefixes_namespace,
459
- "prefix": data_source_data_source_config_object_storage_prefixes_prefix,
460
- }],
461
- },
462
- knowledge_base_id=test_knowledge_base["id"],
463
- defined_tags={
464
- "Operations.CostCenter": "42",
465
- },
466
- description=data_source_description,
467
- display_name=data_source_display_name,
468
- freeform_tags={
469
- "Department": "Finance",
470
- })
471
- ```
472
-
473
- ## Import
474
-
475
- DataSources can be imported using the `id`, e.g.
476
-
477
- ```sh
478
- $ pulumi import oci:GenerativeAi/agentDataSource:AgentDataSource test_data_source "id"
479
- ```
480
-
481
- :param str resource_name: The name of the resource.
482
- :param AgentDataSourceArgs args: The arguments to use to populate this resource's properties.
483
- :param pulumi.ResourceOptions opts: Options for the resource.
484
- """
485
- ...
486
- def __init__(__self__, resource_name: str, *args, **kwargs):
487
- resource_args, opts = _utilities.get_resource_args_opts(AgentDataSourceArgs, pulumi.ResourceOptions, *args, **kwargs)
488
- if resource_args is not None:
489
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
490
- else:
491
- __self__._internal_init(resource_name, *args, **kwargs)
492
-
493
- def _internal_init(__self__,
494
- resource_name: str,
495
- opts: Optional[pulumi.ResourceOptions] = None,
496
- compartment_id: Optional[pulumi.Input[str]] = None,
497
- data_source_config: Optional[pulumi.Input[Union['AgentDataSourceDataSourceConfigArgs', 'AgentDataSourceDataSourceConfigArgsDict']]] = None,
498
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
499
- description: Optional[pulumi.Input[str]] = None,
500
- display_name: Optional[pulumi.Input[str]] = None,
501
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
502
- knowledge_base_id: Optional[pulumi.Input[str]] = None,
503
- __props__=None):
504
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
505
- if not isinstance(opts, pulumi.ResourceOptions):
506
- raise TypeError('Expected resource options to be a ResourceOptions instance')
507
- if opts.id is None:
508
- if __props__ is not None:
509
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
510
- __props__ = AgentDataSourceArgs.__new__(AgentDataSourceArgs)
511
-
512
- if compartment_id is None and not opts.urn:
513
- raise TypeError("Missing required property 'compartment_id'")
514
- __props__.__dict__["compartment_id"] = compartment_id
515
- if data_source_config is None and not opts.urn:
516
- raise TypeError("Missing required property 'data_source_config'")
517
- __props__.__dict__["data_source_config"] = data_source_config
518
- __props__.__dict__["defined_tags"] = defined_tags
519
- __props__.__dict__["description"] = description
520
- __props__.__dict__["display_name"] = display_name
521
- __props__.__dict__["freeform_tags"] = freeform_tags
522
- if knowledge_base_id is None and not opts.urn:
523
- raise TypeError("Missing required property 'knowledge_base_id'")
524
- __props__.__dict__["knowledge_base_id"] = knowledge_base_id
525
- __props__.__dict__["lifecycle_details"] = None
526
- __props__.__dict__["state"] = None
527
- __props__.__dict__["system_tags"] = None
528
- __props__.__dict__["time_created"] = None
529
- __props__.__dict__["time_updated"] = None
530
- super(AgentDataSource, __self__).__init__(
531
- 'oci:GenerativeAi/agentDataSource:AgentDataSource',
532
- resource_name,
533
- __props__,
534
- opts)
535
-
536
- @staticmethod
537
- def get(resource_name: str,
538
- id: pulumi.Input[str],
539
- opts: Optional[pulumi.ResourceOptions] = None,
540
- compartment_id: Optional[pulumi.Input[str]] = None,
541
- data_source_config: Optional[pulumi.Input[Union['AgentDataSourceDataSourceConfigArgs', 'AgentDataSourceDataSourceConfigArgsDict']]] = None,
542
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
543
- description: Optional[pulumi.Input[str]] = None,
544
- display_name: Optional[pulumi.Input[str]] = None,
545
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
546
- knowledge_base_id: Optional[pulumi.Input[str]] = None,
547
- lifecycle_details: Optional[pulumi.Input[str]] = None,
548
- state: Optional[pulumi.Input[str]] = None,
549
- system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
550
- time_created: Optional[pulumi.Input[str]] = None,
551
- time_updated: Optional[pulumi.Input[str]] = None) -> 'AgentDataSource':
552
- """
553
- Get an existing AgentDataSource resource's state with the given name, id, and optional extra
554
- properties used to qualify the lookup.
555
-
556
- :param str resource_name: The unique name of the resulting resource.
557
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
558
- :param pulumi.ResourceOptions opts: Options for the resource.
559
- :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the data source in.
560
- :param pulumi.Input[Union['AgentDataSourceDataSourceConfigArgs', 'AgentDataSourceDataSourceConfigArgsDict']] data_source_config: (Updatable) **DataSourceConfig**
561
-
562
- The details of data source.
563
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
564
- :param pulumi.Input[str] description: (Updatable) A description of the data source.
565
- :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
566
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
567
- :param pulumi.Input[str] knowledge_base_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
568
-
569
-
570
- ** IMPORTANT **
571
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
572
- :param pulumi.Input[str] lifecycle_details: 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.
573
- :param pulumi.Input[str] state: The current state of the data source.
574
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
575
- :param pulumi.Input[str] time_created: 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`
576
- :param pulumi.Input[str] time_updated: 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`
577
- """
578
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
579
-
580
- __props__ = _AgentDataSourceState.__new__(_AgentDataSourceState)
581
-
582
- __props__.__dict__["compartment_id"] = compartment_id
583
- __props__.__dict__["data_source_config"] = data_source_config
584
- __props__.__dict__["defined_tags"] = defined_tags
585
- __props__.__dict__["description"] = description
586
- __props__.__dict__["display_name"] = display_name
587
- __props__.__dict__["freeform_tags"] = freeform_tags
588
- __props__.__dict__["knowledge_base_id"] = knowledge_base_id
589
- __props__.__dict__["lifecycle_details"] = lifecycle_details
590
- __props__.__dict__["state"] = state
591
- __props__.__dict__["system_tags"] = system_tags
592
- __props__.__dict__["time_created"] = time_created
593
- __props__.__dict__["time_updated"] = time_updated
594
- return AgentDataSource(resource_name, opts=opts, __props__=__props__)
595
-
596
- @property
597
- @pulumi.getter(name="compartmentId")
598
- def compartment_id(self) -> pulumi.Output[str]:
599
- """
600
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the data source in.
601
- """
602
- return pulumi.get(self, "compartment_id")
603
-
604
- @property
605
- @pulumi.getter(name="dataSourceConfig")
606
- def data_source_config(self) -> pulumi.Output['outputs.AgentDataSourceDataSourceConfig']:
607
- """
608
- (Updatable) **DataSourceConfig**
609
-
610
- The details of data source.
611
- """
612
- return pulumi.get(self, "data_source_config")
613
-
614
- @property
615
- @pulumi.getter(name="definedTags")
616
- def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
617
- """
618
- (Updatable) 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"}`
619
- """
620
- return pulumi.get(self, "defined_tags")
621
-
622
- @property
623
- @pulumi.getter
624
- def description(self) -> pulumi.Output[str]:
625
- """
626
- (Updatable) A description of the data source.
627
- """
628
- return pulumi.get(self, "description")
629
-
630
- @property
631
- @pulumi.getter(name="displayName")
632
- def display_name(self) -> pulumi.Output[str]:
633
- """
634
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
635
- """
636
- return pulumi.get(self, "display_name")
637
-
638
- @property
639
- @pulumi.getter(name="freeformTags")
640
- def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
641
- """
642
- (Updatable) 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"}`
643
- """
644
- return pulumi.get(self, "freeform_tags")
645
-
646
- @property
647
- @pulumi.getter(name="knowledgeBaseId")
648
- def knowledge_base_id(self) -> pulumi.Output[str]:
649
- """
650
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
651
-
652
-
653
- ** IMPORTANT **
654
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
655
- """
656
- return pulumi.get(self, "knowledge_base_id")
657
-
658
- @property
659
- @pulumi.getter(name="lifecycleDetails")
660
- def lifecycle_details(self) -> pulumi.Output[str]:
661
- """
662
- 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.
663
- """
664
- return pulumi.get(self, "lifecycle_details")
665
-
666
- @property
667
- @pulumi.getter
668
- def state(self) -> pulumi.Output[str]:
669
- """
670
- The current state of the data source.
671
- """
672
- return pulumi.get(self, "state")
673
-
674
- @property
675
- @pulumi.getter(name="systemTags")
676
- def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
677
- """
678
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
679
- """
680
- return pulumi.get(self, "system_tags")
681
-
682
- @property
683
- @pulumi.getter(name="timeCreated")
684
- def time_created(self) -> pulumi.Output[str]:
685
- """
686
- 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`
687
- """
688
- return pulumi.get(self, "time_created")
689
-
690
- @property
691
- @pulumi.getter(name="timeUpdated")
692
- def time_updated(self) -> pulumi.Output[str]:
693
- """
694
- 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`
695
- """
696
- return pulumi.get(self, "time_updated")
697
-