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.
Files changed (76) hide show
  1. pulumi_oci/__init__.py +59 -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/database/autonomous_database.py +47 -0
  9. pulumi_oci/database/cloud_autonomous_vm_cluster.py +105 -0
  10. pulumi_oci/database/cloud_vm_cluster.py +49 -0
  11. pulumi_oci/database/data_guard_association.py +49 -0
  12. pulumi_oci/database/db_system.py +47 -0
  13. pulumi_oci/database/exadb_vm_cluster.py +68 -7
  14. pulumi_oci/database/get_autonomous_database.py +15 -1
  15. pulumi_oci/database/get_cloud_autonomous_vm_cluster.py +43 -1
  16. pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
  17. pulumi_oci/database/get_data_guard_association.py +12 -1
  18. pulumi_oci/database/get_exadb_vm_cluster.py +16 -2
  19. pulumi_oci/database/outputs.py +97 -2
  20. pulumi_oci/dataflow/get_sql_endpoint.py +1 -15
  21. pulumi_oci/dataflow/outputs.py +0 -11
  22. pulumi_oci/dataflow/sql_endpoint.py +88 -85
  23. pulumi_oci/generativeai/__init__.py +16 -0
  24. pulumi_oci/generativeai/_inputs.py +1090 -0
  25. pulumi_oci/generativeai/agent_agent.py +665 -0
  26. pulumi_oci/generativeai/agent_agent_endpoint.py +888 -0
  27. pulumi_oci/generativeai/agent_data_ingestion_job.py +647 -0
  28. pulumi_oci/generativeai/agent_data_source.py +697 -0
  29. pulumi_oci/generativeai/agent_knowledge_base.py +659 -0
  30. pulumi_oci/generativeai/get_agent_agent.py +285 -0
  31. pulumi_oci/generativeai/get_agent_agent_endpoint.py +342 -0
  32. pulumi_oci/generativeai/get_agent_agent_endpoints.py +217 -0
  33. pulumi_oci/generativeai/get_agent_agents.py +195 -0
  34. pulumi_oci/generativeai/get_agent_data_ingestion_job.py +286 -0
  35. pulumi_oci/generativeai/get_agent_data_ingestion_job_log_content.py +117 -0
  36. pulumi_oci/generativeai/get_agent_data_ingestion_jobs.py +217 -0
  37. pulumi_oci/generativeai/get_agent_data_source.py +286 -0
  38. pulumi_oci/generativeai/get_agent_data_sources.py +217 -0
  39. pulumi_oci/generativeai/get_agent_knowledge_base.py +272 -0
  40. pulumi_oci/generativeai/get_agent_knowledge_bases.py +195 -0
  41. pulumi_oci/generativeai/outputs.py +2840 -268
  42. pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
  43. pulumi_oci/globallydistributeddatabase/_inputs.py +1289 -0
  44. pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +348 -0
  45. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +191 -0
  46. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +746 -0
  47. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +191 -0
  48. pulumi_oci/globallydistributeddatabase/outputs.py +2114 -0
  49. pulumi_oci/globallydistributeddatabase/private_endpoint.py +822 -0
  50. pulumi_oci/globallydistributeddatabase/sharded_database.py +2157 -0
  51. pulumi_oci/goldengate/connection.py +1065 -78
  52. pulumi_oci/goldengate/deployment.py +7 -7
  53. pulumi_oci/goldengate/deployment_backup.py +49 -0
  54. pulumi_oci/goldengate/get_connection.py +288 -7
  55. pulumi_oci/goldengate/get_deployment.py +1 -1
  56. pulumi_oci/goldengate/get_deployment_backup.py +15 -1
  57. pulumi_oci/goldengate/outputs.py +240 -3
  58. pulumi_oci/identity/__init__.py +2 -0
  59. pulumi_oci/identity/_inputs.py +55 -6
  60. pulumi_oci/identity/domains_condition.py +9 -2
  61. pulumi_oci/identity/domains_policy.py +9 -2
  62. pulumi_oci/identity/domains_rule.py +9 -2
  63. pulumi_oci/identity/get_domains_condition.py +2 -2
  64. pulumi_oci/identity/get_domains_conditions.py +2 -2
  65. pulumi_oci/identity/get_domains_oci_console_sign_on_policy_consent.py +503 -0
  66. pulumi_oci/identity/get_domains_oci_console_sign_on_policy_consents.py +338 -0
  67. pulumi_oci/identity/get_domains_policies.py +2 -2
  68. pulumi_oci/identity/get_domains_policy.py +2 -2
  69. pulumi_oci/identity/get_domains_rule.py +2 -2
  70. pulumi_oci/identity/get_domains_rules.py +2 -2
  71. pulumi_oci/identity/outputs.py +917 -4
  72. pulumi_oci/pulumi-plugin.json +1 -1
  73. {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/METADATA +1 -1
  74. {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/RECORD +76 -49
  75. {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/WHEEL +1 -1
  76. {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,659 @@
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__ = ['AgentKnowledgeBaseArgs', 'AgentKnowledgeBase']
20
+
21
+ @pulumi.input_type
22
+ class AgentKnowledgeBaseArgs:
23
+ def __init__(__self__, *,
24
+ compartment_id: pulumi.Input[str],
25
+ index_config: pulumi.Input['AgentKnowledgeBaseIndexConfigArgs'],
26
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
27
+ description: Optional[pulumi.Input[str]] = None,
28
+ display_name: Optional[pulumi.Input[str]] = None,
29
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
30
+ """
31
+ The set of arguments for constructing a AgentKnowledgeBase resource.
32
+ :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the knowledge base in.
33
+ :param pulumi.Input['AgentKnowledgeBaseIndexConfigArgs'] index_config: (Updatable) **IndexConfig**
34
+
35
+ The index configuration of Knowledge bases.
36
+ :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"}`
37
+ :param pulumi.Input[str] description: (Updatable) A user-friendly description of the knowledge base.
38
+ :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.
39
+ :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"}`
40
+ """
41
+ pulumi.set(__self__, "compartment_id", compartment_id)
42
+ pulumi.set(__self__, "index_config", index_config)
43
+ if defined_tags is not None:
44
+ pulumi.set(__self__, "defined_tags", defined_tags)
45
+ if description is not None:
46
+ pulumi.set(__self__, "description", description)
47
+ if display_name is not None:
48
+ pulumi.set(__self__, "display_name", display_name)
49
+ if freeform_tags is not None:
50
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
51
+
52
+ @property
53
+ @pulumi.getter(name="compartmentId")
54
+ def compartment_id(self) -> pulumi.Input[str]:
55
+ """
56
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the knowledge base in.
57
+ """
58
+ return pulumi.get(self, "compartment_id")
59
+
60
+ @compartment_id.setter
61
+ def compartment_id(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "compartment_id", value)
63
+
64
+ @property
65
+ @pulumi.getter(name="indexConfig")
66
+ def index_config(self) -> pulumi.Input['AgentKnowledgeBaseIndexConfigArgs']:
67
+ """
68
+ (Updatable) **IndexConfig**
69
+
70
+ The index configuration of Knowledge bases.
71
+ """
72
+ return pulumi.get(self, "index_config")
73
+
74
+ @index_config.setter
75
+ def index_config(self, value: pulumi.Input['AgentKnowledgeBaseIndexConfigArgs']):
76
+ pulumi.set(self, "index_config", value)
77
+
78
+ @property
79
+ @pulumi.getter(name="definedTags")
80
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
81
+ """
82
+ (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"}`
83
+ """
84
+ return pulumi.get(self, "defined_tags")
85
+
86
+ @defined_tags.setter
87
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
88
+ pulumi.set(self, "defined_tags", value)
89
+
90
+ @property
91
+ @pulumi.getter
92
+ def description(self) -> Optional[pulumi.Input[str]]:
93
+ """
94
+ (Updatable) A user-friendly description of the knowledge base.
95
+ """
96
+ return pulumi.get(self, "description")
97
+
98
+ @description.setter
99
+ def description(self, value: Optional[pulumi.Input[str]]):
100
+ pulumi.set(self, "description", value)
101
+
102
+ @property
103
+ @pulumi.getter(name="displayName")
104
+ def display_name(self) -> Optional[pulumi.Input[str]]:
105
+ """
106
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
107
+ """
108
+ return pulumi.get(self, "display_name")
109
+
110
+ @display_name.setter
111
+ def display_name(self, value: Optional[pulumi.Input[str]]):
112
+ pulumi.set(self, "display_name", value)
113
+
114
+ @property
115
+ @pulumi.getter(name="freeformTags")
116
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
117
+ """
118
+ (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"}`
119
+ """
120
+ return pulumi.get(self, "freeform_tags")
121
+
122
+ @freeform_tags.setter
123
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
124
+ pulumi.set(self, "freeform_tags", value)
125
+
126
+
127
+ @pulumi.input_type
128
+ class _AgentKnowledgeBaseState:
129
+ def __init__(__self__, *,
130
+ compartment_id: Optional[pulumi.Input[str]] = None,
131
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
132
+ description: Optional[pulumi.Input[str]] = None,
133
+ display_name: Optional[pulumi.Input[str]] = None,
134
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
135
+ index_config: Optional[pulumi.Input['AgentKnowledgeBaseIndexConfigArgs']] = None,
136
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
137
+ state: Optional[pulumi.Input[str]] = None,
138
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
139
+ time_created: Optional[pulumi.Input[str]] = None,
140
+ time_updated: Optional[pulumi.Input[str]] = None):
141
+ """
142
+ Input properties used for looking up and filtering AgentKnowledgeBase resources.
143
+ :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the knowledge base in.
144
+ :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"}`
145
+ :param pulumi.Input[str] description: (Updatable) A user-friendly description of the knowledge base.
146
+ :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.
147
+ :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"}`
148
+ :param pulumi.Input['AgentKnowledgeBaseIndexConfigArgs'] index_config: (Updatable) **IndexConfig**
149
+
150
+ The index configuration of Knowledge bases.
151
+ :param pulumi.Input[str] lifecycle_details: A message that describes the current state of the knowledge base in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
152
+ :param pulumi.Input[str] state: The current state of the knowledge base.
153
+ :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"}`
154
+ :param pulumi.Input[str] time_created: The date and time the knowledge base was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
155
+ :param pulumi.Input[str] time_updated: The date and time the knowledge base was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
156
+ """
157
+ if compartment_id is not None:
158
+ pulumi.set(__self__, "compartment_id", compartment_id)
159
+ if defined_tags is not None:
160
+ pulumi.set(__self__, "defined_tags", defined_tags)
161
+ if description is not None:
162
+ pulumi.set(__self__, "description", description)
163
+ if display_name is not None:
164
+ pulumi.set(__self__, "display_name", display_name)
165
+ if freeform_tags is not None:
166
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
167
+ if index_config is not None:
168
+ pulumi.set(__self__, "index_config", index_config)
169
+ if lifecycle_details is not None:
170
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
171
+ if state is not None:
172
+ pulumi.set(__self__, "state", state)
173
+ if system_tags is not None:
174
+ pulumi.set(__self__, "system_tags", system_tags)
175
+ if time_created is not None:
176
+ pulumi.set(__self__, "time_created", time_created)
177
+ if time_updated is not None:
178
+ pulumi.set(__self__, "time_updated", time_updated)
179
+
180
+ @property
181
+ @pulumi.getter(name="compartmentId")
182
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
183
+ """
184
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the knowledge base in.
185
+ """
186
+ return pulumi.get(self, "compartment_id")
187
+
188
+ @compartment_id.setter
189
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
190
+ pulumi.set(self, "compartment_id", value)
191
+
192
+ @property
193
+ @pulumi.getter(name="definedTags")
194
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
195
+ """
196
+ (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"}`
197
+ """
198
+ return pulumi.get(self, "defined_tags")
199
+
200
+ @defined_tags.setter
201
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
202
+ pulumi.set(self, "defined_tags", value)
203
+
204
+ @property
205
+ @pulumi.getter
206
+ def description(self) -> Optional[pulumi.Input[str]]:
207
+ """
208
+ (Updatable) A user-friendly description of the knowledge base.
209
+ """
210
+ return pulumi.get(self, "description")
211
+
212
+ @description.setter
213
+ def description(self, value: Optional[pulumi.Input[str]]):
214
+ pulumi.set(self, "description", value)
215
+
216
+ @property
217
+ @pulumi.getter(name="displayName")
218
+ def display_name(self) -> Optional[pulumi.Input[str]]:
219
+ """
220
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
221
+ """
222
+ return pulumi.get(self, "display_name")
223
+
224
+ @display_name.setter
225
+ def display_name(self, value: Optional[pulumi.Input[str]]):
226
+ pulumi.set(self, "display_name", value)
227
+
228
+ @property
229
+ @pulumi.getter(name="freeformTags")
230
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
231
+ """
232
+ (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"}`
233
+ """
234
+ return pulumi.get(self, "freeform_tags")
235
+
236
+ @freeform_tags.setter
237
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
238
+ pulumi.set(self, "freeform_tags", value)
239
+
240
+ @property
241
+ @pulumi.getter(name="indexConfig")
242
+ def index_config(self) -> Optional[pulumi.Input['AgentKnowledgeBaseIndexConfigArgs']]:
243
+ """
244
+ (Updatable) **IndexConfig**
245
+
246
+ The index configuration of Knowledge bases.
247
+ """
248
+ return pulumi.get(self, "index_config")
249
+
250
+ @index_config.setter
251
+ def index_config(self, value: Optional[pulumi.Input['AgentKnowledgeBaseIndexConfigArgs']]):
252
+ pulumi.set(self, "index_config", value)
253
+
254
+ @property
255
+ @pulumi.getter(name="lifecycleDetails")
256
+ def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
257
+ """
258
+ A message that describes the current state of the knowledge base in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
259
+ """
260
+ return pulumi.get(self, "lifecycle_details")
261
+
262
+ @lifecycle_details.setter
263
+ def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
264
+ pulumi.set(self, "lifecycle_details", value)
265
+
266
+ @property
267
+ @pulumi.getter
268
+ def state(self) -> Optional[pulumi.Input[str]]:
269
+ """
270
+ The current state of the knowledge base.
271
+ """
272
+ return pulumi.get(self, "state")
273
+
274
+ @state.setter
275
+ def state(self, value: Optional[pulumi.Input[str]]):
276
+ pulumi.set(self, "state", value)
277
+
278
+ @property
279
+ @pulumi.getter(name="systemTags")
280
+ def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
281
+ """
282
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
283
+ """
284
+ return pulumi.get(self, "system_tags")
285
+
286
+ @system_tags.setter
287
+ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
288
+ pulumi.set(self, "system_tags", value)
289
+
290
+ @property
291
+ @pulumi.getter(name="timeCreated")
292
+ def time_created(self) -> Optional[pulumi.Input[str]]:
293
+ """
294
+ The date and time the knowledge base was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
295
+ """
296
+ return pulumi.get(self, "time_created")
297
+
298
+ @time_created.setter
299
+ def time_created(self, value: Optional[pulumi.Input[str]]):
300
+ pulumi.set(self, "time_created", value)
301
+
302
+ @property
303
+ @pulumi.getter(name="timeUpdated")
304
+ def time_updated(self) -> Optional[pulumi.Input[str]]:
305
+ """
306
+ The date and time the knowledge base was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
307
+ """
308
+ return pulumi.get(self, "time_updated")
309
+
310
+ @time_updated.setter
311
+ def time_updated(self, value: Optional[pulumi.Input[str]]):
312
+ pulumi.set(self, "time_updated", value)
313
+
314
+
315
+ class AgentKnowledgeBase(pulumi.CustomResource):
316
+ @overload
317
+ def __init__(__self__,
318
+ resource_name: str,
319
+ opts: Optional[pulumi.ResourceOptions] = None,
320
+ compartment_id: Optional[pulumi.Input[str]] = None,
321
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
322
+ description: Optional[pulumi.Input[str]] = None,
323
+ display_name: Optional[pulumi.Input[str]] = None,
324
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
325
+ index_config: Optional[pulumi.Input[Union['AgentKnowledgeBaseIndexConfigArgs', 'AgentKnowledgeBaseIndexConfigArgsDict']]] = None,
326
+ __props__=None):
327
+ """
328
+ This resource provides the Knowledge Base resource in Oracle Cloud Infrastructure Generative Ai Agent service.
329
+
330
+ **CreateKnowledgeBase**
331
+
332
+ Creates a knowledge base.
333
+
334
+ ## Example Usage
335
+
336
+ ```python
337
+ import pulumi
338
+ import pulumi_oci as oci
339
+
340
+ test_knowledge_base = oci.generative_ai.AgentKnowledgeBase("test_knowledge_base",
341
+ compartment_id=compartment_id,
342
+ index_config={
343
+ "index_config_type": knowledge_base_index_config_index_config_type,
344
+ "cluster_id": test_cluster["id"],
345
+ "database_connection": {
346
+ "connection_id": test_connection["id"],
347
+ "connection_type": knowledge_base_index_config_database_connection_connection_type,
348
+ },
349
+ "database_functions": [{
350
+ "name": knowledge_base_index_config_database_functions_name,
351
+ }],
352
+ "indexes": [{
353
+ "name": knowledge_base_index_config_indexes_name,
354
+ "schema": {
355
+ "body_key": knowledge_base_index_config_indexes_schema_body_key,
356
+ "embedding_body_key": knowledge_base_index_config_indexes_schema_embedding_body_key,
357
+ "title_key": knowledge_base_index_config_indexes_schema_title_key,
358
+ "url_key": knowledge_base_index_config_indexes_schema_url_key,
359
+ },
360
+ }],
361
+ "secret_detail": {
362
+ "type": knowledge_base_index_config_secret_detail_type,
363
+ "vault_secret_id": test_secret["id"],
364
+ "client_id": test_client["id"],
365
+ "idcs_url": knowledge_base_index_config_secret_detail_idcs_url,
366
+ "scope_url": knowledge_base_index_config_secret_detail_scope_url,
367
+ },
368
+ "should_enable_hybrid_search": knowledge_base_index_config_should_enable_hybrid_search,
369
+ },
370
+ defined_tags={
371
+ "Operations.CostCenter": "42",
372
+ },
373
+ description=knowledge_base_description,
374
+ display_name=knowledge_base_display_name,
375
+ freeform_tags={
376
+ "Department": "Finance",
377
+ })
378
+ ```
379
+
380
+ ## Import
381
+
382
+ KnowledgeBases can be imported using the `id`, e.g.
383
+
384
+ ```sh
385
+ $ pulumi import oci:GenerativeAi/agentKnowledgeBase:AgentKnowledgeBase test_knowledge_base "id"
386
+ ```
387
+
388
+ :param str resource_name: The name of the resource.
389
+ :param pulumi.ResourceOptions opts: Options for the resource.
390
+ :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the knowledge base in.
391
+ :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"}`
392
+ :param pulumi.Input[str] description: (Updatable) A user-friendly description of the knowledge base.
393
+ :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.
394
+ :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"}`
395
+ :param pulumi.Input[Union['AgentKnowledgeBaseIndexConfigArgs', 'AgentKnowledgeBaseIndexConfigArgsDict']] index_config: (Updatable) **IndexConfig**
396
+
397
+ The index configuration of Knowledge bases.
398
+ """
399
+ ...
400
+ @overload
401
+ def __init__(__self__,
402
+ resource_name: str,
403
+ args: AgentKnowledgeBaseArgs,
404
+ opts: Optional[pulumi.ResourceOptions] = None):
405
+ """
406
+ This resource provides the Knowledge Base resource in Oracle Cloud Infrastructure Generative Ai Agent service.
407
+
408
+ **CreateKnowledgeBase**
409
+
410
+ Creates a knowledge base.
411
+
412
+ ## Example Usage
413
+
414
+ ```python
415
+ import pulumi
416
+ import pulumi_oci as oci
417
+
418
+ test_knowledge_base = oci.generative_ai.AgentKnowledgeBase("test_knowledge_base",
419
+ compartment_id=compartment_id,
420
+ index_config={
421
+ "index_config_type": knowledge_base_index_config_index_config_type,
422
+ "cluster_id": test_cluster["id"],
423
+ "database_connection": {
424
+ "connection_id": test_connection["id"],
425
+ "connection_type": knowledge_base_index_config_database_connection_connection_type,
426
+ },
427
+ "database_functions": [{
428
+ "name": knowledge_base_index_config_database_functions_name,
429
+ }],
430
+ "indexes": [{
431
+ "name": knowledge_base_index_config_indexes_name,
432
+ "schema": {
433
+ "body_key": knowledge_base_index_config_indexes_schema_body_key,
434
+ "embedding_body_key": knowledge_base_index_config_indexes_schema_embedding_body_key,
435
+ "title_key": knowledge_base_index_config_indexes_schema_title_key,
436
+ "url_key": knowledge_base_index_config_indexes_schema_url_key,
437
+ },
438
+ }],
439
+ "secret_detail": {
440
+ "type": knowledge_base_index_config_secret_detail_type,
441
+ "vault_secret_id": test_secret["id"],
442
+ "client_id": test_client["id"],
443
+ "idcs_url": knowledge_base_index_config_secret_detail_idcs_url,
444
+ "scope_url": knowledge_base_index_config_secret_detail_scope_url,
445
+ },
446
+ "should_enable_hybrid_search": knowledge_base_index_config_should_enable_hybrid_search,
447
+ },
448
+ defined_tags={
449
+ "Operations.CostCenter": "42",
450
+ },
451
+ description=knowledge_base_description,
452
+ display_name=knowledge_base_display_name,
453
+ freeform_tags={
454
+ "Department": "Finance",
455
+ })
456
+ ```
457
+
458
+ ## Import
459
+
460
+ KnowledgeBases can be imported using the `id`, e.g.
461
+
462
+ ```sh
463
+ $ pulumi import oci:GenerativeAi/agentKnowledgeBase:AgentKnowledgeBase test_knowledge_base "id"
464
+ ```
465
+
466
+ :param str resource_name: The name of the resource.
467
+ :param AgentKnowledgeBaseArgs args: The arguments to use to populate this resource's properties.
468
+ :param pulumi.ResourceOptions opts: Options for the resource.
469
+ """
470
+ ...
471
+ def __init__(__self__, resource_name: str, *args, **kwargs):
472
+ resource_args, opts = _utilities.get_resource_args_opts(AgentKnowledgeBaseArgs, pulumi.ResourceOptions, *args, **kwargs)
473
+ if resource_args is not None:
474
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
475
+ else:
476
+ __self__._internal_init(resource_name, *args, **kwargs)
477
+
478
+ def _internal_init(__self__,
479
+ resource_name: str,
480
+ opts: Optional[pulumi.ResourceOptions] = None,
481
+ compartment_id: Optional[pulumi.Input[str]] = None,
482
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
483
+ description: Optional[pulumi.Input[str]] = None,
484
+ display_name: Optional[pulumi.Input[str]] = None,
485
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
486
+ index_config: Optional[pulumi.Input[Union['AgentKnowledgeBaseIndexConfigArgs', 'AgentKnowledgeBaseIndexConfigArgsDict']]] = None,
487
+ __props__=None):
488
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
489
+ if not isinstance(opts, pulumi.ResourceOptions):
490
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
491
+ if opts.id is None:
492
+ if __props__ is not None:
493
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
494
+ __props__ = AgentKnowledgeBaseArgs.__new__(AgentKnowledgeBaseArgs)
495
+
496
+ if compartment_id is None and not opts.urn:
497
+ raise TypeError("Missing required property 'compartment_id'")
498
+ __props__.__dict__["compartment_id"] = compartment_id
499
+ __props__.__dict__["defined_tags"] = defined_tags
500
+ __props__.__dict__["description"] = description
501
+ __props__.__dict__["display_name"] = display_name
502
+ __props__.__dict__["freeform_tags"] = freeform_tags
503
+ if index_config is None and not opts.urn:
504
+ raise TypeError("Missing required property 'index_config'")
505
+ __props__.__dict__["index_config"] = index_config
506
+ __props__.__dict__["lifecycle_details"] = None
507
+ __props__.__dict__["state"] = None
508
+ __props__.__dict__["system_tags"] = None
509
+ __props__.__dict__["time_created"] = None
510
+ __props__.__dict__["time_updated"] = None
511
+ super(AgentKnowledgeBase, __self__).__init__(
512
+ 'oci:GenerativeAi/agentKnowledgeBase:AgentKnowledgeBase',
513
+ resource_name,
514
+ __props__,
515
+ opts)
516
+
517
+ @staticmethod
518
+ def get(resource_name: str,
519
+ id: pulumi.Input[str],
520
+ opts: Optional[pulumi.ResourceOptions] = None,
521
+ compartment_id: Optional[pulumi.Input[str]] = None,
522
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
523
+ description: Optional[pulumi.Input[str]] = None,
524
+ display_name: Optional[pulumi.Input[str]] = None,
525
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
526
+ index_config: Optional[pulumi.Input[Union['AgentKnowledgeBaseIndexConfigArgs', 'AgentKnowledgeBaseIndexConfigArgsDict']]] = None,
527
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
528
+ state: Optional[pulumi.Input[str]] = None,
529
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
530
+ time_created: Optional[pulumi.Input[str]] = None,
531
+ time_updated: Optional[pulumi.Input[str]] = None) -> 'AgentKnowledgeBase':
532
+ """
533
+ Get an existing AgentKnowledgeBase resource's state with the given name, id, and optional extra
534
+ properties used to qualify the lookup.
535
+
536
+ :param str resource_name: The unique name of the resulting resource.
537
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
538
+ :param pulumi.ResourceOptions opts: Options for the resource.
539
+ :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the knowledge base in.
540
+ :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"}`
541
+ :param pulumi.Input[str] description: (Updatable) A user-friendly description of the knowledge base.
542
+ :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.
543
+ :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"}`
544
+ :param pulumi.Input[Union['AgentKnowledgeBaseIndexConfigArgs', 'AgentKnowledgeBaseIndexConfigArgsDict']] index_config: (Updatable) **IndexConfig**
545
+
546
+ The index configuration of Knowledge bases.
547
+ :param pulumi.Input[str] lifecycle_details: A message that describes the current state of the knowledge base in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
548
+ :param pulumi.Input[str] state: The current state of the knowledge base.
549
+ :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"}`
550
+ :param pulumi.Input[str] time_created: The date and time the knowledge base was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
551
+ :param pulumi.Input[str] time_updated: The date and time the knowledge base was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
552
+ """
553
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
554
+
555
+ __props__ = _AgentKnowledgeBaseState.__new__(_AgentKnowledgeBaseState)
556
+
557
+ __props__.__dict__["compartment_id"] = compartment_id
558
+ __props__.__dict__["defined_tags"] = defined_tags
559
+ __props__.__dict__["description"] = description
560
+ __props__.__dict__["display_name"] = display_name
561
+ __props__.__dict__["freeform_tags"] = freeform_tags
562
+ __props__.__dict__["index_config"] = index_config
563
+ __props__.__dict__["lifecycle_details"] = lifecycle_details
564
+ __props__.__dict__["state"] = state
565
+ __props__.__dict__["system_tags"] = system_tags
566
+ __props__.__dict__["time_created"] = time_created
567
+ __props__.__dict__["time_updated"] = time_updated
568
+ return AgentKnowledgeBase(resource_name, opts=opts, __props__=__props__)
569
+
570
+ @property
571
+ @pulumi.getter(name="compartmentId")
572
+ def compartment_id(self) -> pulumi.Output[str]:
573
+ """
574
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the knowledge base in.
575
+ """
576
+ return pulumi.get(self, "compartment_id")
577
+
578
+ @property
579
+ @pulumi.getter(name="definedTags")
580
+ def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
581
+ """
582
+ (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"}`
583
+ """
584
+ return pulumi.get(self, "defined_tags")
585
+
586
+ @property
587
+ @pulumi.getter
588
+ def description(self) -> pulumi.Output[str]:
589
+ """
590
+ (Updatable) A user-friendly description of the knowledge base.
591
+ """
592
+ return pulumi.get(self, "description")
593
+
594
+ @property
595
+ @pulumi.getter(name="displayName")
596
+ def display_name(self) -> pulumi.Output[str]:
597
+ """
598
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
599
+ """
600
+ return pulumi.get(self, "display_name")
601
+
602
+ @property
603
+ @pulumi.getter(name="freeformTags")
604
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
605
+ """
606
+ (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"}`
607
+ """
608
+ return pulumi.get(self, "freeform_tags")
609
+
610
+ @property
611
+ @pulumi.getter(name="indexConfig")
612
+ def index_config(self) -> pulumi.Output['outputs.AgentKnowledgeBaseIndexConfig']:
613
+ """
614
+ (Updatable) **IndexConfig**
615
+
616
+ The index configuration of Knowledge bases.
617
+ """
618
+ return pulumi.get(self, "index_config")
619
+
620
+ @property
621
+ @pulumi.getter(name="lifecycleDetails")
622
+ def lifecycle_details(self) -> pulumi.Output[str]:
623
+ """
624
+ A message that describes the current state of the knowledge base in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
625
+ """
626
+ return pulumi.get(self, "lifecycle_details")
627
+
628
+ @property
629
+ @pulumi.getter
630
+ def state(self) -> pulumi.Output[str]:
631
+ """
632
+ The current state of the knowledge base.
633
+ """
634
+ return pulumi.get(self, "state")
635
+
636
+ @property
637
+ @pulumi.getter(name="systemTags")
638
+ def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
639
+ """
640
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
641
+ """
642
+ return pulumi.get(self, "system_tags")
643
+
644
+ @property
645
+ @pulumi.getter(name="timeCreated")
646
+ def time_created(self) -> pulumi.Output[str]:
647
+ """
648
+ The date and time the knowledge base was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
649
+ """
650
+ return pulumi.get(self, "time_created")
651
+
652
+ @property
653
+ @pulumi.getter(name="timeUpdated")
654
+ def time_updated(self) -> pulumi.Output[str]:
655
+ """
656
+ The date and time the knowledge base was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
657
+ """
658
+ return pulumi.get(self, "time_updated")
659
+