@datarobot/pulumi-datarobot 0.4.8 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/batchPredictionJobDefinition.d.ts +347 -0
- package/batchPredictionJobDefinition.js +106 -0
- package/batchPredictionJobDefinition.js.map +1 -0
- package/customMetricFromJob.d.ts +186 -0
- package/customMetricFromJob.js +91 -0
- package/customMetricFromJob.js.map +1 -0
- package/customMetricJob.d.ts +253 -0
- package/customMetricJob.js +110 -0
- package/customMetricJob.js.map +1 -0
- package/index.d.ts +9 -0
- package/index.js +16 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +258 -0
- package/types/output.d.ts +258 -0
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Batch Prediction Job Definition
|
|
6
|
+
*/
|
|
7
|
+
export declare class BatchPredictionJobDefinition extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing BatchPredictionJobDefinition resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BatchPredictionJobDefinitionState, opts?: pulumi.CustomResourceOptions): BatchPredictionJobDefinition;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of BatchPredictionJobDefinition. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is BatchPredictionJobDefinition;
|
|
23
|
+
/**
|
|
24
|
+
* Default behavior is to abort the job if too many rows fail scoring. This will free up resources for other jobs that may score successfully. Set to false to unconditionally score every row no matter how many errors are encountered. Defaults to True.
|
|
25
|
+
*/
|
|
26
|
+
readonly abortOnError: pulumi.Output<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* Which strategy should be used to determine the chunk size. Can be either a named strategy or a fixed size in bytes.
|
|
29
|
+
*/
|
|
30
|
+
readonly chunkSize: pulumi.Output<any | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Mapping with column renaming for output table.
|
|
33
|
+
*/
|
|
34
|
+
readonly columnNamesRemapping: pulumi.Output<{
|
|
35
|
+
[key: string]: string;
|
|
36
|
+
} | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* CSV intake and output settings.
|
|
39
|
+
*/
|
|
40
|
+
readonly csvSettings: pulumi.Output<outputs.BatchPredictionJobDefinitionCsvSettings>;
|
|
41
|
+
/**
|
|
42
|
+
* The ID of the deployment to use for the batch prediction job.
|
|
43
|
+
*/
|
|
44
|
+
readonly deploymentId: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Whether or not the job definition should be active on a scheduled basis. If True, schedule is required.
|
|
47
|
+
*/
|
|
48
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
49
|
+
/**
|
|
50
|
+
* Which algorithm will be used to calculate prediction explanations.
|
|
51
|
+
*/
|
|
52
|
+
readonly explanationAlgorithm: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Include the predictionStatus column in the output. Defaults to False.
|
|
55
|
+
*/
|
|
56
|
+
readonly includePredictionStatus: pulumi.Output<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* Flag that enables returning of all probability columns. Defaults to True.
|
|
59
|
+
*/
|
|
60
|
+
readonly includeProbabilities: pulumi.Output<boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* List the subset of classes if a user doesn’t want all the classes. Defaults to [].
|
|
63
|
+
*/
|
|
64
|
+
readonly includeProbabilitiesClasses: pulumi.Output<string[] | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* A dict configuring how data is coming from.
|
|
67
|
+
*/
|
|
68
|
+
readonly intakeSettings: pulumi.Output<outputs.BatchPredictionJobDefinitionIntakeSettings>;
|
|
69
|
+
/**
|
|
70
|
+
* Compute prediction explanations for this amount of features.
|
|
71
|
+
*/
|
|
72
|
+
readonly maxExplanations: pulumi.Output<number>;
|
|
73
|
+
/**
|
|
74
|
+
* The name you want your job to be identified with. Must be unique across the organization’s existing jobs.
|
|
75
|
+
*/
|
|
76
|
+
readonly name: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Number of concurrent chunks to score simultaneously. Defaults to the available number of cores of the deployment. Lower it to leave resources for real-time scoring.
|
|
79
|
+
*/
|
|
80
|
+
readonly numConcurrent: pulumi.Output<number | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* A dict configuring how scored data is to be saved.
|
|
83
|
+
*/
|
|
84
|
+
readonly outputSettings: pulumi.Output<outputs.BatchPredictionJobDefinitionOutputSettings>;
|
|
85
|
+
/**
|
|
86
|
+
* Keep these columns from the scoring dataset in the scored dataset. This is useful for correlating predictions with source data.
|
|
87
|
+
*/
|
|
88
|
+
readonly passthroughColumns: pulumi.Output<string[] | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* To pass through every column from the scoring dataset, set this to all.
|
|
91
|
+
*/
|
|
92
|
+
readonly passthroughColumnsSet: pulumi.Output<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Defaults to instance specified by deployment or system configuration.
|
|
95
|
+
*/
|
|
96
|
+
readonly predictionInstance: pulumi.Output<outputs.BatchPredictionJobDefinitionPredictionInstance | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Threshold is the point that sets the class boundary for a predicted value. This value can be set between 0.0 and 1.0.
|
|
99
|
+
*/
|
|
100
|
+
readonly predictionThreshold: pulumi.Output<number | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Add prediction warnings to the scored data. Currently only supported for regression models. Defaults to False.
|
|
103
|
+
*/
|
|
104
|
+
readonly predictionWarningEnabled: pulumi.Output<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* Defines at what intervals the job should run.
|
|
107
|
+
*/
|
|
108
|
+
readonly schedule: pulumi.Output<outputs.BatchPredictionJobDefinitionSchedule | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Skips drift tracking on any predictions made from this job. This is useful when running non-production workloads to not affect drift tracking and cause unnecessary alerts. Defaults to false.
|
|
111
|
+
*/
|
|
112
|
+
readonly skipDriftTracking: pulumi.Output<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* Only compute prediction explanations for predictions above this threshold. Can be combined with threshold_low.
|
|
115
|
+
*/
|
|
116
|
+
readonly thresholdHigh: pulumi.Output<number | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Only compute prediction explanations for predictions below this threshold. Can be combined with threshold_high.
|
|
119
|
+
*/
|
|
120
|
+
readonly thresholdLow: pulumi.Output<number | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* Configuration for time-series scoring.
|
|
123
|
+
*/
|
|
124
|
+
readonly timeseriesSettings: pulumi.Output<outputs.BatchPredictionJobDefinitionTimeseriesSettings | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* Create a BatchPredictionJobDefinition resource with the given unique name, arguments, and options.
|
|
127
|
+
*
|
|
128
|
+
* @param name The _unique_ name of the resource.
|
|
129
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
130
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
131
|
+
*/
|
|
132
|
+
constructor(name: string, args: BatchPredictionJobDefinitionArgs, opts?: pulumi.CustomResourceOptions);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Input properties used for looking up and filtering BatchPredictionJobDefinition resources.
|
|
136
|
+
*/
|
|
137
|
+
export interface BatchPredictionJobDefinitionState {
|
|
138
|
+
/**
|
|
139
|
+
* Default behavior is to abort the job if too many rows fail scoring. This will free up resources for other jobs that may score successfully. Set to false to unconditionally score every row no matter how many errors are encountered. Defaults to True.
|
|
140
|
+
*/
|
|
141
|
+
abortOnError?: pulumi.Input<boolean>;
|
|
142
|
+
/**
|
|
143
|
+
* Which strategy should be used to determine the chunk size. Can be either a named strategy or a fixed size in bytes.
|
|
144
|
+
*/
|
|
145
|
+
chunkSize?: any;
|
|
146
|
+
/**
|
|
147
|
+
* Mapping with column renaming for output table.
|
|
148
|
+
*/
|
|
149
|
+
columnNamesRemapping?: pulumi.Input<{
|
|
150
|
+
[key: string]: pulumi.Input<string>;
|
|
151
|
+
}>;
|
|
152
|
+
/**
|
|
153
|
+
* CSV intake and output settings.
|
|
154
|
+
*/
|
|
155
|
+
csvSettings?: pulumi.Input<inputs.BatchPredictionJobDefinitionCsvSettings>;
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the deployment to use for the batch prediction job.
|
|
158
|
+
*/
|
|
159
|
+
deploymentId?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Whether or not the job definition should be active on a scheduled basis. If True, schedule is required.
|
|
162
|
+
*/
|
|
163
|
+
enabled?: pulumi.Input<boolean>;
|
|
164
|
+
/**
|
|
165
|
+
* Which algorithm will be used to calculate prediction explanations.
|
|
166
|
+
*/
|
|
167
|
+
explanationAlgorithm?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Include the predictionStatus column in the output. Defaults to False.
|
|
170
|
+
*/
|
|
171
|
+
includePredictionStatus?: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* Flag that enables returning of all probability columns. Defaults to True.
|
|
174
|
+
*/
|
|
175
|
+
includeProbabilities?: pulumi.Input<boolean>;
|
|
176
|
+
/**
|
|
177
|
+
* List the subset of classes if a user doesn’t want all the classes. Defaults to [].
|
|
178
|
+
*/
|
|
179
|
+
includeProbabilitiesClasses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
180
|
+
/**
|
|
181
|
+
* A dict configuring how data is coming from.
|
|
182
|
+
*/
|
|
183
|
+
intakeSettings?: pulumi.Input<inputs.BatchPredictionJobDefinitionIntakeSettings>;
|
|
184
|
+
/**
|
|
185
|
+
* Compute prediction explanations for this amount of features.
|
|
186
|
+
*/
|
|
187
|
+
maxExplanations?: pulumi.Input<number>;
|
|
188
|
+
/**
|
|
189
|
+
* The name you want your job to be identified with. Must be unique across the organization’s existing jobs.
|
|
190
|
+
*/
|
|
191
|
+
name?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Number of concurrent chunks to score simultaneously. Defaults to the available number of cores of the deployment. Lower it to leave resources for real-time scoring.
|
|
194
|
+
*/
|
|
195
|
+
numConcurrent?: pulumi.Input<number>;
|
|
196
|
+
/**
|
|
197
|
+
* A dict configuring how scored data is to be saved.
|
|
198
|
+
*/
|
|
199
|
+
outputSettings?: pulumi.Input<inputs.BatchPredictionJobDefinitionOutputSettings>;
|
|
200
|
+
/**
|
|
201
|
+
* Keep these columns from the scoring dataset in the scored dataset. This is useful for correlating predictions with source data.
|
|
202
|
+
*/
|
|
203
|
+
passthroughColumns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
204
|
+
/**
|
|
205
|
+
* To pass through every column from the scoring dataset, set this to all.
|
|
206
|
+
*/
|
|
207
|
+
passthroughColumnsSet?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Defaults to instance specified by deployment or system configuration.
|
|
210
|
+
*/
|
|
211
|
+
predictionInstance?: pulumi.Input<inputs.BatchPredictionJobDefinitionPredictionInstance>;
|
|
212
|
+
/**
|
|
213
|
+
* Threshold is the point that sets the class boundary for a predicted value. This value can be set between 0.0 and 1.0.
|
|
214
|
+
*/
|
|
215
|
+
predictionThreshold?: pulumi.Input<number>;
|
|
216
|
+
/**
|
|
217
|
+
* Add prediction warnings to the scored data. Currently only supported for regression models. Defaults to False.
|
|
218
|
+
*/
|
|
219
|
+
predictionWarningEnabled?: pulumi.Input<boolean>;
|
|
220
|
+
/**
|
|
221
|
+
* Defines at what intervals the job should run.
|
|
222
|
+
*/
|
|
223
|
+
schedule?: pulumi.Input<inputs.BatchPredictionJobDefinitionSchedule>;
|
|
224
|
+
/**
|
|
225
|
+
* Skips drift tracking on any predictions made from this job. This is useful when running non-production workloads to not affect drift tracking and cause unnecessary alerts. Defaults to false.
|
|
226
|
+
*/
|
|
227
|
+
skipDriftTracking?: pulumi.Input<boolean>;
|
|
228
|
+
/**
|
|
229
|
+
* Only compute prediction explanations for predictions above this threshold. Can be combined with threshold_low.
|
|
230
|
+
*/
|
|
231
|
+
thresholdHigh?: pulumi.Input<number>;
|
|
232
|
+
/**
|
|
233
|
+
* Only compute prediction explanations for predictions below this threshold. Can be combined with threshold_high.
|
|
234
|
+
*/
|
|
235
|
+
thresholdLow?: pulumi.Input<number>;
|
|
236
|
+
/**
|
|
237
|
+
* Configuration for time-series scoring.
|
|
238
|
+
*/
|
|
239
|
+
timeseriesSettings?: pulumi.Input<inputs.BatchPredictionJobDefinitionTimeseriesSettings>;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* The set of arguments for constructing a BatchPredictionJobDefinition resource.
|
|
243
|
+
*/
|
|
244
|
+
export interface BatchPredictionJobDefinitionArgs {
|
|
245
|
+
/**
|
|
246
|
+
* Default behavior is to abort the job if too many rows fail scoring. This will free up resources for other jobs that may score successfully. Set to false to unconditionally score every row no matter how many errors are encountered. Defaults to True.
|
|
247
|
+
*/
|
|
248
|
+
abortOnError?: pulumi.Input<boolean>;
|
|
249
|
+
/**
|
|
250
|
+
* Which strategy should be used to determine the chunk size. Can be either a named strategy or a fixed size in bytes.
|
|
251
|
+
*/
|
|
252
|
+
chunkSize?: any;
|
|
253
|
+
/**
|
|
254
|
+
* Mapping with column renaming for output table.
|
|
255
|
+
*/
|
|
256
|
+
columnNamesRemapping?: pulumi.Input<{
|
|
257
|
+
[key: string]: pulumi.Input<string>;
|
|
258
|
+
}>;
|
|
259
|
+
/**
|
|
260
|
+
* CSV intake and output settings.
|
|
261
|
+
*/
|
|
262
|
+
csvSettings?: pulumi.Input<inputs.BatchPredictionJobDefinitionCsvSettings>;
|
|
263
|
+
/**
|
|
264
|
+
* The ID of the deployment to use for the batch prediction job.
|
|
265
|
+
*/
|
|
266
|
+
deploymentId: pulumi.Input<string>;
|
|
267
|
+
/**
|
|
268
|
+
* Whether or not the job definition should be active on a scheduled basis. If True, schedule is required.
|
|
269
|
+
*/
|
|
270
|
+
enabled?: pulumi.Input<boolean>;
|
|
271
|
+
/**
|
|
272
|
+
* Which algorithm will be used to calculate prediction explanations.
|
|
273
|
+
*/
|
|
274
|
+
explanationAlgorithm?: pulumi.Input<string>;
|
|
275
|
+
/**
|
|
276
|
+
* Include the predictionStatus column in the output. Defaults to False.
|
|
277
|
+
*/
|
|
278
|
+
includePredictionStatus?: pulumi.Input<boolean>;
|
|
279
|
+
/**
|
|
280
|
+
* Flag that enables returning of all probability columns. Defaults to True.
|
|
281
|
+
*/
|
|
282
|
+
includeProbabilities?: pulumi.Input<boolean>;
|
|
283
|
+
/**
|
|
284
|
+
* List the subset of classes if a user doesn’t want all the classes. Defaults to [].
|
|
285
|
+
*/
|
|
286
|
+
includeProbabilitiesClasses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
287
|
+
/**
|
|
288
|
+
* A dict configuring how data is coming from.
|
|
289
|
+
*/
|
|
290
|
+
intakeSettings: pulumi.Input<inputs.BatchPredictionJobDefinitionIntakeSettings>;
|
|
291
|
+
/**
|
|
292
|
+
* Compute prediction explanations for this amount of features.
|
|
293
|
+
*/
|
|
294
|
+
maxExplanations?: pulumi.Input<number>;
|
|
295
|
+
/**
|
|
296
|
+
* The name you want your job to be identified with. Must be unique across the organization’s existing jobs.
|
|
297
|
+
*/
|
|
298
|
+
name?: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* Number of concurrent chunks to score simultaneously. Defaults to the available number of cores of the deployment. Lower it to leave resources for real-time scoring.
|
|
301
|
+
*/
|
|
302
|
+
numConcurrent?: pulumi.Input<number>;
|
|
303
|
+
/**
|
|
304
|
+
* A dict configuring how scored data is to be saved.
|
|
305
|
+
*/
|
|
306
|
+
outputSettings?: pulumi.Input<inputs.BatchPredictionJobDefinitionOutputSettings>;
|
|
307
|
+
/**
|
|
308
|
+
* Keep these columns from the scoring dataset in the scored dataset. This is useful for correlating predictions with source data.
|
|
309
|
+
*/
|
|
310
|
+
passthroughColumns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
311
|
+
/**
|
|
312
|
+
* To pass through every column from the scoring dataset, set this to all.
|
|
313
|
+
*/
|
|
314
|
+
passthroughColumnsSet?: pulumi.Input<string>;
|
|
315
|
+
/**
|
|
316
|
+
* Defaults to instance specified by deployment or system configuration.
|
|
317
|
+
*/
|
|
318
|
+
predictionInstance?: pulumi.Input<inputs.BatchPredictionJobDefinitionPredictionInstance>;
|
|
319
|
+
/**
|
|
320
|
+
* Threshold is the point that sets the class boundary for a predicted value. This value can be set between 0.0 and 1.0.
|
|
321
|
+
*/
|
|
322
|
+
predictionThreshold?: pulumi.Input<number>;
|
|
323
|
+
/**
|
|
324
|
+
* Add prediction warnings to the scored data. Currently only supported for regression models. Defaults to False.
|
|
325
|
+
*/
|
|
326
|
+
predictionWarningEnabled?: pulumi.Input<boolean>;
|
|
327
|
+
/**
|
|
328
|
+
* Defines at what intervals the job should run.
|
|
329
|
+
*/
|
|
330
|
+
schedule?: pulumi.Input<inputs.BatchPredictionJobDefinitionSchedule>;
|
|
331
|
+
/**
|
|
332
|
+
* Skips drift tracking on any predictions made from this job. This is useful when running non-production workloads to not affect drift tracking and cause unnecessary alerts. Defaults to false.
|
|
333
|
+
*/
|
|
334
|
+
skipDriftTracking?: pulumi.Input<boolean>;
|
|
335
|
+
/**
|
|
336
|
+
* Only compute prediction explanations for predictions above this threshold. Can be combined with threshold_low.
|
|
337
|
+
*/
|
|
338
|
+
thresholdHigh?: pulumi.Input<number>;
|
|
339
|
+
/**
|
|
340
|
+
* Only compute prediction explanations for predictions below this threshold. Can be combined with threshold_high.
|
|
341
|
+
*/
|
|
342
|
+
thresholdLow?: pulumi.Input<number>;
|
|
343
|
+
/**
|
|
344
|
+
* Configuration for time-series scoring.
|
|
345
|
+
*/
|
|
346
|
+
timeseriesSettings?: pulumi.Input<inputs.BatchPredictionJobDefinitionTimeseriesSettings>;
|
|
347
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.BatchPredictionJobDefinition = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Batch Prediction Job Definition
|
|
10
|
+
*/
|
|
11
|
+
class BatchPredictionJobDefinition extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing BatchPredictionJobDefinition 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 BatchPredictionJobDefinition(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of BatchPredictionJobDefinition. 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'] === BatchPredictionJobDefinition.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["abortOnError"] = state ? state.abortOnError : undefined;
|
|
40
|
+
resourceInputs["chunkSize"] = state ? state.chunkSize : undefined;
|
|
41
|
+
resourceInputs["columnNamesRemapping"] = state ? state.columnNamesRemapping : undefined;
|
|
42
|
+
resourceInputs["csvSettings"] = state ? state.csvSettings : undefined;
|
|
43
|
+
resourceInputs["deploymentId"] = state ? state.deploymentId : undefined;
|
|
44
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
45
|
+
resourceInputs["explanationAlgorithm"] = state ? state.explanationAlgorithm : undefined;
|
|
46
|
+
resourceInputs["includePredictionStatus"] = state ? state.includePredictionStatus : undefined;
|
|
47
|
+
resourceInputs["includeProbabilities"] = state ? state.includeProbabilities : undefined;
|
|
48
|
+
resourceInputs["includeProbabilitiesClasses"] = state ? state.includeProbabilitiesClasses : undefined;
|
|
49
|
+
resourceInputs["intakeSettings"] = state ? state.intakeSettings : undefined;
|
|
50
|
+
resourceInputs["maxExplanations"] = state ? state.maxExplanations : undefined;
|
|
51
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
52
|
+
resourceInputs["numConcurrent"] = state ? state.numConcurrent : undefined;
|
|
53
|
+
resourceInputs["outputSettings"] = state ? state.outputSettings : undefined;
|
|
54
|
+
resourceInputs["passthroughColumns"] = state ? state.passthroughColumns : undefined;
|
|
55
|
+
resourceInputs["passthroughColumnsSet"] = state ? state.passthroughColumnsSet : undefined;
|
|
56
|
+
resourceInputs["predictionInstance"] = state ? state.predictionInstance : undefined;
|
|
57
|
+
resourceInputs["predictionThreshold"] = state ? state.predictionThreshold : undefined;
|
|
58
|
+
resourceInputs["predictionWarningEnabled"] = state ? state.predictionWarningEnabled : undefined;
|
|
59
|
+
resourceInputs["schedule"] = state ? state.schedule : undefined;
|
|
60
|
+
resourceInputs["skipDriftTracking"] = state ? state.skipDriftTracking : undefined;
|
|
61
|
+
resourceInputs["thresholdHigh"] = state ? state.thresholdHigh : undefined;
|
|
62
|
+
resourceInputs["thresholdLow"] = state ? state.thresholdLow : undefined;
|
|
63
|
+
resourceInputs["timeseriesSettings"] = state ? state.timeseriesSettings : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.deploymentId === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'deploymentId'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.intakeSettings === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'intakeSettings'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["abortOnError"] = args ? args.abortOnError : undefined;
|
|
74
|
+
resourceInputs["chunkSize"] = args ? args.chunkSize : undefined;
|
|
75
|
+
resourceInputs["columnNamesRemapping"] = args ? args.columnNamesRemapping : undefined;
|
|
76
|
+
resourceInputs["csvSettings"] = args ? args.csvSettings : undefined;
|
|
77
|
+
resourceInputs["deploymentId"] = args ? args.deploymentId : undefined;
|
|
78
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
79
|
+
resourceInputs["explanationAlgorithm"] = args ? args.explanationAlgorithm : undefined;
|
|
80
|
+
resourceInputs["includePredictionStatus"] = args ? args.includePredictionStatus : undefined;
|
|
81
|
+
resourceInputs["includeProbabilities"] = args ? args.includeProbabilities : undefined;
|
|
82
|
+
resourceInputs["includeProbabilitiesClasses"] = args ? args.includeProbabilitiesClasses : undefined;
|
|
83
|
+
resourceInputs["intakeSettings"] = args ? args.intakeSettings : undefined;
|
|
84
|
+
resourceInputs["maxExplanations"] = args ? args.maxExplanations : undefined;
|
|
85
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
86
|
+
resourceInputs["numConcurrent"] = args ? args.numConcurrent : undefined;
|
|
87
|
+
resourceInputs["outputSettings"] = args ? args.outputSettings : undefined;
|
|
88
|
+
resourceInputs["passthroughColumns"] = args ? args.passthroughColumns : undefined;
|
|
89
|
+
resourceInputs["passthroughColumnsSet"] = args ? args.passthroughColumnsSet : undefined;
|
|
90
|
+
resourceInputs["predictionInstance"] = args ? args.predictionInstance : undefined;
|
|
91
|
+
resourceInputs["predictionThreshold"] = args ? args.predictionThreshold : undefined;
|
|
92
|
+
resourceInputs["predictionWarningEnabled"] = args ? args.predictionWarningEnabled : undefined;
|
|
93
|
+
resourceInputs["schedule"] = args ? args.schedule : undefined;
|
|
94
|
+
resourceInputs["skipDriftTracking"] = args ? args.skipDriftTracking : undefined;
|
|
95
|
+
resourceInputs["thresholdHigh"] = args ? args.thresholdHigh : undefined;
|
|
96
|
+
resourceInputs["thresholdLow"] = args ? args.thresholdLow : undefined;
|
|
97
|
+
resourceInputs["timeseriesSettings"] = args ? args.timeseriesSettings : undefined;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(BatchPredictionJobDefinition.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.BatchPredictionJobDefinition = BatchPredictionJobDefinition;
|
|
104
|
+
/** @internal */
|
|
105
|
+
BatchPredictionJobDefinition.__pulumiType = 'datarobot:index/batchPredictionJobDefinition:BatchPredictionJobDefinition';
|
|
106
|
+
//# sourceMappingURL=batchPredictionJobDefinition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batchPredictionJobDefinition.js","sourceRoot":"","sources":["../batchPredictionJobDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,4BAA6B,SAAQ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c,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;SACrF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AA3ML,oEA4MC;AA9LG,gBAAgB;AACO,yCAAY,GAAG,2EAA2E,CAAC"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Custom Metric From Job
|
|
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 example = new datarobot.CustomMetricFromJob("example", {
|
|
14
|
+
* deploymentId: datarobot_deployment.example.id,
|
|
15
|
+
* customJobId: datarobot_custom_metric_job.example.id,
|
|
16
|
+
* });
|
|
17
|
+
* export const exampleId = example.id;
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class CustomMetricFromJob extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing CustomMetricFromJob resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomMetricFromJobState, opts?: pulumi.CustomResourceOptions): CustomMetricFromJob;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of CustomMetricFromJob. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is CustomMetricFromJob;
|
|
36
|
+
/**
|
|
37
|
+
* Baseline value for the metric.
|
|
38
|
+
*/
|
|
39
|
+
readonly baselineValue: pulumi.Output<number | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Batch ID source when reading values from columnar dataset like a file.
|
|
42
|
+
*/
|
|
43
|
+
readonly batch: pulumi.Output<outputs.CustomMetricFromJobBatch | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* ID of the Custom Job.
|
|
46
|
+
*/
|
|
47
|
+
readonly customJobId: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* ID of the Deployment.
|
|
50
|
+
*/
|
|
51
|
+
readonly deploymentId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Description of the metric.
|
|
54
|
+
*/
|
|
55
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Name of the metric.
|
|
58
|
+
*/
|
|
59
|
+
readonly name: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Additional parameters to be injected into the Metric Job at runtime.
|
|
62
|
+
*/
|
|
63
|
+
readonly parameterOverrides: pulumi.Output<outputs.CustomMetricFromJobParameterOverride[] | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Points to a weight column if users provide pre-aggregated metric values. Used with columnar datasets.
|
|
66
|
+
*/
|
|
67
|
+
readonly sampleCount: pulumi.Output<outputs.CustomMetricFromJobSampleCount | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Defines at what intervals the metric job should run.
|
|
70
|
+
*/
|
|
71
|
+
readonly schedule: pulumi.Output<outputs.CustomMetricFromJobSchedule | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Timestamp spoofing when reading values from file, like dataset. By default, we replicate pd.to_datetime formatting behaviour.
|
|
74
|
+
*/
|
|
75
|
+
readonly timestamp: pulumi.Output<outputs.CustomMetricFromJobTimestamp | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Value source when reading values from columnar dataset like a file.
|
|
78
|
+
*/
|
|
79
|
+
readonly value: pulumi.Output<outputs.CustomMetricFromJobValue | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a CustomMetricFromJob resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: CustomMetricFromJobArgs, opts?: pulumi.CustomResourceOptions);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Input properties used for looking up and filtering CustomMetricFromJob resources.
|
|
91
|
+
*/
|
|
92
|
+
export interface CustomMetricFromJobState {
|
|
93
|
+
/**
|
|
94
|
+
* Baseline value for the metric.
|
|
95
|
+
*/
|
|
96
|
+
baselineValue?: pulumi.Input<number>;
|
|
97
|
+
/**
|
|
98
|
+
* Batch ID source when reading values from columnar dataset like a file.
|
|
99
|
+
*/
|
|
100
|
+
batch?: pulumi.Input<inputs.CustomMetricFromJobBatch>;
|
|
101
|
+
/**
|
|
102
|
+
* ID of the Custom Job.
|
|
103
|
+
*/
|
|
104
|
+
customJobId?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* ID of the Deployment.
|
|
107
|
+
*/
|
|
108
|
+
deploymentId?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Description of the metric.
|
|
111
|
+
*/
|
|
112
|
+
description?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Name of the metric.
|
|
115
|
+
*/
|
|
116
|
+
name?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Additional parameters to be injected into the Metric Job at runtime.
|
|
119
|
+
*/
|
|
120
|
+
parameterOverrides?: pulumi.Input<pulumi.Input<inputs.CustomMetricFromJobParameterOverride>[]>;
|
|
121
|
+
/**
|
|
122
|
+
* Points to a weight column if users provide pre-aggregated metric values. Used with columnar datasets.
|
|
123
|
+
*/
|
|
124
|
+
sampleCount?: pulumi.Input<inputs.CustomMetricFromJobSampleCount>;
|
|
125
|
+
/**
|
|
126
|
+
* Defines at what intervals the metric job should run.
|
|
127
|
+
*/
|
|
128
|
+
schedule?: pulumi.Input<inputs.CustomMetricFromJobSchedule>;
|
|
129
|
+
/**
|
|
130
|
+
* Timestamp spoofing when reading values from file, like dataset. By default, we replicate pd.to_datetime formatting behaviour.
|
|
131
|
+
*/
|
|
132
|
+
timestamp?: pulumi.Input<inputs.CustomMetricFromJobTimestamp>;
|
|
133
|
+
/**
|
|
134
|
+
* Value source when reading values from columnar dataset like a file.
|
|
135
|
+
*/
|
|
136
|
+
value?: pulumi.Input<inputs.CustomMetricFromJobValue>;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The set of arguments for constructing a CustomMetricFromJob resource.
|
|
140
|
+
*/
|
|
141
|
+
export interface CustomMetricFromJobArgs {
|
|
142
|
+
/**
|
|
143
|
+
* Baseline value for the metric.
|
|
144
|
+
*/
|
|
145
|
+
baselineValue?: pulumi.Input<number>;
|
|
146
|
+
/**
|
|
147
|
+
* Batch ID source when reading values from columnar dataset like a file.
|
|
148
|
+
*/
|
|
149
|
+
batch?: pulumi.Input<inputs.CustomMetricFromJobBatch>;
|
|
150
|
+
/**
|
|
151
|
+
* ID of the Custom Job.
|
|
152
|
+
*/
|
|
153
|
+
customJobId: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* ID of the Deployment.
|
|
156
|
+
*/
|
|
157
|
+
deploymentId: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Description of the metric.
|
|
160
|
+
*/
|
|
161
|
+
description?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Name of the metric.
|
|
164
|
+
*/
|
|
165
|
+
name?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Additional parameters to be injected into the Metric Job at runtime.
|
|
168
|
+
*/
|
|
169
|
+
parameterOverrides?: pulumi.Input<pulumi.Input<inputs.CustomMetricFromJobParameterOverride>[]>;
|
|
170
|
+
/**
|
|
171
|
+
* Points to a weight column if users provide pre-aggregated metric values. Used with columnar datasets.
|
|
172
|
+
*/
|
|
173
|
+
sampleCount?: pulumi.Input<inputs.CustomMetricFromJobSampleCount>;
|
|
174
|
+
/**
|
|
175
|
+
* Defines at what intervals the metric job should run.
|
|
176
|
+
*/
|
|
177
|
+
schedule?: pulumi.Input<inputs.CustomMetricFromJobSchedule>;
|
|
178
|
+
/**
|
|
179
|
+
* Timestamp spoofing when reading values from file, like dataset. By default, we replicate pd.to_datetime formatting behaviour.
|
|
180
|
+
*/
|
|
181
|
+
timestamp?: pulumi.Input<inputs.CustomMetricFromJobTimestamp>;
|
|
182
|
+
/**
|
|
183
|
+
* Value source when reading values from columnar dataset like a file.
|
|
184
|
+
*/
|
|
185
|
+
value?: pulumi.Input<inputs.CustomMetricFromJobValue>;
|
|
186
|
+
}
|