@datarobot/pulumi-datarobot 0.1.44 → 0.1.45
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/customModel.d.ts +2 -14
- package/customModel.js +1 -3
- package/customModel.js.map +1 -1
- package/deployment.d.ts +1 -1
- package/deployment.js +1 -1
- package/googleCloudCredential.d.ts +25 -13
- package/googleCloudCredential.js +6 -5
- package/googleCloudCredential.js.map +1 -1
- package/package.json +1 -1
- package/qaApplication.d.ts +1 -1
- package/qaApplication.js +1 -1
- package/registeredModel.d.ts +1 -1
- package/registeredModel.js +1 -1
package/customModel.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ import * as outputs from "./types/output";
|
|
|
25
25
|
* ],
|
|
26
26
|
* targetType: "Binary",
|
|
27
27
|
* targetName: "my_label",
|
|
28
|
-
*
|
|
28
|
+
* baseEnvironmentId: "65f9b27eab986d30d4c64268",
|
|
29
29
|
* });
|
|
30
30
|
* // Optional
|
|
31
31
|
* // source_remote_repositories = [
|
|
@@ -84,10 +84,6 @@ export declare class CustomModel extends pulumi.CustomResource {
|
|
|
84
84
|
* The ID of the base environment for the Custom Model.
|
|
85
85
|
*/
|
|
86
86
|
readonly baseEnvironmentId: pulumi.Output<string>;
|
|
87
|
-
/**
|
|
88
|
-
* The name of the base environment for the Custom Model.
|
|
89
|
-
*/
|
|
90
|
-
readonly baseEnvironmentName: pulumi.Output<string | undefined>;
|
|
91
87
|
/**
|
|
92
88
|
* The ID of the base environment version for the Custom Model.
|
|
93
89
|
*/
|
|
@@ -171,7 +167,7 @@ export declare class CustomModel extends pulumi.CustomResource {
|
|
|
171
167
|
/**
|
|
172
168
|
* The target type of the Custom Model.
|
|
173
169
|
*/
|
|
174
|
-
readonly targetType: pulumi.Output<string
|
|
170
|
+
readonly targetType: pulumi.Output<string>;
|
|
175
171
|
/**
|
|
176
172
|
* The name of the partition column in the training dataset assigned to the Custom Model.
|
|
177
173
|
*/
|
|
@@ -209,10 +205,6 @@ export interface CustomModelState {
|
|
|
209
205
|
* The ID of the base environment for the Custom Model.
|
|
210
206
|
*/
|
|
211
207
|
baseEnvironmentId?: pulumi.Input<string>;
|
|
212
|
-
/**
|
|
213
|
-
* The name of the base environment for the Custom Model.
|
|
214
|
-
*/
|
|
215
|
-
baseEnvironmentName?: pulumi.Input<string>;
|
|
216
208
|
/**
|
|
217
209
|
* The ID of the base environment version for the Custom Model.
|
|
218
210
|
*/
|
|
@@ -326,10 +318,6 @@ export interface CustomModelArgs {
|
|
|
326
318
|
* The ID of the base environment for the Custom Model.
|
|
327
319
|
*/
|
|
328
320
|
baseEnvironmentId?: pulumi.Input<string>;
|
|
329
|
-
/**
|
|
330
|
-
* The name of the base environment for the Custom Model.
|
|
331
|
-
*/
|
|
332
|
-
baseEnvironmentName?: pulumi.Input<string>;
|
|
333
321
|
/**
|
|
334
322
|
* The ID of the base environment version for the Custom Model.
|
|
335
323
|
*/
|
package/customModel.js
CHANGED
|
@@ -29,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* ],
|
|
30
30
|
* targetType: "Binary",
|
|
31
31
|
* targetName: "my_label",
|
|
32
|
-
*
|
|
32
|
+
* baseEnvironmentId: "65f9b27eab986d30d4c64268",
|
|
33
33
|
* });
|
|
34
34
|
* // Optional
|
|
35
35
|
* // source_remote_repositories = [
|
|
@@ -97,7 +97,6 @@ class CustomModel extends pulumi.CustomResource {
|
|
|
97
97
|
if (opts.id) {
|
|
98
98
|
const state = argsOrState;
|
|
99
99
|
resourceInputs["baseEnvironmentId"] = state ? state.baseEnvironmentId : undefined;
|
|
100
|
-
resourceInputs["baseEnvironmentName"] = state ? state.baseEnvironmentName : undefined;
|
|
101
100
|
resourceInputs["baseEnvironmentVersionId"] = state ? state.baseEnvironmentVersionId : undefined;
|
|
102
101
|
resourceInputs["classLabels"] = state ? state.classLabels : undefined;
|
|
103
102
|
resourceInputs["classLabelsFile"] = state ? state.classLabelsFile : undefined;
|
|
@@ -128,7 +127,6 @@ class CustomModel extends pulumi.CustomResource {
|
|
|
128
127
|
else {
|
|
129
128
|
const args = argsOrState;
|
|
130
129
|
resourceInputs["baseEnvironmentId"] = args ? args.baseEnvironmentId : undefined;
|
|
131
|
-
resourceInputs["baseEnvironmentName"] = args ? args.baseEnvironmentName : undefined;
|
|
132
130
|
resourceInputs["baseEnvironmentVersionId"] = args ? args.baseEnvironmentVersionId : undefined;
|
|
133
131
|
resourceInputs["classLabels"] = args ? args.classLabels : undefined;
|
|
134
132
|
resourceInputs["classLabelsFile"] = args ? args.classLabelsFile : undefined;
|
package/customModel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customModel.js","sourceRoot":"","sources":["../customModel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;
|
|
1
|
+
{"version":3,"file":"customModel.js","sourceRoot":"","sources":["../customModel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;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C,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjNL,kCAkNC;AApMG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
|
package/deployment.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import * as outputs from "./types/output";
|
|
|
14
14
|
* description: "Description for the example custom model",
|
|
15
15
|
* targetType: "Binary",
|
|
16
16
|
* targetName: "my_label",
|
|
17
|
-
*
|
|
17
|
+
* baseEnvironmentId: "65f9b27eab986d30d4c64268",
|
|
18
18
|
* files: ["example.py"],
|
|
19
19
|
* });
|
|
20
20
|
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
package/deployment.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* description: "Description for the example custom model",
|
|
19
19
|
* targetType: "Binary",
|
|
20
20
|
* targetName: "my_label",
|
|
21
|
-
*
|
|
21
|
+
* baseEnvironmentId: "65f9b27eab986d30d4c64268",
|
|
22
22
|
* files: ["example.py"],
|
|
23
23
|
* });
|
|
24
24
|
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
|
@@ -19,13 +19,17 @@ export declare class GoogleCloudCredential extends pulumi.CustomResource {
|
|
|
19
19
|
*/
|
|
20
20
|
static isInstance(obj: any): obj is GoogleCloudCredential;
|
|
21
21
|
/**
|
|
22
|
-
* The
|
|
22
|
+
* The GCP key in JSON format.
|
|
23
23
|
*/
|
|
24
|
-
readonly
|
|
24
|
+
readonly gcpKey: pulumi.Output<string | undefined>;
|
|
25
25
|
/**
|
|
26
|
-
* The
|
|
26
|
+
* The file that has the GCP key. Cannot be used with `gcpKey`.
|
|
27
27
|
*/
|
|
28
|
-
readonly
|
|
28
|
+
readonly gcpKeyFile: pulumi.Output<string | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* The name of the Google Cloud Credential.
|
|
31
|
+
*/
|
|
32
|
+
readonly name: pulumi.Output<string>;
|
|
29
33
|
/**
|
|
30
34
|
* Create a GoogleCloudCredential resource with the given unique name, arguments, and options.
|
|
31
35
|
*
|
|
@@ -33,31 +37,39 @@ export declare class GoogleCloudCredential extends pulumi.CustomResource {
|
|
|
33
37
|
* @param args The arguments to use to populate this resource's properties.
|
|
34
38
|
* @param opts A bag of options that control this resource's behavior.
|
|
35
39
|
*/
|
|
36
|
-
constructor(name: string, args
|
|
40
|
+
constructor(name: string, args?: GoogleCloudCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
41
|
}
|
|
38
42
|
/**
|
|
39
43
|
* Input properties used for looking up and filtering GoogleCloudCredential resources.
|
|
40
44
|
*/
|
|
41
45
|
export interface GoogleCloudCredentialState {
|
|
42
46
|
/**
|
|
43
|
-
* The
|
|
47
|
+
* The GCP key in JSON format.
|
|
44
48
|
*/
|
|
45
|
-
|
|
49
|
+
gcpKey?: pulumi.Input<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The file that has the GCP key. Cannot be used with `gcpKey`.
|
|
52
|
+
*/
|
|
53
|
+
gcpKeyFile?: pulumi.Input<string>;
|
|
46
54
|
/**
|
|
47
|
-
* The
|
|
55
|
+
* The name of the Google Cloud Credential.
|
|
48
56
|
*/
|
|
49
|
-
|
|
57
|
+
name?: pulumi.Input<string>;
|
|
50
58
|
}
|
|
51
59
|
/**
|
|
52
60
|
* The set of arguments for constructing a GoogleCloudCredential resource.
|
|
53
61
|
*/
|
|
54
62
|
export interface GoogleCloudCredentialArgs {
|
|
55
63
|
/**
|
|
56
|
-
* The
|
|
64
|
+
* The GCP key in JSON format.
|
|
57
65
|
*/
|
|
58
|
-
|
|
66
|
+
gcpKey?: pulumi.Input<string>;
|
|
59
67
|
/**
|
|
60
|
-
* The
|
|
68
|
+
* The file that has the GCP key. Cannot be used with `gcpKey`.
|
|
61
69
|
*/
|
|
62
|
-
|
|
70
|
+
gcpKeyFile?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The name of the Google Cloud Credential.
|
|
73
|
+
*/
|
|
74
|
+
name?: pulumi.Input<string>;
|
|
63
75
|
}
|
package/googleCloudCredential.js
CHANGED
|
@@ -36,18 +36,19 @@ class GoogleCloudCredential extends pulumi.CustomResource {
|
|
|
36
36
|
opts = opts || {};
|
|
37
37
|
if (opts.id) {
|
|
38
38
|
const state = argsOrState;
|
|
39
|
+
resourceInputs["gcpKey"] = state ? state.gcpKey : undefined;
|
|
40
|
+
resourceInputs["gcpKeyFile"] = state ? state.gcpKeyFile : undefined;
|
|
39
41
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
40
|
-
resourceInputs["sourceFile"] = state ? state.sourceFile : undefined;
|
|
41
42
|
}
|
|
42
43
|
else {
|
|
43
44
|
const args = argsOrState;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
45
|
+
resourceInputs["gcpKey"] = (args === null || args === void 0 ? void 0 : args.gcpKey) ? pulumi.secret(args.gcpKey) : undefined;
|
|
46
|
+
resourceInputs["gcpKeyFile"] = args ? args.gcpKeyFile : undefined;
|
|
47
47
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
48
|
-
resourceInputs["sourceFile"] = args ? args.sourceFile : undefined;
|
|
49
48
|
}
|
|
50
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
50
|
+
const secretOpts = { additionalSecretOutputs: ["gcpKey"] };
|
|
51
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
51
52
|
super(GoogleCloudCredential.__pulumiType, name, resourceInputs, opts);
|
|
52
53
|
}
|
|
53
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"googleCloudCredential.js","sourceRoot":"","sources":["../googleCloudCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;
|
|
1
|
+
{"version":3,"file":"googleCloudCredential.js","sourceRoot":"","sources":["../googleCloudCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM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UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAnEL,sDAoEC;AAtDG,gBAAgB;AACO,kCAAY,GAAG,6DAA6D,CAAC"}
|
package/package.json
CHANGED
package/qaApplication.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* description: "Description for the example custom model",
|
|
13
13
|
* targetType: "Binary",
|
|
14
14
|
* targetName: "my_label",
|
|
15
|
-
*
|
|
15
|
+
* baseEnvironmentId: "65f9b27eab986d30d4c64268",
|
|
16
16
|
* files: ["example.py"],
|
|
17
17
|
* });
|
|
18
18
|
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
package/qaApplication.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* description: "Description for the example custom model",
|
|
19
19
|
* targetType: "Binary",
|
|
20
20
|
* targetName: "my_label",
|
|
21
|
-
*
|
|
21
|
+
* baseEnvironmentId: "65f9b27eab986d30d4c64268",
|
|
22
22
|
* files: ["example.py"],
|
|
23
23
|
* });
|
|
24
24
|
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
package/registeredModel.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* description: "Description for the example custom model",
|
|
13
13
|
* targetType: "Binary",
|
|
14
14
|
* targetName: "my_label",
|
|
15
|
-
*
|
|
15
|
+
* baseEnvironmentId: "65f9b27eab986d30d4c64268",
|
|
16
16
|
* files: ["example.py"],
|
|
17
17
|
* });
|
|
18
18
|
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|
package/registeredModel.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* description: "Description for the example custom model",
|
|
19
19
|
* targetType: "Binary",
|
|
20
20
|
* targetName: "my_label",
|
|
21
|
-
*
|
|
21
|
+
* baseEnvironmentId: "65f9b27eab986d30d4c64268",
|
|
22
22
|
* files: ["example.py"],
|
|
23
23
|
* });
|
|
24
24
|
* const exampleRegisteredModel = new datarobot.RegisteredModel("exampleRegisteredModel", {
|