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
@@ -0,0 +1,619 @@
|
|
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
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = ['AgentToolArgs', 'AgentTool']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class AgentToolArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
agent_id: pulumi.Input[builtins.str],
|
26
|
+
compartment_id: pulumi.Input[builtins.str],
|
27
|
+
description: pulumi.Input[builtins.str],
|
28
|
+
tool_config: pulumi.Input['AgentToolToolConfigArgs'],
|
29
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
30
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
31
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
32
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
|
33
|
+
"""
|
34
|
+
The set of arguments for constructing a AgentTool resource.
|
35
|
+
:param pulumi.Input[builtins.str] agent_id: The OCID of the agent that this Tool is attached to.
|
36
|
+
:param pulumi.Input[builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
37
|
+
:param pulumi.Input[builtins.str] description: (Updatable) Description about the Tool.
|
38
|
+
:param pulumi.Input['AgentToolToolConfigArgs'] tool_config: (Updatable) The configuration and type of Tool.
|
39
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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"}`
|
40
|
+
:param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
41
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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"}`
|
42
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] metadata: (Updatable) Key-value pairs to allow additional configurations.
|
43
|
+
"""
|
44
|
+
pulumi.set(__self__, "agent_id", agent_id)
|
45
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
46
|
+
pulumi.set(__self__, "description", description)
|
47
|
+
pulumi.set(__self__, "tool_config", tool_config)
|
48
|
+
if defined_tags is not None:
|
49
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
50
|
+
if display_name is not None:
|
51
|
+
pulumi.set(__self__, "display_name", display_name)
|
52
|
+
if freeform_tags is not None:
|
53
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
54
|
+
if metadata is not None:
|
55
|
+
pulumi.set(__self__, "metadata", metadata)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="agentId")
|
59
|
+
def agent_id(self) -> pulumi.Input[builtins.str]:
|
60
|
+
"""
|
61
|
+
The OCID of the agent that this Tool is attached to.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "agent_id")
|
64
|
+
|
65
|
+
@agent_id.setter
|
66
|
+
def agent_id(self, value: pulumi.Input[builtins.str]):
|
67
|
+
pulumi.set(self, "agent_id", value)
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="compartmentId")
|
71
|
+
def compartment_id(self) -> pulumi.Input[builtins.str]:
|
72
|
+
"""
|
73
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "compartment_id")
|
76
|
+
|
77
|
+
@compartment_id.setter
|
78
|
+
def compartment_id(self, value: pulumi.Input[builtins.str]):
|
79
|
+
pulumi.set(self, "compartment_id", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def description(self) -> pulumi.Input[builtins.str]:
|
84
|
+
"""
|
85
|
+
(Updatable) Description about the Tool.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "description")
|
88
|
+
|
89
|
+
@description.setter
|
90
|
+
def description(self, value: pulumi.Input[builtins.str]):
|
91
|
+
pulumi.set(self, "description", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="toolConfig")
|
95
|
+
def tool_config(self) -> pulumi.Input['AgentToolToolConfigArgs']:
|
96
|
+
"""
|
97
|
+
(Updatable) The configuration and type of Tool.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "tool_config")
|
100
|
+
|
101
|
+
@tool_config.setter
|
102
|
+
def tool_config(self, value: pulumi.Input['AgentToolToolConfigArgs']):
|
103
|
+
pulumi.set(self, "tool_config", value)
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="definedTags")
|
107
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
108
|
+
"""
|
109
|
+
(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"}`
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "defined_tags")
|
112
|
+
|
113
|
+
@defined_tags.setter
|
114
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
115
|
+
pulumi.set(self, "defined_tags", value)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="displayName")
|
119
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
120
|
+
"""
|
121
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "display_name")
|
124
|
+
|
125
|
+
@display_name.setter
|
126
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
127
|
+
pulumi.set(self, "display_name", value)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="freeformTags")
|
131
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
132
|
+
"""
|
133
|
+
(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"}`
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "freeform_tags")
|
136
|
+
|
137
|
+
@freeform_tags.setter
|
138
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
139
|
+
pulumi.set(self, "freeform_tags", value)
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter
|
143
|
+
def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
144
|
+
"""
|
145
|
+
(Updatable) Key-value pairs to allow additional configurations.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "metadata")
|
148
|
+
|
149
|
+
@metadata.setter
|
150
|
+
def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
151
|
+
pulumi.set(self, "metadata", value)
|
152
|
+
|
153
|
+
|
154
|
+
@pulumi.input_type
|
155
|
+
class _AgentToolState:
|
156
|
+
def __init__(__self__, *,
|
157
|
+
agent_id: Optional[pulumi.Input[builtins.str]] = None,
|
158
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
159
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
160
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
161
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
162
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
163
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
164
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
165
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
166
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
167
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None,
|
168
|
+
tool_config: Optional[pulumi.Input['AgentToolToolConfigArgs']] = None):
|
169
|
+
"""
|
170
|
+
Input properties used for looking up and filtering AgentTool resources.
|
171
|
+
:param pulumi.Input[builtins.str] agent_id: The OCID of the agent that this Tool is attached to.
|
172
|
+
:param pulumi.Input[builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
173
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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"}`
|
174
|
+
:param pulumi.Input[builtins.str] description: (Updatable) Description about the Tool.
|
175
|
+
:param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
176
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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"}`
|
177
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] metadata: (Updatable) Key-value pairs to allow additional configurations.
|
178
|
+
:param pulumi.Input[builtins.str] state: The current state of the Tool.
|
179
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
180
|
+
:param pulumi.Input[builtins.str] time_created: 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`
|
181
|
+
:param pulumi.Input[builtins.str] time_updated: 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`
|
182
|
+
:param pulumi.Input['AgentToolToolConfigArgs'] tool_config: (Updatable) The configuration and type of Tool.
|
183
|
+
"""
|
184
|
+
if agent_id is not None:
|
185
|
+
pulumi.set(__self__, "agent_id", agent_id)
|
186
|
+
if compartment_id is not None:
|
187
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
188
|
+
if defined_tags is not None:
|
189
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
190
|
+
if description is not None:
|
191
|
+
pulumi.set(__self__, "description", description)
|
192
|
+
if display_name is not None:
|
193
|
+
pulumi.set(__self__, "display_name", display_name)
|
194
|
+
if freeform_tags is not None:
|
195
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
196
|
+
if metadata is not None:
|
197
|
+
pulumi.set(__self__, "metadata", metadata)
|
198
|
+
if state is not None:
|
199
|
+
pulumi.set(__self__, "state", state)
|
200
|
+
if system_tags is not None:
|
201
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
202
|
+
if time_created is not None:
|
203
|
+
pulumi.set(__self__, "time_created", time_created)
|
204
|
+
if time_updated is not None:
|
205
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
206
|
+
if tool_config is not None:
|
207
|
+
pulumi.set(__self__, "tool_config", tool_config)
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="agentId")
|
211
|
+
def agent_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
212
|
+
"""
|
213
|
+
The OCID of the agent that this Tool is attached to.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "agent_id")
|
216
|
+
|
217
|
+
@agent_id.setter
|
218
|
+
def agent_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
219
|
+
pulumi.set(self, "agent_id", value)
|
220
|
+
|
221
|
+
@property
|
222
|
+
@pulumi.getter(name="compartmentId")
|
223
|
+
def compartment_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
224
|
+
"""
|
225
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
226
|
+
"""
|
227
|
+
return pulumi.get(self, "compartment_id")
|
228
|
+
|
229
|
+
@compartment_id.setter
|
230
|
+
def compartment_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
231
|
+
pulumi.set(self, "compartment_id", value)
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter(name="definedTags")
|
235
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
236
|
+
"""
|
237
|
+
(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"}`
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "defined_tags")
|
240
|
+
|
241
|
+
@defined_tags.setter
|
242
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
243
|
+
pulumi.set(self, "defined_tags", value)
|
244
|
+
|
245
|
+
@property
|
246
|
+
@pulumi.getter
|
247
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
248
|
+
"""
|
249
|
+
(Updatable) Description about the Tool.
|
250
|
+
"""
|
251
|
+
return pulumi.get(self, "description")
|
252
|
+
|
253
|
+
@description.setter
|
254
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
255
|
+
pulumi.set(self, "description", value)
|
256
|
+
|
257
|
+
@property
|
258
|
+
@pulumi.getter(name="displayName")
|
259
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
260
|
+
"""
|
261
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
262
|
+
"""
|
263
|
+
return pulumi.get(self, "display_name")
|
264
|
+
|
265
|
+
@display_name.setter
|
266
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
267
|
+
pulumi.set(self, "display_name", value)
|
268
|
+
|
269
|
+
@property
|
270
|
+
@pulumi.getter(name="freeformTags")
|
271
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
272
|
+
"""
|
273
|
+
(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"}`
|
274
|
+
"""
|
275
|
+
return pulumi.get(self, "freeform_tags")
|
276
|
+
|
277
|
+
@freeform_tags.setter
|
278
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
279
|
+
pulumi.set(self, "freeform_tags", value)
|
280
|
+
|
281
|
+
@property
|
282
|
+
@pulumi.getter
|
283
|
+
def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
284
|
+
"""
|
285
|
+
(Updatable) Key-value pairs to allow additional configurations.
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "metadata")
|
288
|
+
|
289
|
+
@metadata.setter
|
290
|
+
def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
291
|
+
pulumi.set(self, "metadata", value)
|
292
|
+
|
293
|
+
@property
|
294
|
+
@pulumi.getter
|
295
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
296
|
+
"""
|
297
|
+
The current state of the Tool.
|
298
|
+
"""
|
299
|
+
return pulumi.get(self, "state")
|
300
|
+
|
301
|
+
@state.setter
|
302
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
303
|
+
pulumi.set(self, "state", value)
|
304
|
+
|
305
|
+
@property
|
306
|
+
@pulumi.getter(name="systemTags")
|
307
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
308
|
+
"""
|
309
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
310
|
+
"""
|
311
|
+
return pulumi.get(self, "system_tags")
|
312
|
+
|
313
|
+
@system_tags.setter
|
314
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
315
|
+
pulumi.set(self, "system_tags", value)
|
316
|
+
|
317
|
+
@property
|
318
|
+
@pulumi.getter(name="timeCreated")
|
319
|
+
def time_created(self) -> Optional[pulumi.Input[builtins.str]]:
|
320
|
+
"""
|
321
|
+
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`
|
322
|
+
"""
|
323
|
+
return pulumi.get(self, "time_created")
|
324
|
+
|
325
|
+
@time_created.setter
|
326
|
+
def time_created(self, value: Optional[pulumi.Input[builtins.str]]):
|
327
|
+
pulumi.set(self, "time_created", value)
|
328
|
+
|
329
|
+
@property
|
330
|
+
@pulumi.getter(name="timeUpdated")
|
331
|
+
def time_updated(self) -> Optional[pulumi.Input[builtins.str]]:
|
332
|
+
"""
|
333
|
+
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`
|
334
|
+
"""
|
335
|
+
return pulumi.get(self, "time_updated")
|
336
|
+
|
337
|
+
@time_updated.setter
|
338
|
+
def time_updated(self, value: Optional[pulumi.Input[builtins.str]]):
|
339
|
+
pulumi.set(self, "time_updated", value)
|
340
|
+
|
341
|
+
@property
|
342
|
+
@pulumi.getter(name="toolConfig")
|
343
|
+
def tool_config(self) -> Optional[pulumi.Input['AgentToolToolConfigArgs']]:
|
344
|
+
"""
|
345
|
+
(Updatable) The configuration and type of Tool.
|
346
|
+
"""
|
347
|
+
return pulumi.get(self, "tool_config")
|
348
|
+
|
349
|
+
@tool_config.setter
|
350
|
+
def tool_config(self, value: Optional[pulumi.Input['AgentToolToolConfigArgs']]):
|
351
|
+
pulumi.set(self, "tool_config", value)
|
352
|
+
|
353
|
+
|
354
|
+
@pulumi.type_token("oci:GenerativeAi/agentTool:AgentTool")
|
355
|
+
class AgentTool(pulumi.CustomResource):
|
356
|
+
@overload
|
357
|
+
def __init__(__self__,
|
358
|
+
resource_name: str,
|
359
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
360
|
+
agent_id: Optional[pulumi.Input[builtins.str]] = None,
|
361
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
362
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
363
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
364
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
365
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
366
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
367
|
+
tool_config: Optional[pulumi.Input[Union['AgentToolToolConfigArgs', 'AgentToolToolConfigArgsDict']]] = None,
|
368
|
+
__props__=None):
|
369
|
+
"""
|
370
|
+
This resource provides the Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
371
|
+
|
372
|
+
Creates a tool.
|
373
|
+
|
374
|
+
## Import
|
375
|
+
|
376
|
+
Tools can be imported using the `id`, e.g.
|
377
|
+
|
378
|
+
```sh
|
379
|
+
$ pulumi import oci:GenerativeAi/agentTool:AgentTool test_tool "id"
|
380
|
+
```
|
381
|
+
|
382
|
+
:param str resource_name: The name of the resource.
|
383
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
384
|
+
:param pulumi.Input[builtins.str] agent_id: The OCID of the agent that this Tool is attached to.
|
385
|
+
:param pulumi.Input[builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
386
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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"}`
|
387
|
+
:param pulumi.Input[builtins.str] description: (Updatable) Description about the Tool.
|
388
|
+
:param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
389
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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"}`
|
390
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] metadata: (Updatable) Key-value pairs to allow additional configurations.
|
391
|
+
:param pulumi.Input[Union['AgentToolToolConfigArgs', 'AgentToolToolConfigArgsDict']] tool_config: (Updatable) The configuration and type of Tool.
|
392
|
+
"""
|
393
|
+
...
|
394
|
+
@overload
|
395
|
+
def __init__(__self__,
|
396
|
+
resource_name: str,
|
397
|
+
args: AgentToolArgs,
|
398
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
399
|
+
"""
|
400
|
+
This resource provides the Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
401
|
+
|
402
|
+
Creates a tool.
|
403
|
+
|
404
|
+
## Import
|
405
|
+
|
406
|
+
Tools can be imported using the `id`, e.g.
|
407
|
+
|
408
|
+
```sh
|
409
|
+
$ pulumi import oci:GenerativeAi/agentTool:AgentTool test_tool "id"
|
410
|
+
```
|
411
|
+
|
412
|
+
:param str resource_name: The name of the resource.
|
413
|
+
:param AgentToolArgs args: The arguments to use to populate this resource's properties.
|
414
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
415
|
+
"""
|
416
|
+
...
|
417
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
418
|
+
resource_args, opts = _utilities.get_resource_args_opts(AgentToolArgs, pulumi.ResourceOptions, *args, **kwargs)
|
419
|
+
if resource_args is not None:
|
420
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
421
|
+
else:
|
422
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
423
|
+
|
424
|
+
def _internal_init(__self__,
|
425
|
+
resource_name: str,
|
426
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
427
|
+
agent_id: Optional[pulumi.Input[builtins.str]] = None,
|
428
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
429
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
430
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
431
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
432
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
433
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
434
|
+
tool_config: Optional[pulumi.Input[Union['AgentToolToolConfigArgs', 'AgentToolToolConfigArgsDict']]] = None,
|
435
|
+
__props__=None):
|
436
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
437
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
438
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
439
|
+
if opts.id is None:
|
440
|
+
if __props__ is not None:
|
441
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
442
|
+
__props__ = AgentToolArgs.__new__(AgentToolArgs)
|
443
|
+
|
444
|
+
if agent_id is None and not opts.urn:
|
445
|
+
raise TypeError("Missing required property 'agent_id'")
|
446
|
+
__props__.__dict__["agent_id"] = agent_id
|
447
|
+
if compartment_id is None and not opts.urn:
|
448
|
+
raise TypeError("Missing required property 'compartment_id'")
|
449
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
450
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
451
|
+
if description is None and not opts.urn:
|
452
|
+
raise TypeError("Missing required property 'description'")
|
453
|
+
__props__.__dict__["description"] = description
|
454
|
+
__props__.__dict__["display_name"] = display_name
|
455
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
456
|
+
__props__.__dict__["metadata"] = metadata
|
457
|
+
if tool_config is None and not opts.urn:
|
458
|
+
raise TypeError("Missing required property 'tool_config'")
|
459
|
+
__props__.__dict__["tool_config"] = tool_config
|
460
|
+
__props__.__dict__["state"] = None
|
461
|
+
__props__.__dict__["system_tags"] = None
|
462
|
+
__props__.__dict__["time_created"] = None
|
463
|
+
__props__.__dict__["time_updated"] = None
|
464
|
+
super(AgentTool, __self__).__init__(
|
465
|
+
'oci:GenerativeAi/agentTool:AgentTool',
|
466
|
+
resource_name,
|
467
|
+
__props__,
|
468
|
+
opts)
|
469
|
+
|
470
|
+
@staticmethod
|
471
|
+
def get(resource_name: str,
|
472
|
+
id: pulumi.Input[str],
|
473
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
474
|
+
agent_id: Optional[pulumi.Input[builtins.str]] = None,
|
475
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
476
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
477
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
478
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
479
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
480
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
481
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
482
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
483
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
484
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None,
|
485
|
+
tool_config: Optional[pulumi.Input[Union['AgentToolToolConfigArgs', 'AgentToolToolConfigArgsDict']]] = None) -> 'AgentTool':
|
486
|
+
"""
|
487
|
+
Get an existing AgentTool resource's state with the given name, id, and optional extra
|
488
|
+
properties used to qualify the lookup.
|
489
|
+
|
490
|
+
:param str resource_name: The unique name of the resulting resource.
|
491
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
492
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
493
|
+
:param pulumi.Input[builtins.str] agent_id: The OCID of the agent that this Tool is attached to.
|
494
|
+
:param pulumi.Input[builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
495
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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"}`
|
496
|
+
:param pulumi.Input[builtins.str] description: (Updatable) Description about the Tool.
|
497
|
+
:param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
498
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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"}`
|
499
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] metadata: (Updatable) Key-value pairs to allow additional configurations.
|
500
|
+
:param pulumi.Input[builtins.str] state: The current state of the Tool.
|
501
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
502
|
+
:param pulumi.Input[builtins.str] time_created: 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`
|
503
|
+
:param pulumi.Input[builtins.str] time_updated: 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`
|
504
|
+
:param pulumi.Input[Union['AgentToolToolConfigArgs', 'AgentToolToolConfigArgsDict']] tool_config: (Updatable) The configuration and type of Tool.
|
505
|
+
"""
|
506
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
507
|
+
|
508
|
+
__props__ = _AgentToolState.__new__(_AgentToolState)
|
509
|
+
|
510
|
+
__props__.__dict__["agent_id"] = agent_id
|
511
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
512
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
513
|
+
__props__.__dict__["description"] = description
|
514
|
+
__props__.__dict__["display_name"] = display_name
|
515
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
516
|
+
__props__.__dict__["metadata"] = metadata
|
517
|
+
__props__.__dict__["state"] = state
|
518
|
+
__props__.__dict__["system_tags"] = system_tags
|
519
|
+
__props__.__dict__["time_created"] = time_created
|
520
|
+
__props__.__dict__["time_updated"] = time_updated
|
521
|
+
__props__.__dict__["tool_config"] = tool_config
|
522
|
+
return AgentTool(resource_name, opts=opts, __props__=__props__)
|
523
|
+
|
524
|
+
@property
|
525
|
+
@pulumi.getter(name="agentId")
|
526
|
+
def agent_id(self) -> pulumi.Output[builtins.str]:
|
527
|
+
"""
|
528
|
+
The OCID of the agent that this Tool is attached to.
|
529
|
+
"""
|
530
|
+
return pulumi.get(self, "agent_id")
|
531
|
+
|
532
|
+
@property
|
533
|
+
@pulumi.getter(name="compartmentId")
|
534
|
+
def compartment_id(self) -> pulumi.Output[builtins.str]:
|
535
|
+
"""
|
536
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
537
|
+
"""
|
538
|
+
return pulumi.get(self, "compartment_id")
|
539
|
+
|
540
|
+
@property
|
541
|
+
@pulumi.getter(name="definedTags")
|
542
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
543
|
+
"""
|
544
|
+
(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"}`
|
545
|
+
"""
|
546
|
+
return pulumi.get(self, "defined_tags")
|
547
|
+
|
548
|
+
@property
|
549
|
+
@pulumi.getter
|
550
|
+
def description(self) -> pulumi.Output[builtins.str]:
|
551
|
+
"""
|
552
|
+
(Updatable) Description about the Tool.
|
553
|
+
"""
|
554
|
+
return pulumi.get(self, "description")
|
555
|
+
|
556
|
+
@property
|
557
|
+
@pulumi.getter(name="displayName")
|
558
|
+
def display_name(self) -> pulumi.Output[builtins.str]:
|
559
|
+
"""
|
560
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
561
|
+
"""
|
562
|
+
return pulumi.get(self, "display_name")
|
563
|
+
|
564
|
+
@property
|
565
|
+
@pulumi.getter(name="freeformTags")
|
566
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
567
|
+
"""
|
568
|
+
(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"}`
|
569
|
+
"""
|
570
|
+
return pulumi.get(self, "freeform_tags")
|
571
|
+
|
572
|
+
@property
|
573
|
+
@pulumi.getter
|
574
|
+
def metadata(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
575
|
+
"""
|
576
|
+
(Updatable) Key-value pairs to allow additional configurations.
|
577
|
+
"""
|
578
|
+
return pulumi.get(self, "metadata")
|
579
|
+
|
580
|
+
@property
|
581
|
+
@pulumi.getter
|
582
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
583
|
+
"""
|
584
|
+
The current state of the Tool.
|
585
|
+
"""
|
586
|
+
return pulumi.get(self, "state")
|
587
|
+
|
588
|
+
@property
|
589
|
+
@pulumi.getter(name="systemTags")
|
590
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
591
|
+
"""
|
592
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
593
|
+
"""
|
594
|
+
return pulumi.get(self, "system_tags")
|
595
|
+
|
596
|
+
@property
|
597
|
+
@pulumi.getter(name="timeCreated")
|
598
|
+
def time_created(self) -> pulumi.Output[builtins.str]:
|
599
|
+
"""
|
600
|
+
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`
|
601
|
+
"""
|
602
|
+
return pulumi.get(self, "time_created")
|
603
|
+
|
604
|
+
@property
|
605
|
+
@pulumi.getter(name="timeUpdated")
|
606
|
+
def time_updated(self) -> pulumi.Output[builtins.str]:
|
607
|
+
"""
|
608
|
+
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`
|
609
|
+
"""
|
610
|
+
return pulumi.get(self, "time_updated")
|
611
|
+
|
612
|
+
@property
|
613
|
+
@pulumi.getter(name="toolConfig")
|
614
|
+
def tool_config(self) -> pulumi.Output['outputs.AgentToolToolConfig']:
|
615
|
+
"""
|
616
|
+
(Updatable) The configuration and type of Tool.
|
617
|
+
"""
|
618
|
+
return pulumi.get(self, "tool_config")
|
619
|
+
|