@pulumi/oci 2.16.0 → 2.17.0-alpha.1731673476
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.
- package/core/computeCapacityReservation.d.ts +3 -3
- package/core/getBootVolume.d.ts +1 -1
- package/core/getVolume.d.ts +1 -1
- package/core/instancePool.d.ts +3 -3
- package/generativeai/agentAgent.d.ts +224 -0
- package/generativeai/agentAgent.js +110 -0
- package/generativeai/agentAgent.js.map +1 -0
- package/generativeai/agentAgentEndpoint.d.ts +289 -0
- package/generativeai/agentAgentEndpoint.js +130 -0
- package/generativeai/agentAgentEndpoint.js.map +1 -0
- package/generativeai/agentDataIngestionJob.d.ts +221 -0
- package/generativeai/agentDataIngestionJob.js +112 -0
- package/generativeai/agentDataIngestionJob.js.map +1 -0
- package/generativeai/agentDataSource.d.ts +239 -0
- package/generativeai/agentDataSource.js +123 -0
- package/generativeai/agentDataSource.js.map +1 -0
- package/generativeai/agentKnowledgeBase.d.ts +234 -0
- package/generativeai/agentKnowledgeBase.js +137 -0
- package/generativeai/agentKnowledgeBase.js.map +1 -0
- package/generativeai/getAgentAgent.d.ts +121 -0
- package/generativeai/getAgentAgent.js +58 -0
- package/generativeai/getAgentAgent.js.map +1 -0
- package/generativeai/getAgentAgentEndpoint.d.ts +138 -0
- package/generativeai/getAgentAgentEndpoint.js +58 -0
- package/generativeai/getAgentAgentEndpoint.js.map +1 -0
- package/generativeai/getAgentAgentEndpoints.d.ts +121 -0
- package/generativeai/getAgentAgentEndpoints.js +74 -0
- package/generativeai/getAgentAgentEndpoints.js.map +1 -0
- package/generativeai/getAgentAgents.d.ts +107 -0
- package/generativeai/getAgentAgents.js +70 -0
- package/generativeai/getAgentAgents.js.map +1 -0
- package/generativeai/getAgentDataIngestionJob.d.ts +122 -0
- package/generativeai/getAgentDataIngestionJob.js +58 -0
- package/generativeai/getAgentDataIngestionJob.js.map +1 -0
- package/generativeai/getAgentDataIngestionJobLogContent.d.ts +67 -0
- package/generativeai/getAgentDataIngestionJobLogContent.js +58 -0
- package/generativeai/getAgentDataIngestionJobLogContent.js.map +1 -0
- package/generativeai/getAgentDataIngestionJobs.d.ts +121 -0
- package/generativeai/getAgentDataIngestionJobs.js +74 -0
- package/generativeai/getAgentDataIngestionJobs.js.map +1 -0
- package/generativeai/getAgentDataSource.d.ts +122 -0
- package/generativeai/getAgentDataSource.js +58 -0
- package/generativeai/getAgentDataSource.js.map +1 -0
- package/generativeai/getAgentDataSources.d.ts +121 -0
- package/generativeai/getAgentDataSources.js +74 -0
- package/generativeai/getAgentDataSources.js.map +1 -0
- package/generativeai/getAgentKnowledgeBase.d.ts +118 -0
- package/generativeai/getAgentKnowledgeBase.js +58 -0
- package/generativeai/getAgentKnowledgeBase.js.map +1 -0
- package/generativeai/getAgentKnowledgeBases.d.ts +107 -0
- package/generativeai/getAgentKnowledgeBases.js +70 -0
- package/generativeai/getAgentKnowledgeBases.js.map +1 -0
- package/generativeai/index.d.ts +48 -0
- package/generativeai/index.js +59 -1
- package/generativeai/index.js.map +1 -1
- package/goldengate/connection.d.ts +296 -33
- package/goldengate/connection.js +73 -13
- package/goldengate/connection.js.map +1 -1
- package/goldengate/deployment.d.ts +3 -3
- package/goldengate/deploymentBackup.d.ts +13 -0
- package/goldengate/deploymentBackup.js +3 -0
- package/goldengate/deploymentBackup.js.map +1 -1
- package/goldengate/getConnection.d.ts +82 -1
- package/goldengate/getConnection.js.map +1 -1
- package/goldengate/getDeployment.d.ts +1 -1
- package/goldengate/getDeploymentBackup.d.ts +4 -0
- package/goldengate/getDeploymentBackup.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +224 -1
- package/types/output.d.ts +948 -24
|
@@ -93,7 +93,7 @@ export declare class ComputeCapacityReservation extends pulumi.CustomResource {
|
|
|
93
93
|
[key: string]: string;
|
|
94
94
|
}>;
|
|
95
95
|
/**
|
|
96
|
-
* (Updatable) The capacity configurations for the capacity reservation.
|
|
96
|
+
* (Updatable) The capacity configurations for the capacity reservation. (Note: From 6.17.0 instanceReservationConfigs field in oci.Core.ComputeCapacityReservation is changed from TypeList to TypeSet - to avoid unnecessary updates. Also, configs cant by accessed by index)
|
|
97
97
|
*
|
|
98
98
|
* To use the reservation for the desired shape, specify the shape, count, and optionally the fault domain where you want this configuration.
|
|
99
99
|
*/
|
|
@@ -164,7 +164,7 @@ export interface ComputeCapacityReservationState {
|
|
|
164
164
|
[key: string]: pulumi.Input<string>;
|
|
165
165
|
}>;
|
|
166
166
|
/**
|
|
167
|
-
* (Updatable) The capacity configurations for the capacity reservation.
|
|
167
|
+
* (Updatable) The capacity configurations for the capacity reservation. (Note: From 6.17.0 instanceReservationConfigs field in oci.Core.ComputeCapacityReservation is changed from TypeList to TypeSet - to avoid unnecessary updates. Also, configs cant by accessed by index)
|
|
168
168
|
*
|
|
169
169
|
* To use the reservation for the desired shape, specify the shape, count, and optionally the fault domain where you want this configuration.
|
|
170
170
|
*/
|
|
@@ -227,7 +227,7 @@ export interface ComputeCapacityReservationArgs {
|
|
|
227
227
|
[key: string]: pulumi.Input<string>;
|
|
228
228
|
}>;
|
|
229
229
|
/**
|
|
230
|
-
* (Updatable) The capacity configurations for the capacity reservation.
|
|
230
|
+
* (Updatable) The capacity configurations for the capacity reservation. (Note: From 6.17.0 instanceReservationConfigs field in oci.Core.ComputeCapacityReservation is changed from TypeList to TypeSet - to avoid unnecessary updates. Also, configs cant by accessed by index)
|
|
231
231
|
*
|
|
232
232
|
* To use the reservation for the desired shape, specify the shape, count, and optionally the fault domain where you want this configuration.
|
|
233
233
|
*/
|
package/core/getBootVolume.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ export interface GetBootVolumeResult {
|
|
|
77
77
|
[key: string]: string;
|
|
78
78
|
};
|
|
79
79
|
/**
|
|
80
|
-
* The OCID of the boot volume replica.
|
|
80
|
+
* (Required when type=bootVolume | bootVolumeBackup | bootVolumeReplica) The OCID of the boot volume replica.
|
|
81
81
|
*/
|
|
82
82
|
readonly id: string;
|
|
83
83
|
/**
|
package/core/getVolume.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export interface GetVolumeResult {
|
|
|
76
76
|
[key: string]: string;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
|
-
* The OCID of the block volume replica.
|
|
79
|
+
* (Required when type=blockVolumeReplica | volume | volumeBackup) The OCID of the block volume replica.
|
|
80
80
|
*/
|
|
81
81
|
readonly id: string;
|
|
82
82
|
/**
|
package/core/instancePool.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export declare class InstancePool extends pulumi.CustomResource {
|
|
|
119
119
|
*/
|
|
120
120
|
readonly instanceHostnameFormatter: pulumi.Output<string>;
|
|
121
121
|
/**
|
|
122
|
-
* The load balancers to attach to the instance pool. (Note: From 6.
|
|
122
|
+
* The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
|
|
123
123
|
*/
|
|
124
124
|
readonly loadBalancers: pulumi.Output<outputs.Core.InstancePoolLoadBalancer[]>;
|
|
125
125
|
/**
|
|
@@ -194,7 +194,7 @@ export interface InstancePoolState {
|
|
|
194
194
|
*/
|
|
195
195
|
instanceHostnameFormatter?: pulumi.Input<string>;
|
|
196
196
|
/**
|
|
197
|
-
* The load balancers to attach to the instance pool. (Note: From 6.
|
|
197
|
+
* The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
|
|
198
198
|
*/
|
|
199
199
|
loadBalancers?: pulumi.Input<pulumi.Input<inputs.Core.InstancePoolLoadBalancer>[]>;
|
|
200
200
|
/**
|
|
@@ -257,7 +257,7 @@ export interface InstancePoolArgs {
|
|
|
257
257
|
*/
|
|
258
258
|
instanceHostnameFormatter?: pulumi.Input<string>;
|
|
259
259
|
/**
|
|
260
|
-
* The load balancers to attach to the instance pool. (Note: From 6.
|
|
260
|
+
* The load balancers to attach to the instance pool. (Note: From 6.16.0 loadBalancers field in oci.Core.InstancePool is changed from TypeList to TypeSet - to support load balancer insert operation. Also, LB cant by accessed by index)
|
|
261
261
|
*/
|
|
262
262
|
loadBalancers?: pulumi.Input<pulumi.Input<inputs.Core.InstancePoolLoadBalancer>[]>;
|
|
263
263
|
/**
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource provides the Agent resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
4
|
+
*
|
|
5
|
+
* **CreateAgent**
|
|
6
|
+
*
|
|
7
|
+
* Creates an agent.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testAgent = new oci.generativeai.AgentAgent("test_agent", {
|
|
16
|
+
* compartmentId: compartmentId,
|
|
17
|
+
* definedTags: {
|
|
18
|
+
* "Operations.CostCenter": "42",
|
|
19
|
+
* },
|
|
20
|
+
* description: agentDescription,
|
|
21
|
+
* displayName: agentDisplayName,
|
|
22
|
+
* freeformTags: {
|
|
23
|
+
* Department: "Finance",
|
|
24
|
+
* },
|
|
25
|
+
* knowledgeBaseIds: agentKnowledgeBaseIds,
|
|
26
|
+
* welcomeMessage: agentWelcomeMessage,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Agents can be imported using the `id`, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import oci:GenerativeAi/agentAgent:AgentAgent test_agent "id"
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class AgentAgent extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing AgentAgent resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentAgentState, opts?: pulumi.CustomResourceOptions): AgentAgent;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of AgentAgent. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is AgentAgent;
|
|
54
|
+
/**
|
|
55
|
+
* (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the agent in.
|
|
56
|
+
*/
|
|
57
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* (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"}`
|
|
60
|
+
*/
|
|
61
|
+
readonly definedTags: pulumi.Output<{
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* (Updatable) Description about the agent.
|
|
66
|
+
*/
|
|
67
|
+
readonly description: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
70
|
+
*/
|
|
71
|
+
readonly displayName: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* (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"}`
|
|
74
|
+
*/
|
|
75
|
+
readonly freeformTags: pulumi.Output<{
|
|
76
|
+
[key: string]: string;
|
|
77
|
+
}>;
|
|
78
|
+
/**
|
|
79
|
+
* (Updatable) List of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent.
|
|
80
|
+
*/
|
|
81
|
+
readonly knowledgeBaseIds: pulumi.Output<string[]>;
|
|
82
|
+
/**
|
|
83
|
+
* 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.
|
|
84
|
+
*/
|
|
85
|
+
readonly lifecycleDetails: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The current state of the agent.
|
|
88
|
+
*/
|
|
89
|
+
readonly state: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
92
|
+
*/
|
|
93
|
+
readonly systemTags: pulumi.Output<{
|
|
94
|
+
[key: string]: string;
|
|
95
|
+
}>;
|
|
96
|
+
/**
|
|
97
|
+
* 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`
|
|
98
|
+
*/
|
|
99
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* 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`
|
|
102
|
+
*/
|
|
103
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* (Updatable) Details about purpose and responsibility of the agent
|
|
106
|
+
*
|
|
107
|
+
*
|
|
108
|
+
* ** IMPORTANT **
|
|
109
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
110
|
+
*/
|
|
111
|
+
readonly welcomeMessage: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Create a AgentAgent resource with the given unique name, arguments, and options.
|
|
114
|
+
*
|
|
115
|
+
* @param name The _unique_ name of the resource.
|
|
116
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
117
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
118
|
+
*/
|
|
119
|
+
constructor(name: string, args: AgentAgentArgs, opts?: pulumi.CustomResourceOptions);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Input properties used for looking up and filtering AgentAgent resources.
|
|
123
|
+
*/
|
|
124
|
+
export interface AgentAgentState {
|
|
125
|
+
/**
|
|
126
|
+
* (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the agent in.
|
|
127
|
+
*/
|
|
128
|
+
compartmentId?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* (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"}`
|
|
131
|
+
*/
|
|
132
|
+
definedTags?: pulumi.Input<{
|
|
133
|
+
[key: string]: pulumi.Input<string>;
|
|
134
|
+
}>;
|
|
135
|
+
/**
|
|
136
|
+
* (Updatable) Description about the agent.
|
|
137
|
+
*/
|
|
138
|
+
description?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
141
|
+
*/
|
|
142
|
+
displayName?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* (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"}`
|
|
145
|
+
*/
|
|
146
|
+
freeformTags?: pulumi.Input<{
|
|
147
|
+
[key: string]: pulumi.Input<string>;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* (Updatable) List of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent.
|
|
151
|
+
*/
|
|
152
|
+
knowledgeBaseIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
153
|
+
/**
|
|
154
|
+
* 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.
|
|
155
|
+
*/
|
|
156
|
+
lifecycleDetails?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The current state of the agent.
|
|
159
|
+
*/
|
|
160
|
+
state?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
163
|
+
*/
|
|
164
|
+
systemTags?: pulumi.Input<{
|
|
165
|
+
[key: string]: pulumi.Input<string>;
|
|
166
|
+
}>;
|
|
167
|
+
/**
|
|
168
|
+
* 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`
|
|
169
|
+
*/
|
|
170
|
+
timeCreated?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* 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`
|
|
173
|
+
*/
|
|
174
|
+
timeUpdated?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* (Updatable) Details about purpose and responsibility of the agent
|
|
177
|
+
*
|
|
178
|
+
*
|
|
179
|
+
* ** IMPORTANT **
|
|
180
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
181
|
+
*/
|
|
182
|
+
welcomeMessage?: pulumi.Input<string>;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The set of arguments for constructing a AgentAgent resource.
|
|
186
|
+
*/
|
|
187
|
+
export interface AgentAgentArgs {
|
|
188
|
+
/**
|
|
189
|
+
* (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the agent in.
|
|
190
|
+
*/
|
|
191
|
+
compartmentId: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* (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"}`
|
|
194
|
+
*/
|
|
195
|
+
definedTags?: pulumi.Input<{
|
|
196
|
+
[key: string]: pulumi.Input<string>;
|
|
197
|
+
}>;
|
|
198
|
+
/**
|
|
199
|
+
* (Updatable) Description about the agent.
|
|
200
|
+
*/
|
|
201
|
+
description?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
204
|
+
*/
|
|
205
|
+
displayName?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* (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"}`
|
|
208
|
+
*/
|
|
209
|
+
freeformTags?: pulumi.Input<{
|
|
210
|
+
[key: string]: pulumi.Input<string>;
|
|
211
|
+
}>;
|
|
212
|
+
/**
|
|
213
|
+
* (Updatable) List of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent.
|
|
214
|
+
*/
|
|
215
|
+
knowledgeBaseIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
216
|
+
/**
|
|
217
|
+
* (Updatable) Details about purpose and responsibility of the agent
|
|
218
|
+
*
|
|
219
|
+
*
|
|
220
|
+
* ** IMPORTANT **
|
|
221
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
222
|
+
*/
|
|
223
|
+
welcomeMessage?: pulumi.Input<string>;
|
|
224
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AgentAgent = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Agent resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
10
|
+
*
|
|
11
|
+
* **CreateAgent**
|
|
12
|
+
*
|
|
13
|
+
* Creates an agent.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as oci from "@pulumi/oci";
|
|
20
|
+
*
|
|
21
|
+
* const testAgent = new oci.generativeai.AgentAgent("test_agent", {
|
|
22
|
+
* compartmentId: compartmentId,
|
|
23
|
+
* definedTags: {
|
|
24
|
+
* "Operations.CostCenter": "42",
|
|
25
|
+
* },
|
|
26
|
+
* description: agentDescription,
|
|
27
|
+
* displayName: agentDisplayName,
|
|
28
|
+
* freeformTags: {
|
|
29
|
+
* Department: "Finance",
|
|
30
|
+
* },
|
|
31
|
+
* knowledgeBaseIds: agentKnowledgeBaseIds,
|
|
32
|
+
* welcomeMessage: agentWelcomeMessage,
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Agents can be imported using the `id`, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import oci:GenerativeAi/agentAgent:AgentAgent test_agent "id"
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class AgentAgent extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing AgentAgent resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new AgentAgent(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of AgentAgent. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === AgentAgent.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
|
|
73
|
+
resourceInputs["definedTags"] = state ? state.definedTags : undefined;
|
|
74
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
75
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
76
|
+
resourceInputs["freeformTags"] = state ? state.freeformTags : undefined;
|
|
77
|
+
resourceInputs["knowledgeBaseIds"] = state ? state.knowledgeBaseIds : undefined;
|
|
78
|
+
resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined;
|
|
79
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
80
|
+
resourceInputs["systemTags"] = state ? state.systemTags : undefined;
|
|
81
|
+
resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
|
|
82
|
+
resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
|
|
83
|
+
resourceInputs["welcomeMessage"] = state ? state.welcomeMessage : undefined;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
const args = argsOrState;
|
|
87
|
+
if ((!args || args.compartmentId === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
|
|
91
|
+
resourceInputs["definedTags"] = args ? args.definedTags : undefined;
|
|
92
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
93
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
94
|
+
resourceInputs["freeformTags"] = args ? args.freeformTags : undefined;
|
|
95
|
+
resourceInputs["knowledgeBaseIds"] = args ? args.knowledgeBaseIds : undefined;
|
|
96
|
+
resourceInputs["welcomeMessage"] = args ? args.welcomeMessage : undefined;
|
|
97
|
+
resourceInputs["lifecycleDetails"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["systemTags"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
super(AgentAgent.__pulumiType, name, resourceInputs, opts);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.AgentAgent = AgentAgent;
|
|
108
|
+
/** @internal */
|
|
109
|
+
AgentAgent.__pulumiType = 'oci:GenerativeAi/agentAgent:AgentAgent';
|
|
110
|
+
//# sourceMapp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