vellum-ai 0.7.7 → 0.7.9

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.
Files changed (70) hide show
  1. package/Client.js +9 -9
  2. package/api/resources/deployments/client/Client.js +5 -5
  3. package/api/resources/documentIndexes/client/Client.js +8 -8
  4. package/api/resources/documents/client/Client.js +5 -5
  5. package/api/resources/folderEntities/client/Client.js +1 -1
  6. package/api/resources/mlModels/client/Client.d.ts +2 -0
  7. package/api/resources/mlModels/client/Client.js +7 -5
  8. package/api/resources/mlModels/client/requests/MlModelCreateRequest.d.ts +4 -2
  9. package/api/resources/sandboxes/client/Client.js +3 -3
  10. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  11. package/api/resources/testSuites/client/Client.js +4 -4
  12. package/api/resources/workflowDeployments/client/Client.js +4 -4
  13. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  14. package/api/types/MlModelExecConfig.d.ts +0 -1
  15. package/api/types/MlModelExecConfigRequest.d.ts +0 -1
  16. package/dist/Client.js +9 -9
  17. package/dist/api/resources/deployments/client/Client.js +5 -5
  18. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  19. package/dist/api/resources/documents/client/Client.js +5 -5
  20. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  21. package/dist/api/resources/mlModels/client/Client.d.ts +2 -0
  22. package/dist/api/resources/mlModels/client/Client.js +7 -5
  23. package/dist/api/resources/mlModels/client/requests/MlModelCreateRequest.d.ts +4 -2
  24. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  25. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  26. package/dist/api/resources/testSuites/client/Client.js +4 -4
  27. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  28. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  29. package/dist/api/types/MlModelExecConfig.d.ts +0 -1
  30. package/dist/api/types/MlModelExecConfigRequest.d.ts +0 -1
  31. package/dist/serialization/resources/mlModels/client/requests/MlModelCreateRequest.d.ts +2 -2
  32. package/dist/serialization/resources/mlModels/client/requests/MlModelCreateRequest.js +2 -2
  33. package/dist/serialization/types/MlModelExecConfig.d.ts +0 -1
  34. package/dist/serialization/types/MlModelExecConfig.js +0 -1
  35. package/dist/serialization/types/MlModelExecConfigRequest.d.ts +0 -1
  36. package/dist/serialization/types/MlModelExecConfigRequest.js +0 -1
  37. package/dist/terraform/data-vellum-document-index/index.d.ts +5 -5
  38. package/dist/terraform/data-vellum-document-index/index.js +5 -5
  39. package/dist/terraform/data-vellum-ml-model/index.d.ts +61 -0
  40. package/dist/terraform/data-vellum-ml-model/index.js +152 -0
  41. package/dist/terraform/document-index/index.d.ts +8 -8
  42. package/dist/terraform/document-index/index.js +5 -5
  43. package/dist/terraform/index.d.ts +2 -0
  44. package/dist/terraform/index.js +3 -1
  45. package/dist/terraform/lazy-index.js +2 -0
  46. package/dist/terraform/ml-model/index.d.ts +148 -0
  47. package/dist/terraform/ml-model/index.js +354 -0
  48. package/dist/terraform/provider/index.d.ts +16 -5
  49. package/dist/terraform/provider/index.js +26 -5
  50. package/package.json +1 -1
  51. package/reference.md +2 -0
  52. package/serialization/resources/mlModels/client/requests/MlModelCreateRequest.d.ts +2 -2
  53. package/serialization/resources/mlModels/client/requests/MlModelCreateRequest.js +2 -2
  54. package/serialization/types/MlModelExecConfig.d.ts +0 -1
  55. package/serialization/types/MlModelExecConfig.js +0 -1
  56. package/serialization/types/MlModelExecConfigRequest.d.ts +0 -1
  57. package/serialization/types/MlModelExecConfigRequest.js +0 -1
  58. package/terraform/data-vellum-document-index/index.d.ts +5 -5
  59. package/terraform/data-vellum-document-index/index.js +5 -5
  60. package/terraform/data-vellum-ml-model/index.d.ts +61 -0
  61. package/terraform/data-vellum-ml-model/index.js +152 -0
  62. package/terraform/document-index/index.d.ts +8 -8
  63. package/terraform/document-index/index.js +5 -5
  64. package/terraform/index.d.ts +2 -0
  65. package/terraform/index.js +3 -1
  66. package/terraform/lazy-index.js +2 -0
  67. package/terraform/ml-model/index.d.ts +148 -0
  68. package/terraform/ml-model/index.js +354 -0
  69. package/terraform/provider/index.d.ts +16 -5
  70. package/terraform/provider/index.js +26 -5
