@datarobot/pulumi-datarobot 0.1.44 → 0.1.46
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/applicationSource.d.ts +16 -0
- package/applicationSource.js +4 -0
- package/applicationSource.js.map +1 -1
- package/customModel.d.ts +18 -14
- package/customModel.js +5 -3
- package/customModel.js.map +1 -1
- package/datasetFromFile.d.ts +8 -0
- package/datasetFromFile.js +2 -0
- package/datasetFromFile.js.map +1 -1
- package/deployment.d.ts +1 -1
- package/deployment.js +1 -1
- package/getGlobalModel.js +4 -1
- package/getGlobalModel.js.map +1 -1
- package/googleCloudCredential.d.ts +33 -13
- package/googleCloudCredential.js +8 -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/applicationSource.d.ts
CHANGED
|
@@ -38,10 +38,18 @@ export declare class ApplicationSource extends pulumi.CustomResource {
|
|
|
38
38
|
* The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Application Source. If list is of strings, then basenames will be used for tuples.
|
|
39
39
|
*/
|
|
40
40
|
readonly files: pulumi.Output<any | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* The hash of file contents for each file in files.
|
|
43
|
+
*/
|
|
44
|
+
readonly filesHashes: pulumi.Output<string[]>;
|
|
41
45
|
/**
|
|
42
46
|
* The path to a folder containing files to build the Application Source. Each file in the folder is uploaded under path relative to a folder path.
|
|
43
47
|
*/
|
|
44
48
|
readonly folderPath: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The hash of the folder path contents.
|
|
51
|
+
*/
|
|
52
|
+
readonly folderPathHash: pulumi.Output<string>;
|
|
45
53
|
/**
|
|
46
54
|
* The name of the Application Source.
|
|
47
55
|
*/
|
|
@@ -75,10 +83,18 @@ export interface ApplicationSourceState {
|
|
|
75
83
|
* The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Application Source. If list is of strings, then basenames will be used for tuples.
|
|
76
84
|
*/
|
|
77
85
|
files?: any;
|
|
86
|
+
/**
|
|
87
|
+
* The hash of file contents for each file in files.
|
|
88
|
+
*/
|
|
89
|
+
filesHashes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
78
90
|
/**
|
|
79
91
|
* The path to a folder containing files to build the Application Source. Each file in the folder is uploaded under path relative to a folder path.
|
|
80
92
|
*/
|
|
81
93
|
folderPath?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The hash of the folder path contents.
|
|
96
|
+
*/
|
|
97
|
+
folderPathHash?: pulumi.Input<string>;
|
|
82
98
|
/**
|
|
83
99
|
* The name of the Application Source.
|
|
84
100
|
*/
|
package/applicationSource.js
CHANGED
|
@@ -51,7 +51,9 @@ class ApplicationSource extends pulumi.CustomResource {
|
|
|
51
51
|
if (opts.id) {
|
|
52
52
|
const state = argsOrState;
|
|
53
53
|
resourceInputs["files"] = state ? state.files : undefined;
|
|
54
|
+
resourceInputs["filesHashes"] = state ? state.filesHashes : undefined;
|
|
54
55
|
resourceInputs["folderPath"] = state ? state.folderPath : undefined;
|
|
56
|
+
resourceInputs["folderPathHash"] = state ? state.folderPathHash : undefined;
|
|
55
57
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
56
58
|
resourceInputs["resourceSettings"] = state ? state.resourceSettings : undefined;
|
|
57
59
|
resourceInputs["runtimeParameterValues"] = state ? state.runtimeParameterValues : undefined;
|
|
@@ -64,6 +66,8 @@ class ApplicationSource extends pulumi.CustomResource {
|
|
|
64
66
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
65
67
|
resourceInputs["resourceSettings"] = args ? args.resourceSettings : undefined;
|
|
66
68
|
resourceInputs["runtimeParameterValues"] = args ? args.runtimeParameterValues : undefined;
|
|
69
|
+
resourceInputs["filesHashes"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["folderPathHash"] = undefined /*out*/;
|
|
67
71
|
resourceInputs["versionId"] = undefined /*out*/;
|
|
68
72
|
}
|
|
69
73
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/applicationSource.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationSource.js","sourceRoot":"","sources":["../applicationSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;
|
|
1
|
+
{"version":3,"file":"applicationSource.js","sourceRoot":"","sources":["../applicationSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAG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_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
|
*/
|
|
@@ -112,10 +108,18 @@ export declare class CustomModel extends pulumi.CustomResource {
|
|
|
112
108
|
* The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Custom Model. If list is of strings, then basenames will be used for tuples.
|
|
113
109
|
*/
|
|
114
110
|
readonly files: pulumi.Output<any | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* The hash of file contents for each file in files.
|
|
113
|
+
*/
|
|
114
|
+
readonly filesHashes: pulumi.Output<string[]>;
|
|
115
115
|
/**
|
|
116
116
|
* The path to a folder containing files to build the Custom Model. Each file in the folder is uploaded under path relative to a folder path.
|
|
117
117
|
*/
|
|
118
118
|
readonly folderPath: pulumi.Output<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* The hash of the folder path contents.
|
|
121
|
+
*/
|
|
122
|
+
readonly folderPathHash: pulumi.Output<string>;
|
|
119
123
|
/**
|
|
120
124
|
* The guard configurations for the Custom Model.
|
|
121
125
|
*/
|
|
@@ -171,7 +175,7 @@ export declare class CustomModel extends pulumi.CustomResource {
|
|
|
171
175
|
/**
|
|
172
176
|
* The target type of the Custom Model.
|
|
173
177
|
*/
|
|
174
|
-
readonly targetType: pulumi.Output<string
|
|
178
|
+
readonly targetType: pulumi.Output<string>;
|
|
175
179
|
/**
|
|
176
180
|
* The name of the partition column in the training dataset assigned to the Custom Model.
|
|
177
181
|
*/
|
|
@@ -209,10 +213,6 @@ export interface CustomModelState {
|
|
|
209
213
|
* The ID of the base environment for the Custom Model.
|
|
210
214
|
*/
|
|
211
215
|
baseEnvironmentId?: pulumi.Input<string>;
|
|
212
|
-
/**
|
|
213
|
-
* The name of the base environment for the Custom Model.
|
|
214
|
-
*/
|
|
215
|
-
baseEnvironmentName?: pulumi.Input<string>;
|
|
216
216
|
/**
|
|
217
217
|
* The ID of the base environment version for the Custom Model.
|
|
218
218
|
*/
|
|
@@ -237,10 +237,18 @@ export interface CustomModelState {
|
|
|
237
237
|
* The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Custom Model. If list is of strings, then basenames will be used for tuples.
|
|
238
238
|
*/
|
|
239
239
|
files?: any;
|
|
240
|
+
/**
|
|
241
|
+
* The hash of file contents for each file in files.
|
|
242
|
+
*/
|
|
243
|
+
filesHashes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
240
244
|
/**
|
|
241
245
|
* The path to a folder containing files to build the Custom Model. Each file in the folder is uploaded under path relative to a folder path.
|
|
242
246
|
*/
|
|
243
247
|
folderPath?: pulumi.Input<string>;
|
|
248
|
+
/**
|
|
249
|
+
* The hash of the folder path contents.
|
|
250
|
+
*/
|
|
251
|
+
folderPathHash?: pulumi.Input<string>;
|
|
244
252
|
/**
|
|
245
253
|
* The guard configurations for the Custom Model.
|
|
246
254
|
*/
|
|
@@ -326,10 +334,6 @@ export interface CustomModelArgs {
|
|
|
326
334
|
* The ID of the base environment for the Custom Model.
|
|
327
335
|
*/
|
|
328
336
|
baseEnvironmentId?: pulumi.Input<string>;
|
|
329
|
-
/**
|
|
330
|
-
* The name of the base environment for the Custom Model.
|
|
331
|
-
*/
|
|
332
|
-
baseEnvironmentName?: pulumi.Input<string>;
|
|
333
337
|
/**
|
|
334
338
|
* The ID of the base environment version for the Custom Model.
|
|
335
339
|
*/
|
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,14 +97,15 @@ 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;
|
|
104
103
|
resourceInputs["deploymentsCount"] = state ? state.deploymentsCount : undefined;
|
|
105
104
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
106
105
|
resourceInputs["files"] = state ? state.files : undefined;
|
|
106
|
+
resourceInputs["filesHashes"] = state ? state.filesHashes : undefined;
|
|
107
107
|
resourceInputs["folderPath"] = state ? state.folderPath : undefined;
|
|
108
|
+
resourceInputs["folderPathHash"] = state ? state.folderPathHash : undefined;
|
|
108
109
|
resourceInputs["guardConfigurations"] = state ? state.guardConfigurations : undefined;
|
|
109
110
|
resourceInputs["isProxy"] = state ? state.isProxy : undefined;
|
|
110
111
|
resourceInputs["language"] = state ? state.language : undefined;
|
|
@@ -128,7 +129,6 @@ class CustomModel extends pulumi.CustomResource {
|
|
|
128
129
|
else {
|
|
129
130
|
const args = argsOrState;
|
|
130
131
|
resourceInputs["baseEnvironmentId"] = args ? args.baseEnvironmentId : undefined;
|
|
131
|
-
resourceInputs["baseEnvironmentName"] = args ? args.baseEnvironmentName : undefined;
|
|
132
132
|
resourceInputs["baseEnvironmentVersionId"] = args ? args.baseEnvironmentVersionId : undefined;
|
|
133
133
|
resourceInputs["classLabels"] = args ? args.classLabels : undefined;
|
|
134
134
|
resourceInputs["classLabelsFile"] = args ? args.classLabelsFile : undefined;
|
|
@@ -152,6 +152,8 @@ class CustomModel extends pulumi.CustomResource {
|
|
|
152
152
|
resourceInputs["trainingDataPartitionColumn"] = args ? args.trainingDataPartitionColumn : undefined;
|
|
153
153
|
resourceInputs["trainingDatasetId"] = args ? args.trainingDatasetId : undefined;
|
|
154
154
|
resourceInputs["deploymentsCount"] = undefined /*out*/;
|
|
155
|
+
resourceInputs["filesHashes"] = undefined /*out*/;
|
|
156
|
+
resourceInputs["folderPathHash"] = undefined /*out*/;
|
|
155
157
|
resourceInputs["trainingDatasetName"] = undefined /*out*/;
|
|
156
158
|
resourceInputs["trainingDatasetVersionId"] = undefined /*out*/;
|
|
157
159
|
resourceInputs["versionId"] = undefined /*out*/;
|
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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CAAC,CAAC;IAChE,CAAC;;AA7NL,kCA8NC;AAhNG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
|
package/datasetFromFile.d.ts
CHANGED
|
@@ -31,6 +31,10 @@ export declare class DatasetFromFile extends pulumi.CustomResource {
|
|
|
31
31
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
32
|
*/
|
|
33
33
|
static isInstance(obj: any): obj is DatasetFromFile;
|
|
34
|
+
/**
|
|
35
|
+
* The hash of the file contents.
|
|
36
|
+
*/
|
|
37
|
+
readonly fileHash: pulumi.Output<string>;
|
|
34
38
|
/**
|
|
35
39
|
* The path to the file to upload.
|
|
36
40
|
*/
|
|
@@ -56,6 +60,10 @@ export declare class DatasetFromFile extends pulumi.CustomResource {
|
|
|
56
60
|
* Input properties used for looking up and filtering DatasetFromFile resources.
|
|
57
61
|
*/
|
|
58
62
|
export interface DatasetFromFileState {
|
|
63
|
+
/**
|
|
64
|
+
* The hash of the file contents.
|
|
65
|
+
*/
|
|
66
|
+
fileHash?: pulumi.Input<string>;
|
|
59
67
|
/**
|
|
60
68
|
* The path to the file to upload.
|
|
61
69
|
*/
|
package/datasetFromFile.js
CHANGED
|
@@ -49,6 +49,7 @@ class DatasetFromFile extends pulumi.CustomResource {
|
|
|
49
49
|
opts = opts || {};
|
|
50
50
|
if (opts.id) {
|
|
51
51
|
const state = argsOrState;
|
|
52
|
+
resourceInputs["fileHash"] = state ? state.fileHash : undefined;
|
|
52
53
|
resourceInputs["filePath"] = state ? state.filePath : undefined;
|
|
53
54
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
54
55
|
resourceInputs["useCaseIds"] = state ? state.useCaseIds : undefined;
|
|
@@ -61,6 +62,7 @@ class DatasetFromFile extends pulumi.CustomResource {
|
|
|
61
62
|
resourceInputs["filePath"] = args ? args.filePath : undefined;
|
|
62
63
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
64
|
resourceInputs["useCaseIds"] = args ? args.useCaseIds : undefined;
|
|
65
|
+
resourceInputs["fileHash"] = undefined /*out*/;
|
|
64
66
|
}
|
|
65
67
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
68
|
super(DatasetFromFile.__pulumiType, name, resourceInputs, opts);
|
package/datasetFromFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasetFromFile.js","sourceRoot":"","sources":["../datasetFromFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;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;
|
|
1
|
+
{"version":3,"file":"datasetFromFile.js","sourceRoot":"","sources":["../datasetFromFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;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,EA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CAAC,MAAM,CAAC,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;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA1EL,0CA2EC;AA7DG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,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", {
|
package/getGlobalModel.js
CHANGED
|
@@ -41,7 +41,10 @@ exports.getGlobalModel = getGlobalModel;
|
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
43
|
function getGlobalModelOutput(args, opts) {
|
|
44
|
-
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
+
return pulumi.runtime.invokeOutput("datarobot:index/getGlobalModel:getGlobalModel", {
|
|
46
|
+
"name": args.name,
|
|
47
|
+
}, opts);
|
|
45
48
|
}
|
|
46
49
|
exports.getGlobalModelOutput = getGlobalModelOutput;
|
|
47
50
|
//# sourceMappingURL=getGlobalModel.js.map
|
package/getGlobalModel.js.map
CHANGED
|
@@ -1 +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;
|
|
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;IAChF,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;AALD,wCAKC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE;QAChF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
|
|
@@ -19,13 +19,21 @@ 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
|
+
/**
|
|
26
|
+
* The file that has the GCP key. Cannot be used with `gcpKey`.
|
|
27
|
+
*/
|
|
28
|
+
readonly gcpKeyFile: pulumi.Output<string | undefined>;
|
|
25
29
|
/**
|
|
26
|
-
* The
|
|
30
|
+
* The hash of the GCP key file contents.
|
|
27
31
|
*/
|
|
28
|
-
readonly
|
|
32
|
+
readonly gcpKeyFileHash: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the Google Cloud Credential.
|
|
35
|
+
*/
|
|
36
|
+
readonly name: pulumi.Output<string>;
|
|
29
37
|
/**
|
|
30
38
|
* Create a GoogleCloudCredential resource with the given unique name, arguments, and options.
|
|
31
39
|
*
|
|
@@ -33,31 +41,43 @@ export declare class GoogleCloudCredential extends pulumi.CustomResource {
|
|
|
33
41
|
* @param args The arguments to use to populate this resource's properties.
|
|
34
42
|
* @param opts A bag of options that control this resource's behavior.
|
|
35
43
|
*/
|
|
36
|
-
constructor(name: string, args
|
|
44
|
+
constructor(name: string, args?: GoogleCloudCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
45
|
}
|
|
38
46
|
/**
|
|
39
47
|
* Input properties used for looking up and filtering GoogleCloudCredential resources.
|
|
40
48
|
*/
|
|
41
49
|
export interface GoogleCloudCredentialState {
|
|
42
50
|
/**
|
|
43
|
-
* The
|
|
51
|
+
* The GCP key in JSON format.
|
|
44
52
|
*/
|
|
45
|
-
|
|
53
|
+
gcpKey?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The file that has the GCP key. Cannot be used with `gcpKey`.
|
|
56
|
+
*/
|
|
57
|
+
gcpKeyFile?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The hash of the GCP key file contents.
|
|
60
|
+
*/
|
|
61
|
+
gcpKeyFileHash?: pulumi.Input<string>;
|
|
46
62
|
/**
|
|
47
|
-
* The
|
|
63
|
+
* The name of the Google Cloud Credential.
|
|
48
64
|
*/
|
|
49
|
-
|
|
65
|
+
name?: pulumi.Input<string>;
|
|
50
66
|
}
|
|
51
67
|
/**
|
|
52
68
|
* The set of arguments for constructing a GoogleCloudCredential resource.
|
|
53
69
|
*/
|
|
54
70
|
export interface GoogleCloudCredentialArgs {
|
|
55
71
|
/**
|
|
56
|
-
* The
|
|
72
|
+
* The GCP key in JSON format.
|
|
57
73
|
*/
|
|
58
|
-
|
|
74
|
+
gcpKey?: pulumi.Input<string>;
|
|
59
75
|
/**
|
|
60
|
-
* The
|
|
76
|
+
* The file that has the GCP key. Cannot be used with `gcpKey`.
|
|
61
77
|
*/
|
|
62
|
-
|
|
78
|
+
gcpKeyFile?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the Google Cloud Credential.
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string>;
|
|
63
83
|
}
|
package/googleCloudCredential.js
CHANGED
|
@@ -36,18 +36,21 @@ 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;
|
|
41
|
+
resourceInputs["gcpKeyFileHash"] = state ? state.gcpKeyFileHash : undefined;
|
|
39
42
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
40
|
-
resourceInputs["sourceFile"] = state ? state.sourceFile : undefined;
|
|
41
43
|
}
|
|
42
44
|
else {
|
|
43
45
|
const args = argsOrState;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
46
|
+
resourceInputs["gcpKey"] = (args === null || args === void 0 ? void 0 : args.gcpKey) ? pulumi.secret(args.gcpKey) : undefined;
|
|
47
|
+
resourceInputs["gcpKeyFile"] = args ? args.gcpKeyFile : undefined;
|
|
47
48
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
48
|
-
resourceInputs["
|
|
49
|
+
resourceInputs["gcpKeyFileHash"] = undefined /*out*/;
|
|
49
50
|
}
|
|
50
51
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
52
|
+
const secretOpts = { additionalSecretOutputs: ["gcpKey"] };
|
|
53
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
51
54
|
super(GoogleCloudCredential.__pulumiType, name, resourceInputs, opts);
|
|
52
55
|
}
|
|
53
56
|
}
|
|
@@ -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,O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Ac,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACjF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,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;SACxD;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;;AAzEL,sDA0EC;AA5DG,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", {
|