pulumi-datarobot 0.8.3__tar.gz → 0.8.4__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.8.3 → pulumi_datarobot-0.8.4}/PKG-INFO +1 -1
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/__init__.py +9 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/_inputs.py +145 -0
- pulumi_datarobot-0.8.4/pulumi_datarobot/application_source_from_template.py +566 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/outputs.py +104 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot.egg-info/PKG-INFO +1 -1
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot.egg-info/SOURCES.txt +1 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/setup.py +1 -1
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/README.md +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/_utilities.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/api_token_credential.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/application_source.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/aws_credential.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/basic_credential.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/batch_prediction_job_definition.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/config/__init__.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/config/vars.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/custom_application.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/custom_application_from_environment.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/custom_job.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/custom_metric.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/custom_metric_from_job.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/custom_metric_job.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/custom_model.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/dataset_from_datasource.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/dataset_from_file.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/dataset_from_url.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/datasource.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/datastore.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/deployment.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/deployment_retraining_policy.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/execution_environment.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/get_execution_environment.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/get_global_model.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/google_cloud_credential.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/llm_blueprint.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/notification_channel.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/notification_policy.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/playground.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/prediction_environment.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/provider.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/pulumi-plugin.json +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/py.typed +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/qa_application.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/registered_model.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/registered_model_from_leaderboard.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/remote_repository.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/use_case.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/vector_database.py +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot.egg-info/requires.txt +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot.egg-info/top_level.txt +0 -0
- {pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/setup.cfg +0 -0
@@ -7,6 +7,7 @@ import typing
|
|
7
7
|
# Export this package's modules as members:
|
8
8
|
from .api_token_credential import *
|
9
9
|
from .application_source import *
|
10
|
+
from .application_source_from_template import *
|
10
11
|
from .aws_credential import *
|
11
12
|
from .basic_credential import *
|
12
13
|
from .batch_prediction_job_definition import *
|
@@ -69,6 +70,14 @@ _utilities.register(
|
|
69
70
|
"datarobot:index/applicationSource:ApplicationSource": "ApplicationSource"
|
70
71
|
}
|
71
72
|
},
|
73
|
+
{
|
74
|
+
"pkg": "datarobot",
|
75
|
+
"mod": "index/applicationSourceFromTemplate",
|
76
|
+
"fqn": "pulumi_datarobot",
|
77
|
+
"classes": {
|
78
|
+
"datarobot:index/applicationSourceFromTemplate:ApplicationSourceFromTemplate": "ApplicationSourceFromTemplate"
|
79
|
+
}
|
80
|
+
},
|
72
81
|
{
|
73
82
|
"pkg": "datarobot",
|
74
83
|
"mod": "index/awsCredential",
|
@@ -15,6 +15,10 @@ else:
|
|
15
15
|
from . import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
+
'ApplicationSourceFromTemplateResourcesArgs',
|
19
|
+
'ApplicationSourceFromTemplateResourcesArgsDict',
|
20
|
+
'ApplicationSourceFromTemplateRuntimeParameterValueArgs',
|
21
|
+
'ApplicationSourceFromTemplateRuntimeParameterValueArgsDict',
|
18
22
|
'ApplicationSourceResourcesArgs',
|
19
23
|
'ApplicationSourceResourcesArgsDict',
|
20
24
|
'ApplicationSourceRuntimeParameterValueArgs',
|
@@ -147,6 +151,147 @@ __all__ = [
|
|
147
151
|
|
148
152
|
MYPY = False
|
149
153
|
|
154
|
+
if not MYPY:
|
155
|
+
class ApplicationSourceFromTemplateResourcesArgsDict(TypedDict):
|
156
|
+
replicas: NotRequired[pulumi.Input[int]]
|
157
|
+
"""
|
158
|
+
The replicas for the Application Source.
|
159
|
+
"""
|
160
|
+
resource_label: NotRequired[pulumi.Input[str]]
|
161
|
+
"""
|
162
|
+
The resource label for the Application Source.
|
163
|
+
"""
|
164
|
+
session_affinity: NotRequired[pulumi.Input[bool]]
|
165
|
+
"""
|
166
|
+
The session affinity for the Application Source.
|
167
|
+
"""
|
168
|
+
elif False:
|
169
|
+
ApplicationSourceFromTemplateResourcesArgsDict: TypeAlias = Mapping[str, Any]
|
170
|
+
|
171
|
+
@pulumi.input_type
|
172
|
+
class ApplicationSourceFromTemplateResourcesArgs:
|
173
|
+
def __init__(__self__, *,
|
174
|
+
replicas: Optional[pulumi.Input[int]] = None,
|
175
|
+
resource_label: Optional[pulumi.Input[str]] = None,
|
176
|
+
session_affinity: Optional[pulumi.Input[bool]] = None):
|
177
|
+
"""
|
178
|
+
:param pulumi.Input[int] replicas: The replicas for the Application Source.
|
179
|
+
:param pulumi.Input[str] resource_label: The resource label for the Application Source.
|
180
|
+
:param pulumi.Input[bool] session_affinity: The session affinity for the Application Source.
|
181
|
+
"""
|
182
|
+
if replicas is not None:
|
183
|
+
pulumi.set(__self__, "replicas", replicas)
|
184
|
+
if resource_label is not None:
|
185
|
+
pulumi.set(__self__, "resource_label", resource_label)
|
186
|
+
if session_affinity is not None:
|
187
|
+
pulumi.set(__self__, "session_affinity", session_affinity)
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter
|
191
|
+
def replicas(self) -> Optional[pulumi.Input[int]]:
|
192
|
+
"""
|
193
|
+
The replicas for the Application Source.
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "replicas")
|
196
|
+
|
197
|
+
@replicas.setter
|
198
|
+
def replicas(self, value: Optional[pulumi.Input[int]]):
|
199
|
+
pulumi.set(self, "replicas", value)
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter(name="resourceLabel")
|
203
|
+
def resource_label(self) -> Optional[pulumi.Input[str]]:
|
204
|
+
"""
|
205
|
+
The resource label for the Application Source.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "resource_label")
|
208
|
+
|
209
|
+
@resource_label.setter
|
210
|
+
def resource_label(self, value: Optional[pulumi.Input[str]]):
|
211
|
+
pulumi.set(self, "resource_label", value)
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter(name="sessionAffinity")
|
215
|
+
def session_affinity(self) -> Optional[pulumi.Input[bool]]:
|
216
|
+
"""
|
217
|
+
The session affinity for the Application Source.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "session_affinity")
|
220
|
+
|
221
|
+
@session_affinity.setter
|
222
|
+
def session_affinity(self, value: Optional[pulumi.Input[bool]]):
|
223
|
+
pulumi.set(self, "session_affinity", value)
|
224
|
+
|
225
|
+
|
226
|
+
if not MYPY:
|
227
|
+
class ApplicationSourceFromTemplateRuntimeParameterValueArgsDict(TypedDict):
|
228
|
+
key: pulumi.Input[str]
|
229
|
+
"""
|
230
|
+
The name of the runtime parameter.
|
231
|
+
"""
|
232
|
+
type: pulumi.Input[str]
|
233
|
+
"""
|
234
|
+
The type of the runtime parameter.
|
235
|
+
"""
|
236
|
+
value: pulumi.Input[str]
|
237
|
+
"""
|
238
|
+
The value of the runtime parameter (type conversion is handled internally).
|
239
|
+
"""
|
240
|
+
elif False:
|
241
|
+
ApplicationSourceFromTemplateRuntimeParameterValueArgsDict: TypeAlias = Mapping[str, Any]
|
242
|
+
|
243
|
+
@pulumi.input_type
|
244
|
+
class ApplicationSourceFromTemplateRuntimeParameterValueArgs:
|
245
|
+
def __init__(__self__, *,
|
246
|
+
key: pulumi.Input[str],
|
247
|
+
type: pulumi.Input[str],
|
248
|
+
value: pulumi.Input[str]):
|
249
|
+
"""
|
250
|
+
:param pulumi.Input[str] key: The name of the runtime parameter.
|
251
|
+
:param pulumi.Input[str] type: The type of the runtime parameter.
|
252
|
+
:param pulumi.Input[str] value: The value of the runtime parameter (type conversion is handled internally).
|
253
|
+
"""
|
254
|
+
pulumi.set(__self__, "key", key)
|
255
|
+
pulumi.set(__self__, "type", type)
|
256
|
+
pulumi.set(__self__, "value", value)
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter
|
260
|
+
def key(self) -> pulumi.Input[str]:
|
261
|
+
"""
|
262
|
+
The name of the runtime parameter.
|
263
|
+
"""
|
264
|
+
return pulumi.get(self, "key")
|
265
|
+
|
266
|
+
@key.setter
|
267
|
+
def key(self, value: pulumi.Input[str]):
|
268
|
+
pulumi.set(self, "key", value)
|
269
|
+
|
270
|
+
@property
|
271
|
+
@pulumi.getter
|
272
|
+
def type(self) -> pulumi.Input[str]:
|
273
|
+
"""
|
274
|
+
The type of the runtime parameter.
|
275
|
+
"""
|
276
|
+
return pulumi.get(self, "type")
|
277
|
+
|
278
|
+
@type.setter
|
279
|
+
def type(self, value: pulumi.Input[str]):
|
280
|
+
pulumi.set(self, "type", value)
|
281
|
+
|
282
|
+
@property
|
283
|
+
@pulumi.getter
|
284
|
+
def value(self) -> pulumi.Input[str]:
|
285
|
+
"""
|
286
|
+
The value of the runtime parameter (type conversion is handled internally).
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "value")
|
289
|
+
|
290
|
+
@value.setter
|
291
|
+
def value(self, value: pulumi.Input[str]):
|
292
|
+
pulumi.set(self, "value", value)
|
293
|
+
|
294
|
+
|
150
295
|
if not MYPY:
|
151
296
|
class ApplicationSourceResourcesArgsDict(TypedDict):
|
152
297
|
replicas: NotRequired[pulumi.Input[int]]
|
@@ -0,0 +1,566 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from . import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['ApplicationSourceFromTemplateArgs', 'ApplicationSourceFromTemplate']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class ApplicationSourceFromTemplateArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
template_id: pulumi.Input[str],
|
25
|
+
base_environment_id: Optional[pulumi.Input[str]] = None,
|
26
|
+
base_environment_version_id: Optional[pulumi.Input[str]] = None,
|
27
|
+
files: Optional[Any] = None,
|
28
|
+
folder_path: Optional[pulumi.Input[str]] = None,
|
29
|
+
name: Optional[pulumi.Input[str]] = None,
|
30
|
+
resources: Optional[pulumi.Input['ApplicationSourceFromTemplateResourcesArgs']] = None,
|
31
|
+
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceFromTemplateRuntimeParameterValueArgs']]]] = None):
|
32
|
+
"""
|
33
|
+
The set of arguments for constructing a ApplicationSourceFromTemplate resource.
|
34
|
+
:param pulumi.Input[str] template_id: The ID of the template used to create the Application Source.
|
35
|
+
:param pulumi.Input[str] base_environment_id: The ID of the base environment for the Application Source.
|
36
|
+
:param pulumi.Input[str] base_environment_version_id: The ID of the base environment version for the Application Source.
|
37
|
+
: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.
|
38
|
+
: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.
|
39
|
+
:param pulumi.Input[str] name: The name of the Application Source.
|
40
|
+
:param pulumi.Input['ApplicationSourceFromTemplateResourcesArgs'] resources: The resources for the Application Source.
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input['ApplicationSourceFromTemplateRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
42
|
+
"""
|
43
|
+
pulumi.set(__self__, "template_id", template_id)
|
44
|
+
if base_environment_id is not None:
|
45
|
+
pulumi.set(__self__, "base_environment_id", base_environment_id)
|
46
|
+
if base_environment_version_id is not None:
|
47
|
+
pulumi.set(__self__, "base_environment_version_id", base_environment_version_id)
|
48
|
+
if files is not None:
|
49
|
+
pulumi.set(__self__, "files", files)
|
50
|
+
if folder_path is not None:
|
51
|
+
pulumi.set(__self__, "folder_path", folder_path)
|
52
|
+
if name is not None:
|
53
|
+
pulumi.set(__self__, "name", name)
|
54
|
+
if resources is not None:
|
55
|
+
pulumi.set(__self__, "resources", resources)
|
56
|
+
if runtime_parameter_values is not None:
|
57
|
+
pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter(name="templateId")
|
61
|
+
def template_id(self) -> pulumi.Input[str]:
|
62
|
+
"""
|
63
|
+
The ID of the template used to create the Application Source.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "template_id")
|
66
|
+
|
67
|
+
@template_id.setter
|
68
|
+
def template_id(self, value: pulumi.Input[str]):
|
69
|
+
pulumi.set(self, "template_id", value)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="baseEnvironmentId")
|
73
|
+
def base_environment_id(self) -> Optional[pulumi.Input[str]]:
|
74
|
+
"""
|
75
|
+
The ID of the base environment for the Application Source.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "base_environment_id")
|
78
|
+
|
79
|
+
@base_environment_id.setter
|
80
|
+
def base_environment_id(self, value: Optional[pulumi.Input[str]]):
|
81
|
+
pulumi.set(self, "base_environment_id", value)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="baseEnvironmentVersionId")
|
85
|
+
def base_environment_version_id(self) -> Optional[pulumi.Input[str]]:
|
86
|
+
"""
|
87
|
+
The ID of the base environment version for the Application Source.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "base_environment_version_id")
|
90
|
+
|
91
|
+
@base_environment_version_id.setter
|
92
|
+
def base_environment_version_id(self, value: Optional[pulumi.Input[str]]):
|
93
|
+
pulumi.set(self, "base_environment_version_id", value)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def files(self) -> Optional[Any]:
|
98
|
+
"""
|
99
|
+
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.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "files")
|
102
|
+
|
103
|
+
@files.setter
|
104
|
+
def files(self, value: Optional[Any]):
|
105
|
+
pulumi.set(self, "files", value)
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="folderPath")
|
109
|
+
def folder_path(self) -> Optional[pulumi.Input[str]]:
|
110
|
+
"""
|
111
|
+
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.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "folder_path")
|
114
|
+
|
115
|
+
@folder_path.setter
|
116
|
+
def folder_path(self, value: Optional[pulumi.Input[str]]):
|
117
|
+
pulumi.set(self, "folder_path", value)
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter
|
121
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
122
|
+
"""
|
123
|
+
The name of the Application Source.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "name")
|
126
|
+
|
127
|
+
@name.setter
|
128
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
129
|
+
pulumi.set(self, "name", value)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter
|
133
|
+
def resources(self) -> Optional[pulumi.Input['ApplicationSourceFromTemplateResourcesArgs']]:
|
134
|
+
"""
|
135
|
+
The resources for the Application Source.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "resources")
|
138
|
+
|
139
|
+
@resources.setter
|
140
|
+
def resources(self, value: Optional[pulumi.Input['ApplicationSourceFromTemplateResourcesArgs']]):
|
141
|
+
pulumi.set(self, "resources", value)
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter(name="runtimeParameterValues")
|
145
|
+
def runtime_parameter_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceFromTemplateRuntimeParameterValueArgs']]]]:
|
146
|
+
"""
|
147
|
+
The runtime parameter values for the Application Source.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "runtime_parameter_values")
|
150
|
+
|
151
|
+
@runtime_parameter_values.setter
|
152
|
+
def runtime_parameter_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceFromTemplateRuntimeParameterValueArgs']]]]):
|
153
|
+
pulumi.set(self, "runtime_parameter_values", value)
|
154
|
+
|
155
|
+
|
156
|
+
@pulumi.input_type
|
157
|
+
class _ApplicationSourceFromTemplateState:
|
158
|
+
def __init__(__self__, *,
|
159
|
+
base_environment_id: Optional[pulumi.Input[str]] = None,
|
160
|
+
base_environment_version_id: Optional[pulumi.Input[str]] = None,
|
161
|
+
files: Optional[Any] = None,
|
162
|
+
files_hashes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
163
|
+
folder_path: Optional[pulumi.Input[str]] = None,
|
164
|
+
folder_path_hash: Optional[pulumi.Input[str]] = None,
|
165
|
+
name: Optional[pulumi.Input[str]] = None,
|
166
|
+
resources: Optional[pulumi.Input['ApplicationSourceFromTemplateResourcesArgs']] = None,
|
167
|
+
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceFromTemplateRuntimeParameterValueArgs']]]] = None,
|
168
|
+
template_id: Optional[pulumi.Input[str]] = None,
|
169
|
+
version_id: Optional[pulumi.Input[str]] = None):
|
170
|
+
"""
|
171
|
+
Input properties used for looking up and filtering ApplicationSourceFromTemplate resources.
|
172
|
+
:param pulumi.Input[str] base_environment_id: The ID of the base environment for the Application Source.
|
173
|
+
:param pulumi.Input[str] base_environment_version_id: The ID of the base environment version for the Application Source.
|
174
|
+
: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.
|
175
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] files_hashes: The hash of file contents for each file in files.
|
176
|
+
: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.
|
177
|
+
:param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
|
178
|
+
:param pulumi.Input[str] name: The name of the Application Source.
|
179
|
+
:param pulumi.Input['ApplicationSourceFromTemplateResourcesArgs'] resources: The resources for the Application Source.
|
180
|
+
:param pulumi.Input[Sequence[pulumi.Input['ApplicationSourceFromTemplateRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
181
|
+
:param pulumi.Input[str] template_id: The ID of the template used to create the Application Source.
|
182
|
+
:param pulumi.Input[str] version_id: The version ID of the Application Source.
|
183
|
+
"""
|
184
|
+
if base_environment_id is not None:
|
185
|
+
pulumi.set(__self__, "base_environment_id", base_environment_id)
|
186
|
+
if base_environment_version_id is not None:
|
187
|
+
pulumi.set(__self__, "base_environment_version_id", base_environment_version_id)
|
188
|
+
if files is not None:
|
189
|
+
pulumi.set(__self__, "files", files)
|
190
|
+
if files_hashes is not None:
|
191
|
+
pulumi.set(__self__, "files_hashes", files_hashes)
|
192
|
+
if folder_path is not None:
|
193
|
+
pulumi.set(__self__, "folder_path", folder_path)
|
194
|
+
if folder_path_hash is not None:
|
195
|
+
pulumi.set(__self__, "folder_path_hash", folder_path_hash)
|
196
|
+
if name is not None:
|
197
|
+
pulumi.set(__self__, "name", name)
|
198
|
+
if resources is not None:
|
199
|
+
pulumi.set(__self__, "resources", resources)
|
200
|
+
if runtime_parameter_values is not None:
|
201
|
+
pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
|
202
|
+
if template_id is not None:
|
203
|
+
pulumi.set(__self__, "template_id", template_id)
|
204
|
+
if version_id is not None:
|
205
|
+
pulumi.set(__self__, "version_id", version_id)
|
206
|
+
|
207
|
+
@property
|
208
|
+
@pulumi.getter(name="baseEnvironmentId")
|
209
|
+
def base_environment_id(self) -> Optional[pulumi.Input[str]]:
|
210
|
+
"""
|
211
|
+
The ID of the base environment for the Application Source.
|
212
|
+
"""
|
213
|
+
return pulumi.get(self, "base_environment_id")
|
214
|
+
|
215
|
+
@base_environment_id.setter
|
216
|
+
def base_environment_id(self, value: Optional[pulumi.Input[str]]):
|
217
|
+
pulumi.set(self, "base_environment_id", value)
|
218
|
+
|
219
|
+
@property
|
220
|
+
@pulumi.getter(name="baseEnvironmentVersionId")
|
221
|
+
def base_environment_version_id(self) -> Optional[pulumi.Input[str]]:
|
222
|
+
"""
|
223
|
+
The ID of the base environment version for the Application Source.
|
224
|
+
"""
|
225
|
+
return pulumi.get(self, "base_environment_version_id")
|
226
|
+
|
227
|
+
@base_environment_version_id.setter
|
228
|
+
def base_environment_version_id(self, value: Optional[pulumi.Input[str]]):
|
229
|
+
pulumi.set(self, "base_environment_version_id", value)
|
230
|
+
|
231
|
+
@property
|
232
|
+
@pulumi.getter
|
233
|
+
def files(self) -> Optional[Any]:
|
234
|
+
"""
|
235
|
+
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.
|
236
|
+
"""
|
237
|
+
return pulumi.get(self, "files")
|
238
|
+
|
239
|
+
@files.setter
|
240
|
+
def files(self, value: Optional[Any]):
|
241
|
+
pulumi.set(self, "files", value)
|
242
|
+
|
243
|
+
@property
|
244
|
+
@pulumi.getter(name="filesHashes")
|
245
|
+
def files_hashes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
246
|
+
"""
|
247
|
+
The hash of file contents for each file in files.
|
248
|
+
"""
|
249
|
+
return pulumi.get(self, "files_hashes")
|
250
|
+
|
251
|
+
@files_hashes.setter
|
252
|
+
def files_hashes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
253
|
+
pulumi.set(self, "files_hashes", value)
|
254
|
+
|
255
|
+
@property
|
256
|
+
@pulumi.getter(name="folderPath")
|
257
|
+
def folder_path(self) -> Optional[pulumi.Input[str]]:
|
258
|
+
"""
|
259
|
+
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.
|
260
|
+
"""
|
261
|
+
return pulumi.get(self, "folder_path")
|
262
|
+
|
263
|
+
@folder_path.setter
|
264
|
+
def folder_path(self, value: Optional[pulumi.Input[str]]):
|
265
|
+
pulumi.set(self, "folder_path", value)
|
266
|
+
|
267
|
+
@property
|
268
|
+
@pulumi.getter(name="folderPathHash")
|
269
|
+
def folder_path_hash(self) -> Optional[pulumi.Input[str]]:
|
270
|
+
"""
|
271
|
+
The hash of the folder path contents.
|
272
|
+
"""
|
273
|
+
return pulumi.get(self, "folder_path_hash")
|
274
|
+
|
275
|
+
@folder_path_hash.setter
|
276
|
+
def folder_path_hash(self, value: Optional[pulumi.Input[str]]):
|
277
|
+
pulumi.set(self, "folder_path_hash", value)
|
278
|
+
|
279
|
+
@property
|
280
|
+
@pulumi.getter
|
281
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
282
|
+
"""
|
283
|
+
The name of the Application Source.
|
284
|
+
"""
|
285
|
+
return pulumi.get(self, "name")
|
286
|
+
|
287
|
+
@name.setter
|
288
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
289
|
+
pulumi.set(self, "name", value)
|
290
|
+
|
291
|
+
@property
|
292
|
+
@pulumi.getter
|
293
|
+
def resources(self) -> Optional[pulumi.Input['ApplicationSourceFromTemplateResourcesArgs']]:
|
294
|
+
"""
|
295
|
+
The resources for the Application Source.
|
296
|
+
"""
|
297
|
+
return pulumi.get(self, "resources")
|
298
|
+
|
299
|
+
@resources.setter
|
300
|
+
def resources(self, value: Optional[pulumi.Input['ApplicationSourceFromTemplateResourcesArgs']]):
|
301
|
+
pulumi.set(self, "resources", value)
|
302
|
+
|
303
|
+
@property
|
304
|
+
@pulumi.getter(name="runtimeParameterValues")
|
305
|
+
def runtime_parameter_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceFromTemplateRuntimeParameterValueArgs']]]]:
|
306
|
+
"""
|
307
|
+
The runtime parameter values for the Application Source.
|
308
|
+
"""
|
309
|
+
return pulumi.get(self, "runtime_parameter_values")
|
310
|
+
|
311
|
+
@runtime_parameter_values.setter
|
312
|
+
def runtime_parameter_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceFromTemplateRuntimeParameterValueArgs']]]]):
|
313
|
+
pulumi.set(self, "runtime_parameter_values", value)
|
314
|
+
|
315
|
+
@property
|
316
|
+
@pulumi.getter(name="templateId")
|
317
|
+
def template_id(self) -> Optional[pulumi.Input[str]]:
|
318
|
+
"""
|
319
|
+
The ID of the template used to create the Application Source.
|
320
|
+
"""
|
321
|
+
return pulumi.get(self, "template_id")
|
322
|
+
|
323
|
+
@template_id.setter
|
324
|
+
def template_id(self, value: Optional[pulumi.Input[str]]):
|
325
|
+
pulumi.set(self, "template_id", value)
|
326
|
+
|
327
|
+
@property
|
328
|
+
@pulumi.getter(name="versionId")
|
329
|
+
def version_id(self) -> Optional[pulumi.Input[str]]:
|
330
|
+
"""
|
331
|
+
The version ID of the Application Source.
|
332
|
+
"""
|
333
|
+
return pulumi.get(self, "version_id")
|
334
|
+
|
335
|
+
@version_id.setter
|
336
|
+
def version_id(self, value: Optional[pulumi.Input[str]]):
|
337
|
+
pulumi.set(self, "version_id", value)
|
338
|
+
|
339
|
+
|
340
|
+
class ApplicationSourceFromTemplate(pulumi.CustomResource):
|
341
|
+
@overload
|
342
|
+
def __init__(__self__,
|
343
|
+
resource_name: str,
|
344
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
345
|
+
base_environment_id: Optional[pulumi.Input[str]] = None,
|
346
|
+
base_environment_version_id: Optional[pulumi.Input[str]] = None,
|
347
|
+
files: Optional[Any] = None,
|
348
|
+
folder_path: Optional[pulumi.Input[str]] = None,
|
349
|
+
name: Optional[pulumi.Input[str]] = None,
|
350
|
+
resources: Optional[pulumi.Input[Union['ApplicationSourceFromTemplateResourcesArgs', 'ApplicationSourceFromTemplateResourcesArgsDict']]] = None,
|
351
|
+
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceFromTemplateRuntimeParameterValueArgs', 'ApplicationSourceFromTemplateRuntimeParameterValueArgsDict']]]]] = None,
|
352
|
+
template_id: Optional[pulumi.Input[str]] = None,
|
353
|
+
__props__=None):
|
354
|
+
"""
|
355
|
+
Application Source
|
356
|
+
|
357
|
+
:param str resource_name: The name of the resource.
|
358
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
359
|
+
:param pulumi.Input[str] base_environment_id: The ID of the base environment for the Application Source.
|
360
|
+
:param pulumi.Input[str] base_environment_version_id: The ID of the base environment version for the Application Source.
|
361
|
+
: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.
|
362
|
+
: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.
|
363
|
+
:param pulumi.Input[str] name: The name of the Application Source.
|
364
|
+
:param pulumi.Input[Union['ApplicationSourceFromTemplateResourcesArgs', 'ApplicationSourceFromTemplateResourcesArgsDict']] resources: The resources for the Application Source.
|
365
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceFromTemplateRuntimeParameterValueArgs', 'ApplicationSourceFromTemplateRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
366
|
+
:param pulumi.Input[str] template_id: The ID of the template used to create the Application Source.
|
367
|
+
"""
|
368
|
+
...
|
369
|
+
@overload
|
370
|
+
def __init__(__self__,
|
371
|
+
resource_name: str,
|
372
|
+
args: ApplicationSourceFromTemplateArgs,
|
373
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
374
|
+
"""
|
375
|
+
Application Source
|
376
|
+
|
377
|
+
:param str resource_name: The name of the resource.
|
378
|
+
:param ApplicationSourceFromTemplateArgs args: The arguments to use to populate this resource's properties.
|
379
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
380
|
+
"""
|
381
|
+
...
|
382
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
383
|
+
resource_args, opts = _utilities.get_resource_args_opts(ApplicationSourceFromTemplateArgs, pulumi.ResourceOptions, *args, **kwargs)
|
384
|
+
if resource_args is not None:
|
385
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
386
|
+
else:
|
387
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
388
|
+
|
389
|
+
def _internal_init(__self__,
|
390
|
+
resource_name: str,
|
391
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
392
|
+
base_environment_id: Optional[pulumi.Input[str]] = None,
|
393
|
+
base_environment_version_id: Optional[pulumi.Input[str]] = None,
|
394
|
+
files: Optional[Any] = None,
|
395
|
+
folder_path: Optional[pulumi.Input[str]] = None,
|
396
|
+
name: Optional[pulumi.Input[str]] = None,
|
397
|
+
resources: Optional[pulumi.Input[Union['ApplicationSourceFromTemplateResourcesArgs', 'ApplicationSourceFromTemplateResourcesArgsDict']]] = None,
|
398
|
+
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceFromTemplateRuntimeParameterValueArgs', 'ApplicationSourceFromTemplateRuntimeParameterValueArgsDict']]]]] = None,
|
399
|
+
template_id: Optional[pulumi.Input[str]] = None,
|
400
|
+
__props__=None):
|
401
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
402
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
403
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
404
|
+
if opts.id is None:
|
405
|
+
if __props__ is not None:
|
406
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
407
|
+
__props__ = ApplicationSourceFromTemplateArgs.__new__(ApplicationSourceFromTemplateArgs)
|
408
|
+
|
409
|
+
__props__.__dict__["base_environment_id"] = base_environment_id
|
410
|
+
__props__.__dict__["base_environment_version_id"] = base_environment_version_id
|
411
|
+
__props__.__dict__["files"] = files
|
412
|
+
__props__.__dict__["folder_path"] = folder_path
|
413
|
+
__props__.__dict__["name"] = name
|
414
|
+
__props__.__dict__["resources"] = resources
|
415
|
+
__props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
|
416
|
+
if template_id is None and not opts.urn:
|
417
|
+
raise TypeError("Missing required property 'template_id'")
|
418
|
+
__props__.__dict__["template_id"] = template_id
|
419
|
+
__props__.__dict__["files_hashes"] = None
|
420
|
+
__props__.__dict__["folder_path_hash"] = None
|
421
|
+
__props__.__dict__["version_id"] = None
|
422
|
+
super(ApplicationSourceFromTemplate, __self__).__init__(
|
423
|
+
'datarobot:index/applicationSourceFromTemplate:ApplicationSourceFromTemplate',
|
424
|
+
resource_name,
|
425
|
+
__props__,
|
426
|
+
opts)
|
427
|
+
|
428
|
+
@staticmethod
|
429
|
+
def get(resource_name: str,
|
430
|
+
id: pulumi.Input[str],
|
431
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
432
|
+
base_environment_id: Optional[pulumi.Input[str]] = None,
|
433
|
+
base_environment_version_id: Optional[pulumi.Input[str]] = None,
|
434
|
+
files: Optional[Any] = None,
|
435
|
+
files_hashes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
436
|
+
folder_path: Optional[pulumi.Input[str]] = None,
|
437
|
+
folder_path_hash: Optional[pulumi.Input[str]] = None,
|
438
|
+
name: Optional[pulumi.Input[str]] = None,
|
439
|
+
resources: Optional[pulumi.Input[Union['ApplicationSourceFromTemplateResourcesArgs', 'ApplicationSourceFromTemplateResourcesArgsDict']]] = None,
|
440
|
+
runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceFromTemplateRuntimeParameterValueArgs', 'ApplicationSourceFromTemplateRuntimeParameterValueArgsDict']]]]] = None,
|
441
|
+
template_id: Optional[pulumi.Input[str]] = None,
|
442
|
+
version_id: Optional[pulumi.Input[str]] = None) -> 'ApplicationSourceFromTemplate':
|
443
|
+
"""
|
444
|
+
Get an existing ApplicationSourceFromTemplate resource's state with the given name, id, and optional extra
|
445
|
+
properties used to qualify the lookup.
|
446
|
+
|
447
|
+
:param str resource_name: The unique name of the resulting resource.
|
448
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
449
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
450
|
+
:param pulumi.Input[str] base_environment_id: The ID of the base environment for the Application Source.
|
451
|
+
:param pulumi.Input[str] base_environment_version_id: The ID of the base environment version for the Application Source.
|
452
|
+
: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.
|
453
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] files_hashes: The hash of file contents for each file in files.
|
454
|
+
: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.
|
455
|
+
:param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
|
456
|
+
:param pulumi.Input[str] name: The name of the Application Source.
|
457
|
+
:param pulumi.Input[Union['ApplicationSourceFromTemplateResourcesArgs', 'ApplicationSourceFromTemplateResourcesArgsDict']] resources: The resources for the Application Source.
|
458
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceFromTemplateRuntimeParameterValueArgs', 'ApplicationSourceFromTemplateRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Application Source.
|
459
|
+
:param pulumi.Input[str] template_id: The ID of the template used to create the Application Source.
|
460
|
+
:param pulumi.Input[str] version_id: The version ID of the Application Source.
|
461
|
+
"""
|
462
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
463
|
+
|
464
|
+
__props__ = _ApplicationSourceFromTemplateState.__new__(_ApplicationSourceFromTemplateState)
|
465
|
+
|
466
|
+
__props__.__dict__["base_environment_id"] = base_environment_id
|
467
|
+
__props__.__dict__["base_environment_version_id"] = base_environment_version_id
|
468
|
+
__props__.__dict__["files"] = files
|
469
|
+
__props__.__dict__["files_hashes"] = files_hashes
|
470
|
+
__props__.__dict__["folder_path"] = folder_path
|
471
|
+
__props__.__dict__["folder_path_hash"] = folder_path_hash
|
472
|
+
__props__.__dict__["name"] = name
|
473
|
+
__props__.__dict__["resources"] = resources
|
474
|
+
__props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
|
475
|
+
__props__.__dict__["template_id"] = template_id
|
476
|
+
__props__.__dict__["version_id"] = version_id
|
477
|
+
return ApplicationSourceFromTemplate(resource_name, opts=opts, __props__=__props__)
|
478
|
+
|
479
|
+
@property
|
480
|
+
@pulumi.getter(name="baseEnvironmentId")
|
481
|
+
def base_environment_id(self) -> pulumi.Output[str]:
|
482
|
+
"""
|
483
|
+
The ID of the base environment for the Application Source.
|
484
|
+
"""
|
485
|
+
return pulumi.get(self, "base_environment_id")
|
486
|
+
|
487
|
+
@property
|
488
|
+
@pulumi.getter(name="baseEnvironmentVersionId")
|
489
|
+
def base_environment_version_id(self) -> pulumi.Output[str]:
|
490
|
+
"""
|
491
|
+
The ID of the base environment version for the Application Source.
|
492
|
+
"""
|
493
|
+
return pulumi.get(self, "base_environment_version_id")
|
494
|
+
|
495
|
+
@property
|
496
|
+
@pulumi.getter
|
497
|
+
def files(self) -> pulumi.Output[Optional[Any]]:
|
498
|
+
"""
|
499
|
+
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.
|
500
|
+
"""
|
501
|
+
return pulumi.get(self, "files")
|
502
|
+
|
503
|
+
@property
|
504
|
+
@pulumi.getter(name="filesHashes")
|
505
|
+
def files_hashes(self) -> pulumi.Output[Sequence[str]]:
|
506
|
+
"""
|
507
|
+
The hash of file contents for each file in files.
|
508
|
+
"""
|
509
|
+
return pulumi.get(self, "files_hashes")
|
510
|
+
|
511
|
+
@property
|
512
|
+
@pulumi.getter(name="folderPath")
|
513
|
+
def folder_path(self) -> pulumi.Output[Optional[str]]:
|
514
|
+
"""
|
515
|
+
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.
|
516
|
+
"""
|
517
|
+
return pulumi.get(self, "folder_path")
|
518
|
+
|
519
|
+
@property
|
520
|
+
@pulumi.getter(name="folderPathHash")
|
521
|
+
def folder_path_hash(self) -> pulumi.Output[str]:
|
522
|
+
"""
|
523
|
+
The hash of the folder path contents.
|
524
|
+
"""
|
525
|
+
return pulumi.get(self, "folder_path_hash")
|
526
|
+
|
527
|
+
@property
|
528
|
+
@pulumi.getter
|
529
|
+
def name(self) -> pulumi.Output[str]:
|
530
|
+
"""
|
531
|
+
The name of the Application Source.
|
532
|
+
"""
|
533
|
+
return pulumi.get(self, "name")
|
534
|
+
|
535
|
+
@property
|
536
|
+
@pulumi.getter
|
537
|
+
def resources(self) -> pulumi.Output['outputs.ApplicationSourceFromTemplateResources']:
|
538
|
+
"""
|
539
|
+
The resources for the Application Source.
|
540
|
+
"""
|
541
|
+
return pulumi.get(self, "resources")
|
542
|
+
|
543
|
+
@property
|
544
|
+
@pulumi.getter(name="runtimeParameterValues")
|
545
|
+
def runtime_parameter_values(self) -> pulumi.Output[Sequence['outputs.ApplicationSourceFromTemplateRuntimeParameterValue']]:
|
546
|
+
"""
|
547
|
+
The runtime parameter values for the Application Source.
|
548
|
+
"""
|
549
|
+
return pulumi.get(self, "runtime_parameter_values")
|
550
|
+
|
551
|
+
@property
|
552
|
+
@pulumi.getter(name="templateId")
|
553
|
+
def template_id(self) -> pulumi.Output[str]:
|
554
|
+
"""
|
555
|
+
The ID of the template used to create the Application Source.
|
556
|
+
"""
|
557
|
+
return pulumi.get(self, "template_id")
|
558
|
+
|
559
|
+
@property
|
560
|
+
@pulumi.getter(name="versionId")
|
561
|
+
def version_id(self) -> pulumi.Output[str]:
|
562
|
+
"""
|
563
|
+
The version ID of the Application Source.
|
564
|
+
"""
|
565
|
+
return pulumi.get(self, "version_id")
|
566
|
+
|
@@ -16,6 +16,8 @@ from . import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
|
18
18
|
__all__ = [
|
19
|
+
'ApplicationSourceFromTemplateResources',
|
20
|
+
'ApplicationSourceFromTemplateRuntimeParameterValue',
|
19
21
|
'ApplicationSourceResources',
|
20
22
|
'ApplicationSourceRuntimeParameterValue',
|
21
23
|
'BatchPredictionJobDefinitionCsvSettings',
|
@@ -82,6 +84,108 @@ __all__ = [
|
|
82
84
|
'VectorDatabaseChunkingParameters',
|
83
85
|
]
|
84
86
|
|
87
|
+
@pulumi.output_type
|
88
|
+
class ApplicationSourceFromTemplateResources(dict):
|
89
|
+
@staticmethod
|
90
|
+
def __key_warning(key: str):
|
91
|
+
suggest = None
|
92
|
+
if key == "resourceLabel":
|
93
|
+
suggest = "resource_label"
|
94
|
+
elif key == "sessionAffinity":
|
95
|
+
suggest = "session_affinity"
|
96
|
+
|
97
|
+
if suggest:
|
98
|
+
pulumi.log.warn(f"Key '{key}' not found in ApplicationSourceFromTemplateResources. Access the value via the '{suggest}' property getter instead.")
|
99
|
+
|
100
|
+
def __getitem__(self, key: str) -> Any:
|
101
|
+
ApplicationSourceFromTemplateResources.__key_warning(key)
|
102
|
+
return super().__getitem__(key)
|
103
|
+
|
104
|
+
def get(self, key: str, default = None) -> Any:
|
105
|
+
ApplicationSourceFromTemplateResources.__key_warning(key)
|
106
|
+
return super().get(key, default)
|
107
|
+
|
108
|
+
def __init__(__self__, *,
|
109
|
+
replicas: Optional[int] = None,
|
110
|
+
resource_label: Optional[str] = None,
|
111
|
+
session_affinity: Optional[bool] = None):
|
112
|
+
"""
|
113
|
+
:param int replicas: The replicas for the Application Source.
|
114
|
+
:param str resource_label: The resource label for the Application Source.
|
115
|
+
:param bool session_affinity: The session affinity for the Application Source.
|
116
|
+
"""
|
117
|
+
if replicas is not None:
|
118
|
+
pulumi.set(__self__, "replicas", replicas)
|
119
|
+
if resource_label is not None:
|
120
|
+
pulumi.set(__self__, "resource_label", resource_label)
|
121
|
+
if session_affinity is not None:
|
122
|
+
pulumi.set(__self__, "session_affinity", session_affinity)
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def replicas(self) -> Optional[int]:
|
127
|
+
"""
|
128
|
+
The replicas for the Application Source.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "replicas")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="resourceLabel")
|
134
|
+
def resource_label(self) -> Optional[str]:
|
135
|
+
"""
|
136
|
+
The resource label for the Application Source.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "resource_label")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="sessionAffinity")
|
142
|
+
def session_affinity(self) -> Optional[bool]:
|
143
|
+
"""
|
144
|
+
The session affinity for the Application Source.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "session_affinity")
|
147
|
+
|
148
|
+
|
149
|
+
@pulumi.output_type
|
150
|
+
class ApplicationSourceFromTemplateRuntimeParameterValue(dict):
|
151
|
+
def __init__(__self__, *,
|
152
|
+
key: str,
|
153
|
+
type: str,
|
154
|
+
value: str):
|
155
|
+
"""
|
156
|
+
:param str key: The name of the runtime parameter.
|
157
|
+
:param str type: The type of the runtime parameter.
|
158
|
+
:param str value: The value of the runtime parameter (type conversion is handled internally).
|
159
|
+
"""
|
160
|
+
pulumi.set(__self__, "key", key)
|
161
|
+
pulumi.set(__self__, "type", type)
|
162
|
+
pulumi.set(__self__, "value", value)
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter
|
166
|
+
def key(self) -> str:
|
167
|
+
"""
|
168
|
+
The name of the runtime parameter.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "key")
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter
|
174
|
+
def type(self) -> str:
|
175
|
+
"""
|
176
|
+
The type of the runtime parameter.
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "type")
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter
|
182
|
+
def value(self) -> str:
|
183
|
+
"""
|
184
|
+
The value of the runtime parameter (type conversion is handled internally).
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "value")
|
187
|
+
|
188
|
+
|
85
189
|
@pulumi.output_type
|
86
190
|
class ApplicationSourceResources(dict):
|
87
191
|
@staticmethod
|
@@ -5,6 +5,7 @@ pulumi_datarobot/_inputs.py
|
|
5
5
|
pulumi_datarobot/_utilities.py
|
6
6
|
pulumi_datarobot/api_token_credential.py
|
7
7
|
pulumi_datarobot/application_source.py
|
8
|
+
pulumi_datarobot/application_source_from_template.py
|
8
9
|
pulumi_datarobot/aws_credential.py
|
9
10
|
pulumi_datarobot/basic_credential.py
|
10
11
|
pulumi_datarobot/batch_prediction_job_definition.py
|
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
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/custom_metric_from_job.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/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.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/deployment_retraining_policy.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/get_execution_environment.py
RENAMED
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot/google_cloud_credential.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/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
|
{pulumi_datarobot-0.8.3 → pulumi_datarobot-0.8.4}/pulumi_datarobot.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|