@@ -0,0 +1,61 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataVellumMlModelConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The ML Model's ID
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model#id DataVellumMlModel#id}
8
+ *
9
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
10
+ * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
11
+ */
12
+ readonly id?: string;
13
+ /**
14
+ * A name that uniquely identifies this ML Model
15
+ *
16
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model#name DataVellumMlModel#name}
17
+ */
18
+ readonly name?: string;
19
+ }
20
+ /**
21
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model}
22
+ */
23
+ export declare class DataVellumMlModel extends cdktf.TerraformDataSource {
24
+ static readonly tfResourceType = "vellum_ml_model";
25
+ /**
26
+ * Generates CDKTF code for importing a DataVellumMlModel resource upon running "cdktf plan <stack-name>"
27
+ * @param scope The scope in which to define this construct
28
+ * @param importToId The construct id used in the generated config for the DataVellumMlModel to import
29
+ * @param importFromId The id of the existing DataVellumMlModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model#import import section} in the documentation of this resource for the id to use
30
+ * @param provider? Optional instance of the provider where the DataVellumMlModel to import is found
31
+ */
32
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
33
+ /**
34
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model} Data Source
35
+ *
36
+ * @param scope The scope in which to define this construct
37
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
38
+ * @param options DataVellumMlModelConfig = {}
39
+ */
40
+ constructor(scope: Construct, id: string, config?: DataVellumMlModelConfig);
41
+ get developedBy(): string;
42
+ get family(): string;
43
+ get hostedBy(): string;
44
+ private _id?;
45
+ get id(): string;
46
+ set id(value: string);
47
+ resetId(): void;
48
+ get idInput(): string | undefined;
49
+ private _name?;
50
+ get name(): string;
51
+ set name(value: string);
52
+ resetName(): void;
53
+ get nameInput(): string | undefined;
54
+ get visibility(): string;
55
+ protected synthesizeAttributes(): {
56
+ [name: string]: any;
57
+ };
58
+ protected synthesizeHclAttributes(): {
59
+ [name: string]: any;
60
+ };
61
+ }
@@ -0,0 +1,152 @@
1
+ "use strict";
2
+ // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model
3
+ // generated from terraform resource schema
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.DataVellumMlModel = void 0;
29
+ const cdktf = __importStar(require("cdktf"));
30
+ /**
31
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model}
32
+ */
33
+ class DataVellumMlModel extends cdktf.TerraformDataSource {
34
+ // ===========
35
+ // INITIALIZER
36
+ // ===========
37
+ /**
38
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model} Data Source
39
+ *
40
+ * @param scope The scope in which to define this construct
41
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
42
+ * @param options DataVellumMlModelConfig = {}
43
+ */
44
+ constructor(scope, id, config = {}) {
45
+ super(scope, id, {
46
+ terraformResourceType: 'vellum_ml_model',
47
+ terraformGeneratorMetadata: {
48
+ providerName: 'vellum',
49
+ providerVersion: '0.0.7'
50
+ },
51
+ provider: config.provider,
52
+ dependsOn: config.dependsOn,
53
+ count: config.count,
54
+ lifecycle: config.lifecycle,
55
+ provisioners: config.provisioners,
56
+ connection: config.connection,
57
+ forEach: config.forEach
58
+ });
59
+ this._id = config.id;
60
+ this._name = config.name;
61
+ }
62
+ // ==============
63
+ // STATIC Methods
64
+ // ==============
65
+ /**
66
+ * Generates CDKTF code for importing a DataVellumMlModel resource upon running "cdktf plan <stack-name>"
67
+ * @param scope The scope in which to define this construct
68
+ * @param importToId The construct id used in the generated config for the DataVellumMlModel to import
69
+ * @param importFromId The id of the existing DataVellumMlModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model#import import section} in the documentation of this resource for the id to use
70
+ * @param provider? Optional instance of the provider where the DataVellumMlModel to import is found
71
+ */
72
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
73
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "vellum_ml_model", importId: importFromId, provider });
74
+ }
75
+ // ==========
76
+ // ATTRIBUTES
77
+ // ==========
78
+ // developed_by - computed: true, optional: false, required: false
79
+ get developedBy() {
80
+ return this.getStringAttribute('developed_by');
81
+ }
82
+ // family - computed: true, optional: false, required: false
83
+ get family() {
84
+ return this.getStringAttribute('family');
85
+ }
86
+ // hosted_by - computed: true, optional: false, required: false
87
+ get hostedBy() {
88
+ return this.getStringAttribute('hosted_by');
89
+ }
90
+ get id() {
91
+ return this.getStringAttribute('id');
92
+ }
93
+ set id(value) {
94
+ this._id = value;
95
+ }
96
+ resetId() {
97
+ this._id = undefined;
98
+ }
99
+ // Temporarily expose input value. Use with caution.
100
+ get idInput() {
101
+ return this._id;
102
+ }
103
+ get name() {
104
+ return this.getStringAttribute('name');
105
+ }
106
+ set name(value) {
107
+ this._name = value;
108
+ }
109
+ resetName() {
110
+ this._name = undefined;
111
+ }
112
+ // Temporarily expose input value. Use with caution.
113
+ get nameInput() {
114
+ return this._name;
115
+ }
116
+ // visibility - computed: true, optional: false, required: false
117
+ get visibility() {
118
+ return this.getStringAttribute('visibility');
119
+ }
120
+ // =========
121
+ // SYNTHESIS
122
+ // =========
123
+ synthesizeAttributes() {
124
+ return {
125
+ id: cdktf.stringToTerraform(this._id),
126
+ name: cdktf.stringToTerraform(this._name),
127
+ };
128
+ }
129
+ synthesizeHclAttributes() {
130
+ const attrs = {
131
+ id: {
132
+ value: cdktf.stringToHclTerraform(this._id),
133
+ isBlock: false,
134
+ type: "simple",
135
+ storageClassType: "string",
136
+ },
137
+ name: {
138
+ value: cdktf.stringToHclTerraform(this._name),
139
+ isBlock: false,
140
+ type: "simple",
141
+ storageClassType: "string",
142
+ },
143
+ };
144
+ // remove undefined attributes
145
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
146
+ }
147
+ }
148
+ exports.DataVellumMlModel = DataVellumMlModel;
149
+ // =================
150
+ // STATIC PROPERTIES
151
+ // =================
152
+ DataVellumMlModel.tfResourceType = "vellum_ml_model";
@@ -8,19 +8,19 @@ export interface DocumentIndexConfig extends cdktf.TerraformMetaArguments {
8
8
  * * `STAGING` - Staging
9
9
  * * `PRODUCTION` - Production
10
10
  *
11
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#environment DocumentIndex#environment}
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#environment DocumentIndex#environment}
12
12
  */
13
13
  readonly environment?: string;
14
14
  /**
15
- * A human-readable label for the document index
15
+ * A human-readable label for the Document Index
16
16
  *
17
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#label DocumentIndex#label}
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#label DocumentIndex#label}
18
18
  */
19
19
  readonly label: string;
20
20
  /**
21
21
  * A name that uniquely identifies this index within its workspace
22
22
  *
23
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#name DocumentIndex#name}
23
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#name DocumentIndex#name}
24
24
  */
25
25
  readonly name: string;
26
26
  /**
@@ -29,12 +29,12 @@ export interface DocumentIndexConfig extends cdktf.TerraformMetaArguments {
29
29
  * * `ACTIVE` - Active
30
30
  * * `ARCHIVED` - Archived
31
31
  *
32
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#status DocumentIndex#status}
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#status DocumentIndex#status}
33
33
  */
34
34
  readonly status?: string;
35
35
  }
