pulumi-datarobot 0.10.19__tar.gz → 0.10.21__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.10.21/PKG-INFO +12 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/_inputs.py +52 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/outputs.py +30 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/registered_model.py +71 -2
- pulumi_datarobot-0.10.21/pulumi_datarobot.egg-info/PKG-INFO +12 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/SOURCES.txt +0 -1
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/setup.py +1 -1
- pulumi_datarobot-0.10.19/PKG-INFO +0 -162
- pulumi_datarobot-0.10.19/README.md +0 -151
- pulumi_datarobot-0.10.19/pulumi_datarobot.egg-info/PKG-INFO +0 -162
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/__init__.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/_utilities.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/api_token_credential.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/app_oauth.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/application_source.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/application_source_from_template.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/aws_credential.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/azure_credential.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/basic_credential.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/batch_prediction_job_definition.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/config/__init__.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/config/vars.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_application.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_application_from_environment.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_job.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_metric.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_metric_from_job.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_metric_job.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_model.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_model_llm_validation.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/dataset_from_datasource.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/dataset_from_file.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/dataset_from_url.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/datasource.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/datastore.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/deployment.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/deployment_retraining_policy.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/execution_environment.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/get_execution_environment.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/get_global_model.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/google_cloud_credential.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/llm_blueprint.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/notebook.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/notification_channel.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/notification_policy.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/playground.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/prediction_environment.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/provider.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/pulumi-plugin.json +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/py.typed +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/qa_application.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/registered_model_from_leaderboard.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/remote_repository.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/use_case.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/vector_database.py +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/requires.txt +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/top_level.txt +0 -0
- {pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/setup.cfg +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pulumi_datarobot
|
|
3
|
+
Version: 0.10.21
|
|
4
|
+
Summary: A Pulumi package for creating and managing DataRobot resources.
|
|
5
|
+
Home-page: https://www.datarobot.com
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Repository, https://github.com/datarobot-community/pulumi-datarobot
|
|
8
|
+
Keywords: datarobot ai category/cloud
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
datarobot Pulumi Package - Development Version
|
|
@@ -160,6 +160,8 @@ __all__ = [
|
|
|
160
160
|
'NotificationChannelCustomHeaderArgsDict',
|
|
161
161
|
'NotificationChannelDrEntityArgs',
|
|
162
162
|
'NotificationChannelDrEntityArgsDict',
|
|
163
|
+
'RegisteredModelTagArgs',
|
|
164
|
+
'RegisteredModelTagArgsDict',
|
|
163
165
|
'VectorDatabaseChunkingParametersArgs',
|
|
164
166
|
'VectorDatabaseChunkingParametersArgsDict',
|
|
165
167
|
]
|
|
@@ -6158,6 +6160,56 @@ class NotificationChannelDrEntityArgs:
|
|
|
6158
6160
|
pulumi.set(self, "name", value)
|
|
6159
6161
|
|
|
6160
6162
|
|
|
6163
|
+
if not MYPY:
|
|
6164
|
+
class RegisteredModelTagArgsDict(TypedDict):
|
|
6165
|
+
name: pulumi.Input[builtins.str]
|
|
6166
|
+
"""
|
|
6167
|
+
The name of the tag.
|
|
6168
|
+
"""
|
|
6169
|
+
value: pulumi.Input[builtins.str]
|
|
6170
|
+
"""
|
|
6171
|
+
The value of the tag.
|
|
6172
|
+
"""
|
|
6173
|
+
elif False:
|
|
6174
|
+
RegisteredModelTagArgsDict: TypeAlias = Mapping[str, Any]
|
|
6175
|
+
|
|
6176
|
+
@pulumi.input_type
|
|
6177
|
+
class RegisteredModelTagArgs:
|
|
6178
|
+
def __init__(__self__, *,
|
|
6179
|
+
name: pulumi.Input[builtins.str],
|
|
6180
|
+
value: pulumi.Input[builtins.str]):
|
|
6181
|
+
"""
|
|
6182
|
+
:param pulumi.Input[builtins.str] name: The name of the tag.
|
|
6183
|
+
:param pulumi.Input[builtins.str] value: The value of the tag.
|
|
6184
|
+
"""
|
|
6185
|
+
pulumi.set(__self__, "name", name)
|
|
6186
|
+
pulumi.set(__self__, "value", value)
|
|
6187
|
+
|
|
6188
|
+
@property
|
|
6189
|
+
@pulumi.getter
|
|
6190
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
6191
|
+
"""
|
|
6192
|
+
The name of the tag.
|
|
6193
|
+
"""
|
|
6194
|
+
return pulumi.get(self, "name")
|
|
6195
|
+
|
|
6196
|
+
@name.setter
|
|
6197
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
6198
|
+
pulumi.set(self, "name", value)
|
|
6199
|
+
|
|
6200
|
+
@property
|
|
6201
|
+
@pulumi.getter
|
|
6202
|
+
def value(self) -> pulumi.Input[builtins.str]:
|
|
6203
|
+
"""
|
|
6204
|
+
The value of the tag.
|
|
6205
|
+
"""
|
|
6206
|
+
return pulumi.get(self, "value")
|
|
6207
|
+
|
|
6208
|
+
@value.setter
|
|
6209
|
+
def value(self, value: pulumi.Input[builtins.str]):
|
|
6210
|
+
pulumi.set(self, "value", value)
|
|
6211
|
+
|
|
6212
|
+
|
|
6161
6213
|
if not MYPY:
|
|
6162
6214
|
class VectorDatabaseChunkingParametersArgsDict(TypedDict):
|
|
6163
6215
|
chunk_overlap_percentage: NotRequired[pulumi.Input[builtins.int]]
|
|
@@ -89,6 +89,7 @@ __all__ = [
|
|
|
89
89
|
'LlmBlueprintVectorDatabaseSettings',
|
|
90
90
|
'NotificationChannelCustomHeader',
|
|
91
91
|
'NotificationChannelDrEntity',
|
|
92
|
+
'RegisteredModelTag',
|
|
92
93
|
'VectorDatabaseChunkingParameters',
|
|
93
94
|
]
|
|
94
95
|
|
|
@@ -4741,6 +4742,35 @@ class NotificationChannelDrEntity(dict):
|
|
|
4741
4742
|
return pulumi.get(self, "name")
|
|
4742
4743
|
|
|
4743
4744
|
|
|
4745
|
+
@pulumi.output_type
|
|
4746
|
+
class RegisteredModelTag(dict):
|
|
4747
|
+
def __init__(__self__, *,
|
|
4748
|
+
name: builtins.str,
|
|
4749
|
+
value: builtins.str):
|
|
4750
|
+
"""
|
|
4751
|
+
:param builtins.str name: The name of the tag.
|
|
4752
|
+
:param builtins.str value: The value of the tag.
|
|
4753
|
+
"""
|
|
4754
|
+
pulumi.set(__self__, "name", name)
|
|
4755
|
+
pulumi.set(__self__, "value", value)
|
|
4756
|
+
|
|
4757
|
+
@property
|
|
4758
|
+
@pulumi.getter
|
|
4759
|
+
def name(self) -> builtins.str:
|
|
4760
|
+
"""
|
|
4761
|
+
The name of the tag.
|
|
4762
|
+
"""
|
|
4763
|
+
return pulumi.get(self, "name")
|
|
4764
|
+
|
|
4765
|
+
@property
|
|
4766
|
+
@pulumi.getter
|
|
4767
|
+
def value(self) -> builtins.str:
|
|
4768
|
+
"""
|
|
4769
|
+
The value of the tag.
|
|
4770
|
+
"""
|
|
4771
|
+
return pulumi.get(self, "value")
|
|
4772
|
+
|
|
4773
|
+
|
|
4744
4774
|
@pulumi.output_type
|
|
4745
4775
|
class VectorDatabaseChunkingParameters(dict):
|
|
4746
4776
|
@staticmethod
|
|
@@ -14,6 +14,8 @@ if sys.version_info >= (3, 11):
|
|
|
14
14
|
else:
|
|
15
15
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
16
|
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
17
19
|
|
|
18
20
|
__all__ = ['RegisteredModelArgs', 'RegisteredModel']
|
|
19
21
|
|
|
@@ -23,6 +25,7 @@ class RegisteredModelArgs:
|
|
|
23
25
|
custom_model_version_id: pulumi.Input[builtins.str],
|
|
24
26
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
25
27
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['RegisteredModelTagArgs']]]] = None,
|
|
26
29
|
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
27
30
|
version_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
28
31
|
"""
|
|
@@ -30,6 +33,7 @@ class RegisteredModelArgs:
|
|
|
30
33
|
:param pulumi.Input[builtins.str] custom_model_version_id: The ID of the custom model version for this Registered Model.
|
|
31
34
|
:param pulumi.Input[builtins.str] description: The description of the Registered Model.
|
|
32
35
|
:param pulumi.Input[builtins.str] name: The name of the Registered Model.
|
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input['RegisteredModelTagArgs']]] tags: The list of tags to assign to the Registered Model version.
|
|
33
37
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] use_case_ids: The list of Use Case IDs to add the Registered Model version to.
|
|
34
38
|
:param pulumi.Input[builtins.str] version_name: The name of the Registered Model Version.
|
|
35
39
|
"""
|
|
@@ -38,6 +42,8 @@ class RegisteredModelArgs:
|
|
|
38
42
|
pulumi.set(__self__, "description", description)
|
|
39
43
|
if name is not None:
|
|
40
44
|
pulumi.set(__self__, "name", name)
|
|
45
|
+
if tags is not None:
|
|
46
|
+
pulumi.set(__self__, "tags", tags)
|
|
41
47
|
if use_case_ids is not None:
|
|
42
48
|
pulumi.set(__self__, "use_case_ids", use_case_ids)
|
|
43
49
|
if version_name is not None:
|
|
@@ -79,6 +85,18 @@ class RegisteredModelArgs:
|
|
|
79
85
|
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
80
86
|
pulumi.set(self, "name", value)
|
|
81
87
|
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter
|
|
90
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RegisteredModelTagArgs']]]]:
|
|
91
|
+
"""
|
|
92
|
+
The list of tags to assign to the Registered Model version.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "tags")
|
|
95
|
+
|
|
96
|
+
@tags.setter
|
|
97
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RegisteredModelTagArgs']]]]):
|
|
98
|
+
pulumi.set(self, "tags", value)
|
|
99
|
+
|
|
82
100
|
@property
|
|
83
101
|
@pulumi.getter(name="useCaseIds")
|
|
84
102
|
def use_case_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
@@ -110,6 +128,7 @@ class _RegisteredModelState:
|
|
|
110
128
|
custom_model_version_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
111
129
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
112
130
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
131
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['RegisteredModelTagArgs']]]] = None,
|
|
113
132
|
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
114
133
|
version_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
115
134
|
version_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
@@ -118,6 +137,7 @@ class _RegisteredModelState:
|
|
|
118
137
|
:param pulumi.Input[builtins.str] custom_model_version_id: The ID of the custom model version for this Registered Model.
|
|
119
138
|
:param pulumi.Input[builtins.str] description: The description of the Registered Model.
|
|
120
139
|
:param pulumi.Input[builtins.str] name: The name of the Registered Model.
|
|
140
|
+
:param pulumi.Input[Sequence[pulumi.Input['RegisteredModelTagArgs']]] tags: The list of tags to assign to the Registered Model version.
|
|
121
141
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] use_case_ids: The list of Use Case IDs to add the Registered Model version to.
|
|
122
142
|
:param pulumi.Input[builtins.str] version_id: The ID of the Registered Model Version.
|
|
123
143
|
:param pulumi.Input[builtins.str] version_name: The name of the Registered Model Version.
|
|
@@ -128,6 +148,8 @@ class _RegisteredModelState:
|
|
|
128
148
|
pulumi.set(__self__, "description", description)
|
|
129
149
|
if name is not None:
|
|
130
150
|
pulumi.set(__self__, "name", name)
|
|
151
|
+
if tags is not None:
|
|
152
|
+
pulumi.set(__self__, "tags", tags)
|
|
131
153
|
if use_case_ids is not None:
|
|
132
154
|
pulumi.set(__self__, "use_case_ids", use_case_ids)
|
|
133
155
|
if version_id is not None:
|
|
@@ -171,6 +193,18 @@ class _RegisteredModelState:
|
|
|
171
193
|
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
172
194
|
pulumi.set(self, "name", value)
|
|
173
195
|
|
|
196
|
+
@property
|
|
197
|
+
@pulumi.getter
|
|
198
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RegisteredModelTagArgs']]]]:
|
|
199
|
+
"""
|
|
200
|
+
The list of tags to assign to the Registered Model version.
|
|
201
|
+
"""
|
|
202
|
+
return pulumi.get(self, "tags")
|
|
203
|
+
|
|
204
|
+
@tags.setter
|
|
205
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RegisteredModelTagArgs']]]]):
|
|
206
|
+
pulumi.set(self, "tags", value)
|
|
207
|
+
|
|
174
208
|
@property
|
|
175
209
|
@pulumi.getter(name="useCaseIds")
|
|
176
210
|
def use_case_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
@@ -216,6 +250,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
216
250
|
custom_model_version_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
217
251
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
218
252
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
253
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegisteredModelTagArgs', 'RegisteredModelTagArgsDict']]]]] = None,
|
|
219
254
|
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
220
255
|
version_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
221
256
|
__props__=None):
|
|
@@ -236,7 +271,17 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
236
271
|
files=["example.py"])
|
|
237
272
|
example_registered_model = datarobot.RegisteredModel("exampleRegisteredModel",
|
|
238
273
|
custom_model_version_id=example_custom_model.version_id,
|
|
239
|
-
description="Description for the example registered model"
|
|
274
|
+
description="Description for the example registered model",
|
|
275
|
+
tags=[
|
|
276
|
+
{
|
|
277
|
+
"name": "ab-test",
|
|
278
|
+
"value": "a1",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "team",
|
|
282
|
+
"value": "marketing",
|
|
283
|
+
},
|
|
284
|
+
])
|
|
240
285
|
pulumi.export("datarobotRegisteredModelId", example_registered_model.id)
|
|
241
286
|
pulumi.export("datarobotRegisteredModelVersionId", example_registered_model.version_id)
|
|
242
287
|
```
|
|
@@ -246,6 +291,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
246
291
|
:param pulumi.Input[builtins.str] custom_model_version_id: The ID of the custom model version for this Registered Model.
|
|
247
292
|
:param pulumi.Input[builtins.str] description: The description of the Registered Model.
|
|
248
293
|
:param pulumi.Input[builtins.str] name: The name of the Registered Model.
|
|
294
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RegisteredModelTagArgs', 'RegisteredModelTagArgsDict']]]] tags: The list of tags to assign to the Registered Model version.
|
|
249
295
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] use_case_ids: The list of Use Case IDs to add the Registered Model version to.
|
|
250
296
|
:param pulumi.Input[builtins.str] version_name: The name of the Registered Model Version.
|
|
251
297
|
"""
|
|
@@ -272,7 +318,17 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
272
318
|
files=["example.py"])
|
|
273
319
|
example_registered_model = datarobot.RegisteredModel("exampleRegisteredModel",
|
|
274
320
|
custom_model_version_id=example_custom_model.version_id,
|
|
275
|
-
description="Description for the example registered model"
|
|
321
|
+
description="Description for the example registered model",
|
|
322
|
+
tags=[
|
|
323
|
+
{
|
|
324
|
+
"name": "ab-test",
|
|
325
|
+
"value": "a1",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "team",
|
|
329
|
+
"value": "marketing",
|
|
330
|
+
},
|
|
331
|
+
])
|
|
276
332
|
pulumi.export("datarobotRegisteredModelId", example_registered_model.id)
|
|
277
333
|
pulumi.export("datarobotRegisteredModelVersionId", example_registered_model.version_id)
|
|
278
334
|
```
|
|
@@ -295,6 +351,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
295
351
|
custom_model_version_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
296
352
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
353
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
354
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegisteredModelTagArgs', 'RegisteredModelTagArgsDict']]]]] = None,
|
|
298
355
|
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
299
356
|
version_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
357
|
__props__=None):
|
|
@@ -311,6 +368,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
311
368
|
__props__.__dict__["custom_model_version_id"] = custom_model_version_id
|
|
312
369
|
__props__.__dict__["description"] = description
|
|
313
370
|
__props__.__dict__["name"] = name
|
|
371
|
+
__props__.__dict__["tags"] = tags
|
|
314
372
|
__props__.__dict__["use_case_ids"] = use_case_ids
|
|
315
373
|
__props__.__dict__["version_name"] = version_name
|
|
316
374
|
__props__.__dict__["version_id"] = None
|
|
@@ -327,6 +385,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
327
385
|
custom_model_version_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
328
386
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
329
387
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
388
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegisteredModelTagArgs', 'RegisteredModelTagArgsDict']]]]] = None,
|
|
330
389
|
use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
331
390
|
version_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
332
391
|
version_name: Optional[pulumi.Input[builtins.str]] = None) -> 'RegisteredModel':
|
|
@@ -340,6 +399,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
340
399
|
:param pulumi.Input[builtins.str] custom_model_version_id: The ID of the custom model version for this Registered Model.
|
|
341
400
|
:param pulumi.Input[builtins.str] description: The description of the Registered Model.
|
|
342
401
|
:param pulumi.Input[builtins.str] name: The name of the Registered Model.
|
|
402
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RegisteredModelTagArgs', 'RegisteredModelTagArgsDict']]]] tags: The list of tags to assign to the Registered Model version.
|
|
343
403
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] use_case_ids: The list of Use Case IDs to add the Registered Model version to.
|
|
344
404
|
:param pulumi.Input[builtins.str] version_id: The ID of the Registered Model Version.
|
|
345
405
|
:param pulumi.Input[builtins.str] version_name: The name of the Registered Model Version.
|
|
@@ -351,6 +411,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
351
411
|
__props__.__dict__["custom_model_version_id"] = custom_model_version_id
|
|
352
412
|
__props__.__dict__["description"] = description
|
|
353
413
|
__props__.__dict__["name"] = name
|
|
414
|
+
__props__.__dict__["tags"] = tags
|
|
354
415
|
__props__.__dict__["use_case_ids"] = use_case_ids
|
|
355
416
|
__props__.__dict__["version_id"] = version_id
|
|
356
417
|
__props__.__dict__["version_name"] = version_name
|
|
@@ -380,6 +441,14 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
380
441
|
"""
|
|
381
442
|
return pulumi.get(self, "name")
|
|
382
443
|
|
|
444
|
+
@property
|
|
445
|
+
@pulumi.getter
|
|
446
|
+
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.RegisteredModelTag']]]:
|
|
447
|
+
"""
|
|
448
|
+
The list of tags to assign to the Registered Model version.
|
|
449
|
+
"""
|
|
450
|
+
return pulumi.get(self, "tags")
|
|
451
|
+
|
|
383
452
|
@property
|
|
384
453
|
@pulumi.getter(name="useCaseIds")
|
|
385
454
|
def use_case_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pulumi-datarobot
|
|
3
|
+
Version: 0.10.21
|
|
4
|
+
Summary: A Pulumi package for creating and managing DataRobot resources.
|
|
5
|
+
Home-page: https://www.datarobot.com
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Repository, https://github.com/datarobot-community/pulumi-datarobot
|
|
8
|
+
Keywords: datarobot ai category/cloud
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
datarobot Pulumi Package - Development Version
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: pulumi_datarobot
|
|
3
|
-
Version: 0.10.19
|
|
4
|
-
Summary: A Pulumi package for creating and managing DataRobot resources.
|
|
5
|
-
Home-page: https://www.datarobot.com
|
|
6
|
-
License: Apache-2.0
|
|
7
|
-
Project-URL: Repository, https://github.com/datarobot-community/pulumi-datarobot
|
|
8
|
-
Keywords: datarobot ai category/cloud
|
|
9
|
-
Requires-Python: >=3.9
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
|
|
12
|
-
# DataRobot Resource Provider
|
|
13
|
-
|
|
14
|
-
The DataRobot Resource Provider lets you manage [DataRobot](https://www.datarobot.com/) resources.
|
|
15
|
-
The provider is built on [terraform-provider-datarobot](https://github.com/datarobot-community/terraform-provider-datarobot).
|
|
16
|
-
To use this package, please install the [Pulumi CLI](https://pulumi.io/) first.
|
|
17
|
-
|
|
18
|
-
## Installing
|
|
19
|
-
|
|
20
|
-
This package is available for several languages/platforms:
|
|
21
|
-
|
|
22
|
-
- Python: [`pulumi-datarobot`](https://pypi.org/project/pulumi-datarobot/)
|
|
23
|
-
- JavaScript/TypeScript: [`@datarobot/pulumi-datarobot`](https://www.npmjs.com/package/@datarobot/pulumi-datarobot)
|
|
24
|
-
- Go: [`github.com/datarobot-community/pulumi-datarobot/sdk`](https://pkg.go.dev/github.com/datarobot-community/pulumi-datarobot/sdk)
|
|
25
|
-
- .NET: [`DataRobotPulumi.Datarobot`](https://www.nuget.org/packages/DataRobotPulumi.Datarobot)
|
|
26
|
-
|
|
27
|
-
### Python
|
|
28
|
-
|
|
29
|
-
To use from Python, install using `pip`:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
pip install pulumi_datarobot
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Javascript/Typescript
|
|
36
|
-
|
|
37
|
-
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
npm install @datarobot/pulumi-datarobot
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
or `yarn`:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
yarn add @datarobot/pulumi-datarobot
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Go
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
go get github.com/datarobot-community/pulumi-datarobot/sdk/go/...
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### .NET
|
|
56
|
-
|
|
57
|
-
To use from .NET, install using `dotnet add package`:
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
dotnet add package DataRobotPulumi.Datarobot
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### YAML
|
|
64
|
-
|
|
65
|
-
No install necessary, just run `pulumi up`.
|
|
66
|
-
|
|
67
|
-
## Configuration
|
|
68
|
-
|
|
69
|
-
The following configuration points are available for the DataRobot provider:
|
|
70
|
-
|
|
71
|
-
- `datarobot:apikey` (environment: `DATAROBOT_API_TOKEN`) - the API key for DataRobot
|
|
72
|
-
- `datarobot:endpoint` (environment: `DATAROBOT_ENDPOINT`) - the endpoint for DataRobot
|
|
73
|
-
|
|
74
|
-
## Examples
|
|
75
|
-
|
|
76
|
-
See [datarobot-pulumi examples](https://github.com/datarobot-community/pulumi-datarobot/tree/main/examples)
|
|
77
|
-
|
|
78
|
-
## Air-Gapped Environments
|
|
79
|
-
|
|
80
|
-
Keep the following items in mind if running in an air-gapped environment:
|
|
81
|
-
|
|
82
|
-
- Run `pulumi login --local` to store state files on your local filesystem, instead of the default Pulumi Cloud. Pulumi binaries are available [here](https://www.pulumi.com/docs/iac/download-install/).
|
|
83
|
-
- Set `DATAROBOT_ENDPOINT`: https://{datarobot.example.com}/api/v2
|
|
84
|
-
(replacing {datarobot.example.com} with your specific deployment endpoint)
|
|
85
|
-
- For Python, the [pulumi](https://pypi.org/project/pulumi/) and [pulumi-datarobot](https://pypi.org/project/pulumi-datarobot/) packages must be installed in the air-gapped system.
|
|
86
|
-
|
|
87
|
-
Example using `pip wheel`:
|
|
88
|
-
|
|
89
|
-
1. create a directory where you want to store package wheels.
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
mkdir folder_containing_wheel
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
2. Now install wheels of the python library you want to install
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
pip wheel pulumi-datarobot -w folder_containing_wheel
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
This will store all your required dependent wheels of the `pulumi-datarobot` package in the folder. you can check it with doing ls -ltr`.
|
|
102
|
-
|
|
103
|
-
3. Now, you can make a tar file of this folder.
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
tar cf folder_containing_wheel.tar folder_containing_wheel/
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
and you can transfer it to your air-gapped system.
|
|
110
|
-
|
|
111
|
-
Now untar the folder.
|
|
112
|
-
|
|
113
|
-
```bash
|
|
114
|
-
tar xf folder_containing_wheel.tar
|
|
115
|
-
cd folder_containing_wheel/
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
now install wheels from the folder.
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
pip install * -f ./ --no-index
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
You will also need to download the binary plugin from this repository. Click on the version that matches the Python package
|
|
125
|
-
version from our [Releases](https://github.com/datarobot-community/pulumi-datarobot/releases) page, download the tar.gz
|
|
126
|
-
for the correct architecture of your computer. For Codespaces, that is `*-linux-amd64.tar.gz`. After you've extracted it
|
|
127
|
-
install it with:
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
pulumi plugin install resource datarobot <version> -f <path-to-extracted-folder>
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## Rate limited by GitHub?
|
|
134
|
-
|
|
135
|
-
> [!IMPORTANT]
|
|
136
|
-
> GitHub has hard limits on API calls that cannot be changed. If you are
|
|
137
|
-
running into this when running deployment tasks you have a couple of
|
|
138
|
-
options. You can wait until the [rate
|
|
139
|
-
limit](https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#primary-rate-limit-for-unauthenticated-users)
|
|
140
|
-
expires or you can do a direct download from the releases page which
|
|
141
|
-
will not use the API and hit the limit.
|
|
142
|
-
|
|
143
|
-
To directly download the plugin and bypass the GitHub API run:
|
|
144
|
-
```bash
|
|
145
|
-
pulumi plugin install resource datarobot <version> --server https://github.com/datarobot-community/pulumi-datarobot/releases/download/<version>/
|
|
146
|
-
```
|
|
147
|
-
For example, to download version **0.10.14**, you can run:
|
|
148
|
-
|
|
149
|
-
```bash
|
|
150
|
-
pulumi plugin install resource datarobot v0.10.14 --server https://github.com/datarobot-community/pulumi-datarobot/releases/download/v0.10.14/
|
|
151
|
-
```
|
|
152
|
-
prior to running the deploy to directly install the plugin.
|
|
153
|
-
|
|
154
|
-
After you have it downloaded, it will still attempt to query for
|
|
155
|
-
updates via the GitHub API that can trigger rate limits. To bypass
|
|
156
|
-
that, set the environment variable: `PULUMI_SKIP_UPDATE_CHECK`
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
export PULUMI_SKIP_UPDATE_CHECK=1
|
|
160
|
-
# OR
|
|
161
|
-
export PULUMI_SKIP_UPDATE_CHECK=true
|
|
162
|
-
```
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
# DataRobot Resource Provider
|
|
2
|
-
|
|
3
|
-
The DataRobot Resource Provider lets you manage [DataRobot](https://www.datarobot.com/) resources.
|
|
4
|
-
The provider is built on [terraform-provider-datarobot](https://github.com/datarobot-community/terraform-provider-datarobot).
|
|
5
|
-
To use this package, please install the [Pulumi CLI](https://pulumi.io/) first.
|
|
6
|
-
|
|
7
|
-
## Installing
|
|
8
|
-
|
|
9
|
-
This package is available for several languages/platforms:
|
|
10
|
-
|
|
11
|
-
- Python: [`pulumi-datarobot`](https://pypi.org/project/pulumi-datarobot/)
|
|
12
|
-
- JavaScript/TypeScript: [`@datarobot/pulumi-datarobot`](https://www.npmjs.com/package/@datarobot/pulumi-datarobot)
|
|
13
|
-
- Go: [`github.com/datarobot-community/pulumi-datarobot/sdk`](https://pkg.go.dev/github.com/datarobot-community/pulumi-datarobot/sdk)
|
|
14
|
-
- .NET: [`DataRobotPulumi.Datarobot`](https://www.nuget.org/packages/DataRobotPulumi.Datarobot)
|
|
15
|
-
|
|
16
|
-
### Python
|
|
17
|
-
|
|
18
|
-
To use from Python, install using `pip`:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install pulumi_datarobot
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### Javascript/Typescript
|
|
25
|
-
|
|
26
|
-
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
npm install @datarobot/pulumi-datarobot
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
or `yarn`:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
yarn add @datarobot/pulumi-datarobot
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Go
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
go get github.com/datarobot-community/pulumi-datarobot/sdk/go/...
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### .NET
|
|
45
|
-
|
|
46
|
-
To use from .NET, install using `dotnet add package`:
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
dotnet add package DataRobotPulumi.Datarobot
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### YAML
|
|
53
|
-
|
|
54
|
-
No install necessary, just run `pulumi up`.
|
|
55
|
-
|
|
56
|
-
## Configuration
|
|
57
|
-
|
|
58
|
-
The following configuration points are available for the DataRobot provider:
|
|
59
|
-
|
|
60
|
-
- `datarobot:apikey` (environment: `DATAROBOT_API_TOKEN`) - the API key for DataRobot
|
|
61
|
-
- `datarobot:endpoint` (environment: `DATAROBOT_ENDPOINT`) - the endpoint for DataRobot
|
|
62
|
-
|
|
63
|
-
## Examples
|
|
64
|
-
|
|
65
|
-
See [datarobot-pulumi examples](https://github.com/datarobot-community/pulumi-datarobot/tree/main/examples)
|
|
66
|
-
|
|
67
|
-
## Air-Gapped Environments
|
|
68
|
-
|
|
69
|
-
Keep the following items in mind if running in an air-gapped environment:
|
|
70
|
-
|
|
71
|
-
- Run `pulumi login --local` to store state files on your local filesystem, instead of the default Pulumi Cloud. Pulumi binaries are available [here](https://www.pulumi.com/docs/iac/download-install/).
|
|
72
|
-
- Set `DATAROBOT_ENDPOINT`: https://{datarobot.example.com}/api/v2
|
|
73
|
-
(replacing {datarobot.example.com} with your specific deployment endpoint)
|
|
74
|
-
- For Python, the [pulumi](https://pypi.org/project/pulumi/) and [pulumi-datarobot](https://pypi.org/project/pulumi-datarobot/) packages must be installed in the air-gapped system.
|
|
75
|
-
|
|
76
|
-
Example using `pip wheel`:
|
|
77
|
-
|
|
78
|
-
1. create a directory where you want to store package wheels.
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
mkdir folder_containing_wheel
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
2. Now install wheels of the python library you want to install
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
pip wheel pulumi-datarobot -w folder_containing_wheel
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
This will store all your required dependent wheels of the `pulumi-datarobot` package in the folder. you can check it with doing ls -ltr`.
|
|
91
|
-
|
|
92
|
-
3. Now, you can make a tar file of this folder.
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
tar cf folder_containing_wheel.tar folder_containing_wheel/
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
and you can transfer it to your air-gapped system.
|
|
99
|
-
|
|
100
|
-
Now untar the folder.
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
tar xf folder_containing_wheel.tar
|
|
104
|
-
cd folder_containing_wheel/
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
now install wheels from the folder.
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
pip install * -f ./ --no-index
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
You will also need to download the binary plugin from this repository. Click on the version that matches the Python package
|
|
114
|
-
version from our [Releases](https://github.com/datarobot-community/pulumi-datarobot/releases) page, download the tar.gz
|
|
115
|
-
for the correct architecture of your computer. For Codespaces, that is `*-linux-amd64.tar.gz`. After you've extracted it
|
|
116
|
-
install it with:
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
pulumi plugin install resource datarobot <version> -f <path-to-extracted-folder>
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
## Rate limited by GitHub?
|
|
123
|
-
|
|
124
|
-
> [!IMPORTANT]
|
|
125
|
-
> GitHub has hard limits on API calls that cannot be changed. If you are
|
|
126
|
-
running into this when running deployment tasks you have a couple of
|
|
127
|
-
options. You can wait until the [rate
|
|
128
|
-
limit](https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#primary-rate-limit-for-unauthenticated-users)
|
|
129
|
-
expires or you can do a direct download from the releases page which
|
|
130
|
-
will not use the API and hit the limit.
|
|
131
|
-
|
|
132
|
-
To directly download the plugin and bypass the GitHub API run:
|
|
133
|
-
```bash
|
|
134
|
-
pulumi plugin install resource datarobot <version> --server https://github.com/datarobot-community/pulumi-datarobot/releases/download/<version>/
|
|
135
|
-
```
|
|
136
|
-
For example, to download version **0.10.14**, you can run:
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
pulumi plugin install resource datarobot v0.10.14 --server https://github.com/datarobot-community/pulumi-datarobot/releases/download/v0.10.14/
|
|
140
|
-
```
|
|
141
|
-
prior to running the deploy to directly install the plugin.
|
|
142
|
-
|
|
143
|
-
After you have it downloaded, it will still attempt to query for
|
|
144
|
-
updates via the GitHub API that can trigger rate limits. To bypass
|
|
145
|
-
that, set the environment variable: `PULUMI_SKIP_UPDATE_CHECK`
|
|
146
|
-
|
|
147
|
-
```bash
|
|
148
|
-
export PULUMI_SKIP_UPDATE_CHECK=1
|
|
149
|
-
# OR
|
|
150
|
-
export PULUMI_SKIP_UPDATE_CHECK=true
|
|
151
|
-
```
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: pulumi-datarobot
|
|
3
|
-
Version: 0.10.19
|
|
4
|
-
Summary: A Pulumi package for creating and managing DataRobot resources.
|
|
5
|
-
Home-page: https://www.datarobot.com
|
|
6
|
-
License: Apache-2.0
|
|
7
|
-
Project-URL: Repository, https://github.com/datarobot-community/pulumi-datarobot
|
|
8
|
-
Keywords: datarobot ai category/cloud
|
|
9
|
-
Requires-Python: >=3.9
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
|
|
12
|
-
# DataRobot Resource Provider
|
|
13
|
-
|
|
14
|
-
The DataRobot Resource Provider lets you manage [DataRobot](https://www.datarobot.com/) resources.
|
|
15
|
-
The provider is built on [terraform-provider-datarobot](https://github.com/datarobot-community/terraform-provider-datarobot).
|
|
16
|
-
To use this package, please install the [Pulumi CLI](https://pulumi.io/) first.
|
|
17
|
-
|
|
18
|
-
## Installing
|
|
19
|
-
|
|
20
|
-
This package is available for several languages/platforms:
|
|
21
|
-
|
|
22
|
-
- Python: [`pulumi-datarobot`](https://pypi.org/project/pulumi-datarobot/)
|
|
23
|
-
- JavaScript/TypeScript: [`@datarobot/pulumi-datarobot`](https://www.npmjs.com/package/@datarobot/pulumi-datarobot)
|
|
24
|
-
- Go: [`github.com/datarobot-community/pulumi-datarobot/sdk`](https://pkg.go.dev/github.com/datarobot-community/pulumi-datarobot/sdk)
|
|
25
|
-
- .NET: [`DataRobotPulumi.Datarobot`](https://www.nuget.org/packages/DataRobotPulumi.Datarobot)
|
|
26
|
-
|
|
27
|
-
### Python
|
|
28
|
-
|
|
29
|
-
To use from Python, install using `pip`:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
pip install pulumi_datarobot
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Javascript/Typescript
|
|
36
|
-
|
|
37
|
-
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
npm install @datarobot/pulumi-datarobot
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
or `yarn`:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
yarn add @datarobot/pulumi-datarobot
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Go
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
go get github.com/datarobot-community/pulumi-datarobot/sdk/go/...
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### .NET
|
|
56
|
-
|
|
57
|
-
To use from .NET, install using `dotnet add package`:
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
dotnet add package DataRobotPulumi.Datarobot
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### YAML
|
|
64
|
-
|
|
65
|
-
No install necessary, just run `pulumi up`.
|
|
66
|
-
|
|
67
|
-
## Configuration
|
|
68
|
-
|
|
69
|
-
The following configuration points are available for the DataRobot provider:
|
|
70
|
-
|
|
71
|
-
- `datarobot:apikey` (environment: `DATAROBOT_API_TOKEN`) - the API key for DataRobot
|
|
72
|
-
- `datarobot:endpoint` (environment: `DATAROBOT_ENDPOINT`) - the endpoint for DataRobot
|
|
73
|
-
|
|
74
|
-
## Examples
|
|
75
|
-
|
|
76
|
-
See [datarobot-pulumi examples](https://github.com/datarobot-community/pulumi-datarobot/tree/main/examples)
|
|
77
|
-
|
|
78
|
-
## Air-Gapped Environments
|
|
79
|
-
|
|
80
|
-
Keep the following items in mind if running in an air-gapped environment:
|
|
81
|
-
|
|
82
|
-
- Run `pulumi login --local` to store state files on your local filesystem, instead of the default Pulumi Cloud. Pulumi binaries are available [here](https://www.pulumi.com/docs/iac/download-install/).
|
|
83
|
-
- Set `DATAROBOT_ENDPOINT`: https://{datarobot.example.com}/api/v2
|
|
84
|
-
(replacing {datarobot.example.com} with your specific deployment endpoint)
|
|
85
|
-
- For Python, the [pulumi](https://pypi.org/project/pulumi/) and [pulumi-datarobot](https://pypi.org/project/pulumi-datarobot/) packages must be installed in the air-gapped system.
|
|
86
|
-
|
|
87
|
-
Example using `pip wheel`:
|
|
88
|
-
|
|
89
|
-
1. create a directory where you want to store package wheels.
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
mkdir folder_containing_wheel
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
2. Now install wheels of the python library you want to install
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
pip wheel pulumi-datarobot -w folder_containing_wheel
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
This will store all your required dependent wheels of the `pulumi-datarobot` package in the folder. you can check it with doing ls -ltr`.
|
|
102
|
-
|
|
103
|
-
3. Now, you can make a tar file of this folder.
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
tar cf folder_containing_wheel.tar folder_containing_wheel/
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
and you can transfer it to your air-gapped system.
|
|
110
|
-
|
|
111
|
-
Now untar the folder.
|
|
112
|
-
|
|
113
|
-
```bash
|
|
114
|
-
tar xf folder_containing_wheel.tar
|
|
115
|
-
cd folder_containing_wheel/
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
now install wheels from the folder.
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
pip install * -f ./ --no-index
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
You will also need to download the binary plugin from this repository. Click on the version that matches the Python package
|
|
125
|
-
version from our [Releases](https://github.com/datarobot-community/pulumi-datarobot/releases) page, download the tar.gz
|
|
126
|
-
for the correct architecture of your computer. For Codespaces, that is `*-linux-amd64.tar.gz`. After you've extracted it
|
|
127
|
-
install it with:
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
pulumi plugin install resource datarobot <version> -f <path-to-extracted-folder>
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## Rate limited by GitHub?
|
|
134
|
-
|
|
135
|
-
> [!IMPORTANT]
|
|
136
|
-
> GitHub has hard limits on API calls that cannot be changed. If you are
|
|
137
|
-
running into this when running deployment tasks you have a couple of
|
|
138
|
-
options. You can wait until the [rate
|
|
139
|
-
limit](https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#primary-rate-limit-for-unauthenticated-users)
|
|
140
|
-
expires or you can do a direct download from the releases page which
|
|
141
|
-
will not use the API and hit the limit.
|
|
142
|
-
|
|
143
|
-
To directly download the plugin and bypass the GitHub API run:
|
|
144
|
-
```bash
|
|
145
|
-
pulumi plugin install resource datarobot <version> --server https://github.com/datarobot-community/pulumi-datarobot/releases/download/<version>/
|
|
146
|
-
```
|
|
147
|
-
For example, to download version **0.10.14**, you can run:
|
|
148
|
-
|
|
149
|
-
```bash
|
|
150
|
-
pulumi plugin install resource datarobot v0.10.14 --server https://github.com/datarobot-community/pulumi-datarobot/releases/download/v0.10.14/
|
|
151
|
-
```
|
|
152
|
-
prior to running the deploy to directly install the plugin.
|
|
153
|
-
|
|
154
|
-
After you have it downloaded, it will still attempt to query for
|
|
155
|
-
updates via the GitHub API that can trigger rate limits. To bypass
|
|
156
|
-
that, set the environment variable: `PULUMI_SKIP_UPDATE_CHECK`
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
export PULUMI_SKIP_UPDATE_CHECK=1
|
|
160
|
-
# OR
|
|
161
|
-
export PULUMI_SKIP_UPDATE_CHECK=true
|
|
162
|
-
```
|
|
File without changes
|
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/api_token_credential.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/application_source.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
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_application.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/custom_metric_from_job.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/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
|
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/execution_environment.py
RENAMED
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/get_execution_environment.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/google_cloud_credential.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/notification_channel.py
RENAMED
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot/notification_policy.py
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/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
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/requires.txt
RENAMED
|
File without changes
|
{pulumi_datarobot-0.10.19 → pulumi_datarobot-0.10.21}/pulumi_datarobot.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|