pulumi-datarobot 0.1.35__tar.gz → 0.1.36__tar.gz

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 (38) hide show
  1. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/PKG-INFO +1 -1
  2. pulumi_datarobot-0.1.36/pulumi_datarobot/dataset_from_file.py +264 -0
  3. pulumi_datarobot-0.1.36/pulumi_datarobot/prediction_environment.py +562 -0
  4. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/vector_database.py +0 -48
  5. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot.egg-info/PKG-INFO +1 -1
  6. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/setup.py +1 -1
  7. pulumi_datarobot-0.1.35/pulumi_datarobot/dataset_from_file.py +0 -218
  8. pulumi_datarobot-0.1.35/pulumi_datarobot/prediction_environment.py +0 -262
  9. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/README.md +0 -0
  10. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/__init__.py +0 -0
  11. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/_inputs.py +0 -0
  12. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/_utilities.py +0 -0
  13. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/api_token_credential.py +0 -0
  14. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/application_source.py +0 -0
  15. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/basic_credential.py +0 -0
  16. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/config/__init__.py +0 -0
  17. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/config/vars.py +0 -0
  18. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/custom_application.py +0 -0
  19. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/custom_model.py +0 -0
  20. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/deployment.py +0 -0
  21. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/get_global_model.py +0 -0
  22. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/google_cloud_credential.py +0 -0
  23. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/llm_blueprint.py +0 -0
  24. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/outputs.py +0 -0
  25. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/playground.py +0 -0
  26. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/provider.py +0 -0
  27. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/pulumi-plugin.json +0 -0
  28. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/py.typed +0 -0
  29. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/qa_application.py +0 -0
  30. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/registered_model.py +0 -0
  31. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/remote_repository.py +0 -0
  32. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot/use_case.py +0 -0
  33. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot.egg-info/SOURCES.txt +0 -0
  34. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
  35. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
  36. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot.egg-info/requires.txt +0 -0
  37. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/pulumi_datarobot.egg-info/top_level.txt +0 -0
  38. {pulumi_datarobot-0.1.35 → pulumi_datarobot-0.1.36}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_datarobot
3
- Version: 0.1.35
3
+ Version: 0.1.36
4
4
  Summary: A Pulumi package for creating and managing DataRobot resources.
5
5
  Home-page: https://www.datarobot.com
6
6
  License: Apache-2.0
