@datarobot/pulumi-datarobot 0.1.32
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/LICENSE +202 -0
- package/README.md +44 -0
- package/apiTokenCredential.d.ts +84 -0
- package/apiTokenCredential.js +70 -0
- package/apiTokenCredential.js.map +1 -0
- package/applicationSource.d.ts +111 -0
- package/applicationSource.js +77 -0
- package/applicationSource.js.map +1 -0
- package/basicCredential.d.ts +100 -0
- package/basicCredential.js +79 -0
- package/basicCredential.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +8 -0
- package/config/vars.js +19 -0
- package/config/vars.js.map +1 -0
- package/customApplication.d.ts +124 -0
- package/customApplication.js +86 -0
- package/customApplication.js.map +1 -0
- package/customModel.d.ts +361 -0
- package/customModel.js +106 -0
- package/customModel.js.map +1 -0
- package/datasetFromFile.d.ts +76 -0
- package/datasetFromFile.js +73 -0
- package/datasetFromFile.js.map +1 -0
- package/deployment.d.ts +122 -0
- package/deployment.js +100 -0
- package/deployment.js.map +1 -0
- package/getGlobalModel.d.ts +66 -0
- package/getGlobalModel.js +47 -0
- package/getGlobalModel.js.map +1 -0
- package/googleCloudCredential.d.ts +63 -0
- package/googleCloudCredential.js +57 -0
- package/googleCloudCredential.js.map +1 -0
- package/index.d.ts +57 -0
- package/index.js +116 -0
- package/index.js.map +1 -0
- package/llmBlueprint.d.ts +118 -0
- package/llmBlueprint.js +85 -0
- package/llmBlueprint.js.map +1 -0
- package/package.json +29 -0
- package/package.json.bak +29 -0
- package/playground.d.ts +86 -0
- package/playground.js +70 -0
- package/playground.js.map +1 -0
- package/predictionEnvironment.d.ts +87 -0
- package/predictionEnvironment.js +71 -0
- package/predictionEnvironment.js.map +1 -0
- package/provider.d.ts +43 -0
- package/provider.js +48 -0
- package/provider.js.map +1 -0
- package/qaApplication.d.ts +148 -0
- package/qaApplication.js +104 -0
- package/qaApplication.js.map +1 -0
- package/registeredModel.d.ts +108 -0
- package/registeredModel.js +86 -0
- package/registeredModel.js.map +1 -0
- package/remoteRepository.d.ts +161 -0
- package/remoteRepository.js +98 -0
- package/remoteRepository.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +196 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +195 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/useCase.d.ts +73 -0
- package/useCase.js +64 -0
- package/useCase.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
- package/vectorDatabase.d.ts +115 -0
- package/vectorDatabase.js +90 -0
- package/vectorDatabase.js.map +1 -0
package/deployment.d.ts
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Deployment
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datarobot from "@datarobot/pulumi-datarobot";
|
|
12
|
+
*
|
|
13
|
+
* const exampleCustomModel = new datarobot.CustomModel("exampleCustomModel", {
|
|
14
|
+
* description: "Description for the example custom model",
|
|
15
|
+
* targetType: "Binary",
|
|
16
|
+
* targetName: "my_label",
|
|
17
|
+
* baseEnvironmentName: "[GenAI] Python 3.11 with Moderations",
|
|
18
|
+
* files: ["example.py"],
|
|
19
|
+
* });
|
|
20
|
+
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
|
21
|
+
* customModelVersionId: exampleCustomModel.versionId,
|
|
22
|
+
* description: "Description for the example registered model",
|
|
23
|
+
* });
|
|
24
|
+
* const examplePredictionEnvironment = new datarobot.PredictionEnvironment("examplePredictionEnvironment", {
|
|
25
|
+
* description: "Description for the example prediction environment",
|
|
26
|
+
* platform: "datarobotServerless",
|
|
27
|
+
* });
|
|
28
|
+
* const exampleDeployment = new datarobot.Deployment("exampleDeployment", {
|
|
29
|
+
* label: "An example deployment",
|
|
30
|
+
* predictionEnvironmentId: examplePredictionEnvironment.id,
|
|
31
|
+
* registeredModelVersionId: exampleRegisteredModel.versionId,
|
|
32
|
+
* });
|
|
33
|
+
* // Optional settings
|
|
34
|
+
* // settings = {
|
|
35
|
+
* // prediction_row_storage = true
|
|
36
|
+
* // }
|
|
37
|
+
* export const datarobotDeploymentId = exampleDeployment.id;
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class Deployment extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing Deployment resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeploymentState, opts?: pulumi.CustomResourceOptions): Deployment;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of Deployment. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is Deployment;
|
|
56
|
+
/**
|
|
57
|
+
* The label of the Deployment.
|
|
58
|
+
*/
|
|
59
|
+
readonly label: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the predication environment for this Deployment.
|
|
62
|
+
*/
|
|
63
|
+
readonly predictionEnvironmentId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the registered model version for this Deployment.
|
|
66
|
+
*/
|
|
67
|
+
readonly registeredModelVersionId: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The settings for the Deployment.
|
|
70
|
+
*/
|
|
71
|
+
readonly settings: pulumi.Output<outputs.DeploymentSettings | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Create a Deployment resource with the given unique name, arguments, and options.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resource.
|
|
76
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
77
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
78
|
+
*/
|
|
79
|
+
constructor(name: string, args: DeploymentArgs, opts?: pulumi.CustomResourceOptions);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Input properties used for looking up and filtering Deployment resources.
|
|
83
|
+
*/
|
|
84
|
+
export interface DeploymentState {
|
|
85
|
+
/**
|
|
86
|
+
* The label of the Deployment.
|
|
87
|
+
*/
|
|
88
|
+
label?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the predication environment for this Deployment.
|
|
91
|
+
*/
|
|
92
|
+
predictionEnvironmentId?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The ID of the registered model version for this Deployment.
|
|
95
|
+
*/
|
|
96
|
+
registeredModelVersionId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The settings for the Deployment.
|
|
99
|
+
*/
|
|
100
|
+
settings?: pulumi.Input<inputs.DeploymentSettings>;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* The set of arguments for constructing a Deployment resource.
|
|
104
|
+
*/
|
|
105
|
+
export interface DeploymentArgs {
|
|
106
|
+
/**
|
|
107
|
+
* The label of the Deployment.
|
|
108
|
+
*/
|
|
109
|
+
label: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The ID of the predication environment for this Deployment.
|
|
112
|
+
*/
|
|
113
|
+
predictionEnvironmentId: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The ID of the registered model version for this Deployment.
|
|
116
|
+
*/
|
|
117
|
+
registeredModelVersionId: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The settings for the Deployment.
|
|
120
|
+
*/
|
|
121
|
+
settings?: pulumi.Input<inputs.DeploymentSettings>;
|
|
122
|
+
}
|
package/deployment.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
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.Deployment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Deployment
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datarobot from "@datarobot/pulumi-datarobot";
|
|
16
|
+
*
|
|
17
|
+
* const exampleCustomModel = new datarobot.CustomModel("exampleCustomModel", {
|
|
18
|
+
* description: "Description for the example custom model",
|
|
19
|
+
* targetType: "Binary",
|
|
20
|
+
* targetName: "my_label",
|
|
21
|
+
* baseEnvironmentName: "[GenAI] Python 3.11 with Moderations",
|
|
22
|
+
* files: ["example.py"],
|
|
23
|
+
* });
|
|
24
|
+
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
|
25
|
+
* customModelVersionId: exampleCustomModel.versionId,
|
|
26
|
+
* description: "Description for the example registered model",
|
|
27
|
+
* });
|
|
28
|
+
* const examplePredictionEnvironment = new datarobot.PredictionEnvironment("examplePredictionEnvironment", {
|
|
29
|
+
* description: "Description for the example prediction environment",
|
|
30
|
+
* platform: "datarobotServerless",
|
|
31
|
+
* });
|
|
32
|
+
* const exampleDeployment = new datarobot.Deployment("exampleDeployment", {
|
|
33
|
+
* label: "An example deployment",
|
|
34
|
+
* predictionEnvironmentId: examplePredictionEnvironment.id,
|
|
35
|
+
* registeredModelVersionId: exampleRegisteredModel.versionId,
|
|
36
|
+
* });
|
|
37
|
+
* // Optional settings
|
|
38
|
+
* // settings = {
|
|
39
|
+
* // prediction_row_storage = true
|
|
40
|
+
* // }
|
|
41
|
+
* export const datarobotDeploymentId = exampleDeployment.id;
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class Deployment extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing Deployment 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 Deployment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of Deployment. 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'] === Deployment.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["label"] = state ? state.label : undefined;
|
|
73
|
+
resourceInputs["predictionEnvironmentId"] = state ? state.predictionEnvironmentId : undefined;
|
|
74
|
+
resourceInputs["registeredModelVersionId"] = state ? state.registeredModelVersionId : undefined;
|
|
75
|
+
resourceInputs["settings"] = state ? state.settings : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.label === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'label'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.predictionEnvironmentId === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'predictionEnvironmentId'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.registeredModelVersionId === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'registeredModelVersionId'");
|
|
87
|
+
}
|
|
88
|
+
resourceInputs["label"] = args ? args.label : undefined;
|
|
89
|
+
resourceInputs["predictionEnvironmentId"] = args ? args.predictionEnvironmentId : undefined;
|
|
90
|
+
resourceInputs["registeredModelVersionId"] = args ? args.registeredModelVersionId : undefined;
|
|
91
|
+
resourceInputs["settings"] = args ? args.settings : undefined;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(Deployment.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.Deployment = Deployment;
|
|
98
|
+
/** @internal */
|
|
99
|
+
Deployment.__pulumiType = 'datarobot:index/deployment:Deployment';
|
|
100
|
+
//# sourceMappingURL=deployment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc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|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datarobot from "@pulumi/datarobot";
|
|
10
|
+
*
|
|
11
|
+
* const dummyBinaryClassification = datarobot.getGlobalModel({
|
|
12
|
+
* name: "[DataRobot] Dummy Binary Classification",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getGlobalModel(args: GetGlobalModelArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalModelResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getGlobalModel.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetGlobalModelArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The name of the Registered Model.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getGlobalModel.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetGlobalModelResult {
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the Global Model.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the Registered Model.
|
|
36
|
+
*/
|
|
37
|
+
readonly name: string;
|
|
38
|
+
/**
|
|
39
|
+
* The ID of the Global Model Version.
|
|
40
|
+
*/
|
|
41
|
+
readonly versionId: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Global Model
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as datarobot from "@pulumi/datarobot";
|
|
51
|
+
*
|
|
52
|
+
* const dummyBinaryClassification = datarobot.getGlobalModel({
|
|
53
|
+
* name: "[DataRobot] Dummy Binary Classification",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare function getGlobalModelOutput(args: GetGlobalModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGlobalModelResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getGlobalModel.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetGlobalModelOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* The name of the Registered Model.
|
|
64
|
+
*/
|
|
65
|
+
name: pulumi.Input<string>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.getGlobalModelOutput = exports.getGlobalModel = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Global Model
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datarobot from "@pulumi/datarobot";
|
|
16
|
+
*
|
|
17
|
+
* const dummyBinaryClassification = datarobot.getGlobalModel({
|
|
18
|
+
* name: "[DataRobot] Dummy Binary Classification",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGlobalModel(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("datarobot:index/getGlobalModel:getGlobalModel", {
|
|
25
|
+
"name": args.name,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getGlobalModel = getGlobalModel;
|
|
29
|
+
/**
|
|
30
|
+
* Global Model
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as datarobot from "@pulumi/datarobot";
|
|
37
|
+
*
|
|
38
|
+
* const dummyBinaryClassification = datarobot.getGlobalModel({
|
|
39
|
+
* name: "[DataRobot] Dummy Binary Classification",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getGlobalModelOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getGlobalModel(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getGlobalModelOutput = getGlobalModelOutput;
|
|
47
|
+
//# sourceMappingURL=getGlobalModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGlobalModel.js","sourceRoot":"","sources":["../getGlobalModel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Api Token Credential
|
|
4
|
+
*/
|
|
5
|
+
export declare class GoogleCloudCredential extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing GoogleCloudCredential resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GoogleCloudCredentialState, opts?: pulumi.CustomResourceOptions): GoogleCloudCredential;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of GoogleCloudCredential. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is GoogleCloudCredential;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the Google Cloud Credential.
|
|
23
|
+
*/
|
|
24
|
+
readonly name: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* The source file of the Google Cloud Credential.
|
|
27
|
+
*/
|
|
28
|
+
readonly sourceFile: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a GoogleCloudCredential resource with the given unique name, arguments, and options.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resource.
|
|
33
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
34
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
35
|
+
*/
|
|
36
|
+
constructor(name: string, args: GoogleCloudCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Input properties used for looking up and filtering GoogleCloudCredential resources.
|
|
40
|
+
*/
|
|
41
|
+
export interface GoogleCloudCredentialState {
|
|
42
|
+
/**
|
|
43
|
+
* The name of the Google Cloud Credential.
|
|
44
|
+
*/
|
|
45
|
+
name?: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The source file of the Google Cloud Credential.
|
|
48
|
+
*/
|
|
49
|
+
sourceFile?: pulumi.Input<string>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a GoogleCloudCredential resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface GoogleCloudCredentialArgs {
|
|
55
|
+
/**
|
|
56
|
+
* The name of the Google Cloud Credential.
|
|
57
|
+
*/
|
|
58
|
+
name?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The source file of the Google Cloud Credential.
|
|
61
|
+
*/
|
|
62
|
+
sourceFile: pulumi.Input<string>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.GoogleCloudCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Api Token Credential
|
|
10
|
+
*/
|
|
11
|
+
class GoogleCloudCredential extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing GoogleCloudCredential resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new GoogleCloudCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of GoogleCloudCredential. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === GoogleCloudCredential.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
40
|
+
resourceInputs["sourceFile"] = state ? state.sourceFile : undefined;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
const args = argsOrState;
|
|
44
|
+
if ((!args || args.sourceFile === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'sourceFile'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
48
|
+
resourceInputs["sourceFile"] = args ? args.sourceFile : undefined;
|
|
49
|
+
}
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
51
|
+
super(GoogleCloudCredential.__pulumiType, name, resourceInputs, opts);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.GoogleCloudCredential = GoogleCloudCredential;
|
|
55
|
+
/** @internal */
|
|
56
|
+
GoogleCloudCredential.__pulumiType = 'datarobot:index/googleCloudCredential:GoogleCloudCredential';
|
|
57
|
+
//# sourceMappingURL=googleCloudCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"googleCloudCredential.js","sourceRoot":"","sources":["../googleC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AC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA9DL,sDA+DC;AAjDG,gBAAgB;AACO,kCAAY,GAAG,6DAA6D,CAAC"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export { ApiTokenCredentialArgs, ApiTokenCredentialState } from "./apiTokenCredential";
|
|
2
|
+
export type ApiTokenCredential = import("./apiTokenCredential").ApiTokenCredential;
|
|
3
|
+
export declare const ApiTokenCredential: typeof import("./apiTokenCredential").ApiTokenCredential;
|
|
4
|
+
export { ApplicationSourceArgs, ApplicationSourceState } from "./applicationSource";
|
|
5
|
+
export type ApplicationSource = import("./applicationSource").ApplicationSource;
|
|
6
|
+
export declare const ApplicationSource: typeof import("./applicationSource").ApplicationSource;
|
|
7
|
+
export { BasicCredentialArgs, BasicCredentialState } from "./basicCredential";
|
|
8
|
+
export type BasicCredential = import("./basicCredential").BasicCredential;
|
|
9
|
+
export declare const BasicCredential: typeof import("./basicCredential").BasicCredential;
|
|
10
|
+
export { CustomApplicationArgs, CustomApplicationState } from "./customApplication";
|
|
11
|
+
export type CustomApplication = import("./customApplication").CustomApplication;
|
|
12
|
+
export declare const CustomApplication: typeof import("./customApplication").CustomApplication;
|
|
13
|
+
export { CustomModelArgs, CustomModelState } from "./customModel";
|
|
14
|
+
export type CustomModel = import("./customModel").CustomModel;
|
|
15
|
+
export declare const CustomModel: typeof import("./customModel").CustomModel;
|
|
16
|
+
export { DatasetFromFileArgs, DatasetFromFileState } from "./datasetFromFile";
|
|
17
|
+
export type DatasetFromFile = import("./datasetFromFile").DatasetFromFile;
|
|
18
|
+
export declare const DatasetFromFile: typeof import("./datasetFromFile").DatasetFromFile;
|
|
19
|
+
export { DeploymentArgs, DeploymentState } from "./deployment";
|
|
20
|
+
export type Deployment = import("./deployment").Deployment;
|
|
21
|
+
export declare const Deployment: typeof import("./deployment").Deployment;
|
|
22
|
+
export { GetGlobalModelArgs, GetGlobalModelResult, GetGlobalModelOutputArgs } from "./getGlobalModel";
|
|
23
|
+
export declare const getGlobalModel: typeof import("./getGlobalModel").getGlobalModel;
|
|
24
|
+
export declare const getGlobalModelOutput: typeof import("./getGlobalModel").getGlobalModelOutput;
|
|
25
|
+
export { GoogleCloudCredentialArgs, GoogleCloudCredentialState } from "./googleCloudCredential";
|
|
26
|
+
export type GoogleCloudCredential = import("./googleCloudCredential").GoogleCloudCredential;
|
|
27
|
+
export declare const GoogleCloudCredential: typeof import("./googleCloudCredential").GoogleCloudCredential;
|
|
28
|
+
export { LlmBlueprintArgs, LlmBlueprintState } from "./llmBlueprint";
|
|
29
|
+
export type LlmBlueprint = import("./llmBlueprint").LlmBlueprint;
|
|
30
|
+
export declare const LlmBlueprint: typeof import("./llmBlueprint").LlmBlueprint;
|
|
31
|
+
export { PlaygroundArgs, PlaygroundState } from "./playground";
|
|
32
|
+
export type Playground = import("./playground").Playground;
|
|
33
|
+
export declare const Playground: typeof import("./playground").Playground;
|
|
34
|
+
export { PredictionEnvironmentArgs, PredictionEnvironmentState } from "./predictionEnvironment";
|
|
35
|
+
export type PredictionEnvironment = import("./predictionEnvironment").PredictionEnvironment;
|
|
36
|
+
export declare const PredictionEnvironment: typeof import("./predictionEnvironment").PredictionEnvironment;
|
|
37
|
+
export { ProviderArgs } from "./provider";
|
|
38
|
+
export type Provider = import("./provider").Provider;
|
|
39
|
+
export declare const Provider: typeof import("./provider").Provider;
|
|
40
|
+
export { QaApplicationArgs, QaApplicationState } from "./qaApplication";
|
|
41
|
+
export type QaApplication = import("./qaApplication").QaApplication;
|
|
42
|
+
export declare const QaApplication: typeof import("./qaApplication").QaApplication;
|
|
43
|
+
export { RegisteredModelArgs, RegisteredModelState } from "./registeredModel";
|
|
44
|
+
export type RegisteredModel = import("./registeredModel").RegisteredModel;
|
|
45
|
+
export declare const RegisteredModel: typeof import("./registeredModel").RegisteredModel;
|
|
46
|
+
export { RemoteRepositoryArgs, RemoteRepositoryState } from "./remoteRepository";
|
|
47
|
+
export type RemoteRepository = import("./remoteRepository").RemoteRepository;
|
|
48
|
+
export declare const RemoteRepository: typeof import("./remoteRepository").RemoteRepository;
|
|
49
|
+
export { UseCaseArgs, UseCaseState } from "./useCase";
|
|
50
|
+
export type UseCase = import("./useCase").UseCase;
|
|
51
|
+
export declare const UseCase: typeof import("./useCase").UseCase;
|
|
52
|
+
export { VectorDatabaseArgs, VectorDatabaseState } from "./vectorDatabase";
|
|
53
|
+
export type VectorDatabase = import("./vectorDatabase").VectorDatabase;
|
|
54
|
+
export declare const VectorDatabase: typeof import("./vectorDatabase").VectorDatabase;
|
|
55
|
+
import * as config from "./config";
|
|
56
|
+
import * as types from "./types";
|
|
57
|
+
export { config, types, };
|
package/index.js
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
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.types = exports.config = exports.VectorDatabase = exports.UseCase = exports.RemoteRepository = exports.RegisteredModel = exports.QaApplication = exports.Provider = exports.PredictionEnvironment = exports.Playground = exports.LlmBlueprint = exports.GoogleCloudCredential = exports.getGlobalModelOutput = exports.getGlobalModel = exports.Deployment = exports.DatasetFromFile = exports.CustomModel = exports.CustomApplication = exports.BasicCredential = exports.ApplicationSource = exports.ApiTokenCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
exports.ApiTokenCredential = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["ApiTokenCredential"], () => require("./apiTokenCredential"));
|
|
10
|
+
exports.ApplicationSource = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["ApplicationSource"], () => require("./applicationSource"));
|
|
12
|
+
exports.BasicCredential = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["BasicCredential"], () => require("./basicCredential"));
|
|
14
|
+
exports.CustomApplication = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["CustomApplication"], () => require("./customApplication"));
|
|
16
|
+
exports.CustomModel = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["CustomModel"], () => require("./customModel"));
|
|
18
|
+
exports.DatasetFromFile = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["DatasetFromFile"], () => require("./datasetFromFile"));
|
|
20
|
+
exports.Deployment = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["Deployment"], () => require("./deployment"));
|
|
22
|
+
exports.getGlobalModel = null;
|
|
23
|
+
exports.getGlobalModelOutput = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["getGlobalModel", "getGlobalModelOutput"], () => require("./getGlobalModel"));
|
|
25
|
+
exports.GoogleCloudCredential = null;
|
|
26
|
+
utilities.lazyLoad(exports, ["GoogleCloudCredential"], () => require("./googleCloudCredential"));
|
|
27
|
+
exports.LlmBlueprint = null;
|
|
28
|
+
utilities.lazyLoad(exports, ["LlmBlueprint"], () => require("./llmBlueprint"));
|
|
29
|
+
exports.Playground = null;
|
|
30
|
+
utilities.lazyLoad(exports, ["Playground"], () => require("./playground"));
|
|
31
|
+
exports.PredictionEnvironment = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["PredictionEnvironment"], () => require("./predictionEnvironment"));
|
|
33
|
+
exports.Provider = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
35
|
+
exports.QaApplication = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["QaApplication"], () => require("./qaApplication"));
|
|
37
|
+
exports.RegisteredModel = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["RegisteredModel"], () => require("./registeredModel"));
|
|
39
|
+
exports.RemoteRepository = null;
|
|
40
|
+
utilities.lazyLoad(exports, ["RemoteRepository"], () => require("./remoteRepository"));
|
|
41
|
+
exports.UseCase = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["UseCase"], () => require("./useCase"));
|
|
43
|
+
exports.VectorDatabase = null;
|
|
44
|
+
utilities.lazyLoad(exports, ["VectorDatabase"], () => require("./vectorDatabase"));
|
|
45
|
+
// Export sub-modules:
|
|
46
|
+
const config = require("./config");
|
|
47
|
+
exports.config = config;
|
|
48
|
+
const types = require("./types");
|
|
49
|
+
exports.types = types;
|
|
50
|
+
const _module = {
|
|
51
|
+
version: utilities.getVersion(),
|
|
52
|
+
construct: (name, type, urn) => {
|
|
53
|
+
switch (type) {
|
|
54
|
+
case "datarobot:index/apiTokenCredential:ApiTokenCredential":
|
|
55
|
+
return new exports.ApiTokenCredential(name, undefined, { urn });
|
|
56
|
+
case "datarobot:index/applicationSource:ApplicationSource":
|
|
57
|
+
return new exports.ApplicationSource(name, undefined, { urn });
|
|
58
|
+
case "datarobot:index/basicCredential:BasicCredential":
|
|
59
|
+
return new exports.BasicCredential(name, undefined, { urn });
|
|
60
|
+
case "datarobot:index/customApplication:CustomApplication":
|
|
61
|
+
return new exports.CustomApplication(name, undefined, { urn });
|
|
62
|
+
case "datarobot:index/customModel:CustomModel":
|
|
63
|
+
return new exports.CustomModel(name, undefined, { urn });
|
|
64
|
+
case "datarobot:index/datasetFromFile:DatasetFromFile":
|
|
65
|
+
return new exports.DatasetFromFile(name, undefined, { urn });
|
|
66
|
+
case "datarobot:index/deployment:Deployment":
|
|
67
|
+
return new exports.Deployment(name, undefined, { urn });
|
|
68
|
+
case "datarobot:index/googleCloudCredential:GoogleCloudCredential":
|
|
69
|
+
return new exports.GoogleCloudCredential(name, undefined, { urn });
|
|
70
|
+
case "datarobot:index/llmBlueprint:LlmBlueprint":
|
|
71
|
+
return new exports.LlmBlueprint(name, undefined, { urn });
|
|
72
|
+
case "datarobot:index/playground:Playground":
|
|
73
|
+
return new exports.Playground(name, undefined, { urn });
|
|
74
|
+
case "datarobot:index/predictionEnvironment:PredictionEnvironment":
|
|
75
|
+
return new exports.PredictionEnvironment(name, undefined, { urn });
|
|
76
|
+
case "datarobot:index/qaApplication:QaApplication":
|
|
77
|
+
return new exports.QaApplication(name, undefined, { urn });
|
|
78
|
+
case "datarobot:index/registeredModel:RegisteredModel":
|
|
79
|
+
return new exports.RegisteredModel(name, undefined, { urn });
|
|
80
|
+
case "datarobot:index/remoteRepository:RemoteRepository":
|
|
81
|
+
return new exports.RemoteRepository(name, undefined, { urn });
|
|
82
|
+
case "datarobot:index/useCase:UseCase":
|
|
83
|
+
return new exports.UseCase(name, undefined, { urn });
|
|
84
|
+
case "datarobot:index/vectorDatabase:VectorDatabase":
|
|
85
|
+
return new exports.VectorDatabase(name, undefined, { urn });
|
|
86
|
+
default:
|
|
87
|
+
throw new Error(`unknown resource type ${type}`);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/apiTokenCredential", _module);
|
|
92
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/applicationSource", _module);
|
|
93
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/basicCredential", _module);
|
|
94
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/customApplication", _module);
|
|
95
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/customModel", _module);
|
|
96
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/datasetFromFile", _module);
|
|
97
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/deployment", _module);
|
|
98
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/googleCloudCredential", _module);
|
|
99
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/llmBlueprint", _module);
|
|
100
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/playground", _module);
|
|
101
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/predictionEnvironment", _module);
|
|
102
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/qaApplication", _module);
|
|
103
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/registeredModel", _module);
|
|
104
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/remoteRepository", _module);
|
|
105
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/useCase", _module);
|
|
106
|
+
pulumi.runtime.registerResourceModule("datarobot", "index/vectorDatabase", _module);
|
|
107
|
+
pulumi.runtime.registerResourcePackage("datarobot", {
|
|
108
|
+
version: utilities.getVersion(),
|
|
109
|
+
constructProvider: (name, type, urn) => {
|
|
110
|
+
if (type !== "pulumi:providers:datarobot") {
|
|
111
|
+
throw new Error(`unknown provider type ${type}`);
|
|
112
|
+
}
|
|
113
|
+
return new exports.Provider(name, undefined, { urn });
|
|
114
|
+
},
|
|
115
|
+
});
|
|
116
|
+
//# sourceMappingURL=index.js.map
|