36
36
  /**
37
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index vellum_document_index}
37
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index vellum_document_index}
38
38
  */
39
39
  export declare class DocumentIndex extends cdktf.TerraformResource {
40
40
  static readonly tfResourceType = "vellum_document_index";
@@ -42,12 +42,12 @@ export declare class DocumentIndex extends cdktf.TerraformResource {
42
42
  * Generates CDKTF code for importing a DocumentIndex resource upon running "cdktf plan <stack-name>"
43
43
  * @param scope The scope in which to define this construct
44
44
  * @param importToId The construct id used in the generated config for the DocumentIndex to import
45
- * @param importFromId The id of the existing DocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#import import section} in the documentation of this resource for the id to use
45
+ * @param importFromId The id of the existing DocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#import import section} in the documentation of this resource for the id to use
46
46
  * @param provider? Optional instance of the provider where the DocumentIndex to import is found
47
47
  */
48
48
  static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
49
49
  /**
50
- * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index vellum_document_index} Resource
50
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index vellum_document_index} Resource
51
51
  *
52
52
  * @param scope The scope in which to define this construct
53
53
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index
2
+ // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index
3
3
  // generated from terraform resource schema
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
@@ -28,14 +28,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.DocumentIndex = void 0;
29
29
  const cdktf = __importStar(require("cdktf"));
30
30
  /**
31
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index vellum_document_index}
31
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index vellum_document_index}
32
32
  */
33
33
  class DocumentIndex extends cdktf.TerraformResource {
34
34
  // ===========
35
35
  // INITIALIZER
36
36
  // ===========
37
37
  /**
38
- * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index vellum_document_index} Resource
38
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index vellum_document_index} Resource
39
39
  *
40
40
  * @param scope The scope in which to define this construct
41
41
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -46,7 +46,7 @@ class DocumentIndex extends cdktf.TerraformResource {
46
46
  terraformResourceType: 'vellum_document_index',
47
47
  terraformGeneratorMetadata: {
48
48
  providerName: 'vellum',
49
- providerVersion: '0.0.2'
49
+ providerVersion: '0.0.7'
50
50
  },
51
51
  provider: config.provider,
52
52
  dependsOn: config.dependsOn,
@@ -68,7 +68,7 @@ class DocumentIndex extends cdktf.TerraformResource {
68
68
  * Generates CDKTF code for importing a DocumentIndex resource upon running "cdktf plan <stack-name>"
69
69
  * @param scope The scope in which to define this construct
70
70
  * @param importToId The construct id used in the generated config for the DocumentIndex to import
71
- * @param importFromId The id of the existing DocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#import import section} in the documentation of this resource for the id to use
71
+ * @param importFromId The id of the existing DocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#import import section} in the documentation of this resource for the id to use
72
72
  * @param provider? Optional instance of the provider where the DocumentIndex to import is found
73
73
  */
74
74
  static generateConfigForImport(scope, importToId, importFromId, provider) {
@@ -1,3 +1,5 @@
1
1
  export * as documentIndex from './document-index';
2
+ export * as mlModel from './ml-model';
2
3
  export * as dataVellumDocumentIndex from './data-vellum-document-index';
4
+ export * as dataVellumMlModel from './data-vellum-ml-model';
3
5
  export * as provider from './provider';
@@ -23,8 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.provider = exports.dataVellumDocumentIndex = exports.documentIndex = void 0;
26
+ exports.provider = exports.dataVellumMlModel = exports.dataVellumDocumentIndex = exports.mlModel = exports.documentIndex = void 0;
27
27
  // generated by cdktf get
28
28
  exports.documentIndex = __importStar(require("./document-index"));
29
+ exports.mlModel = __importStar(require("./ml-model"));
29
30
  exports.dataVellumDocumentIndex = __importStar(require("./data-vellum-document-index"));
31
+ exports.dataVellumMlModel = __importStar(require("./data-vellum-ml-model"));
30
32
  exports.provider = __importStar(require("./provider"));
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  // generated by cdktf get
3
3
  Object.defineProperty(exports, 'documentIndex', { get: function () { return require('./document-index'); } });
4
+ Object.defineProperty(exports, 'mlModel', { get: function () { return require('./ml-model'); } });
4
5
  Object.defineProperty(exports, 'dataVellumDocumentIndex', { get: function () { return require('./data-vellum-document-index'); } });
6
+ Object.defineProperty(exports, 'dataVellumMlModel', { get: function () { return require('./data-vellum-ml-model'); } });
5
7
  Object.defineProperty(exports, 'provider', { get: function () { return require('./provider'); } });
@@ -0,0 +1,148 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface MlModelConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The organization that developed the ML Model.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#developed_by MlModel#developed_by}
8
+ */
9
+ readonly developedBy: string;
10
+ /**
11
+ * The execution configuration of the ML Model.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#exec_config MlModel#exec_config}
14
+ */
15
+ readonly execConfig: MlModelExecConfig;
16
+ /**
17
+ * The family of the ML Model.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#family MlModel#family}
20
+ */
21
+ readonly family: string;
22
+ /**
23
+ * The organization hosting the ML Model.
24
+ *
25
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#hosted_by MlModel#hosted_by}
26
+ */
27
+ readonly hostedBy: string;
28
+ /**
29
+ * A name that uniquely identifies this ML Model
30
+ *
31
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#name MlModel#name}
32
+ */
33
+ readonly name: string;
34
+ /**
35
+ * The visibility of the ML Model.
36
+ *
37
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#visibility MlModel#visibility}
38
+ */
39
+ readonly visibility: string;
40
+ }
41
+ export interface MlModelExecConfig {
42
+ /**
43
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#base_url MlModel#base_url}
44
+ */
45
+ readonly baseUrl: string;
46
+ /**
47
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#features MlModel#features}
48
+ */
49
+ readonly features: string[];
50
+ /**
51
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#metadata MlModel#metadata}
52
+ */
53
+ readonly metadata: {
54
+ [key: string]: string;
55
+ };
56
+ /**
57
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#model_identifier MlModel#model_identifier}
58
+ */
59
+ readonly modelIdentifier: string;
60
+ }
61
+ export declare function mlModelExecConfigToTerraform(struct?: MlModelExecConfig | cdktf.IResolvable): any;
62
+ export declare function mlModelExecConfigToHclTerraform(struct?: MlModelExecConfig | cdktf.IResolvable): any;
63
+ export declare class MlModelExecConfigOutputReference extends cdktf.ComplexObject {
64
+ private isEmptyObject;
65
+ private resolvableValue?;
66
+ /**
67
+ * @param terraformResource The parent resource
68
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
69
+ */
70
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
71
+ get internalValue(): MlModelExecConfig | cdktf.IResolvable | undefined;
72
+ set internalValue(value: MlModelExecConfig | cdktf.IResolvable | undefined);
73
+ private _baseUrl?;
74
+ get baseUrl(): string;
75
+ set baseUrl(value: string);
76
+ get baseUrlInput(): string | undefined;
77
+ private _features?;
78
+ get features(): string[];
79
+ set features(value: string[]);
80
+ get featuresInput(): string[] | undefined;
81
+ private _metadata?;
82
+ get metadata(): {
83
+ [key: string]: string;
84
+ };
85
+ set metadata(value: {
86
+ [key: string]: string;
87
+ });
88
+ get metadataInput(): {
89
+ [key: string]: string;
90
+ } | undefined;
91
+ private _modelIdentifier?;
92
+ get modelIdentifier(): string;
93
+ set modelIdentifier(value: string);
94
+ get modelIdentifierInput(): string | undefined;
95
+ }
96
+ /**
97
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model vellum_ml_model}
98
+ */
99
+ export declare class MlModel extends cdktf.TerraformResource {
100
+ static readonly tfResourceType = "vellum_ml_model";
101
+ /**
102
+ * Generates CDKTF code for importing a MlModel resource upon running "cdktf plan <stack-name>"
103
+ * @param scope The scope in which to define this construct
104
+ * @param importToId The construct id used in the generated config for the MlModel to import
105
+ * @param importFromId The id of the existing MlModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#import import section} in the documentation of this resource for the id to use
106
+ * @param provider? Optional instance of the provider where the MlModel to import is found
107
+ */
108
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
109
+ /**
110
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model vellum_ml_model} Resource
111
+ *
112
+ * @param scope The scope in which to define this construct
113
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
114
+ * @param options MlModelConfig
115
+ */
116
+ constructor(scope: Construct, id: string, config: MlModelConfig);
117
+ private _developedBy?;
118
+ get developedBy(): string;
119
+ set developedBy(value: string);
120
+ get developedByInput(): string | undefined;
121
+ private _execConfig;
122
+ get execConfig(): MlModelExecConfigOutputReference;
123
+ putExecConfig(value: MlModelExecConfig): void;
124
+ get execConfigInput(): MlModelExecConfig | cdktf.IResolvable | undefined;
125
+ private _family?;
126
+ get family(): string;
127
+ set family(value: string);
128
+ get familyInput(): string | undefined;
129
+ private _hostedBy?;
130
+ get hostedBy(): string;
131
+ set hostedBy(value: string);
132
+ get hostedByInput(): string | undefined;
133
+ get id(): string;
134
+ private _name?;
135
+ get name(): string;
136
+ set name(value: string);
137
+ get nameInput(): string | undefined;
138
+ private _visibility?;
139
+ get visibility(): string;
140
+ set visibility(value: string);
141
+ get visibilityInput(): string | undefined;
142
+ protected synthesizeAttributes(): {
143
+ [name: string]: any;
144
+ };
145
+ protected synthesizeHclAttributes(): {
146
+ [name: string]: any;
147
+ };
148
+ }