@@ -0,0 +1,264 @@
1
+ # coding=utf-8
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
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+
12
+ __all__ = ['DatasetFromFileArgs', 'DatasetFromFile']
13
+
14
+ @pulumi.input_type
15
+ class DatasetFromFileArgs:
16
+ def __init__(__self__, *,
17
+ file_path: pulumi.Input[str],
18
+ name: Optional[pulumi.Input[str]] = None,
19
+ use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
20
+ """
21
+ The set of arguments for constructing a DatasetFromFile resource.
22
+ :param pulumi.Input[str] file_path: The path to the file to upload.
23
+ :param pulumi.Input[str] name: The name of the Dataset. Defaults to the file name.
24
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Dataset to.
25
+ """
26
+ pulumi.set(__self__, "file_path", file_path)
27
+ if name is not None:
28
+ pulumi.set(__self__, "name", name)
29
+ if use_case_ids is not None:
30
+ pulumi.set(__self__, "use_case_ids", use_case_ids)
31
+
32
+ @property
33
+ @pulumi.getter(name="filePath")
34
+ def file_path(self) -> pulumi.Input[str]:
35
+ """
36
+ The path to the file to upload.
37
+ """
38
+ return pulumi.get(self, "file_path")
39
+
40
+ @file_path.setter
41
+ def file_path(self, value: pulumi.Input[str]):
42
+ pulumi.set(self, "file_path", value)
43
+
44
+ @property
45
+ @pulumi.getter
46
+ def name(self) -> Optional[pulumi.Input[str]]:
47
+ """
48
+ The name of the Dataset. Defaults to the file name.
49
+ """
50
+ return pulumi.get(self, "name")
51
+
52
+ @name.setter
53
+ def name(self, value: Optional[pulumi.Input[str]]):
54
+ pulumi.set(self, "name", value)
55
+
56
+ @property
57
+ @pulumi.getter(name="useCaseIds")
58
+ def use_case_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
59
+ """
60
+ The list of Use Case IDs to add the Dataset to.
61
+ """
62
+ return pulumi.get(self, "use_case_ids")
63
+
64
+ @use_case_ids.setter
65
+ def use_case_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
66
+ pulumi.set(self, "use_case_ids", value)
67
+
68
+
69
+ @pulumi.input_type
70
+ class _DatasetFromFileState:
71
+ def __init__(__self__, *,
72
+ file_path: Optional[pulumi.Input[str]] = None,
73
+ name: Optional[pulumi.Input[str]] = None,
74
+ use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
75
+ """
76
+ Input properties used for looking up and filtering DatasetFromFile resources.
77
+ :param pulumi.Input[str] file_path: The path to the file to upload.
78
+ :param pulumi.Input[str] name: The name of the Dataset. Defaults to the file name.
79
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Dataset to.
80
+ """
81
+ if file_path is not None:
82
+ pulumi.set(__self__, "file_path", file_path)
83
+ if name is not None:
84
+ pulumi.set(__self__, "name", name)
85
+ if use_case_ids is not None:
86
+ pulumi.set(__self__, "use_case_ids", use_case_ids)
87
+
88
+ @property
89
+ @pulumi.getter(name="filePath")
90
+ def file_path(self) -> Optional[pulumi.Input[str]]:
91
+ """
92
+ The path to the file to upload.
93
+ """
94
+ return pulumi.get(self, "file_path")
95
+
96
+ @file_path.setter
97
+ def file_path(self, value: Optional[pulumi.Input[str]]):
98
+ pulumi.set(self, "file_path", value)
99
+
100
+ @property
101
+ @pulumi.getter
102
+ def name(self) -> Optional[pulumi.Input[str]]:
103
+ """
104
+ The name of the Dataset. Defaults to the file name.
105
+ """
106
+ return pulumi.get(self, "name")
107
+
108
+ @name.setter
109
+ def name(self, value: Optional[pulumi.Input[str]]):
110
+ pulumi.set(self, "name", value)
111
+
112
+ @property
113
+ @pulumi.getter(name="useCaseIds")
114
+ def use_case_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
115
+ """
116
+ The list of Use Case IDs to add the Dataset to.
117
+ """
118
+ return pulumi.get(self, "use_case_ids")
119
+
120
+ @use_case_ids.setter
121
+ def use_case_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
122
+ pulumi.set(self, "use_case_ids", value)
123
+
124
+
125
+ class DatasetFromFile(pulumi.CustomResource):
126
+ @overload
127
+ def __init__(__self__,
128
+ resource_name: str,
129
+ opts: Optional[pulumi.ResourceOptions] = None,
130
+ file_path: Optional[pulumi.Input[str]] = None,
131
+ name: Optional[pulumi.Input[str]] = None,
132
+ use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
133
+ __props__=None):
134
+ """
135
+ Data set from file
136
+
137
+ ## Example Usage
138
+
139
+ ```python
140
+ import pulumi
141
+ import pulumi_datarobot as datarobot
142
+
143
+ example = datarobot.DatasetFromFile("example",
144
+ file_path="[Path to file to upload]",
145
+ use_case_ids=[datarobot_use_case["example"]["id"]])
146
+ pulumi.export("exampleId", example.id)
147
+ ```
148
+
149
+ :param str resource_name: The name of the resource.
150
+ :param pulumi.ResourceOptions opts: Options for the resource.
151
+ :param pulumi.Input[str] file_path: The path to the file to upload.
152
+ :param pulumi.Input[str] name: The name of the Dataset. Defaults to the file name.
153
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Dataset to.
154
+ """
155
+ ...
156
+ @overload
157
+ def __init__(__self__,
158
+ resource_name: str,
159
+ args: DatasetFromFileArgs,
160
+ opts: Optional[pulumi.ResourceOptions] = None):
161
+ """
162
+ Data set from file
163
+
164
+ ## Example Usage
165
+
166
+ ```python
167
+ import pulumi
168
+ import pulumi_datarobot as datarobot
169
+
170
+ example = datarobot.DatasetFromFile("example",
171
+ file_path="[Path to file to upload]",
172
+ use_case_ids=[datarobot_use_case["example"]["id"]])
173
+ pulumi.export("exampleId", example.id)
174
+ ```
175
+
176
+ :param str resource_name: The name of the resource.
177
+ :param DatasetFromFileArgs args: The arguments to use to populate this resource's properties.
178
+ :param pulumi.ResourceOptions opts: Options for the resource.
179
+ """
180
+ ...
181
+ def __init__(__self__, resource_name: str, *args, **kwargs):
182
+ resource_args, opts = _utilities.get_resource_args_opts(DatasetFromFileArgs, pulumi.ResourceOptions, *args, **kwargs)
183
+ if resource_args is not None:
184
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
185
+ else:
186
+ __self__._internal_init(resource_name, *args, **kwargs)
187
+
188
+ def _internal_init(__self__,
189
+ resource_name: str,
190
+ opts: Optional[pulumi.ResourceOptions] = None,
191
+ file_path: Optional[pulumi.Input[str]] = None,
192
+ name: Optional[pulumi.Input[str]] = None,
193
+ use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
194
+ __props__=None):
195
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
196
+ if not isinstance(opts, pulumi.ResourceOptions):
197
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
198
+ if opts.id is None:
199
+ if __props__ is not None:
200
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
201
+ __props__ = DatasetFromFileArgs.__new__(DatasetFromFileArgs)
202
+
203
+ if file_path is None and not opts.urn:
204
+ raise TypeError("Missing required property 'file_path'")
205
+ __props__.__dict__["file_path"] = file_path
206
+ __props__.__dict__["name"] = name
207
+ __props__.__dict__["use_case_ids"] = use_case_ids
208
+ super(DatasetFromFile, __self__).__init__(
209
+ 'datarobot:index/datasetFromFile:DatasetFromFile',
210
+ resource_name,
211
+ __props__,
212
+ opts)
213
+
214
+ @staticmethod
215
+ def get(resource_name: str,
216
+ id: pulumi.Input[str],
217
+ opts: Optional[pulumi.ResourceOptions] = None,
218
+ file_path: Optional[pulumi.Input[str]] = None,
219
+ name: Optional[pulumi.Input[str]] = None,
220
+ use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'DatasetFromFile':
221
+ """
222
+ Get an existing DatasetFromFile resource's state with the given name, id, and optional extra
223
+ properties used to qualify the lookup.
224
+
225
+ :param str resource_name: The unique name of the resulting resource.
226
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
227
+ :param pulumi.ResourceOptions opts: Options for the resource.
228
+ :param pulumi.Input[str] file_path: The path to the file to upload.
229
+ :param pulumi.Input[str] name: The name of the Dataset. Defaults to the file name.
230
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Dataset to.
231
+ """
232
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
233
+
234
+ __props__ = _DatasetFromFileState.__new__(_DatasetFromFileState)
235
+
236
+ __props__.__dict__["file_path"] = file_path
237
+ __props__.__dict__["name"] = name
238
+ __props__.__dict__["use_case_ids"] = use_case_ids
239
+ return DatasetFromFile(resource_name, opts=opts, __props__=__props__)
240
+
241
+ @property
242
+ @pulumi.getter(name="filePath")
243
+ def file_path(self) -> pulumi.Output[str]:
244
+ """
245
+ The path to the file to upload.
246
+ """
247
+ return pulumi.get(self, "file_path")
248
+
249
+ @property
250
+ @pulumi.getter
251
+ def name(self) -> pulumi.Output[str]:
252
+ """
253
+ The name of the Dataset. Defaults to the file name.
254
+ """
255
+ return pulumi.get(self, "name")
256
+
257
+ @property
258
+ @pulumi.getter(name="useCaseIds")
259
+ def use_case_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
260
+ """
261
+ The list of Use Case IDs to add the Dataset to.
262
+ """
263
+ return pulumi.get(self, "use_case_ids")
264
+