@pulumi/oci 3.1.0-alpha.1751948424 → 3.2.0-alpha.1752121229
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/bigdataservice/bdsInstanceNodeBackup.d.ts +131 -0
- package/bigdataservice/bdsInstanceNodeBackup.js +104 -0
- package/bigdataservice/bdsInstanceNodeBackup.js.map +1 -0
- package/bigdataservice/bdsInstanceNodeBackupConfiguration.d.ts +192 -0
- package/bigdataservice/bdsInstanceNodeBackupConfiguration.js +110 -0
- package/bigdataservice/bdsInstanceNodeBackupConfiguration.js.map +1 -0
- package/bigdataservice/bdsInstanceNodeReplaceConfiguration.d.ts +167 -0
- package/bigdataservice/bdsInstanceNodeReplaceConfiguration.js +115 -0
- package/bigdataservice/bdsInstanceNodeReplaceConfiguration.js.map +1 -0
- package/bigdataservice/bdsInstanceReplaceNodeAction.d.ts +128 -0
- package/bigdataservice/bdsInstanceReplaceNodeAction.js +91 -0
- package/bigdataservice/bdsInstanceReplaceNodeAction.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeBackup.d.ts +106 -0
- package/bigdataservice/getBdsInstanceNodeBackup.js +58 -0
- package/bigdataservice/getBdsInstanceNodeBackup.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfiguration.d.ts +114 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfiguration.js +58 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfiguration.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfigurations.d.ts +103 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfigurations.js +64 -0
- package/bigdataservice/getBdsInstanceNodeBackupConfigurations.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeBackups.d.ts +114 -0
- package/bigdataservice/getBdsInstanceNodeBackups.js +68 -0
- package/bigdataservice/getBdsInstanceNodeBackups.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfiguration.d.ts +107 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfiguration.js +58 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfiguration.js.map +1 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfigurations.d.ts +103 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfigurations.js +64 -0
- package/bigdataservice/getBdsInstanceNodeReplaceConfigurations.js.map +1 -0
- package/bigdataservice/index.d.ts +30 -0
- package/bigdataservice/index.js +40 -1
- package/bigdataservice/index.js.map +1 -1
- package/generativeai/agentAgent.d.ts +22 -5
- package/generativeai/agentAgent.js +7 -2
- package/generativeai/agentAgent.js.map +1 -1
- package/generativeai/agentAgentEndpoint.d.ts +96 -11
- package/generativeai/agentAgentEndpoint.js +37 -2
- package/generativeai/agentAgentEndpoint.js.map +1 -1
- package/generativeai/agentDataSource.d.ts +28 -9
- package/generativeai/agentDataSource.js +3 -0
- package/generativeai/agentDataSource.js.map +1 -1
- package/generativeai/agentTool.d.ts +201 -0
- package/generativeai/agentTool.js +96 -0
- package/generativeai/agentTool.js.map +1 -0
- package/generativeai/getAgentAgent.d.ts +6 -1
- package/generativeai/getAgentAgent.js.map +1 -1
- package/generativeai/getAgentAgentEndpoint.d.ts +23 -5
- package/generativeai/getAgentAgentEndpoint.js +0 -4
- package/generativeai/getAgentAgentEndpoint.js.map +1 -1
- package/generativeai/getAgentAgentEndpoints.d.ts +0 -4
- package/generativeai/getAgentAgentEndpoints.js +0 -4
- package/generativeai/getAgentAgentEndpoints.js.map +1 -1
- package/generativeai/getAgentDataSource.d.ts +6 -0
- package/generativeai/getAgentDataSource.js.map +1 -1
- package/generativeai/getAgentTool.d.ts +120 -0
- package/generativeai/getAgentTool.js +54 -0
- package/generativeai/getAgentTool.js.map +1 -0
- package/generativeai/getAgentTools.d.ts +117 -0
- package/generativeai/getAgentTools.js +70 -0
- package/generativeai/getAgentTools.js.map +1 -0
- package/generativeai/index.d.ts +9 -0
- package/generativeai/index.js +12 -1
- package/generativeai/index.js.map +1 -1
- package/kms/vaultVerification.d.ts +6 -0
- package/kms/vaultVerification.js +6 -0
- package/kms/vaultVerification.js.map +1 -1
- package/ospgateway/getSubscription.d.ts +4 -0
- package/ospgateway/getSubscription.js.map +1 -1
- package/ospgateway/subscription.d.ts +8 -0
- package/ospgateway/subscription.js +2 -0
- package/ospgateway/subscription.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +350 -0
- package/types/output.d.ts +1117 -2
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.AgentTool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
10
|
+
*
|
|
11
|
+
* Creates a tool.
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* Tools can be imported using the `id`, e.g.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import oci:GenerativeAi/agentTool:AgentTool test_tool "id"
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
class AgentTool extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing AgentTool resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name, id, state, opts) {
|
|
32
|
+
return new AgentTool(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of AgentTool. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === AgentTool.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
resourceInputs["agentId"] = state ? state.agentId : undefined;
|
|
50
|
+
resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
|
|
51
|
+
resourceInputs["definedTags"] = state ? state.definedTags : undefined;
|
|
52
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
53
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
54
|
+
resourceInputs["freeformTags"] = state ? state.freeformTags : undefined;
|
|
55
|
+
resourceInputs["metadata"] = state ? state.metadata : undefined;
|
|
56
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
57
|
+
resourceInputs["systemTags"] = state ? state.systemTags : undefined;
|
|
58
|
+
resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
|
|
59
|
+
resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
|
|
60
|
+
resourceInputs["toolConfig"] = state ? state.toolConfig : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.agentId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'agentId'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.compartmentId === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.description === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'description'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.toolConfig === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'toolConfig'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["agentId"] = args ? args.agentId : undefined;
|
|
77
|
+
resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
|
|
78
|
+
resourceInputs["definedTags"] = args ? args.definedTags : undefined;
|
|
79
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
80
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
81
|
+
resourceInputs["freeformTags"] = args ? args.freeformTags : undefined;
|
|
82
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
83
|
+
resourceInputs["toolConfig"] = args ? args.toolConfig : undefined;
|
|
84
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["systemTags"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
super(AgentTool.__pulumiType, name, resourceInputs, opts);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.AgentTool = AgentTool;
|
|
94
|
+
/** @internal */
|
|
95
|
+
AgentTool.__pulumiType = 'oci:GenerativeAi/agentTool:AgentTool';
|
|
96
|
+
//# sourceMappingURL=agentTool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentTool.js","sourceRoot":"","sources":["../../generativeai/agentTool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,SAAU,SAAQ,MAAM,CAA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C;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAnIL,8BAoIC;AAtHG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
2
3
|
/**
|
|
3
4
|
* This data source provides details about a specific Agent resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
4
5
|
*
|
|
@@ -61,13 +62,17 @@ export interface GetAgentAgentResult {
|
|
|
61
62
|
*/
|
|
62
63
|
readonly id: string;
|
|
63
64
|
/**
|
|
64
|
-
* List of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent.
|
|
65
|
+
* List of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent. This field is deprecated and will be removed after March 26 2026.
|
|
65
66
|
*/
|
|
66
67
|
readonly knowledgeBaseIds: string[];
|
|
67
68
|
/**
|
|
68
69
|
* 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.
|
|
69
70
|
*/
|
|
70
71
|
readonly lifecycleDetails: string;
|
|
72
|
+
/**
|
|
73
|
+
* Configuration to Agent LLM.
|
|
74
|
+
*/
|
|
75
|
+
readonly llmConfigs: outputs.GenerativeAi.GetAgentAgentLlmConfig[];
|
|
71
76
|
/**
|
|
72
77
|
* The current state of the agent.
|
|
73
78
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAgentAgent.js","sourceRoot":"","sources":["../../generativeai/getAgentAgent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getAgentAgent.js","sourceRoot":"","sources":["../../generativeai/getAgentAgent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AA0ED;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|
|
@@ -3,8 +3,6 @@ import * as outputs from "../types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* This data source provides details about a specific Agent Endpoint resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
5
5
|
*
|
|
6
|
-
* **GetAgentEndpoint**
|
|
7
|
-
*
|
|
8
6
|
* Gets information about an endpoint.
|
|
9
7
|
*
|
|
10
8
|
* ## Example Usage
|
|
@@ -65,6 +63,14 @@ export interface GetAgentAgentEndpointResult {
|
|
|
65
63
|
readonly freeformTags: {
|
|
66
64
|
[key: string]: string;
|
|
67
65
|
};
|
|
66
|
+
/**
|
|
67
|
+
* The configuration details about whether to apply the guardrail checks to input and output.
|
|
68
|
+
*/
|
|
69
|
+
readonly guardrailConfigs: outputs.GenerativeAi.GetAgentAgentEndpointGuardrailConfig[];
|
|
70
|
+
/**
|
|
71
|
+
* Human Input Configuration for an AgentEndpoint.
|
|
72
|
+
*/
|
|
73
|
+
readonly humanInputConfigs: outputs.GenerativeAi.GetAgentAgentEndpointHumanInputConfig[];
|
|
68
74
|
/**
|
|
69
75
|
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.
|
|
70
76
|
*/
|
|
@@ -74,13 +80,27 @@ export interface GetAgentAgentEndpointResult {
|
|
|
74
80
|
*/
|
|
75
81
|
readonly lifecycleDetails: string;
|
|
76
82
|
/**
|
|
77
|
-
*
|
|
83
|
+
* Key-value pairs to allow additional configurations.
|
|
84
|
+
*/
|
|
85
|
+
readonly metadata: {
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Configuration to store results generated by agent.
|
|
90
|
+
*/
|
|
91
|
+
readonly outputConfigs: outputs.GenerativeAi.GetAgentAgentEndpointOutputConfig[];
|
|
92
|
+
/**
|
|
93
|
+
* Session Configuration on AgentEndpoint.
|
|
78
94
|
*/
|
|
79
95
|
readonly sessionConfigs: outputs.GenerativeAi.GetAgentAgentEndpointSessionConfig[];
|
|
80
96
|
/**
|
|
81
97
|
* Whether to show citations in the chat result.
|
|
82
98
|
*/
|
|
83
99
|
readonly shouldEnableCitation: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Whether to enable multi-language for chat.
|
|
102
|
+
*/
|
|
103
|
+
readonly shouldEnableMultiLanguage: boolean;
|
|
84
104
|
/**
|
|
85
105
|
* Whether or not to enable Session-based chat.
|
|
86
106
|
*/
|
|
@@ -111,8 +131,6 @@ export interface GetAgentAgentEndpointResult {
|
|
|
111
131
|
/**
|
|
112
132
|
* This data source provides details about a specific Agent Endpoint resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
113
133
|
*
|
|
114
|
-
* **GetAgentEndpoint**
|
|
115
|
-
*
|
|
116
134
|
* Gets information about an endpoint.
|
|
117
135
|
*
|
|
118
136
|
* ## Example Usage
|
|
@@ -8,8 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This data source provides details about a specific Agent Endpoint resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
10
10
|
*
|
|
11
|
-
* **GetAgentEndpoint**
|
|
12
|
-
*
|
|
13
11
|
* Gets information about an endpoint.
|
|
14
12
|
*
|
|
15
13
|
* ## Example Usage
|
|
@@ -33,8 +31,6 @@ exports.getAgentAgentEndpoint = getAgentAgentEndpoint;
|
|
|
33
31
|
/**
|
|
34
32
|
* This data source provides details about a specific Agent Endpoint resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
35
33
|
*
|
|
36
|
-
* **GetAgentEndpoint**
|
|
37
|
-
*
|
|
38
34
|
* Gets information about an endpoint.
|
|
39
35
|
*
|
|
40
36
|
* ## Example Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAgentAgentEndpoint.js","sourceRoot":"","sources":["../../generativeai/getAgentAgentEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getAgentAgentEndpoint.js","sourceRoot":"","sources":["../../generativeai/getAgentAgentEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC;AA0GD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC"}
|
|
@@ -4,8 +4,6 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This data source provides the list of Agent Endpoints in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
6
6
|
*
|
|
7
|
-
* **ListAgentEndpoints**
|
|
8
|
-
*
|
|
9
7
|
* Gets a list of endpoints.
|
|
10
8
|
*
|
|
11
9
|
* ## Example Usage
|
|
@@ -78,8 +76,6 @@ export interface GetAgentAgentEndpointsResult {
|
|
|
78
76
|
/**
|
|
79
77
|
* This data source provides the list of Agent Endpoints in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
80
78
|
*
|
|
81
|
-
* **ListAgentEndpoints**
|
|
82
|
-
*
|
|
83
79
|
* Gets a list of endpoints.
|
|
84
80
|
*
|
|
85
81
|
* ## Example Usage
|
|
@@ -8,8 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This data source provides the list of Agent Endpoints in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
10
10
|
*
|
|
11
|
-
* **ListAgentEndpoints**
|
|
12
|
-
*
|
|
13
11
|
* Gets a list of endpoints.
|
|
14
12
|
*
|
|
15
13
|
* ## Example Usage
|
|
@@ -41,8 +39,6 @@ exports.getAgentAgentEndpoints = getAgentAgentEndpoints;
|
|
|
41
39
|
/**
|
|
42
40
|
* This data source provides the list of Agent Endpoints in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
43
41
|
*
|
|
44
|
-
* **ListAgentEndpoints**
|
|
45
|
-
*
|
|
46
42
|
* Gets a list of endpoints.
|
|
47
43
|
*
|
|
48
44
|
* ## Example Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAgentAgentEndpoints.js","sourceRoot":"","sources":["../../generativeai/getAgentAgentEndpoints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getAgentAgentEndpoints.js","sourceRoot":"","sources":["../../generativeai/getAgentAgentEndpoints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wDAUC;AAuDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAAiC;IACnH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oEAUC"}
|
|
@@ -73,6 +73,12 @@ export interface GetAgentDataSourceResult {
|
|
|
73
73
|
* A message that describes the current state of the data source in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
|
|
74
74
|
*/
|
|
75
75
|
readonly lifecycleDetails: string;
|
|
76
|
+
/**
|
|
77
|
+
* Key-value pairs to allow additional configurations.
|
|
78
|
+
*/
|
|
79
|
+
readonly metadata: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
76
82
|
/**
|
|
77
83
|
* The current state of the data source.
|
|
78
84
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAgentDataSource.js","sourceRoot":"","sources":["../../generativeai/getAgentDataSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;
|
|
1
|
+
{"version":3,"file":"getAgentDataSource.js","sourceRoot":"","sources":["../../generativeai/getAgentDataSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;AA0ED;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides details about a specific Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
5
|
+
*
|
|
6
|
+
* Gets information about a tool.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as oci from "@pulumi/oci";
|
|
13
|
+
*
|
|
14
|
+
* const testTool = oci.GenerativeAi.getAgentTool({
|
|
15
|
+
* toolId: testToolOciGenerativeAiAgentTool.id,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getAgentTool(args: GetAgentToolArgs, opts?: pulumi.InvokeOptions): Promise<GetAgentToolResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getAgentTool.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetAgentToolArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
|
|
26
|
+
*/
|
|
27
|
+
toolId: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getAgentTool.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetAgentToolResult {
|
|
33
|
+
/**
|
|
34
|
+
* The OCID of the agent that this Tool is attached to.
|
|
35
|
+
*/
|
|
36
|
+
readonly agentId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
39
|
+
*/
|
|
40
|
+
readonly compartmentId: string;
|
|
41
|
+
/**
|
|
42
|
+
* 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"}`
|
|
43
|
+
*/
|
|
44
|
+
readonly definedTags: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* A description of the function.
|
|
49
|
+
*/
|
|
50
|
+
readonly description: string;
|
|
51
|
+
/**
|
|
52
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
53
|
+
*/
|
|
54
|
+
readonly displayName: string;
|
|
55
|
+
/**
|
|
56
|
+
* 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"}`
|
|
57
|
+
*/
|
|
58
|
+
readonly freeformTags: {
|
|
59
|
+
[key: string]: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
|
|
63
|
+
*/
|
|
64
|
+
readonly id: string;
|
|
65
|
+
/**
|
|
66
|
+
* Key-value pairs to allow additional configurations.
|
|
67
|
+
*/
|
|
68
|
+
readonly metadata: {
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* The current state of the Tool.
|
|
73
|
+
*/
|
|
74
|
+
readonly state: string;
|
|
75
|
+
/**
|
|
76
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
77
|
+
*/
|
|
78
|
+
readonly systemTags: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* 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`
|
|
83
|
+
*/
|
|
84
|
+
readonly timeCreated: string;
|
|
85
|
+
/**
|
|
86
|
+
* 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`
|
|
87
|
+
*/
|
|
88
|
+
readonly timeUpdated: string;
|
|
89
|
+
/**
|
|
90
|
+
* The configuration and type of Tool.
|
|
91
|
+
*/
|
|
92
|
+
readonly toolConfigs: outputs.GenerativeAi.GetAgentToolToolConfig[];
|
|
93
|
+
readonly toolId: string;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* This data source provides details about a specific Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
97
|
+
*
|
|
98
|
+
* Gets information about a tool.
|
|
99
|
+
*
|
|
100
|
+
* ## Example Usage
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as oci from "@pulumi/oci";
|
|
105
|
+
*
|
|
106
|
+
* const testTool = oci.GenerativeAi.getAgentTool({
|
|
107
|
+
* toolId: testToolOciGenerativeAiAgentTool.id,
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
export declare function getAgentToolOutput(args: GetAgentToolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAgentToolResult>;
|
|
112
|
+
/**
|
|
113
|
+
* A collection of arguments for invoking getAgentTool.
|
|
114
|
+
*/
|
|
115
|
+
export interface GetAgentToolOutputArgs {
|
|
116
|
+
/**
|
|
117
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
|
|
118
|
+
*/
|
|
119
|
+
toolId: pulumi.Input<string>;
|
|
120
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getAgentToolOutput = exports.getAgentTool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides details about a specific Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
10
|
+
*
|
|
11
|
+
* Gets information about a tool.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testTool = oci.GenerativeAi.getAgentTool({
|
|
20
|
+
* toolId: testToolOciGenerativeAiAgentTool.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getAgentTool(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("oci:GenerativeAi/getAgentTool:getAgentTool", {
|
|
27
|
+
"toolId": args.toolId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getAgentTool = getAgentTool;
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides details about a specific Tool resource in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
33
|
+
*
|
|
34
|
+
* Gets information about a tool.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as oci from "@pulumi/oci";
|
|
41
|
+
*
|
|
42
|
+
* const testTool = oci.GenerativeAi.getAgentTool({
|
|
43
|
+
* toolId: testToolOciGenerativeAiAgentTool.id,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getAgentToolOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("oci:GenerativeAi/getAgentTool:getAgentTool", {
|
|
50
|
+
"toolId": args.toolId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getAgentToolOutput = getAgentToolOutput;
|
|
54
|
+
//# sourceMappingURL=getAgentTool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAgentTool.js","sourceRoot":"","sources":["../../generativeai/getAgentTool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAsED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This data source provides the list of Tools in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
6
|
+
*
|
|
7
|
+
* Gets a list of tools.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testTools = oci.GenerativeAi.getAgentTools({
|
|
16
|
+
* agentId: testAgent.id,
|
|
17
|
+
* compartmentId: compartmentId,
|
|
18
|
+
* displayName: toolDisplayName,
|
|
19
|
+
* state: toolState,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function getAgentTools(args?: GetAgentToolsArgs, opts?: pulumi.InvokeOptions): Promise<GetAgentToolsResult>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getAgentTools.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetAgentToolsArgs {
|
|
28
|
+
/**
|
|
29
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent.
|
|
30
|
+
*/
|
|
31
|
+
agentId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
34
|
+
*/
|
|
35
|
+
compartmentId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* A filter to return only resources that match the given display name exactly.
|
|
38
|
+
*/
|
|
39
|
+
displayName?: string;
|
|
40
|
+
filters?: inputs.GenerativeAi.GetAgentToolsFilter[];
|
|
41
|
+
/**
|
|
42
|
+
* A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
|
43
|
+
*/
|
|
44
|
+
state?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A collection of values returned by getAgentTools.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetAgentToolsResult {
|
|
50
|
+
/**
|
|
51
|
+
* The OCID of the agent that this Tool is attached to.
|
|
52
|
+
*/
|
|
53
|
+
readonly agentId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
56
|
+
*/
|
|
57
|
+
readonly compartmentId?: string;
|
|
58
|
+
/**
|
|
59
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
60
|
+
*/
|
|
61
|
+
readonly displayName?: string;
|
|
62
|
+
readonly filters?: outputs.GenerativeAi.GetAgentToolsFilter[];
|
|
63
|
+
/**
|
|
64
|
+
* The provider-assigned unique ID for this managed resource.
|
|
65
|
+
*/
|
|
66
|
+
readonly id: string;
|
|
67
|
+
/**
|
|
68
|
+
* The current state of the Tool.
|
|
69
|
+
*/
|
|
70
|
+
readonly state?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The list of tool_collection.
|
|
73
|
+
*/
|
|
74
|
+
readonly toolCollections: outputs.GenerativeAi.GetAgentToolsToolCollection[];
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* This data source provides the list of Tools in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
78
|
+
*
|
|
79
|
+
* Gets a list of tools.
|
|
80
|
+
*
|
|
81
|
+
* ## Example Usage
|
|
82
|
+
*
|
|
83
|
+
* ```typescript
|
|
84
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
+
* import * as oci from "@pulumi/oci";
|
|
86
|
+
*
|
|
87
|
+
* const testTools = oci.GenerativeAi.getAgentTools({
|
|
88
|
+
* agentId: testAgent.id,
|
|
89
|
+
* compartmentId: compartmentId,
|
|
90
|
+
* displayName: toolDisplayName,
|
|
91
|
+
* state: toolState,
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export declare function getAgentToolsOutput(args?: GetAgentToolsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAgentToolsResult>;
|
|
96
|
+
/**
|
|
97
|
+
* A collection of arguments for invoking getAgentTools.
|
|
98
|
+
*/
|
|
99
|
+
export interface GetAgentToolsOutputArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent.
|
|
102
|
+
*/
|
|
103
|
+
agentId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
106
|
+
*/
|
|
107
|
+
compartmentId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* A filter to return only resources that match the given display name exactly.
|
|
110
|
+
*/
|
|
111
|
+
displayName?: pulumi.Input<string>;
|
|
112
|
+
filters?: pulumi.Input<pulumi.Input<inputs.GenerativeAi.GetAgentToolsFilterArgs>[]>;
|
|
113
|
+
/**
|
|
114
|
+
* A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
|
115
|
+
*/
|
|
116
|
+
state?: pulumi.Input<string>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getAgentToolsOutput = exports.getAgentTools = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Tools in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
10
|
+
*
|
|
11
|
+
* Gets a list of tools.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testTools = oci.GenerativeAi.getAgentTools({
|
|
20
|
+
* agentId: testAgent.id,
|
|
21
|
+
* compartmentId: compartmentId,
|
|
22
|
+
* displayName: toolDisplayName,
|
|
23
|
+
* state: toolState,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function getAgentTools(args, opts) {
|
|
28
|
+
args = args || {};
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
+
return pulumi.runtime.invoke("oci:GenerativeAi/getAgentTools:getAgentTools", {
|
|
31
|
+
"agentId": args.agentId,
|
|
32
|
+
"compartmentId": args.compartmentId,
|
|
33
|
+
"displayName": args.displayName,
|
|
34
|
+
"filters": args.filters,
|
|
35
|
+
"state": args.state,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getAgentTools = getAgentTools;
|
|
39
|
+
/**
|
|
40
|
+
* This data source provides the list of Tools in Oracle Cloud Infrastructure Generative Ai Agent service.
|
|
41
|
+
*
|
|
42
|
+
* Gets a list of tools.
|
|
43
|
+
*
|
|
44
|
+
* ## Example Usage
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as oci from "@pulumi/oci";
|
|
49
|
+
*
|
|
50
|
+
* const testTools = oci.GenerativeAi.getAgentTools({
|
|
51
|
+
* agentId: testAgent.id,
|
|
52
|
+
* compartmentId: compartmentId,
|
|
53
|
+
* displayName: toolDisplayName,
|
|
54
|
+
* state: toolState,
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
function getAgentToolsOutput(args, opts) {
|
|
59
|
+
args = args || {};
|
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
61
|
+
return pulumi.runtime.invokeOutput("oci:GenerativeAi/getAgentTools:getAgentTools", {
|
|
62
|
+
"agentId": args.agentId,
|
|
63
|
+
"compartmentId": args.compartmentId,
|
|
64
|
+
"displayName": args.displayName,
|
|
65
|
+
"filters": args.filters,
|
|
66
|
+
"state": args.state,
|
|
67
|
+
}, opts);
|
|
68
|
+
}
|
|
69
|
+
exports.getAgentToolsOutput = getAgentToolsOutput;
|
|
70
|
+
//# sourceMappingURL=getAgentTools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAgentTools.js","sourceRoot":"","sources":["../../generativeai/get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