@pulumi/harness 0.17.0 → 0.17.1
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/autostopping/getRuleEcs.d.ts +82 -56
- package/autostopping/getRuleEcs.d.ts.map +1 -1
- package/autostopping/getRuleEcs.js +70 -12
- package/autostopping/getRuleEcs.js.map +1 -1
- package/autostopping/getRuleK8s.d.ts +82 -77
- package/autostopping/getRuleK8s.d.ts.map +1 -1
- package/autostopping/getRuleK8s.js +70 -14
- package/autostopping/getRuleK8s.js.map +1 -1
- package/autostopping/getRuleRds.d.ts +84 -46
- package/autostopping/getRuleRds.d.ts.map +1 -1
- package/autostopping/getRuleRds.js +70 -10
- package/autostopping/getRuleRds.js.map +1 -1
- package/autostopping/getRuleScaleGroup.d.ts +82 -77
- package/autostopping/getRuleScaleGroup.d.ts.map +1 -1
- package/autostopping/getRuleScaleGroup.js +70 -14
- package/autostopping/getRuleScaleGroup.js.map +1 -1
- package/autostopping/getRuleVm.d.ts +82 -86
- package/autostopping/getRuleVm.d.ts.map +1 -1
- package/autostopping/getRuleVm.js +70 -16
- package/autostopping/getRuleVm.js.map +1 -1
- package/autostopping/getRules.d.ts +14 -0
- package/autostopping/getRules.d.ts.map +1 -1
- package/autostopping/getRules.js +14 -0
- package/autostopping/getRules.js.map +1 -1
- package/package.json +2 -2
- package/platform/connectorAnthropicModel.d.ts +314 -0
- package/platform/connectorAnthropicModel.d.ts.map +1 -0
- package/platform/connectorAnthropicModel.js +237 -0
- package/platform/connectorAnthropicModel.js.map +1 -0
- package/platform/connectorOpenaiModel.d.ts +257 -0
- package/platform/connectorOpenaiModel.d.ts.map +1 -0
- package/platform/connectorOpenaiModel.js +180 -0
- package/platform/connectorOpenaiModel.js.map +1 -0
- package/platform/getConnectorAnthropicModel.d.ts +132 -0
- package/platform/getConnectorAnthropicModel.d.ts.map +1 -0
- package/platform/getConnectorAnthropicModel.js +79 -0
- package/platform/getConnectorAnthropicModel.js.map +1 -0
- package/platform/getConnectorOpenaiModel.d.ts +132 -0
- package/platform/getConnectorOpenaiModel.d.ts.map +1 -0
- package/platform/getConnectorOpenaiModel.js +79 -0
- package/platform/getConnectorOpenaiModel.js.map +1 -0
- package/platform/getHarRegistry.d.ts +3 -3
- package/platform/harRegistry.d.ts +60 -3
- package/platform/harRegistry.d.ts.map +1 -1
- package/platform/harRegistry.js +57 -0
- package/platform/harRegistry.js.map +1 -1
- package/platform/index.d.ts +15 -0
- package/platform/index.d.ts.map +1 -1
- package/platform/index.js +30 -9
- package/platform/index.js.map +1 -1
- package/platform/setting.d.ts +210 -0
- package/platform/setting.d.ts.map +1 -0
- package/platform/setting.js +163 -0
- package/platform/setting.js.map +1 -0
- package/types/input.d.ts +96 -696
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +197 -303
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for creating an OpenAI Model connector.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Token Authentication
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as harness from "@pulumi/harness";
|
|
14
|
+
*
|
|
15
|
+
* const token = new harness.platform.ConnectorOpenaiModel("token", {
|
|
16
|
+
* auth: {
|
|
17
|
+
* token: {
|
|
18
|
+
* tokenRef: "account.openai_api_key",
|
|
19
|
+
* },
|
|
20
|
+
* authType: "Token",
|
|
21
|
+
* },
|
|
22
|
+
* identifier: "example_openai_token",
|
|
23
|
+
* name: "example-openai-token",
|
|
24
|
+
* description: "OpenAI connector with Token auth",
|
|
25
|
+
* url: "https://api.openai.com",
|
|
26
|
+
* model: "gpt-4o",
|
|
27
|
+
* executeOnDelegate: true,
|
|
28
|
+
* ignoreTestConnection: false,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ### Vertex AI Authentication
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as harness from "@pulumi/harness";
|
|
37
|
+
*
|
|
38
|
+
* const vertex = new harness.platform.ConnectorOpenaiModel("vertex", {
|
|
39
|
+
* auth: {
|
|
40
|
+
* vertex: {
|
|
41
|
+
* serviceAccountKeyRef: "account.gcp_sa_key",
|
|
42
|
+
* projectId: "my-gcp-project",
|
|
43
|
+
* region: "us-central1",
|
|
44
|
+
* },
|
|
45
|
+
* authType: "Vertex",
|
|
46
|
+
* },
|
|
47
|
+
* identifier: "example_openai_vertex",
|
|
48
|
+
* name: "example-openai-vertex",
|
|
49
|
+
* description: "OpenAI connector with Vertex AI auth",
|
|
50
|
+
* url: "https://api.openai.com",
|
|
51
|
+
* model: "gpt-4o",
|
|
52
|
+
* executeOnDelegate: true,
|
|
53
|
+
* ignoreTestConnection: true,
|
|
54
|
+
* delegateSelectors: ["mydelegate"],
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* Import account-level connector
|
|
61
|
+
*
|
|
62
|
+
* ```sh
|
|
63
|
+
* $ pulumi import harness:platform/connectorOpenaiModel:ConnectorOpenaiModel example <identifier>
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* Import org-level connector
|
|
67
|
+
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import harness:platform/connectorOpenaiModel:ConnectorOpenaiModel example <org_id>/<identifier>
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* Import project-level connector
|
|
73
|
+
*
|
|
74
|
+
* ```sh
|
|
75
|
+
* $ pulumi import harness:platform/connectorOpenaiModel:ConnectorOpenaiModel example <org_id>/<project_id>/<identifier>
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare class ConnectorOpenaiModel extends pulumi.CustomResource {
|
|
79
|
+
/**
|
|
80
|
+
* Get an existing ConnectorOpenaiModel resource's state with the given name, ID, and optional extra
|
|
81
|
+
* properties used to qualify the lookup.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resulting resource.
|
|
84
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
85
|
+
* @param state Any extra arguments used during the lookup.
|
|
86
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
87
|
+
*/
|
|
88
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectorOpenaiModelState, opts?: pulumi.CustomResourceOptions): ConnectorOpenaiModel;
|
|
89
|
+
/**
|
|
90
|
+
* Returns true if the given object is an instance of ConnectorOpenaiModel. This is designed to work even
|
|
91
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
92
|
+
*/
|
|
93
|
+
static isInstance(obj: any): obj is ConnectorOpenaiModel;
|
|
94
|
+
/**
|
|
95
|
+
* The authentication configuration for the OpenAI connector.
|
|
96
|
+
*/
|
|
97
|
+
readonly auth: pulumi.Output<outputs.platform.ConnectorOpenaiModelAuth>;
|
|
98
|
+
/**
|
|
99
|
+
* Tags to filter delegates for connection.
|
|
100
|
+
*/
|
|
101
|
+
readonly delegateSelectors: pulumi.Output<string[] | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Description of the resource.
|
|
104
|
+
*/
|
|
105
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Execute on delegate or not. Default: `true`.
|
|
108
|
+
*/
|
|
109
|
+
readonly executeOnDelegate: pulumi.Output<boolean | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* Unique identifier of the resource.
|
|
112
|
+
*/
|
|
113
|
+
readonly identifier: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Ignore test connection when creating or updating the connector. Default: `false`.
|
|
116
|
+
*/
|
|
117
|
+
readonly ignoreTestConnection: pulumi.Output<boolean | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* The OpenAI model to use (e.g. gpt-4o).
|
|
120
|
+
*/
|
|
121
|
+
readonly model: pulumi.Output<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Name of the resource.
|
|
124
|
+
*/
|
|
125
|
+
readonly name: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Unique identifier of the organization.
|
|
128
|
+
*/
|
|
129
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* Unique identifier of the project.
|
|
132
|
+
*/
|
|
133
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* Tags to associate with the resource.
|
|
136
|
+
*/
|
|
137
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* URL of the OpenAI API endpoint.
|
|
140
|
+
*/
|
|
141
|
+
readonly url: pulumi.Output<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Create a ConnectorOpenaiModel resource with the given unique name, arguments, and options.
|
|
144
|
+
*
|
|
145
|
+
* @param name The _unique_ name of the resource.
|
|
146
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
147
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
148
|
+
*/
|
|
149
|
+
constructor(name: string, args: ConnectorOpenaiModelArgs, opts?: pulumi.CustomResourceOptions);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Input properties used for looking up and filtering ConnectorOpenaiModel resources.
|
|
153
|
+
*/
|
|
154
|
+
export interface ConnectorOpenaiModelState {
|
|
155
|
+
/**
|
|
156
|
+
* The authentication configuration for the OpenAI connector.
|
|
157
|
+
*/
|
|
158
|
+
auth?: pulumi.Input<inputs.platform.ConnectorOpenaiModelAuth | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* Tags to filter delegates for connection.
|
|
161
|
+
*/
|
|
162
|
+
delegateSelectors?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* Description of the resource.
|
|
165
|
+
*/
|
|
166
|
+
description?: pulumi.Input<string | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* Execute on delegate or not. Default: `true`.
|
|
169
|
+
*/
|
|
170
|
+
executeOnDelegate?: pulumi.Input<boolean | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* Unique identifier of the resource.
|
|
173
|
+
*/
|
|
174
|
+
identifier?: pulumi.Input<string | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* Ignore test connection when creating or updating the connector. Default: `false`.
|
|
177
|
+
*/
|
|
178
|
+
ignoreTestConnection?: pulumi.Input<boolean | undefined>;
|
|
179
|
+
/**
|
|
180
|
+
* The OpenAI model to use (e.g. gpt-4o).
|
|
181
|
+
*/
|
|
182
|
+
model?: pulumi.Input<string | undefined>;
|
|
183
|
+
/**
|
|
184
|
+
* Name of the resource.
|
|
185
|
+
*/
|
|
186
|
+
name?: pulumi.Input<string | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* Unique identifier of the organization.
|
|
189
|
+
*/
|
|
190
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
191
|
+
/**
|
|
192
|
+
* Unique identifier of the project.
|
|
193
|
+
*/
|
|
194
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* Tags to associate with the resource.
|
|
197
|
+
*/
|
|
198
|
+
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* URL of the OpenAI API endpoint.
|
|
201
|
+
*/
|
|
202
|
+
url?: pulumi.Input<string | undefined>;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* The set of arguments for constructing a ConnectorOpenaiModel resource.
|
|
206
|
+
*/
|
|
207
|
+
export interface ConnectorOpenaiModelArgs {
|
|
208
|
+
/**
|
|
209
|
+
* The authentication configuration for the OpenAI connector.
|
|
210
|
+
*/
|
|
211
|
+
auth: pulumi.Input<inputs.platform.ConnectorOpenaiModelAuth>;
|
|
212
|
+
/**
|
|
213
|
+
* Tags to filter delegates for connection.
|
|
214
|
+
*/
|
|
215
|
+
delegateSelectors?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
216
|
+
/**
|
|
217
|
+
* Description of the resource.
|
|
218
|
+
*/
|
|
219
|
+
description?: pulumi.Input<string | undefined>;
|
|
220
|
+
/**
|
|
221
|
+
* Execute on delegate or not. Default: `true`.
|
|
222
|
+
*/
|
|
223
|
+
executeOnDelegate?: pulumi.Input<boolean | undefined>;
|
|
224
|
+
/**
|
|
225
|
+
* Unique identifier of the resource.
|
|
226
|
+
*/
|
|
227
|
+
identifier: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* Ignore test connection when creating or updating the connector. Default: `false`.
|
|
230
|
+
*/
|
|
231
|
+
ignoreTestConnection?: pulumi.Input<boolean | undefined>;
|
|
232
|
+
/**
|
|
233
|
+
* The OpenAI model to use (e.g. gpt-4o).
|
|
234
|
+
*/
|
|
235
|
+
model: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* Name of the resource.
|
|
238
|
+
*/
|
|
239
|
+
name?: pulumi.Input<string | undefined>;
|
|
240
|
+
/**
|
|
241
|
+
* Unique identifier of the organization.
|
|
242
|
+
*/
|
|
243
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
244
|
+
/**
|
|
245
|
+
* Unique identifier of the project.
|
|
246
|
+
*/
|
|
247
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
248
|
+
/**
|
|
249
|
+
* Tags to associate with the resource.
|
|
250
|
+
*/
|
|
251
|
+
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
252
|
+
/**
|
|
253
|
+
* URL of the OpenAI API endpoint.
|
|
254
|
+
*/
|
|
255
|
+
url: pulumi.Input<string>;
|
|
256
|
+
}
|
|
257
|
+
//# sourceMappingURL=connectorOpenaiModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorOpenaiModel.d.ts","sourceRoot":"","sources":["../../platform/connectorOpenaiModel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oBAAoB;IAO1J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,oBAAoB;IAO/D;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;IACvF;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9E;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1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KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACzD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC7B"}
|
|
@@ -0,0 +1,180 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ConnectorOpenaiModel = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Resource for creating an OpenAI Model connector.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ### Token Authentication
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as harness from "@pulumi/harness";
|
|
41
|
+
*
|
|
42
|
+
* const token = new harness.platform.ConnectorOpenaiModel("token", {
|
|
43
|
+
* auth: {
|
|
44
|
+
* token: {
|
|
45
|
+
* tokenRef: "account.openai_api_key",
|
|
46
|
+
* },
|
|
47
|
+
* authType: "Token",
|
|
48
|
+
* },
|
|
49
|
+
* identifier: "example_openai_token",
|
|
50
|
+
* name: "example-openai-token",
|
|
51
|
+
* description: "OpenAI connector with Token auth",
|
|
52
|
+
* url: "https://api.openai.com",
|
|
53
|
+
* model: "gpt-4o",
|
|
54
|
+
* executeOnDelegate: true,
|
|
55
|
+
* ignoreTestConnection: false,
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ### Vertex AI Authentication
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as harness from "@pulumi/harness";
|
|
64
|
+
*
|
|
65
|
+
* const vertex = new harness.platform.ConnectorOpenaiModel("vertex", {
|
|
66
|
+
* auth: {
|
|
67
|
+
* vertex: {
|
|
68
|
+
* serviceAccountKeyRef: "account.gcp_sa_key",
|
|
69
|
+
* projectId: "my-gcp-project",
|
|
70
|
+
* region: "us-central1",
|
|
71
|
+
* },
|
|
72
|
+
* authType: "Vertex",
|
|
73
|
+
* },
|
|
74
|
+
* identifier: "example_openai_vertex",
|
|
75
|
+
* name: "example-openai-vertex",
|
|
76
|
+
* description: "OpenAI connector with Vertex AI auth",
|
|
77
|
+
* url: "https://api.openai.com",
|
|
78
|
+
* model: "gpt-4o",
|
|
79
|
+
* executeOnDelegate: true,
|
|
80
|
+
* ignoreTestConnection: true,
|
|
81
|
+
* delegateSelectors: ["mydelegate"],
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* ## Import
|
|
86
|
+
*
|
|
87
|
+
* Import account-level connector
|
|
88
|
+
*
|
|
89
|
+
* ```sh
|
|
90
|
+
* $ pulumi import harness:platform/connectorOpenaiModel:ConnectorOpenaiModel example <identifier>
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* Import org-level connector
|
|
94
|
+
*
|
|
95
|
+
* ```sh
|
|
96
|
+
* $ pulumi import harness:platform/connectorOpenaiModel:ConnectorOpenaiModel example <org_id>/<identifier>
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* Import project-level connector
|
|
100
|
+
*
|
|
101
|
+
* ```sh
|
|
102
|
+
* $ pulumi import harness:platform/connectorOpenaiModel:ConnectorOpenaiModel example <org_id>/<project_id>/<identifier>
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
class ConnectorOpenaiModel extends pulumi.CustomResource {
|
|
106
|
+
/**
|
|
107
|
+
* Get an existing ConnectorOpenaiModel resource's state with the given name, ID, and optional extra
|
|
108
|
+
* properties used to qualify the lookup.
|
|
109
|
+
*
|
|
110
|
+
* @param name The _unique_ name of the resulting resource.
|
|
111
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
112
|
+
* @param state Any extra arguments used during the lookup.
|
|
113
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
114
|
+
*/
|
|
115
|
+
static get(name, id, state, opts) {
|
|
116
|
+
return new ConnectorOpenaiModel(name, state, { ...opts, id: id });
|
|
117
|
+
}
|
|
118
|
+
/** @internal */
|
|
119
|
+
static __pulumiType = 'harness:platform/connectorOpenaiModel:ConnectorOpenaiModel';
|
|
120
|
+
/**
|
|
121
|
+
* Returns true if the given object is an instance of ConnectorOpenaiModel. This is designed to work even
|
|
122
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
123
|
+
*/
|
|
124
|
+
static isInstance(obj) {
|
|
125
|
+
if (obj === undefined || obj === null) {
|
|
126
|
+
return false;
|
|
127
|
+
}
|
|
128
|
+
return obj['__pulumiType'] === ConnectorOpenaiModel.__pulumiType;
|
|
129
|
+
}
|
|
130
|
+
constructor(name, argsOrState, opts) {
|
|
131
|
+
let resourceInputs = {};
|
|
132
|
+
opts = opts || {};
|
|
133
|
+
if (opts.id) {
|
|
134
|
+
const state = argsOrState;
|
|
135
|
+
resourceInputs["auth"] = state?.auth;
|
|
136
|
+
resourceInputs["delegateSelectors"] = state?.delegateSelectors;
|
|
137
|
+
resourceInputs["description"] = state?.description;
|
|
138
|
+
resourceInputs["executeOnDelegate"] = state?.executeOnDelegate;
|
|
139
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
140
|
+
resourceInputs["ignoreTestConnection"] = state?.ignoreTestConnection;
|
|
141
|
+
resourceInputs["model"] = state?.model;
|
|
142
|
+
resourceInputs["name"] = state?.name;
|
|
143
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
144
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
145
|
+
resourceInputs["tags"] = state?.tags;
|
|
146
|
+
resourceInputs["url"] = state?.url;
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
const args = argsOrState;
|
|
150
|
+
if (args?.auth === undefined && !opts.urn) {
|
|
151
|
+
throw new Error("Missing required property 'auth'");
|
|
152
|
+
}
|
|
153
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
154
|
+
throw new Error("Missing required property 'identifier'");
|
|
155
|
+
}
|
|
156
|
+
if (args?.model === undefined && !opts.urn) {
|
|
157
|
+
throw new Error("Missing required property 'model'");
|
|
158
|
+
}
|
|
159
|
+
if (args?.url === undefined && !opts.urn) {
|
|
160
|
+
throw new Error("Missing required property 'url'");
|
|
161
|
+
}
|
|
162
|
+
resourceInputs["auth"] = args?.auth;
|
|
163
|
+
resourceInputs["delegateSelectors"] = args?.delegateSelectors;
|
|
164
|
+
resourceInputs["description"] = args?.description;
|
|
165
|
+
resourceInputs["executeOnDelegate"] = args?.executeOnDelegate;
|
|
166
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
167
|
+
resourceInputs["ignoreTestConnection"] = args?.ignoreTestConnection;
|
|
168
|
+
resourceInputs["model"] = args?.model;
|
|
169
|
+
resourceInputs["name"] = args?.name;
|
|
170
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
171
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
172
|
+
resourceInputs["tags"] = args?.tags;
|
|
173
|
+
resourceInputs["url"] = args?.url;
|
|
174
|
+
}
|
|
175
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
176
|
+
super(ConnectorOpenaiModel.__pulumiType, name, resourceInputs, opts);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
exports.ConnectorOpenaiModel = ConnectorOpenaiModel;
|
|
180
|
+
//# sourceMappingURL=connectorOpenaiModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"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YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAnIL,oDAoIC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Datasource for looking up an Anthropic Model connector.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as harness from "@pulumi/harness";
|
|
11
|
+
*
|
|
12
|
+
* const example = harness.platform.getConnectorAnthropicModel({
|
|
13
|
+
* identifier: "identifier",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getConnectorAnthropicModel(args: GetConnectorAnthropicModelArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorAnthropicModelResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getConnectorAnthropicModel.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetConnectorAnthropicModelArgs {
|
|
22
|
+
/**
|
|
23
|
+
* Unique identifier of the resource.
|
|
24
|
+
*/
|
|
25
|
+
identifier: string;
|
|
26
|
+
/**
|
|
27
|
+
* Name of the resource.
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the organization.
|
|
32
|
+
*/
|
|
33
|
+
orgId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier of the project.
|
|
36
|
+
*/
|
|
37
|
+
projectId?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getConnectorAnthropicModel.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetConnectorAnthropicModelResult {
|
|
43
|
+
/**
|
|
44
|
+
* The authentication configuration for the Anthropic connector.
|
|
45
|
+
*/
|
|
46
|
+
readonly auths: outputs.platform.GetConnectorAnthropicModelAuth[];
|
|
47
|
+
/**
|
|
48
|
+
* Tags to filter delegates for connection.
|
|
49
|
+
*/
|
|
50
|
+
readonly delegateSelectors: string[];
|
|
51
|
+
/**
|
|
52
|
+
* Description of the resource.
|
|
53
|
+
*/
|
|
54
|
+
readonly description: string;
|
|
55
|
+
/**
|
|
56
|
+
* Execute on delegate or not.
|
|
57
|
+
*/
|
|
58
|
+
readonly executeOnDelegate: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* The provider-assigned unique ID for this managed resource.
|
|
61
|
+
*/
|
|
62
|
+
readonly id: string;
|
|
63
|
+
/**
|
|
64
|
+
* Unique identifier of the resource.
|
|
65
|
+
*/
|
|
66
|
+
readonly identifier: string;
|
|
67
|
+
/**
|
|
68
|
+
* Ignore test connection when creating or updating the connector.
|
|
69
|
+
*/
|
|
70
|
+
readonly ignoreTestConnection: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* The Anthropic model to use.
|
|
73
|
+
*/
|
|
74
|
+
readonly model: string;
|
|
75
|
+
/**
|
|
76
|
+
* Name of the resource.
|
|
77
|
+
*/
|
|
78
|
+
readonly name?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Unique identifier of the organization.
|
|
81
|
+
*/
|
|
82
|
+
readonly orgId?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Unique identifier of the project.
|
|
85
|
+
*/
|
|
86
|
+
readonly projectId?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Tags to associate with the resource.
|
|
89
|
+
*/
|
|
90
|
+
readonly tags: string[];
|
|
91
|
+
/**
|
|
92
|
+
* URL of the Anthropic API endpoint.
|
|
93
|
+
*/
|
|
94
|
+
readonly url: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Datasource for looking up an Anthropic Model connector.
|
|
98
|
+
*
|
|
99
|
+
* ## Example Usage
|
|
100
|
+
*
|
|
101
|
+
* ```typescript
|
|
102
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
103
|
+
* import * as harness from "@pulumi/harness";
|
|
104
|
+
*
|
|
105
|
+
* const example = harness.platform.getConnectorAnthropicModel({
|
|
106
|
+
* identifier: "identifier",
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
export declare function getConnectorAnthropicModelOutput(args: GetConnectorAnthropicModelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectorAnthropicModelResult>;
|
|
111
|
+
/**
|
|
112
|
+
* A collection of arguments for invoking getConnectorAnthropicModel.
|
|
113
|
+
*/
|
|
114
|
+
export interface GetConnectorAnthropicModelOutputArgs {
|
|
115
|
+
/**
|
|
116
|
+
* Unique identifier of the resource.
|
|
117
|
+
*/
|
|
118
|
+
identifier: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Name of the resource.
|
|
121
|
+
*/
|
|
122
|
+
name?: pulumi.Input<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Unique identifier of the organization.
|
|
125
|
+
*/
|
|
126
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* Unique identifier of the project.
|
|
129
|
+
*/
|
|
130
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=getConnectorAnthropicModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectorAnthropicModel.d.ts","sourceRoot":"","sources":["../../platform/getConnectorAnthropicModel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAQvJ;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC;IAClE;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,iB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hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getConnectorAnthropicModelOutput = exports.getConnectorAnthropicModel = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Datasource for looking up an Anthropic Model connector.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as harness from "@pulumi/harness";
|
|
39
|
+
*
|
|
40
|
+
* const example = harness.platform.getConnectorAnthropicModel({
|
|
41
|
+
* identifier: "identifier",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getConnectorAnthropicModel(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invoke("harness:platform/getConnectorAnthropicModel:getConnectorAnthropicModel", {
|
|
48
|
+
"identifier": args.identifier,
|
|
49
|
+
"name": args.name,
|
|
50
|
+
"orgId": args.orgId,
|
|
51
|
+
"projectId": args.projectId,
|
|
52
|
+
}, opts);
|
|
53
|
+
}
|
|
54
|
+
exports.getConnectorAnthropicModel = getConnectorAnthropicModel;
|
|
55
|
+
/**
|
|
56
|
+
* Datasource for looking up an Anthropic Model connector.
|
|
57
|
+
*
|
|
58
|
+
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as harness from "@pulumi/harness";
|
|
63
|
+
*
|
|
64
|
+
* const example = harness.platform.getConnectorAnthropicModel({
|
|
65
|
+
* identifier: "identifier",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
function getConnectorAnthropicModelOutput(args, opts) {
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
71
|
+
return pulumi.runtime.invokeOutput("harness:platform/getConnectorAnthropicModel:getConnectorAnthropicModel", {
|
|
72
|
+
"identifier": args.identifier,
|
|
73
|
+
"name": args.name,
|
|
74
|
+
"orgId": args.orgId,
|
|
75
|
+
"projectId": args.projectId,
|
|
76
|
+
}, opts);
|
|
77
|
+
}
|
|
78
|
+
exports.getConnectorAnthropicModelOutput = getConnectorAnthropicModelOutput;
|
|
79
|
+
//# sourceMappingURL=getConnectorAnthropicModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectorAnthropicModel.js","sourceRoot":"","sources":["../../platform/getConnectorAnthropicModel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gEAQC;AAiFD;;;;;;;;;;;;;GAaG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE;QACzG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4EAQC"}
|