pulumi-oci 3.1.0a1751948424__py3-none-any.whl → 3.2.0a1752121229__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +40 -0
- pulumi_oci/bigdataservice/__init__.py +10 -0
- pulumi_oci/bigdataservice/_inputs.py +378 -0
- pulumi_oci/bigdataservice/bds_instance_node_backup.py +481 -0
- pulumi_oci/bigdataservice/bds_instance_node_backup_configuration.py +611 -0
- pulumi_oci/bigdataservice/bds_instance_node_replace_configuration.py +538 -0
- pulumi_oci/bigdataservice/bds_instance_replace_node_action.py +406 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup.py +245 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup_configuration.py +263 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup_configurations.py +192 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backups.py +211 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_replace_configuration.py +246 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_replace_configurations.py +192 -0
- pulumi_oci/bigdataservice/outputs.py +798 -0
- pulumi_oci/generativeai/__init__.py +3 -0
- pulumi_oci/generativeai/_inputs.py +1479 -132
- pulumi_oci/generativeai/agent_agent.py +66 -11
- pulumi_oci/generativeai/agent_agent_endpoint.py +296 -25
- pulumi_oci/generativeai/agent_data_source.py +70 -21
- pulumi_oci/generativeai/agent_tool.py +619 -0
- pulumi_oci/generativeai/get_agent_agent.py +17 -2
- pulumi_oci/generativeai/get_agent_agent_endpoint.py +72 -6
- pulumi_oci/generativeai/get_agent_agent_endpoints.py +0 -4
- pulumi_oci/generativeai/get_agent_data_source.py +15 -1
- pulumi_oci/generativeai/get_agent_tool.py +283 -0
- pulumi_oci/generativeai/get_agent_tools.py +214 -0
- pulumi_oci/generativeai/outputs.py +4001 -1259
- pulumi_oci/kms/vault_verification.py +62 -2
- pulumi_oci/ospgateway/_inputs.py +20 -0
- pulumi_oci/ospgateway/get_subscription.py +15 -1
- pulumi_oci/ospgateway/outputs.py +47 -0
- pulumi_oci/ospgateway/subscription.py +28 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/METADATA +1 -1
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/RECORD +37 -24
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/top_level.txt +0 -0
@@ -14,6 +14,7 @@ if sys.version_info >= (3, 11):
|
|
14
14
|
else:
|
15
15
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
16
|
from .. import _utilities
|
17
|
+
from . import outputs
|
17
18
|
|
18
19
|
__all__ = [
|
19
20
|
'GetAgentAgentResult',
|
@@ -27,7 +28,7 @@ class GetAgentAgentResult:
|
|
27
28
|
"""
|
28
29
|
A collection of values returned by getAgentAgent.
|
29
30
|
"""
|
30
|
-
def __init__(__self__, agent_id=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, knowledge_base_ids=None, lifecycle_details=None, state=None, system_tags=None, time_created=None, time_updated=None, welcome_message=None):
|
31
|
+
def __init__(__self__, agent_id=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, knowledge_base_ids=None, lifecycle_details=None, llm_configs=None, state=None, system_tags=None, time_created=None, time_updated=None, welcome_message=None):
|
31
32
|
if agent_id and not isinstance(agent_id, str):
|
32
33
|
raise TypeError("Expected argument 'agent_id' to be a str")
|
33
34
|
pulumi.set(__self__, "agent_id", agent_id)
|
@@ -55,6 +56,9 @@ class GetAgentAgentResult:
|
|
55
56
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
56
57
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
57
58
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
59
|
+
if llm_configs and not isinstance(llm_configs, list):
|
60
|
+
raise TypeError("Expected argument 'llm_configs' to be a list")
|
61
|
+
pulumi.set(__self__, "llm_configs", llm_configs)
|
58
62
|
if state and not isinstance(state, str):
|
59
63
|
raise TypeError("Expected argument 'state' to be a str")
|
60
64
|
pulumi.set(__self__, "state", state)
|
@@ -128,7 +132,7 @@ class GetAgentAgentResult:
|
|
128
132
|
@pulumi.getter(name="knowledgeBaseIds")
|
129
133
|
def knowledge_base_ids(self) -> Sequence[builtins.str]:
|
130
134
|
"""
|
131
|
-
List of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent.
|
135
|
+
List of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent. This field is deprecated and will be removed after March 26 2026.
|
132
136
|
"""
|
133
137
|
return pulumi.get(self, "knowledge_base_ids")
|
134
138
|
|
@@ -140,6 +144,14 @@ class GetAgentAgentResult:
|
|
140
144
|
"""
|
141
145
|
return pulumi.get(self, "lifecycle_details")
|
142
146
|
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="llmConfigs")
|
149
|
+
def llm_configs(self) -> Sequence['outputs.GetAgentAgentLlmConfigResult']:
|
150
|
+
"""
|
151
|
+
Configuration to Agent LLM.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "llm_configs")
|
154
|
+
|
143
155
|
@property
|
144
156
|
@pulumi.getter
|
145
157
|
def state(self) -> builtins.str:
|
@@ -196,6 +208,7 @@ class AwaitableGetAgentAgentResult(GetAgentAgentResult):
|
|
196
208
|
id=self.id,
|
197
209
|
knowledge_base_ids=self.knowledge_base_ids,
|
198
210
|
lifecycle_details=self.lifecycle_details,
|
211
|
+
llm_configs=self.llm_configs,
|
199
212
|
state=self.state,
|
200
213
|
system_tags=self.system_tags,
|
201
214
|
time_created=self.time_created,
|
@@ -239,6 +252,7 @@ def get_agent_agent(agent_id: Optional[builtins.str] = None,
|
|
239
252
|
id=pulumi.get(__ret__, 'id'),
|
240
253
|
knowledge_base_ids=pulumi.get(__ret__, 'knowledge_base_ids'),
|
241
254
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
255
|
+
llm_configs=pulumi.get(__ret__, 'llm_configs'),
|
242
256
|
state=pulumi.get(__ret__, 'state'),
|
243
257
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
244
258
|
time_created=pulumi.get(__ret__, 'time_created'),
|
@@ -279,6 +293,7 @@ def get_agent_agent_output(agent_id: Optional[pulumi.Input[builtins.str]] = None
|
|
279
293
|
id=pulumi.get(__response__, 'id'),
|
280
294
|
knowledge_base_ids=pulumi.get(__response__, 'knowledge_base_ids'),
|
281
295
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
296
|
+
llm_configs=pulumi.get(__response__, 'llm_configs'),
|
282
297
|
state=pulumi.get(__response__, 'state'),
|
283
298
|
system_tags=pulumi.get(__response__, 'system_tags'),
|
284
299
|
time_created=pulumi.get(__response__, 'time_created'),
|
@@ -28,7 +28,7 @@ class GetAgentAgentEndpointResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getAgentAgentEndpoint.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, agent_endpoint_id=None, agent_id=None, compartment_id=None, content_moderation_configs=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, session_configs=None, should_enable_citation=None, should_enable_session=None, should_enable_trace=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
31
|
+
def __init__(__self__, agent_endpoint_id=None, agent_id=None, compartment_id=None, content_moderation_configs=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, guardrail_configs=None, human_input_configs=None, id=None, lifecycle_details=None, metadata=None, output_configs=None, session_configs=None, should_enable_citation=None, should_enable_multi_language=None, should_enable_session=None, should_enable_trace=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
32
32
|
if agent_endpoint_id and not isinstance(agent_endpoint_id, str):
|
33
33
|
raise TypeError("Expected argument 'agent_endpoint_id' to be a str")
|
34
34
|
pulumi.set(__self__, "agent_endpoint_id", agent_endpoint_id)
|
@@ -53,18 +53,33 @@ class GetAgentAgentEndpointResult:
|
|
53
53
|
if freeform_tags and not isinstance(freeform_tags, dict):
|
54
54
|
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
55
55
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
56
|
+
if guardrail_configs and not isinstance(guardrail_configs, list):
|
57
|
+
raise TypeError("Expected argument 'guardrail_configs' to be a list")
|
58
|
+
pulumi.set(__self__, "guardrail_configs", guardrail_configs)
|
59
|
+
if human_input_configs and not isinstance(human_input_configs, list):
|
60
|
+
raise TypeError("Expected argument 'human_input_configs' to be a list")
|
61
|
+
pulumi.set(__self__, "human_input_configs", human_input_configs)
|
56
62
|
if id and not isinstance(id, str):
|
57
63
|
raise TypeError("Expected argument 'id' to be a str")
|
58
64
|
pulumi.set(__self__, "id", id)
|
59
65
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
60
66
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
61
67
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
68
|
+
if metadata and not isinstance(metadata, dict):
|
69
|
+
raise TypeError("Expected argument 'metadata' to be a dict")
|
70
|
+
pulumi.set(__self__, "metadata", metadata)
|
71
|
+
if output_configs and not isinstance(output_configs, list):
|
72
|
+
raise TypeError("Expected argument 'output_configs' to be a list")
|
73
|
+
pulumi.set(__self__, "output_configs", output_configs)
|
62
74
|
if session_configs and not isinstance(session_configs, list):
|
63
75
|
raise TypeError("Expected argument 'session_configs' to be a list")
|
64
76
|
pulumi.set(__self__, "session_configs", session_configs)
|
65
77
|
if should_enable_citation and not isinstance(should_enable_citation, bool):
|
66
78
|
raise TypeError("Expected argument 'should_enable_citation' to be a bool")
|
67
79
|
pulumi.set(__self__, "should_enable_citation", should_enable_citation)
|
80
|
+
if should_enable_multi_language and not isinstance(should_enable_multi_language, bool):
|
81
|
+
raise TypeError("Expected argument 'should_enable_multi_language' to be a bool")
|
82
|
+
pulumi.set(__self__, "should_enable_multi_language", should_enable_multi_language)
|
68
83
|
if should_enable_session and not isinstance(should_enable_session, bool):
|
69
84
|
raise TypeError("Expected argument 'should_enable_session' to be a bool")
|
70
85
|
pulumi.set(__self__, "should_enable_session", should_enable_session)
|
@@ -145,6 +160,22 @@ class GetAgentAgentEndpointResult:
|
|
145
160
|
"""
|
146
161
|
return pulumi.get(self, "freeform_tags")
|
147
162
|
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="guardrailConfigs")
|
165
|
+
def guardrail_configs(self) -> Sequence['outputs.GetAgentAgentEndpointGuardrailConfigResult']:
|
166
|
+
"""
|
167
|
+
The configuration details about whether to apply the guardrail checks to input and output.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "guardrail_configs")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="humanInputConfigs")
|
173
|
+
def human_input_configs(self) -> Sequence['outputs.GetAgentAgentEndpointHumanInputConfigResult']:
|
174
|
+
"""
|
175
|
+
Human Input Configuration for an AgentEndpoint.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "human_input_configs")
|
178
|
+
|
148
179
|
@property
|
149
180
|
@pulumi.getter
|
150
181
|
def id(self) -> builtins.str:
|
@@ -161,11 +192,27 @@ class GetAgentAgentEndpointResult:
|
|
161
192
|
"""
|
162
193
|
return pulumi.get(self, "lifecycle_details")
|
163
194
|
|
195
|
+
@property
|
196
|
+
@pulumi.getter
|
197
|
+
def metadata(self) -> Mapping[str, builtins.str]:
|
198
|
+
"""
|
199
|
+
Key-value pairs to allow additional configurations.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "metadata")
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="outputConfigs")
|
205
|
+
def output_configs(self) -> Sequence['outputs.GetAgentAgentEndpointOutputConfigResult']:
|
206
|
+
"""
|
207
|
+
Configuration to store results generated by agent.
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "output_configs")
|
210
|
+
|
164
211
|
@property
|
165
212
|
@pulumi.getter(name="sessionConfigs")
|
166
213
|
def session_configs(self) -> Sequence['outputs.GetAgentAgentEndpointSessionConfigResult']:
|
167
214
|
"""
|
168
|
-
|
215
|
+
Session Configuration on AgentEndpoint.
|
169
216
|
"""
|
170
217
|
return pulumi.get(self, "session_configs")
|
171
218
|
|
@@ -177,6 +224,14 @@ class GetAgentAgentEndpointResult:
|
|
177
224
|
"""
|
178
225
|
return pulumi.get(self, "should_enable_citation")
|
179
226
|
|
227
|
+
@property
|
228
|
+
@pulumi.getter(name="shouldEnableMultiLanguage")
|
229
|
+
def should_enable_multi_language(self) -> builtins.bool:
|
230
|
+
"""
|
231
|
+
Whether to enable multi-language for chat.
|
232
|
+
"""
|
233
|
+
return pulumi.get(self, "should_enable_multi_language")
|
234
|
+
|
180
235
|
@property
|
181
236
|
@pulumi.getter(name="shouldEnableSession")
|
182
237
|
def should_enable_session(self) -> builtins.bool:
|
@@ -240,10 +295,15 @@ class AwaitableGetAgentAgentEndpointResult(GetAgentAgentEndpointResult):
|
|
240
295
|
description=self.description,
|
241
296
|
display_name=self.display_name,
|
242
297
|
freeform_tags=self.freeform_tags,
|
298
|
+
guardrail_configs=self.guardrail_configs,
|
299
|
+
human_input_configs=self.human_input_configs,
|
243
300
|
id=self.id,
|
244
301
|
lifecycle_details=self.lifecycle_details,
|
302
|
+
metadata=self.metadata,
|
303
|
+
output_configs=self.output_configs,
|
245
304
|
session_configs=self.session_configs,
|
246
305
|
should_enable_citation=self.should_enable_citation,
|
306
|
+
should_enable_multi_language=self.should_enable_multi_language,
|
247
307
|
should_enable_session=self.should_enable_session,
|
248
308
|
should_enable_trace=self.should_enable_trace,
|
249
309
|
state=self.state,
|
@@ -257,8 +317,6 @@ def get_agent_agent_endpoint(agent_endpoint_id: Optional[builtins.str] = None,
|
|
257
317
|
"""
|
258
318
|
This data source provides details about a specific Agent Endpoint resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
259
319
|
|
260
|
-
**GetAgentEndpoint**
|
261
|
-
|
262
320
|
Gets information about an endpoint.
|
263
321
|
|
264
322
|
## Example Usage
|
@@ -287,10 +345,15 @@ def get_agent_agent_endpoint(agent_endpoint_id: Optional[builtins.str] = None,
|
|
287
345
|
description=pulumi.get(__ret__, 'description'),
|
288
346
|
display_name=pulumi.get(__ret__, 'display_name'),
|
289
347
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
348
|
+
guardrail_configs=pulumi.get(__ret__, 'guardrail_configs'),
|
349
|
+
human_input_configs=pulumi.get(__ret__, 'human_input_configs'),
|
290
350
|
id=pulumi.get(__ret__, 'id'),
|
291
351
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
352
|
+
metadata=pulumi.get(__ret__, 'metadata'),
|
353
|
+
output_configs=pulumi.get(__ret__, 'output_configs'),
|
292
354
|
session_configs=pulumi.get(__ret__, 'session_configs'),
|
293
355
|
should_enable_citation=pulumi.get(__ret__, 'should_enable_citation'),
|
356
|
+
should_enable_multi_language=pulumi.get(__ret__, 'should_enable_multi_language'),
|
294
357
|
should_enable_session=pulumi.get(__ret__, 'should_enable_session'),
|
295
358
|
should_enable_trace=pulumi.get(__ret__, 'should_enable_trace'),
|
296
359
|
state=pulumi.get(__ret__, 'state'),
|
@@ -302,8 +365,6 @@ def get_agent_agent_endpoint_output(agent_endpoint_id: Optional[pulumi.Input[bui
|
|
302
365
|
"""
|
303
366
|
This data source provides details about a specific Agent Endpoint resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
304
367
|
|
305
|
-
**GetAgentEndpoint**
|
306
|
-
|
307
368
|
Gets information about an endpoint.
|
308
369
|
|
309
370
|
## Example Usage
|
@@ -331,10 +392,15 @@ def get_agent_agent_endpoint_output(agent_endpoint_id: Optional[pulumi.Input[bui
|
|
331
392
|
description=pulumi.get(__response__, 'description'),
|
332
393
|
display_name=pulumi.get(__response__, 'display_name'),
|
333
394
|
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
395
|
+
guardrail_configs=pulumi.get(__response__, 'guardrail_configs'),
|
396
|
+
human_input_configs=pulumi.get(__response__, 'human_input_configs'),
|
334
397
|
id=pulumi.get(__response__, 'id'),
|
335
398
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
399
|
+
metadata=pulumi.get(__response__, 'metadata'),
|
400
|
+
output_configs=pulumi.get(__response__, 'output_configs'),
|
336
401
|
session_configs=pulumi.get(__response__, 'session_configs'),
|
337
402
|
should_enable_citation=pulumi.get(__response__, 'should_enable_citation'),
|
403
|
+
should_enable_multi_language=pulumi.get(__response__, 'should_enable_multi_language'),
|
338
404
|
should_enable_session=pulumi.get(__response__, 'should_enable_session'),
|
339
405
|
should_enable_trace=pulumi.get(__response__, 'should_enable_trace'),
|
340
406
|
state=pulumi.get(__response__, 'state'),
|
@@ -130,8 +130,6 @@ def get_agent_agent_endpoints(agent_id: Optional[builtins.str] = None,
|
|
130
130
|
"""
|
131
131
|
This data source provides the list of Agent Endpoints in Oracle Cloud Infrastructure Generative Ai Agent service.
|
132
132
|
|
133
|
-
**ListAgentEndpoints**
|
134
|
-
|
135
133
|
Gets a list of endpoints.
|
136
134
|
|
137
135
|
## Example Usage
|
@@ -178,8 +176,6 @@ def get_agent_agent_endpoints_output(agent_id: Optional[pulumi.Input[Optional[bu
|
|
178
176
|
"""
|
179
177
|
This data source provides the list of Agent Endpoints in Oracle Cloud Infrastructure Generative Ai Agent service.
|
180
178
|
|
181
|
-
**ListAgentEndpoints**
|
182
|
-
|
183
179
|
Gets a list of endpoints.
|
184
180
|
|
185
181
|
## Example Usage
|
@@ -28,7 +28,7 @@ class GetAgentDataSourceResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getAgentDataSource.
|
30
30
|
"""
|
31
|
-
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
|
+
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, metadata=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
32
32
|
if compartment_id and not isinstance(compartment_id, str):
|
33
33
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
34
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -59,6 +59,9 @@ class GetAgentDataSourceResult:
|
|
59
59
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
60
60
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
61
61
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
62
|
+
if metadata and not isinstance(metadata, dict):
|
63
|
+
raise TypeError("Expected argument 'metadata' to be a dict")
|
64
|
+
pulumi.set(__self__, "metadata", metadata)
|
62
65
|
if state and not isinstance(state, str):
|
63
66
|
raise TypeError("Expected argument 'state' to be a str")
|
64
67
|
pulumi.set(__self__, "state", state)
|
@@ -149,6 +152,14 @@ class GetAgentDataSourceResult:
|
|
149
152
|
"""
|
150
153
|
return pulumi.get(self, "lifecycle_details")
|
151
154
|
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def metadata(self) -> Mapping[str, builtins.str]:
|
158
|
+
"""
|
159
|
+
Key-value pairs to allow additional configurations.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "metadata")
|
162
|
+
|
152
163
|
@property
|
153
164
|
@pulumi.getter
|
154
165
|
def state(self) -> builtins.str:
|
@@ -198,6 +209,7 @@ class AwaitableGetAgentDataSourceResult(GetAgentDataSourceResult):
|
|
198
209
|
id=self.id,
|
199
210
|
knowledge_base_id=self.knowledge_base_id,
|
200
211
|
lifecycle_details=self.lifecycle_details,
|
212
|
+
metadata=self.metadata,
|
201
213
|
state=self.state,
|
202
214
|
system_tags=self.system_tags,
|
203
215
|
time_created=self.time_created,
|
@@ -241,6 +253,7 @@ def get_agent_data_source(data_source_id: Optional[builtins.str] = None,
|
|
241
253
|
id=pulumi.get(__ret__, 'id'),
|
242
254
|
knowledge_base_id=pulumi.get(__ret__, 'knowledge_base_id'),
|
243
255
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
256
|
+
metadata=pulumi.get(__ret__, 'metadata'),
|
244
257
|
state=pulumi.get(__ret__, 'state'),
|
245
258
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
246
259
|
time_created=pulumi.get(__ret__, 'time_created'),
|
@@ -281,6 +294,7 @@ def get_agent_data_source_output(data_source_id: Optional[pulumi.Input[builtins.
|
|
281
294
|
id=pulumi.get(__response__, 'id'),
|
282
295
|
knowledge_base_id=pulumi.get(__response__, 'knowledge_base_id'),
|
283
296
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
297
|
+
metadata=pulumi.get(__response__, 'metadata'),
|
284
298
|
state=pulumi.get(__response__, 'state'),
|
285
299
|
system_tags=pulumi.get(__response__, 'system_tags'),
|
286
300
|
time_created=pulumi.get(__response__, 'time_created'),
|
@@ -0,0 +1,283 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetAgentToolResult',
|
21
|
+
'AwaitableGetAgentToolResult',
|
22
|
+
'get_agent_tool',
|
23
|
+
'get_agent_tool_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetAgentToolResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getAgentTool.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, agent_id=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, metadata=None, state=None, system_tags=None, time_created=None, time_updated=None, tool_configs=None, tool_id=None):
|
32
|
+
if agent_id and not isinstance(agent_id, str):
|
33
|
+
raise TypeError("Expected argument 'agent_id' to be a str")
|
34
|
+
pulumi.set(__self__, "agent_id", agent_id)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
39
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
40
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
41
|
+
if description and not isinstance(description, str):
|
42
|
+
raise TypeError("Expected argument 'description' to be a str")
|
43
|
+
pulumi.set(__self__, "description", description)
|
44
|
+
if display_name and not isinstance(display_name, str):
|
45
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
46
|
+
pulumi.set(__self__, "display_name", display_name)
|
47
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
48
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
49
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
50
|
+
if id and not isinstance(id, str):
|
51
|
+
raise TypeError("Expected argument 'id' to be a str")
|
52
|
+
pulumi.set(__self__, "id", id)
|
53
|
+
if metadata and not isinstance(metadata, dict):
|
54
|
+
raise TypeError("Expected argument 'metadata' to be a dict")
|
55
|
+
pulumi.set(__self__, "metadata", metadata)
|
56
|
+
if state and not isinstance(state, str):
|
57
|
+
raise TypeError("Expected argument 'state' to be a str")
|
58
|
+
pulumi.set(__self__, "state", state)
|
59
|
+
if system_tags and not isinstance(system_tags, dict):
|
60
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
61
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
62
|
+
if time_created and not isinstance(time_created, str):
|
63
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
64
|
+
pulumi.set(__self__, "time_created", time_created)
|
65
|
+
if time_updated and not isinstance(time_updated, str):
|
66
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
67
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
68
|
+
if tool_configs and not isinstance(tool_configs, list):
|
69
|
+
raise TypeError("Expected argument 'tool_configs' to be a list")
|
70
|
+
pulumi.set(__self__, "tool_configs", tool_configs)
|
71
|
+
if tool_id and not isinstance(tool_id, str):
|
72
|
+
raise TypeError("Expected argument 'tool_id' to be a str")
|
73
|
+
pulumi.set(__self__, "tool_id", tool_id)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="agentId")
|
77
|
+
def agent_id(self) -> builtins.str:
|
78
|
+
"""
|
79
|
+
The OCID of the agent that this Tool is attached to.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "agent_id")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="compartmentId")
|
85
|
+
def compartment_id(self) -> builtins.str:
|
86
|
+
"""
|
87
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "compartment_id")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="definedTags")
|
93
|
+
def defined_tags(self) -> Mapping[str, builtins.str]:
|
94
|
+
"""
|
95
|
+
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"}`
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "defined_tags")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def description(self) -> builtins.str:
|
102
|
+
"""
|
103
|
+
A description of the function.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "description")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="displayName")
|
109
|
+
def display_name(self) -> builtins.str:
|
110
|
+
"""
|
111
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "display_name")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="freeformTags")
|
117
|
+
def freeform_tags(self) -> Mapping[str, builtins.str]:
|
118
|
+
"""
|
119
|
+
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"}`
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "freeform_tags")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def id(self) -> builtins.str:
|
126
|
+
"""
|
127
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "id")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter
|
133
|
+
def metadata(self) -> Mapping[str, builtins.str]:
|
134
|
+
"""
|
135
|
+
Key-value pairs to allow additional configurations.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "metadata")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def state(self) -> builtins.str:
|
142
|
+
"""
|
143
|
+
The current state of the Tool.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "state")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="systemTags")
|
149
|
+
def system_tags(self) -> Mapping[str, builtins.str]:
|
150
|
+
"""
|
151
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "system_tags")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="timeCreated")
|
157
|
+
def time_created(self) -> builtins.str:
|
158
|
+
"""
|
159
|
+
The date and time the Tool was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "time_created")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="timeUpdated")
|
165
|
+
def time_updated(self) -> builtins.str:
|
166
|
+
"""
|
167
|
+
The date and time the Tool was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "time_updated")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="toolConfigs")
|
173
|
+
def tool_configs(self) -> Sequence['outputs.GetAgentToolToolConfigResult']:
|
174
|
+
"""
|
175
|
+
The configuration and type of Tool.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "tool_configs")
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter(name="toolId")
|
181
|
+
def tool_id(self) -> builtins.str:
|
182
|
+
return pulumi.get(self, "tool_id")
|
183
|
+
|
184
|
+
|
185
|
+
class AwaitableGetAgentToolResult(GetAgentToolResult):
|
186
|
+
# pylint: disable=using-constant-test
|
187
|
+
def __await__(self):
|
188
|
+
if False:
|
189
|
+
yield self
|
190
|
+
return GetAgentToolResult(
|
191
|
+
agent_id=self.agent_id,
|
192
|
+
compartment_id=self.compartment_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
|
+
metadata=self.metadata,
|
199
|
+
state=self.state,
|
200
|
+
system_tags=self.system_tags,
|
201
|
+
time_created=self.time_created,
|
202
|
+
time_updated=self.time_updated,
|
203
|
+
tool_configs=self.tool_configs,
|
204
|
+
tool_id=self.tool_id)
|
205
|
+
|
206
|
+
|
207
|
+
def get_agent_tool(tool_id: Optional[builtins.str] = None,
|
208
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentToolResult:
|
209
|
+
"""
|
210
|
+
This data source provides details about a specific Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
211
|
+
|
212
|
+
Gets information about a tool.
|
213
|
+
|
214
|
+
## Example Usage
|
215
|
+
|
216
|
+
```python
|
217
|
+
import pulumi
|
218
|
+
import pulumi_oci as oci
|
219
|
+
|
220
|
+
test_tool = oci.GenerativeAi.get_agent_tool(tool_id=test_tool_oci_generative_ai_agent_tool["id"])
|
221
|
+
```
|
222
|
+
|
223
|
+
|
224
|
+
:param builtins.str tool_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
|
225
|
+
"""
|
226
|
+
__args__ = dict()
|
227
|
+
__args__['toolId'] = tool_id
|
228
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
229
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentTool:getAgentTool', __args__, opts=opts, typ=GetAgentToolResult).value
|
230
|
+
|
231
|
+
return AwaitableGetAgentToolResult(
|
232
|
+
agent_id=pulumi.get(__ret__, 'agent_id'),
|
233
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
234
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
235
|
+
description=pulumi.get(__ret__, 'description'),
|
236
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
237
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
238
|
+
id=pulumi.get(__ret__, 'id'),
|
239
|
+
metadata=pulumi.get(__ret__, 'metadata'),
|
240
|
+
state=pulumi.get(__ret__, 'state'),
|
241
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
242
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
243
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
244
|
+
tool_configs=pulumi.get(__ret__, 'tool_configs'),
|
245
|
+
tool_id=pulumi.get(__ret__, 'tool_id'))
|
246
|
+
def get_agent_tool_output(tool_id: Optional[pulumi.Input[builtins.str]] = None,
|
247
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAgentToolResult]:
|
248
|
+
"""
|
249
|
+
This data source provides details about a specific Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
250
|
+
|
251
|
+
Gets information about a tool.
|
252
|
+
|
253
|
+
## Example Usage
|
254
|
+
|
255
|
+
```python
|
256
|
+
import pulumi
|
257
|
+
import pulumi_oci as oci
|
258
|
+
|
259
|
+
test_tool = oci.GenerativeAi.get_agent_tool(tool_id=test_tool_oci_generative_ai_agent_tool["id"])
|
260
|
+
```
|
261
|
+
|
262
|
+
|
263
|
+
:param builtins.str tool_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
|
264
|
+
"""
|
265
|
+
__args__ = dict()
|
266
|
+
__args__['toolId'] = tool_id
|
267
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
268
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentTool:getAgentTool', __args__, opts=opts, typ=GetAgentToolResult)
|
269
|
+
return __ret__.apply(lambda __response__: GetAgentToolResult(
|
270
|
+
agent_id=pulumi.get(__response__, 'agent_id'),
|
271
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
272
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
273
|
+
description=pulumi.get(__response__, 'description'),
|
274
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
275
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
276
|
+
id=pulumi.get(__response__, 'id'),
|
277
|
+
metadata=pulumi.get(__response__, 'metadata'),
|
278
|
+
state=pulumi.get(__response__, 'state'),
|
279
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
280
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
281
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
282
|
+
tool_configs=pulumi.get(__response__, 'tool_configs'),
|
283
|
+
tool_id=pulumi.get(__response__, 'tool_id')))
|