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