pulumi-datarobot 0.5.3__tar.gz → 0.6.1__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.
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/PKG-INFO +2 -2
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/_inputs.py +74 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/application_source.py +30 -62
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/outputs.py +63 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot.egg-info/PKG-INFO +2 -2
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/setup.py +2 -2
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/README.md +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/__init__.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/_utilities.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/api_token_credential.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/aws_credential.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/basic_credential.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/batch_prediction_job_definition.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/config/__init__.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/config/vars.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/custom_application.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/custom_job.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/custom_metric_from_job.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/custom_metric_job.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/custom_model.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/dataset_from_datasource.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/dataset_from_file.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/dataset_from_url.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/datasource.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/datastore.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/deployment.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/deployment_retraining_policy.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/execution_environment.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/get_execution_environment.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/get_global_model.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/google_cloud_credential.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/llm_blueprint.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/playground.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/prediction_environment.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/provider.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/pulumi-plugin.json +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/py.typed +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/qa_application.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/registered_model.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/registered_model_from_leaderboard.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/remote_repository.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/use_case.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/vector_database.py +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot.egg-info/SOURCES.txt +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot.egg-info/requires.txt +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot.egg-info/top_level.txt +0 -0
- {pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/setup.cfg +0 -0
@@ -1,13 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pulumi_datarobot
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.6.1
|
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
|
7
7
|
Project-URL: Repository, https://github.com/datarobot-community/pulumi-datarobot
|
8
8
|
Keywords: datarobot ai category/cloud
|
9
9
|
Platform: UNKNOWN
|
10
|
-
Requires-Python: >=3.
|
10
|
+
Requires-Python: >=3.9
|
11
11
|
Description-Content-Type: text/markdown
|
12
12
|
|
13
13
|
# DataRobot Resource Provider
|
@@ -15,6 +15,8 @@ else:
|
|
15
15
|
from . import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
+
'ApplicationSourceResourcesArgs',
|
19
|
+
'ApplicationSourceResourcesArgsDict',
|
18
20
|
'ApplicationSourceRuntimeParameterValueArgs',
|
19
21
|
'ApplicationSourceRuntimeParameterValueArgsDict',
|
20
22
|
'BatchPredictionJobDefinitionCsvSettingsArgs',
|
@@ -125,6 +127,78 @@ __all__ = [
|
|
125
127
|
|
126
128
|
MYPY = False
|
127
129
|
|
130
|
+
if not MYPY:
|
131
|
+
class ApplicationSourceResourcesArgsDict(TypedDict):
|
132
|
+
replicas: NotRequired[pulumi.Input[int]]
|
133
|
+
"""
|
134
|
+
The replicas for the Application Source.
|
135
|
+
"""
|
136
|
+
resource_label: NotRequired[pulumi.Input[str]]
|
137
|
+
"""
|
138
|
+
The resource label for the Application Source.
|
139
|
+
"""
|
140
|
+
session_affinity: NotRequired[pulumi.Input[bool]]
|
141
|
+
"""
|
142
|
+
The session affinity for the Application Source.
|
143
|
+
"""
|
144
|
+
elif False:
|
145
|
+
ApplicationSourceResourcesArgsDict: TypeAlias = Mapping[str, Any]
|
146
|
+
|
147
|
+
@pulumi.input_type
|
148
|
+
class ApplicationSourceResourcesArgs:
|
149
|
+
def __init__(__self__, *,
|
150
|
+
replicas: Optional[pulumi.Input[int]] = None,
|
151
|
+
resource_label: Optional[pulumi.Input[str]] = None,
|
152
|
+
session_affinity: Optional[pulumi.Input[bool]] = None):
|
153
|
+
"""
|
154
|
+
:param pulumi.Input[int] replicas: The replicas for the Application Source.
|
155
|
+
:param pulumi.Input[str] resource_label: The resource label for the Application Source.
|
156
|
+
:param pulumi.Input[bool] session_affinity: The session affinity for the Application Source.
|
157
|
+
"""
|
158
|
+
if replicas is not None:
|
159
|
+
pulumi.set(__self__, "replicas", replicas)
|
160
|
+
if resource_label is not None:
|
161
|
+
pulumi.set(__self__, "resource_label", resource_label)
|
162
|
+
if session_affinity is not None:
|
163
|
+
pulumi.set(__self__, "session_affinity", session_affinity)
|
164
|
+
|
165
|
+
@property
|
166
|
+
@pulumi.getter
|
167
|
+
def replicas(self) -> Optional[pulumi.Input[int]]:
|
168
|
+
"""
|
169
|
+
The replicas for the Application Source.
|
170
|
+
"""
|
171
|
+
return pulumi.get(self, "replicas")
|
172
|
+
|
173
|
+
@replicas.setter
|
174
|
+
def replicas(self, value: Optional[pulumi.Input[int]]):
|
175
|
+
pulumi.set(self, "replicas", value)
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter(name="resourceLabel")
|
179
|
+
def resource_label(self) -> Optional[pulumi.Input[str]]:
|
180
|
+
"""
|
181
|
+
The resource label for the Application Source.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "resource_label")
|
184
|
+
|
185
|
+
@resource_label.setter
|
186
|
+
def resource_label(self, value: Optional[pulumi.Input[str]]):
|
187
|
+
pulumi.set(self, "resource_label", value)
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter(name="sessionAffinity")
|
191
|
+
def session_affinity(self) -> Optional[pulumi.Input[bool]]:
|
192
|
+
"""
|
193
|
+
The session affinity for the Application Source.
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "session_affinity")
|
196
|
+
|
197
|
+
@session_affinity.setter
|
198
|
+
def session_affinity(self, value: Optional[pulumi.Input[bool]]):
|
199
|
+
pulumi.set(self, "session_affinity", value)
|
200
|
+
|
201
|
+
|
128
202
|
if not MYPY:
|
129
203
|
class ApplicationSourceRuntimeParameterValueArgsDict(TypedDict):
|
130
204
|
key: pulumi.Input[str]
|
@@ -26,7 +26,7 @@ class ApplicationSourceArgs:
|
|
26
26
|
files: Optional[Any] = None,
|
27
27
|
folder_path: Optional[pulumi.Input[str]] = None,
|
28
28
|
name: Optional[pulumi.Input[str]] = None,
|
29
|
-
|
29
|
+
resources: Optional[pulumi.Input['ApplicationSourceResourcesArgs']] = None,
|
30
30
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]]] = None):
|
31
31
|
"""
|
32
32
|
The set of arguments for constructing a ApplicationSource resource.
|
@@ -35,7 +35,7 @@ class ApplicationSourceArgs:
|
|
35
35
|
:param Any files: 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.
|
36
36
|
:param pulumi.Input[str] folder_path: 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.
|
37
37
|
:param pulumi.Input[str] name: The name of the Application Source.
|
38
|
-
:param pulumi.Input[
|
38
|
+
:param pulumi.Input['ApplicationSourceResourcesArgs'] resources: The resources for the Application Source.
|
39
39
|
:param pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
40
40
|
"""
|
41
41
|
if base_environment_id is not None:
|
@@ -48,8 +48,8 @@ class ApplicationSourceArgs:
|
|
48
48
|
pulumi.set(__self__, "folder_path", folder_path)
|
49
49
|
if name is not None:
|
50
50
|
pulumi.set(__self__, "name", name)
|
51
|
-
if
|
52
|
-
pulumi.set(__self__, "
|
51
|
+
if resources is not None:
|
52
|
+
pulumi.set(__self__, "resources", resources)
|
53
53
|
if runtime_parameter_values is not None:
|
54
54
|
pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
|
55
55
|
|
@@ -115,15 +115,15 @@ class ApplicationSourceArgs:
|
|
115
115
|
|
116
116
|
@property
|
117
117
|
@pulumi.getter
|
118
|
-
def
|
118
|
+
def resources(self) -> Optional[pulumi.Input['ApplicationSourceResourcesArgs']]:
|
119
119
|
"""
|
120
|
-
The
|
120
|
+
The resources for the Application Source.
|
121
121
|
"""
|
122
|
-
return pulumi.get(self, "
|
122
|
+
return pulumi.get(self, "resources")
|
123
123
|
|
124
|
-
@
|
125
|
-
def
|
126
|
-
pulumi.set(self, "
|
124
|
+
@resources.setter
|
125
|
+
def resources(self, value: Optional[pulumi.Input['ApplicationSourceResourcesArgs']]):
|
126
|
+
pulumi.set(self, "resources", value)
|
127
127
|
|
128
128
|
@property
|
129
129
|
@pulumi.getter(name="runtimeParameterValues")
|
@@ -148,7 +148,7 @@ class _ApplicationSourceState:
|
|
148
148
|
folder_path: Optional[pulumi.Input[str]] = None,
|
149
149
|
folder_path_hash: Optional[pulumi.Input[str]] = None,
|
150
150
|
name: Optional[pulumi.Input[str]] = None,
|
151
|
-
|
151
|
+
resources: Optional[pulumi.Input['ApplicationSourceResourcesArgs']] = None,
|
152
152
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]]] = None,
|
153
153
|
version_id: Optional[pulumi.Input[str]] = None):
|
154
154
|
"""
|
@@ -160,7 +160,7 @@ class _ApplicationSourceState:
|
|
160
160
|
:param pulumi.Input[str] folder_path: 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.
|
161
161
|
:param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
|
162
162
|
:param pulumi.Input[str] name: The name of the Application Source.
|
163
|
-
:param pulumi.Input[
|
163
|
+
:param pulumi.Input['ApplicationSourceResourcesArgs'] resources: The resources for the Application Source.
|
164
164
|
:param pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
165
165
|
:param pulumi.Input[str] version_id: The version ID of the Application Source.
|
166
166
|
"""
|
@@ -178,8 +178,8 @@ class _ApplicationSourceState:
|
|
178
178
|
pulumi.set(__self__, "folder_path_hash", folder_path_hash)
|
179
179
|
if name is not None:
|
180
180
|
pulumi.set(__self__, "name", name)
|
181
|
-
if
|
182
|
-
pulumi.set(__self__, "
|
181
|
+
if resources is not None:
|
182
|
+
pulumi.set(__self__, "resources", resources)
|
183
183
|
if runtime_parameter_values is not None:
|
184
184
|
pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
|
185
185
|
if version_id is not None:
|
@@ -271,15 +271,15 @@ class _ApplicationSourceState:
|
|
271
271
|
|
272
272
|
@property
|
273
273
|
@pulumi.getter
|
274
|
-
def
|
274
|
+
def resources(self) -> Optional[pulumi.Input['ApplicationSourceResourcesArgs']]:
|
275
275
|
"""
|
276
|
-
The
|
276
|
+
The resources for the Application Source.
|
277
277
|
"""
|
278
|
-
return pulumi.get(self, "
|
278
|
+
return pulumi.get(self, "resources")
|
279
279
|
|
280
|
-
@
|
281
|
-
def
|
282
|
-
pulumi.set(self, "
|
280
|
+
@resources.setter
|
281
|
+
def resources(self, value: Optional[pulumi.Input['ApplicationSourceResourcesArgs']]):
|
282
|
+
pulumi.set(self, "resources", value)
|
283
283
|
|
284
284
|
@property
|
285
285
|
@pulumi.getter(name="runtimeParameterValues")
|
@@ -316,28 +316,12 @@ class ApplicationSource(pulumi.CustomResource):
|
|
316
316
|
files: Optional[Any] = None,
|
317
317
|
folder_path: Optional[pulumi.Input[str]] = None,
|
318
318
|
name: Optional[pulumi.Input[str]] = None,
|
319
|
-
|
319
|
+
resources: Optional[pulumi.Input[Union['ApplicationSourceResourcesArgs', 'ApplicationSourceResourcesArgsDict']]] = None,
|
320
320
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]]] = None,
|
321
321
|
__props__=None):
|
322
322
|
"""
|
323
323
|
Application Source
|
324
324
|
|
325
|
-
## Example Usage
|
326
|
-
|
327
|
-
```python
|
328
|
-
import pulumi
|
329
|
-
import pulumi_datarobot as datarobot
|
330
|
-
|
331
|
-
example = datarobot.ApplicationSource("example",
|
332
|
-
base_environment_id="6542cd582a9d3d51bf4ac71e",
|
333
|
-
files=[
|
334
|
-
["start-app.sh"],
|
335
|
-
["streamlit-app.py"],
|
336
|
-
])
|
337
|
-
pulumi.export("datarobotApplicationSourceId", example.id)
|
338
|
-
pulumi.export("datarobotApplicationSourceVersionId", example.version_id)
|
339
|
-
```
|
340
|
-
|
341
325
|
:param str resource_name: The name of the resource.
|
342
326
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
343
327
|
:param pulumi.Input[str] base_environment_id: The ID of the base environment for the Application Source.
|
@@ -345,7 +329,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
345
329
|
:param Any files: 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.
|
346
330
|
:param pulumi.Input[str] folder_path: 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.
|
347
331
|
:param pulumi.Input[str] name: The name of the Application Source.
|
348
|
-
:param pulumi.Input[
|
332
|
+
:param pulumi.Input[Union['ApplicationSourceResourcesArgs', 'ApplicationSourceResourcesArgsDict']] resources: The resources for the Application Source.
|
349
333
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
350
334
|
"""
|
351
335
|
...
|
@@ -357,22 +341,6 @@ class ApplicationSource(pulumi.CustomResource):
|
|
357
341
|
"""
|
358
342
|
Application Source
|
359
343
|
|
360
|
-
## Example Usage
|
361
|
-
|
362
|
-
```python
|
363
|
-
import pulumi
|
364
|
-
import pulumi_datarobot as datarobot
|
365
|
-
|
366
|
-
example = datarobot.ApplicationSource("example",
|
367
|
-
base_environment_id="6542cd582a9d3d51bf4ac71e",
|
368
|
-
files=[
|
369
|
-
["start-app.sh"],
|
370
|
-
["streamlit-app.py"],
|
371
|
-
])
|
372
|
-
pulumi.export("datarobotApplicationSourceId", example.id)
|
373
|
-
pulumi.export("datarobotApplicationSourceVersionId", example.version_id)
|
374
|
-
```
|
375
|
-
|
376
344
|
:param str resource_name: The name of the resource.
|
377
345
|
:param ApplicationSourceArgs args: The arguments to use to populate this resource's properties.
|
378
346
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -393,7 +361,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
393
361
|
files: Optional[Any] = None,
|
394
362
|
folder_path: Optional[pulumi.Input[str]] = None,
|
395
363
|
name: Optional[pulumi.Input[str]] = None,
|
396
|
-
|
364
|
+
resources: Optional[pulumi.Input[Union['ApplicationSourceResourcesArgs', 'ApplicationSourceResourcesArgsDict']]] = None,
|
397
365
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]]] = None,
|
398
366
|
__props__=None):
|
399
367
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -409,7 +377,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
409
377
|
__props__.__dict__["files"] = files
|
410
378
|
__props__.__dict__["folder_path"] = folder_path
|
411
379
|
__props__.__dict__["name"] = name
|
412
|
-
__props__.__dict__["
|
380
|
+
__props__.__dict__["resources"] = resources
|
413
381
|
__props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
|
414
382
|
__props__.__dict__["files_hashes"] = None
|
415
383
|
__props__.__dict__["folder_path_hash"] = None
|
@@ -431,7 +399,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
431
399
|
folder_path: Optional[pulumi.Input[str]] = None,
|
432
400
|
folder_path_hash: Optional[pulumi.Input[str]] = None,
|
433
401
|
name: Optional[pulumi.Input[str]] = None,
|
434
|
-
|
402
|
+
resources: Optional[pulumi.Input[Union['ApplicationSourceResourcesArgs', 'ApplicationSourceResourcesArgsDict']]] = None,
|
435
403
|
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]]] = None,
|
436
404
|
version_id: Optional[pulumi.Input[str]] = None) -> 'ApplicationSource':
|
437
405
|
"""
|
@@ -448,7 +416,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
448
416
|
:param pulumi.Input[str] folder_path: 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.
|
449
417
|
:param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
|
450
418
|
:param pulumi.Input[str] name: The name of the Application Source.
|
451
|
-
:param pulumi.Input[
|
419
|
+
:param pulumi.Input[Union['ApplicationSourceResourcesArgs', 'ApplicationSourceResourcesArgsDict']] resources: The resources for the Application Source.
|
452
420
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
453
421
|
:param pulumi.Input[str] version_id: The version ID of the Application Source.
|
454
422
|
"""
|
@@ -463,7 +431,7 @@ class ApplicationSource(pulumi.CustomResource):
|
|
463
431
|
__props__.__dict__["folder_path"] = folder_path
|
464
432
|
__props__.__dict__["folder_path_hash"] = folder_path_hash
|
465
433
|
__props__.__dict__["name"] = name
|
466
|
-
__props__.__dict__["
|
434
|
+
__props__.__dict__["resources"] = resources
|
467
435
|
__props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
|
468
436
|
__props__.__dict__["version_id"] = version_id
|
469
437
|
return ApplicationSource(resource_name, opts=opts, __props__=__props__)
|
@@ -526,11 +494,11 @@ class ApplicationSource(pulumi.CustomResource):
|
|
526
494
|
|
527
495
|
@property
|
528
496
|
@pulumi.getter
|
529
|
-
def
|
497
|
+
def resources(self) -> pulumi.Output['outputs.ApplicationSourceResources']:
|
530
498
|
"""
|
531
|
-
The
|
499
|
+
The resources for the Application Source.
|
532
500
|
"""
|
533
|
-
return pulumi.get(self, "
|
501
|
+
return pulumi.get(self, "resources")
|
534
502
|
|
535
503
|
@property
|
536
504
|
@pulumi.getter(name="runtimeParameterValues")
|
@@ -16,6 +16,7 @@ from . import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
|
18
18
|
__all__ = [
|
19
|
+
'ApplicationSourceResources',
|
19
20
|
'ApplicationSourceRuntimeParameterValue',
|
20
21
|
'BatchPredictionJobDefinitionCsvSettings',
|
21
22
|
'BatchPredictionJobDefinitionIntakeSettings',
|
@@ -71,6 +72,68 @@ __all__ = [
|
|
71
72
|
'VectorDatabaseChunkingParameters',
|
72
73
|
]
|
73
74
|
|
75
|
+
@pulumi.output_type
|
76
|
+
class ApplicationSourceResources(dict):
|
77
|
+
@staticmethod
|
78
|
+
def __key_warning(key: str):
|
79
|
+
suggest = None
|
80
|
+
if key == "resourceLabel":
|
81
|
+
suggest = "resource_label"
|
82
|
+
elif key == "sessionAffinity":
|
83
|
+
suggest = "session_affinity"
|
84
|
+
|
85
|
+
if suggest:
|
86
|
+
pulumi.log.warn(f"Key '{key}' not found in ApplicationSourceResources. Access the value via the '{suggest}' property getter instead.")
|
87
|
+
|
88
|
+
def __getitem__(self, key: str) -> Any:
|
89
|
+
ApplicationSourceResources.__key_warning(key)
|
90
|
+
return super().__getitem__(key)
|
91
|
+
|
92
|
+
def get(self, key: str, default = None) -> Any:
|
93
|
+
ApplicationSourceResources.__key_warning(key)
|
94
|
+
return super().get(key, default)
|
95
|
+
|
96
|
+
def __init__(__self__, *,
|
97
|
+
replicas: Optional[int] = None,
|
98
|
+
resource_label: Optional[str] = None,
|
99
|
+
session_affinity: Optional[bool] = None):
|
100
|
+
"""
|
101
|
+
:param int replicas: The replicas for the Application Source.
|
102
|
+
:param str resource_label: The resource label for the Application Source.
|
103
|
+
:param bool session_affinity: The session affinity for the Application Source.
|
104
|
+
"""
|
105
|
+
if replicas is not None:
|
106
|
+
pulumi.set(__self__, "replicas", replicas)
|
107
|
+
if resource_label is not None:
|
108
|
+
pulumi.set(__self__, "resource_label", resource_label)
|
109
|
+
if session_affinity is not None:
|
110
|
+
pulumi.set(__self__, "session_affinity", session_affinity)
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter
|
114
|
+
def replicas(self) -> Optional[int]:
|
115
|
+
"""
|
116
|
+
The replicas for the Application Source.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "replicas")
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter(name="resourceLabel")
|
122
|
+
def resource_label(self) -> Optional[str]:
|
123
|
+
"""
|
124
|
+
The resource label for the Application Source.
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "resource_label")
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter(name="sessionAffinity")
|
130
|
+
def session_affinity(self) -> Optional[bool]:
|
131
|
+
"""
|
132
|
+
The session affinity for the Application Source.
|
133
|
+
"""
|
134
|
+
return pulumi.get(self, "session_affinity")
|
135
|
+
|
136
|
+
|
74
137
|
@pulumi.output_type
|
75
138
|
class ApplicationSourceRuntimeParameterValue(dict):
|
76
139
|
def __init__(__self__, *,
|
@@ -1,13 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pulumi-datarobot
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.6.1
|
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
|
7
7
|
Project-URL: Repository, https://github.com/datarobot-community/pulumi-datarobot
|
8
8
|
Keywords: datarobot ai category/cloud
|
9
9
|
Platform: UNKNOWN
|
10
|
-
Requires-Python: >=3.
|
10
|
+
Requires-Python: >=3.9
|
11
11
|
Description-Content-Type: text/markdown
|
12
12
|
|
13
13
|
# DataRobot Resource Provider
|
@@ -8,7 +8,7 @@ from setuptools.command.install import install
|
|
8
8
|
from subprocess import check_call
|
9
9
|
|
10
10
|
|
11
|
-
VERSION = "0.
|
11
|
+
VERSION = "0.6.1"
|
12
12
|
def readme():
|
13
13
|
try:
|
14
14
|
with open('README.md', encoding='utf-8') as f:
|
@@ -18,7 +18,7 @@ def readme():
|
|
18
18
|
|
19
19
|
|
20
20
|
setup(name='pulumi_datarobot',
|
21
|
-
python_requires='>=3.
|
21
|
+
python_requires='>=3.9',
|
22
22
|
version=VERSION,
|
23
23
|
description="A Pulumi package for creating and managing DataRobot resources.",
|
24
24
|
long_description=readme(),
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/custom_metric_from_job.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/dataset_from_datasource.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/deployment_retraining_policy.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/get_execution_environment.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/google_cloud_credential.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot/prediction_environment.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.5.3 → pulumi_datarobot-0.6.1}/pulumi_datarobot.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|