@datarobot/pulumi-datarobot 0.9.4 → 0.10.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.
@@ -29,9 +29,9 @@ export declare class ApplicationSource extends pulumi.CustomResource {
29
29
  */
30
30
  readonly baseEnvironmentVersionId: pulumi.Output<string>;
31
31
  /**
32
- * 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.
32
+ * List of files to upload, each with a source (local path) and destination (path in application source).
33
33
  */
34
- readonly files: pulumi.Output<any | undefined>;
34
+ readonly files: pulumi.Output<outputs.ApplicationSourceFile[] | undefined>;
35
35
  /**
36
36
  * The hash of file contents for each file in files.
37
37
  */
@@ -82,9 +82,9 @@ export interface ApplicationSourceState {
82
82
  */
83
83
  baseEnvironmentVersionId?: pulumi.Input<string>;
84
84
  /**
85
- * 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.
85
+ * List of files to upload, each with a source (local path) and destination (path in application source).
86
86
  */
87
- files?: any;
87
+ files?: pulumi.Input<pulumi.Input<inputs.ApplicationSourceFile>[]>;
88
88
  /**
89
89
  * The hash of file contents for each file in files.
90
90
  */
@@ -127,9 +127,9 @@ export interface ApplicationSourceArgs {
127
127
  */
128
128
  baseEnvironmentVersionId?: pulumi.Input<string>;
129
129
  /**
130
- * 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.
130
+ * List of files to upload, each with a source (local path) and destination (path in application source).
131
131
  */
132
- files?: any;
132
+ files?: pulumi.Input<pulumi.Input<inputs.ApplicationSourceFile>[]>;
133
133
  /**
134
134
  * 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.
135
135
  */
@@ -29,9 +29,9 @@ export declare class ApplicationSourceFromTemplate extends pulumi.CustomResource
29
29
  */
30
30
  readonly baseEnvironmentVersionId: pulumi.Output<string>;
31
31
  /**
32
- * 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.
32
+ * List of files to upload, each with a source (local path) and destination (path in application source).
33
33
  */
34
- readonly files: pulumi.Output<any | undefined>;
34
+ readonly files: pulumi.Output<outputs.ApplicationSourceFromTemplateFile[] | undefined>;
35
35
  /**
36
36
  * The hash of file contents for each file in files.
37
37
  */
@@ -86,9 +86,9 @@ export interface ApplicationSourceFromTemplateState {
86
86
  */
87
87
  baseEnvironmentVersionId?: pulumi.Input<string>;
88
88
  /**
89
- * 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.
89
+ * List of files to upload, each with a source (local path) and destination (path in application source).
90
90
  */
91
- files?: any;
91
+ files?: pulumi.Input<pulumi.Input<inputs.ApplicationSourceFromTemplateFile>[]>;
92
92
  /**
93
93
  * The hash of file contents for each file in files.
94
94
  */
@@ -135,9 +135,9 @@ export interface ApplicationSourceFromTemplateArgs {
135
135
  */
136
136
  baseEnvironmentVersionId?: pulumi.Input<string>;
137
137
  /**
138
- * 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.
138
+ * List of files to upload, each with a source (local path) and destination (path in application source).
139
139
  */
140
- files?: any;
140
+ files?: pulumi.Input<pulumi.Input<inputs.ApplicationSourceFromTemplateFile>[]>;
141
141
  /**
142
142
  * 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.
143
143
  */
@@ -1,28 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Custom Application
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 exampleApplicationSource = new datarobot.ApplicationSource("exampleApplicationSource", {files: [
12
- * ["start-app.sh"],
13
- * ["streamlit-app.py"],
14
- * ]});
15
- * const exampleCustomApplication = new datarobot.CustomApplication("exampleCustomApplication", {
16
- * sourceVersionId: exampleApplicationSource.versionId,
17
- * externalAccessEnabled: true,
18
- * externalAccessRecipients: ["recipient@example.com"],
19
- * allowAutoStopping: false,
20
- * });
21
- * export const datarobotCustomApplicationId = exampleCustomApplication.id;
22
- * export const datarobotCustomApplicationSourceId = exampleCustomApplication.sourceId;
23
- * export const datarobotCustomApplicationSourceVersionId = exampleCustomApplication.sourceVersionId;
24
- * export const datarobotCustomApplicationUrl = exampleCustomApplication.applicationUrl;
25
- * ```
26
4
  */
27
5
  export declare class CustomApplication extends pulumi.CustomResource {
28
6
  /**
@@ -7,28 +7,6 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Custom 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 exampleApplicationSource = new datarobot.ApplicationSource("exampleApplicationSource", {files: [
18
- * ["start-app.sh"],
19
- * ["streamlit-app.py"],
20
- * ]});
21
- * const exampleCustomApplication = new datarobot.CustomApplication("exampleCustomApplication", {
22
- * sourceVersionId: exampleApplicationSource.versionId,
23
- * externalAccessEnabled: true,
24
- * externalAccessRecipients: ["recipient@example.com"],
25
- * allowAutoStopping: false,
26
- * });
27
- * export const datarobotCustomApplicationId = exampleCustomApplication.id;
28
- * export const datarobotCustomApplicationSourceId = exampleCustomApplication.sourceId;
29
- * export const datarobotCustomApplicationSourceVersionId = exampleCustomApplication.sourceVersionId;
30
- * export const datarobotCustomApplicationUrl = exampleCustomApplication.applicationUrl;
31
- * ```
32
10
  */
33
11
  class CustomApplication extends pulumi.CustomResource {
34
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"customApplication.js","sourceRoot":"","sources":["../customApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAA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,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,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,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAlGL,8CAmGC;AArFG,gBAAgB;AACO,8BAAY,GAAG,qDAAqD,CAAC"}
package/customJob.d.ts CHANGED
@@ -37,9 +37,9 @@ export declare class CustomJob extends pulumi.CustomResource {
37
37
  */
38
38
  readonly environmentVersionId: pulumi.Output<string>;
39
39
  /**
40
- * The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Job. If list is of strings, then basenames will be used for tuples.
40
+ * List of files to upload, each with a source (local path) and destination (path in job).
41
41
  */
42
- readonly files: pulumi.Output<any | undefined>;
42
+ readonly files: pulumi.Output<outputs.CustomJobFile[] | undefined>;
43
43
  /**
44
44
  * The hash of file contents for each file in files.
45
45
  */
@@ -106,9 +106,9 @@ export interface CustomJobState {
106
106
  */
107
107
  environmentVersionId?: pulumi.Input<string>;
108
108
  /**
109
- * The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Job. If list is of strings, then basenames will be used for tuples.
109
+ * List of files to upload, each with a source (local path) and destination (path in job).
110
110
  */
111
- files?: any;
111
+ files?: pulumi.Input<pulumi.Input<inputs.CustomJobFile>[]>;
112
112
  /**
113
113
  * The hash of file contents for each file in files.
114
114
  */
@@ -167,9 +167,9 @@ export interface CustomJobArgs {
167
167
  */
168
168
  environmentVersionId?: pulumi.Input<string>;
169
169
  /**
170
- * The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Job. If list is of strings, then basenames will be used for tuples.
170
+ * List of files to upload, each with a source (local path) and destination (path in job).
171
171
  */
172
- files?: any;
172
+ files?: pulumi.Input<pulumi.Input<inputs.CustomJobFile>[]>;
173
173
  /**
174
174
  * The path to a folder containing files to be uploaded. Each file in the folder is uploaded under path relative to a folder path.
175
175
  */
@@ -69,9 +69,9 @@ export declare class CustomMetricJob extends pulumi.CustomResource {
69
69
  */
70
70
  readonly environmentVersionId: pulumi.Output<string>;
71
71
  /**
72
- * The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Job. If list is of strings, then basenames will be used for tuples.
72
+ * List of files to upload, each with a source (local path) and destination (path in job).
73
73
  */
74
- readonly files: pulumi.Output<any | undefined>;
74
+ readonly files: pulumi.Output<outputs.CustomMetricJobFile[] | undefined>;
75
75
  /**
76
76
  * The hash of file contents for each file in files.
77
77
  */
@@ -146,9 +146,9 @@ export interface CustomMetricJobState {
146
146
  */
147
147
  environmentVersionId?: pulumi.Input<string>;
148
148
  /**
149
- * The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Job. If list is of strings, then basenames will be used for tuples.
149
+ * List of files to upload, each with a source (local path) and destination (path in job).
150
150
  */
151
- files?: any;
151
+ files?: pulumi.Input<pulumi.Input<inputs.CustomMetricJobFile>[]>;
152
152
  /**
153
153
  * The hash of file contents for each file in files.
154
154
  */
@@ -215,9 +215,9 @@ export interface CustomMetricJobArgs {
215
215
  */
216
216
  environmentVersionId?: pulumi.Input<string>;
217
217
  /**
218
- * The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Job. If list is of strings, then basenames will be used for tuples.
218
+ * List of files to upload, each with a source (local path) and destination (path in job).
219
219
  */
220
- files?: any;
220
+ files?: pulumi.Input<pulumi.Input<inputs.CustomMetricJobFile>[]>;
221
221
  /**
222
222
  * The path to a folder containing files to be uploaded. Each file in the folder is uploaded under path relative to a folder path.
223
223
  */
package/customModel.d.ts CHANGED
@@ -103,9 +103,9 @@ export declare class CustomModel extends pulumi.CustomResource {
103
103
  */
104
104
  readonly description: pulumi.Output<string>;
105
105
  /**
106
- * 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.
106
+ * List of files to upload, each with a source (local path) and destination (path in model).
107
107
  */
108
- readonly files: pulumi.Output<any | undefined>;
108
+ readonly files: pulumi.Output<outputs.CustomModelFile[] | undefined>;
109
109
  /**
110
110
  * The hash of file contents for each file in files.
111
111
  */
@@ -248,9 +248,9 @@ export interface CustomModelState {
248
248
  */
249
249
  description?: pulumi.Input<string>;
250
250
  /**
251
- * 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.
251
+ * List of files to upload, each with a source (local path) and destination (path in model).
252
252
  */
253
- files?: any;
253
+ files?: pulumi.Input<pulumi.Input<inputs.CustomModelFile>[]>;
254
254
  /**
255
255
  * The hash of file contents for each file in files.
256
256
  */
@@ -381,9 +381,9 @@ export interface CustomModelArgs {
381
381
  */
382
382
  description?: pulumi.Input<string>;
383
383
  /**
384
- * 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.
384
+ * List of files to upload, each with a source (local path) and destination (path in model).
385
385
  */
386
- files?: any;
386
+ files?: pulumi.Input<pulumi.Input<inputs.CustomModelFile>[]>;
387
387
  /**
388
388
  * 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.
389
389
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarobot/pulumi-datarobot",
3
- "version": "v0.9.4",
3
+ "version": "v0.10.1",
4
4
  "description": "A Pulumi package for creating and managing DataRobot resources.",
5
5
  "keywords": [
6
6
  "datarobot",
@@ -51,6 +51,12 @@ export declare class RegisteredModel extends pulumi.CustomResource {
51
51
  * The name of the Registered Model.
52
52
  */
53
53
  readonly name: pulumi.Output<string>;
54
+ /**
55
+ * Runtime parameter values to set on the registered model
56
+ */
57
+ readonly runtimeParameterValues: pulumi.Output<{
58
+ [key: string]: string;
59
+ }[] | undefined>;
54
60
  /**
55
61
  * The list of Use Case IDs to add the Registered Model version to.
56
62
  */
@@ -88,6 +94,12 @@ export interface RegisteredModelState {
88
94
  * The name of the Registered Model.
89
95
  */
90
96
  name?: pulumi.Input<string>;
97
+ /**
98
+ * Runtime parameter values to set on the registered model
99
+ */
100
+ runtimeParameterValues?: pulumi.Input<pulumi.Input<{
101
+ [key: string]: pulumi.Input<string>;
102
+ }>[]>;
91
103
  /**
92
104
  * The list of Use Case IDs to add the Registered Model version to.
93
105
  */
@@ -117,6 +129,12 @@ export interface RegisteredModelArgs {
117
129
  * The name of the Registered Model.
118
130
  */
119
131
  name?: pulumi.Input<string>;
132
+ /**
133
+ * Runtime parameter values to set on the registered model
134
+ */
135
+ runtimeParameterValues?: pulumi.Input<pulumi.Input<{
136
+ [key: string]: pulumi.Input<string>;
137
+ }>[]>;
120
138
  /**
121
139
  * The list of Use Case IDs to add the Registered Model version to.
122
140
  */
@@ -60,6 +60,7 @@ class RegisteredModel extends pulumi.CustomResource {
60
60
  resourceInputs["customModelVersionId"] = state ? state.customModelVersionId : undefined;
61
61
  resourceInputs["description"] = state ? state.description : undefined;
62
62
  resourceInputs["name"] = state ? state.name : undefined;
63
+ resourceInputs["runtimeParameterValues"] = state ? state.runtimeParameterValues : undefined;
63
64
  resourceInputs["useCaseIds"] = state ? state.useCaseIds : undefined;
64
65
  resourceInputs["versionId"] = state ? state.versionId : undefined;
65
66
  resourceInputs["versionName"] = state ? state.versionName : undefined;
@@ -72,6 +73,7 @@ class RegisteredModel extends pulumi.CustomResource {
72
73
  resourceInputs["customModelVersionId"] = args ? args.customModelVersionId : undefined;
73
74
  resourceInputs["description"] = args ? args.description : undefined;
74
75
  resourceInputs["name"] = args ? args.name : undefined;
76
+ resourceInputs["runtimeParameterValues"] = args ? args.runtimeParameterValues : undefined;
75
77
  resourceInputs["useCaseIds"] = args ? args.useCaseIds : undefined;
76
78
  resourceInputs["versionName"] = args ? args.versionName : undefined;
77
79
  resourceInputs["versionId"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"registeredModel.js","sourceRoot":"","sources":["../registeredModel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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;IAmCD,YAAY,IA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AAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;aACvE;YACD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA5FL,0CA6FC;AA/EG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
package/types/input.d.ts CHANGED
@@ -1,5 +1,25 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
+ export interface ApplicationSourceFile {
4
+ /**
5
+ * Path in the application source.
6
+ */
7
+ destination: pulumi.Input<string>;
8
+ /**
9
+ * Local filesystem path.
10
+ */
11
+ source: pulumi.Input<string>;
12
+ }
13
+ export interface ApplicationSourceFromTemplateFile {
14
+ /**
15
+ * Path in the application source.
16
+ */
17
+ destination: pulumi.Input<string>;
18
+ /**
19
+ * Local filesystem path.
20
+ */
21
+ source: pulumi.Input<string>;
22
+ }
3
23
  export interface ApplicationSourceFromTemplateResources {
4
24
  /**
5
25
  * The replicas for the Application Source.
@@ -236,6 +256,16 @@ export interface BatchPredictionJobDefinitionTimeseriesSettings {
236
256
  */
237
257
  type?: pulumi.Input<string>;
238
258
  }
259
+ export interface CustomJobFile {
260
+ /**
261
+ * Path in the job.
262
+ */
263
+ destination: pulumi.Input<string>;
264
+ /**
265
+ * Local filesystem path.
266
+ */
267
+ source: pulumi.Input<string>;
268
+ }
239
269
  export interface CustomJobRuntimeParameterValue {
240
270
  /**
241
271
  * The name of the runtime parameter.
@@ -342,6 +372,16 @@ export interface CustomMetricFromJobValue {
342
372
  */
343
373
  columnName?: pulumi.Input<string>;
344
374
  }
375
+ export interface CustomMetricJobFile {
376
+ /**
377
+ * Path in the job.
378
+ */
379
+ destination: pulumi.Input<string>;
380
+ /**
381
+ * Local filesystem path.
382
+ */
383
+ source: pulumi.Input<string>;
384
+ }
345
385
  export interface CustomMetricJobRuntimeParameterValue {
346
386
  /**
347
387
  * The name of the runtime parameter.
@@ -378,6 +418,16 @@ export interface CustomMetricValue {
378
418
  */
379
419
  columnName?: pulumi.Input<string>;
380
420
  }
421
+ export interface CustomModelFile {
422
+ /**
423
+ * Path in the model.
424
+ */
425
+ destination: pulumi.Input<string>;
426
+ /**
427
+ * Local filesystem path.
428
+ */
429
+ source: pulumi.Input<string>;
430
+ }
381
431
  export interface CustomModelGuardConfiguration {
382
432
  /**
383
433
  * The deployment ID of this guard.
package/types/output.d.ts CHANGED
@@ -1,4 +1,24 @@
1
1
  import * as outputs from "../types/output";
2
+ export interface ApplicationSourceFile {
3
+ /**
4
+ * Path in the application source.
5
+ */
6
+ destination: string;
7
+ /**
8
+ * Local filesystem path.
9
+ */
10
+ source: string;
11
+ }
12
+ export interface ApplicationSourceFromTemplateFile {
13
+ /**
14
+ * Path in the application source.
15
+ */
16
+ destination: string;
17
+ /**
18
+ * Local filesystem path.
19
+ */
20
+ source: string;
21
+ }
2
22
  export interface ApplicationSourceFromTemplateResources {
3
23
  /**
4
24
  * The replicas for the Application Source.
@@ -235,6 +255,16 @@ export interface BatchPredictionJobDefinitionTimeseriesSettings {
235
255
  */
236
256
  type?: string;
237
257
  }
258
+ export interface CustomJobFile {
259
+ /**
260
+ * Path in the job.
261
+ */
262
+ destination: string;
263
+ /**
264
+ * Local filesystem path.
265
+ */
266
+ source: string;
267
+ }
238
268
  export interface CustomJobRuntimeParameterValue {
239
269
  /**
240
270
  * The name of the runtime parameter.
@@ -341,6 +371,16 @@ export interface CustomMetricFromJobValue {
341
371
  */
342
372
  columnName?: string;
343
373
  }
374
+ export interface CustomMetricJobFile {
375
+ /**
376
+ * Path in the job.
377
+ */
378
+ destination: string;
379
+ /**
380
+ * Local filesystem path.
381
+ */
382
+ source: string;
383
+ }
344
384
  export interface CustomMetricJobRuntimeParameterValue {
345
385
  /**
346
386
  * The name of the runtime parameter.
@@ -377,6 +417,16 @@ export interface CustomMetricValue {
377
417
  */
378
418
  columnName?: string;
379
419
  }
420
+ export interface CustomModelFile {
421
+ /**
422
+ * Path in the model.
423
+ */
424
+ destination: string;
425
+ /**
426
+ * Local filesystem path.
427
+ */
428
+ source: string;
429
+ }
380
430
  export interface CustomModelGuardConfiguration {
381
431
  /**
382
432
  * The deployment ID of this guard.