@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/provider.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
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.Provider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The provider type for the datarobot package. By default, resources use package-wide configuration
|
|
10
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
11
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
12
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
|
+
*/
|
|
14
|
+
class Provider extends pulumi.ProviderResource {
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj) {
|
|
20
|
+
if (obj === undefined || obj === null) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resource.
|
|
29
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
30
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
31
|
+
*/
|
|
32
|
+
constructor(name, args, opts) {
|
|
33
|
+
let resourceInputs = {};
|
|
34
|
+
opts = opts || {};
|
|
35
|
+
{
|
|
36
|
+
resourceInputs["apikey"] = (args === null || args === void 0 ? void 0 : args.apikey) ? pulumi.secret(args.apikey) : undefined;
|
|
37
|
+
resourceInputs["endpoint"] = (args === null || args === void 0 ? void 0 : args.endpoint) ? pulumi.secret(args.endpoint) : undefined;
|
|
38
|
+
}
|
|
39
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
40
|
+
const secretOpts = { additionalSecretOutputs: ["apikey", "endpoint"] };
|
|
41
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
42
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.Provider = Provider;
|
|
46
|
+
/** @internal */
|
|
47
|
+
Provider.__pulumiType = 'datarobot';
|
|
48
|
+
//# sourceMappingURL=provider.js.map
|
package/provider.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAA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|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datarobot from "@datarobot/pulumi-datarobot";
|
|
10
|
+
*
|
|
11
|
+
* const exampleCustomModel = new datarobot.CustomModel("exampleCustomModel", {
|
|
12
|
+
* description: "Description for the example custom model",
|
|
13
|
+
* targetType: "Binary",
|
|
14
|
+
* targetName: "my_label",
|
|
15
|
+
* baseEnvironmentName: "[GenAI] Python 3.11 with Moderations",
|
|
16
|
+
* files: ["example.py"],
|
|
17
|
+
* });
|
|
18
|
+
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
|
19
|
+
* customModelVersionId: exampleCustomModel.versionId,
|
|
20
|
+
* description: "Description for the example registered model",
|
|
21
|
+
* });
|
|
22
|
+
* const examplePredictionEnvironment = new datarobot.PredictionEnvironment("examplePredictionEnvironment", {
|
|
23
|
+
* description: "Description for the example prediction environment",
|
|
24
|
+
* platform: "datarobotServerless",
|
|
25
|
+
* });
|
|
26
|
+
* const exampleDeployment = new datarobot.Deployment("exampleDeployment", {
|
|
27
|
+
* label: "An example deployment",
|
|
28
|
+
* predictionEnvironmentId: examplePredictionEnvironment.id,
|
|
29
|
+
* registeredModelVersionId: exampleRegisteredModel.versionId,
|
|
30
|
+
* });
|
|
31
|
+
* const exampleQaApplication = new datarobot.QaApplication("exampleQaApplication", {
|
|
32
|
+
* deploymentId: exampleDeployment.id,
|
|
33
|
+
* externalAccessEnabled: true,
|
|
34
|
+
* externalAccessRecipients: ["recipient@example.com"],
|
|
35
|
+
* });
|
|
36
|
+
* export const datarobotQaApplicationId = exampleQaApplication.id;
|
|
37
|
+
* export const datarobotQaApplicationSourceId = exampleQaApplication.sourceId;
|
|
38
|
+
* export const datarobotQaApplicationSourceVersionId = exampleQaApplication.sourceVersionId;
|
|
39
|
+
* export const datarobotQaApplicationUrl = exampleQaApplication.applicationUrl;
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class QaApplication extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing QaApplication resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: QaApplicationState, opts?: pulumi.CustomResourceOptions): QaApplication;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of QaApplication. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj: any): obj is QaApplication;
|
|
58
|
+
/**
|
|
59
|
+
* The URL of the Q&A Application.
|
|
60
|
+
*/
|
|
61
|
+
readonly applicationUrl: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The deployment ID of the Q&A Application.
|
|
64
|
+
*/
|
|
65
|
+
readonly deploymentId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Whether external access is enabled for the Q&A Application.
|
|
68
|
+
*/
|
|
69
|
+
readonly externalAccessEnabled: pulumi.Output<boolean>;
|
|
70
|
+
/**
|
|
71
|
+
* The list of external email addresses that have access to the Q&A Application.
|
|
72
|
+
*/
|
|
73
|
+
readonly externalAccessRecipients: pulumi.Output<string[] | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the Q&A Application.
|
|
76
|
+
*/
|
|
77
|
+
readonly name: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the Q&A Application Source.
|
|
80
|
+
*/
|
|
81
|
+
readonly sourceId: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The version ID of the Q&A Application Source.
|
|
84
|
+
*/
|
|
85
|
+
readonly sourceVersionId: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Create a QaApplication resource with the given unique name, arguments, and options.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resource.
|
|
90
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
91
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
92
|
+
*/
|
|
93
|
+
constructor(name: string, args: QaApplicationArgs, opts?: pulumi.CustomResourceOptions);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Input properties used for looking up and filtering QaApplication resources.
|
|
97
|
+
*/
|
|
98
|
+
export interface QaApplicationState {
|
|
99
|
+
/**
|
|
100
|
+
* The URL of the Q&A Application.
|
|
101
|
+
*/
|
|
102
|
+
applicationUrl?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The deployment ID of the Q&A Application.
|
|
105
|
+
*/
|
|
106
|
+
deploymentId?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether external access is enabled for the Q&A Application.
|
|
109
|
+
*/
|
|
110
|
+
externalAccessEnabled?: pulumi.Input<boolean>;
|
|
111
|
+
/**
|
|
112
|
+
* The list of external email addresses that have access to the Q&A Application.
|
|
113
|
+
*/
|
|
114
|
+
externalAccessRecipients?: pulumi.Input<pulumi.Input<string>[]>;
|
|
115
|
+
/**
|
|
116
|
+
* The name of the Q&A Application.
|
|
117
|
+
*/
|
|
118
|
+
name?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the Q&A Application Source.
|
|
121
|
+
*/
|
|
122
|
+
sourceId?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The version ID of the Q&A Application Source.
|
|
125
|
+
*/
|
|
126
|
+
sourceVersionId?: pulumi.Input<string>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The set of arguments for constructing a QaApplication resource.
|
|
130
|
+
*/
|
|
131
|
+
export interface QaApplicationArgs {
|
|
132
|
+
/**
|
|
133
|
+
* The deployment ID of the Q&A Application.
|
|
134
|
+
*/
|
|
135
|
+
deploymentId: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Whether external access is enabled for the Q&A Application.
|
|
138
|
+
*/
|
|
139
|
+
externalAccessEnabled?: pulumi.Input<boolean>;
|
|
140
|
+
/**
|
|
141
|
+
* The list of external email addresses that have access to the Q&A Application.
|
|
142
|
+
*/
|
|
143
|
+
externalAccessRecipients?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
|
+
/**
|
|
145
|
+
* The name of the Q&A Application.
|
|
146
|
+
*/
|
|
147
|
+
name?: pulumi.Input<string>;
|
|
148
|
+
}
|
package/qaApplication.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
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.QaApplication = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Q&A Application
|
|
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
|
+
* const exampleQaApplication = new datarobot.QaApplication("exampleQaApplication", {
|
|
38
|
+
* deploymentId: exampleDeployment.id,
|
|
39
|
+
* externalAccessEnabled: true,
|
|
40
|
+
* externalAccessRecipients: ["recipient@example.com"],
|
|
41
|
+
* });
|
|
42
|
+
* export const datarobotQaApplicationId = exampleQaApplication.id;
|
|
43
|
+
* export const datarobotQaApplicationSourceId = exampleQaApplication.sourceId;
|
|
44
|
+
* export const datarobotQaApplicationSourceVersionId = exampleQaApplication.sourceVersionId;
|
|
45
|
+
* export const datarobotQaApplicationUrl = exampleQaApplication.applicationUrl;
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
class QaApplication extends pulumi.CustomResource {
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing QaApplication resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, state, opts) {
|
|
59
|
+
return new QaApplication(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of QaApplication. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj) {
|
|
66
|
+
if (obj === undefined || obj === null) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return obj['__pulumiType'] === QaApplication.__pulumiType;
|
|
70
|
+
}
|
|
71
|
+
constructor(name, argsOrState, opts) {
|
|
72
|
+
let resourceInputs = {};
|
|
73
|
+
opts = opts || {};
|
|
74
|
+
if (opts.id) {
|
|
75
|
+
const state = argsOrState;
|
|
76
|
+
resourceInputs["applicationUrl"] = state ? state.applicationUrl : undefined;
|
|
77
|
+
resourceInputs["deploymentId"] = state ? state.deploymentId : undefined;
|
|
78
|
+
resourceInputs["externalAccessEnabled"] = state ? state.externalAccessEnabled : undefined;
|
|
79
|
+
resourceInputs["externalAccessRecipients"] = state ? state.externalAccessRecipients : undefined;
|
|
80
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
81
|
+
resourceInputs["sourceId"] = state ? state.sourceId : undefined;
|
|
82
|
+
resourceInputs["sourceVersionId"] = state ? state.sourceVersionId : undefined;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const args = argsOrState;
|
|
86
|
+
if ((!args || args.deploymentId === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'deploymentId'");
|
|
88
|
+
}
|
|
89
|
+
resourceInputs["deploymentId"] = args ? args.deploymentId : undefined;
|
|
90
|
+
resourceInputs["externalAccessEnabled"] = args ? args.externalAccessEnabled : undefined;
|
|
91
|
+
resourceInputs["externalAccessRecipients"] = args ? args.externalAccessRecipients : undefined;
|
|
92
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
93
|
+
resourceInputs["applicationUrl"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["sourceId"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["sourceVersionId"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
super(QaApplication.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.QaApplication = QaApplication;
|
|
102
|
+
/** @internal */
|
|
103
|
+
QaApplication.__pulumiType = 'datarobot:index/qaApplication:QaApplication';
|
|
104
|
+
//# sourceMappingURL=qaApplication.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qaApplication.js","sourceRoot":"","sources":["../qaApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CA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C,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA5FL,sCA6FC;AA/EG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* registered model
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datarobot from "@datarobot/pulumi-datarobot";
|
|
10
|
+
*
|
|
11
|
+
* const exampleCustomModel = new datarobot.CustomModel("exampleCustomModel", {
|
|
12
|
+
* description: "Description for the example custom model",
|
|
13
|
+
* targetType: "Binary",
|
|
14
|
+
* targetName: "my_label",
|
|
15
|
+
* baseEnvironmentName: "[GenAI] Python 3.11 with Moderations",
|
|
16
|
+
* files: ["example.py"],
|
|
17
|
+
* });
|
|
18
|
+
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
|
19
|
+
* customModelVersionId: exampleCustomModel.versionId,
|
|
20
|
+
* description: "Description for the example registered model",
|
|
21
|
+
* });
|
|
22
|
+
* const examplePredictionEnvironment = new datarobot.PredictionEnvironment("examplePredictionEnvironment", {
|
|
23
|
+
* description: "Description for the example prediction environment",
|
|
24
|
+
* platform: "datarobotServerless",
|
|
25
|
+
* });
|
|
26
|
+
* export const datarobotRegisteredModelId = exampleRegisteredModel.id;
|
|
27
|
+
* export const datarobotRegisteredModelVersionId = exampleRegisteredModel.versionId;
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class RegisteredModel extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing RegisteredModel resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegisteredModelState, opts?: pulumi.CustomResourceOptions): RegisteredModel;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of RegisteredModel. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is RegisteredModel;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the custom model version for this Registered Model.
|
|
48
|
+
*/
|
|
49
|
+
readonly customModelVersionId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The description of the Registered Model.
|
|
52
|
+
*/
|
|
53
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the Registered Model.
|
|
56
|
+
*/
|
|
57
|
+
readonly name: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the Registered Model Version.
|
|
60
|
+
*/
|
|
61
|
+
readonly versionId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a RegisteredModel resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: RegisteredModelArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering RegisteredModel resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface RegisteredModelState {
|
|
75
|
+
/**
|
|
76
|
+
* The ID of the custom model version for this Registered Model.
|
|
77
|
+
*/
|
|
78
|
+
customModelVersionId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The description of the Registered Model.
|
|
81
|
+
*/
|
|
82
|
+
description?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The name of the Registered Model.
|
|
85
|
+
*/
|
|
86
|
+
name?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the Registered Model Version.
|
|
89
|
+
*/
|
|
90
|
+
versionId?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a RegisteredModel resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface RegisteredModelArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the custom model version for this Registered Model.
|
|
98
|
+
*/
|
|
99
|
+
customModelVersionId: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The description of the Registered Model.
|
|
102
|
+
*/
|
|
103
|
+
description?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the Registered Model.
|
|
106
|
+
*/
|
|
107
|
+
name?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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.RegisteredModel = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* registered model
|
|
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
|
+
* export const datarobotRegisteredModelId = exampleRegisteredModel.id;
|
|
33
|
+
* export const datarobotRegisteredModelVersionId = exampleRegisteredModel.versionId;
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class RegisteredModel extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing RegisteredModel resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new RegisteredModel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of RegisteredModel. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === RegisteredModel.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["customModelVersionId"] = state ? state.customModelVersionId : undefined;
|
|
65
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
66
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
67
|
+
resourceInputs["versionId"] = state ? state.versionId : undefined;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
const args = argsOrState;
|
|
71
|
+
if ((!args || args.customModelVersionId === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'customModelVersionId'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["customModelVersionId"] = args ? args.customModelVersionId : undefined;
|
|
75
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["versionId"] = undefined /*out*/;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(RegisteredModel.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.RegisteredModel = RegisteredModel;
|
|
84
|
+
/** @internal */
|
|
85
|
+
RegisteredModel.__pulumiType = 'datarobot:index/registeredModel:RegisteredModel';
|
|
86
|
+
//# sourceMappingURL=registeredModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registeredModel.js","sourceRoot":"","sources":["../registeredModel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAA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/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* remote repository
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datarobot from "@datarobot/pulumi-datarobot";
|
|
10
|
+
*
|
|
11
|
+
* const githubExample = new datarobot.RemoteRepository("githubExample", {
|
|
12
|
+
* description: "Description for the example remote repository",
|
|
13
|
+
* location: "https://github.com/datarobot/datarobot-user-models",
|
|
14
|
+
* sourceType: "github",
|
|
15
|
+
* });
|
|
16
|
+
* const gitlabExample = new datarobot.RemoteRepository("gitlabExample", {
|
|
17
|
+
* location: "https://gitlab.yourcompany.com/username/repository",
|
|
18
|
+
* personalAccessToken: "your_personal_access_token",
|
|
19
|
+
* sourceType: "gitlab-cloud",
|
|
20
|
+
* });
|
|
21
|
+
* const bitbucketExample = new datarobot.RemoteRepository("bitbucketExample", {
|
|
22
|
+
* location: "https://bitbucket.yourcompany.com/projects/PROJECTKEY/repos/REPONAME/browse",
|
|
23
|
+
* sourceType: "bitbucket-server",
|
|
24
|
+
* });
|
|
25
|
+
* const s3Example = new datarobot.RemoteRepository("s3Example", {
|
|
26
|
+
* location: "my-s3-bucket",
|
|
27
|
+
* sourceType: "s3",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class RemoteRepository extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing RemoteRepository resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RemoteRepositoryState, opts?: pulumi.CustomResourceOptions): RemoteRepository;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of RemoteRepository. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is RemoteRepository;
|
|
47
|
+
/**
|
|
48
|
+
* The AWS access key ID for the Remote Repository.
|
|
49
|
+
*/
|
|
50
|
+
readonly awsAccessKeyId: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* The AWS secret access key for the Remote Repository.
|
|
53
|
+
*/
|
|
54
|
+
readonly awsSecretAccessKey: pulumi.Output<string | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The AWS session token for the Remote Repository.
|
|
57
|
+
*/
|
|
58
|
+
readonly awsSessionToken: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* The description of the Remote Repository.
|
|
61
|
+
*/
|
|
62
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* The location of the Remote Repository. (Bucket name for S3)
|
|
65
|
+
*/
|
|
66
|
+
readonly location: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The name of the Remote Repository.
|
|
69
|
+
*/
|
|
70
|
+
readonly name: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The personal access token for the Remote Repository.
|
|
73
|
+
*/
|
|
74
|
+
readonly personalAccessToken: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* The source type of the Remote Repository.
|
|
77
|
+
*/
|
|
78
|
+
readonly sourceType: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Create a RemoteRepository resource with the given unique name, arguments, and options.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resource.
|
|
83
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
84
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
85
|
+
*/
|
|
86
|
+
constructor(name: string, args: RemoteRepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Input properties used for looking up and filtering RemoteRepository resources.
|
|
90
|
+
*/
|
|
91
|
+
export interface RemoteRepositoryState {
|
|
92
|
+
/**
|
|
93
|
+
* The AWS access key ID for the Remote Repository.
|
|
94
|
+
*/
|
|
95
|
+
awsAccessKeyId?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The AWS secret access key for the Remote Repository.
|
|
98
|
+
*/
|
|
99
|
+
awsSecretAccessKey?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The AWS session token for the Remote Repository.
|
|
102
|
+
*/
|
|
103
|
+
awsSessionToken?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The description of the Remote Repository.
|
|
106
|
+
*/
|
|
107
|
+
description?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The location of the Remote Repository. (Bucket name for S3)
|
|
110
|
+
*/
|
|
111
|
+
location?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the Remote Repository.
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The personal access token for the Remote Repository.
|
|
118
|
+
*/
|
|
119
|
+
personalAccessToken?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The source type of the Remote Repository.
|
|
122
|
+
*/
|
|
123
|
+
sourceType?: pulumi.Input<string>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The set of arguments for constructing a RemoteRepository resource.
|
|
127
|
+
*/
|
|
128
|
+
export interface RemoteRepositoryArgs {
|
|
129
|
+
/**
|
|
130
|
+
* The AWS access key ID for the Remote Repository.
|
|
131
|
+
*/
|
|
132
|
+
awsAccessKeyId?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The AWS secret access key for the Remote Repository.
|
|
135
|
+
*/
|
|
136
|
+
awsSecretAccessKey?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The AWS session token for the Remote Repository.
|
|
139
|
+
*/
|
|
140
|
+
awsSessionToken?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The description of the Remote Repository.
|
|
143
|
+
*/
|
|
144
|
+
description?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The location of the Remote Repository. (Bucket name for S3)
|
|
147
|
+
*/
|
|
148
|
+
location: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The name of the Remote Repository.
|
|
151
|
+
*/
|
|
152
|
+
name?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The personal access token for the Remote Repository.
|
|
155
|
+
*/
|
|
156
|
+
personalAccessToken?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The source type of the Remote Repository.
|
|
159
|
+
*/
|
|
160
|
+
sourceType: pulumi.Input<string>;
|
|
161
|
+
}
|