pulumi-datarobot 0.9.3__tar.gz → 0.9.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.
Files changed (57) hide show
  1. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/PKG-INFO +4 -5
  2. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/_inputs.py +109 -0
  3. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/api_token_credential.py +1 -0
  4. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/application_source.py +1 -0
  5. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/application_source_from_template.py +1 -0
  6. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/aws_credential.py +1 -0
  7. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/azure_credential.py +1 -0
  8. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/basic_credential.py +1 -0
  9. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/batch_prediction_job_definition.py +1 -0
  10. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/custom_application.py +1 -0
  11. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/custom_application_from_environment.py +1 -0
  12. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/custom_job.py +98 -51
  13. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/custom_metric.py +1 -0
  14. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/custom_metric_from_job.py +1 -0
  15. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/custom_metric_job.py +1 -0
  16. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/custom_model.py +1 -0
  17. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/custom_model_llm_validation.py +1 -0
  18. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/dataset_from_datasource.py +1 -0
  19. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/dataset_from_file.py +1 -0
  20. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/dataset_from_url.py +1 -0
  21. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/datasource.py +1 -0
  22. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/datastore.py +1 -0
  23. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/deployment.py +1 -0
  24. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/deployment_retraining_policy.py +51 -3
  25. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/execution_environment.py +1 -0
  26. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/google_cloud_credential.py +1 -0
  27. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/llm_blueprint.py +1 -0
  28. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/notebook.py +1 -0
  29. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/notification_channel.py +1 -0
  30. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/notification_policy.py +1 -0
  31. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/outputs.py +82 -0
  32. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/playground.py +1 -0
  33. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/prediction_environment.py +1 -0
  34. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/provider.py +21 -0
  35. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/qa_application.py +1 -0
  36. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/registered_model.py +1 -0
  37. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/registered_model_from_leaderboard.py +1 -0
  38. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/remote_repository.py +1 -0
  39. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/use_case.py +1 -0
  40. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/vector_database.py +1 -0
  41. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot.egg-info/PKG-INFO +4 -5
  42. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/setup.py +1 -1
  43. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/README.md +0 -0
  44. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/__init__.py +0 -0
  45. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/_utilities.py +0 -0
  46. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/config/__init__.py +0 -0
  47. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/config/vars.py +0 -0
  48. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/get_execution_environment.py +0 -0
  49. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/get_global_model.py +0 -0
  50. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/pulumi-plugin.json +0 -0
  51. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot/py.typed +0 -0
  52. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot.egg-info/SOURCES.txt +0 -0
  53. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
  54. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
  55. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot.egg-info/requires.txt +0 -0
  56. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/pulumi_datarobot.egg-info/top_level.txt +0 -0
  57. {pulumi_datarobot-0.9.3 → pulumi_datarobot-0.9.4}/setup.cfg +0 -0
@@ -1,17 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_datarobot
3
- Version: 0.9.3
3
+ Version: 0.9.4
4
4
  Summary: A Pulumi package for creating and managing DataRobot resources.
5
5
  Home-page: https://www.datarobot.com
6
6
  License: Apache-2.0
7
7
  Project-URL: Repository, https://github.com/datarobot-community/pulumi-datarobot
8
8
  Keywords: datarobot ai category/cloud
9
+ Platform: UNKNOWN
9
10
  Requires-Python: >=3.9
10
11
  Description-Content-Type: text/markdown
11
- Requires-Dist: parver>=0.2.1
12
- Requires-Dist: pulumi<4.0.0,>=3.0.0
13
- Requires-Dist: semver>=2.8.1
14
- Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
15
12
 
16
13
  # DataRobot Resource Provider
17
14
 
@@ -124,3 +121,5 @@ Keep the following items in mind if running in an air-gapped environment:
124
121
  ```bash
125
122
  pip install * -f ./ --no-index
126
123
  ```
124
+
125
+
@@ -38,6 +38,8 @@ __all__ = [
38
38
  'BatchPredictionJobDefinitionTimeseriesSettingsArgsDict',
39
39
  'CustomJobRuntimeParameterValueArgs',
40
40
  'CustomJobRuntimeParameterValueArgsDict',
41
+ 'CustomJobScheduleArgs',
42
+ 'CustomJobScheduleArgsDict',
41
43
  'CustomMetricBatchArgs',
42
44
  'CustomMetricBatchArgsDict',
43
45
  'CustomMetricFromJobBatchArgs',
@@ -1412,6 +1414,113 @@ class CustomJobRuntimeParameterValueArgs:
1412
1414
  pulumi.set(self, "value", value)
1413
1415
 
1414
1416
 
1417
+ if not MYPY:
1418
+ class CustomJobScheduleArgsDict(TypedDict):
1419
+ day_of_months: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
1420
+ """
1421
+ Days of the month when the job will run.
1422
+ """
1423
+ day_of_weeks: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
1424
+ """
1425
+ Days of the week when the job will run.
1426
+ """
1427
+ hours: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
1428
+ """
1429
+ Hours of the day when the job will run.
1430
+ """
1431
+ minutes: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
1432
+ """
1433
+ Minutes of the day when the job will run.
1434
+ """
1435
+ months: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
1436
+ """
1437
+ Months of the year when the job will run.
1438
+ """
1439
+ elif False:
1440
+ CustomJobScheduleArgsDict: TypeAlias = Mapping[str, Any]
1441
+
1442
+ @pulumi.input_type
1443
+ class CustomJobScheduleArgs:
1444
+ def __init__(__self__, *,
1445
+ day_of_months: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
1446
+ day_of_weeks: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
1447
+ hours: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
1448
+ minutes: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
1449
+ months: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
1450
+ """
1451
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] day_of_months: Days of the month when the job will run.
1452
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] day_of_weeks: Days of the week when the job will run.
1453
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] hours: Hours of the day when the job will run.
1454
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] minutes: Minutes of the day when the job will run.
1455
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] months: Months of the year when the job will run.
1456
+ """
1457
+ pulumi.set(__self__, "day_of_months", day_of_months)
1458
+ pulumi.set(__self__, "day_of_weeks", day_of_weeks)
1459
+ pulumi.set(__self__, "hours", hours)
1460
+ pulumi.set(__self__, "minutes", minutes)
1461
+ pulumi.set(__self__, "months", months)
1462
+
1463
+ @property
1464
+ @pulumi.getter(name="dayOfMonths")
1465
+ def day_of_months(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
1466
+ """
1467
+ Days of the month when the job will run.
1468
+ """
1469
+ return pulumi.get(self, "day_of_months")
1470
+
1471
+ @day_of_months.setter
1472
+ def day_of_months(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
1473
+ pulumi.set(self, "day_of_months", value)
1474
+
1475
+ @property
1476
+ @pulumi.getter(name="dayOfWeeks")
1477
+ def day_of_weeks(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
1478
+ """
1479
+ Days of the week when the job will run.
1480
+ """
1481
+ return pulumi.get(self, "day_of_weeks")
1482
+
1483
+ @day_of_weeks.setter
1484
+ def day_of_weeks(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
1485
+ pulumi.set(self, "day_of_weeks", value)
1486
+
1487
+ @property
1488
+ @pulumi.getter
1489
+ def hours(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
1490
+ """
1491
+ Hours of the day when the job will run.
1492
+ """
1493
+ return pulumi.get(self, "hours")
1494
+
1495
+ @hours.setter
1496
+ def hours(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
1497
+ pulumi.set(self, "hours", value)
1498
+
1499
+ @property
1500
+ @pulumi.getter
1501
+ def minutes(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
1502
+ """
1503
+ Minutes of the day when the job will run.
1504
+ """
1505
+ return pulumi.get(self, "minutes")
1506
+
1507
+ @minutes.setter
1508
+ def minutes(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
1509
+ pulumi.set(self, "minutes", value)
1510
+
1511
+ @property
1512
+ @pulumi.getter
1513
+ def months(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
1514
+ """
1515
+ Months of the year when the job will run.
1516
+ """
1517
+ return pulumi.get(self, "months")
1518
+
1519
+ @months.setter
1520
+ def months(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
1521
+ pulumi.set(self, "months", value)
1522
+
1523
+
1415
1524
  if not MYPY:
1416
1525
  class CustomMetricBatchArgsDict(TypedDict):
1417
1526
  column_name: NotRequired[pulumi.Input[builtins.str]]
@@ -128,6 +128,7 @@ class _ApiTokenCredentialState:
128
128
  pulumi.set(self, "name", value)
129
129
 
130
130
 
131
+ @pulumi.type_token("datarobot:index/apiTokenCredential:ApiTokenCredential")
131
132
  class ApiTokenCredential(pulumi.CustomResource):
132
133
  @overload
133
134
  def __init__(__self__,
@@ -307,6 +307,7 @@ class _ApplicationSourceState:
307
307
  pulumi.set(self, "version_id", value)
308
308
 
309
309
 
310
+ @pulumi.type_token("datarobot:index/applicationSource:ApplicationSource")
310
311
  class ApplicationSource(pulumi.CustomResource):
311
312
  @overload
312
313
  def __init__(__self__,
@@ -338,6 +338,7 @@ class _ApplicationSourceFromTemplateState:
338
338
  pulumi.set(self, "version_id", value)
339
339
 
340
340
 
341
+ @pulumi.type_token("datarobot:index/applicationSourceFromTemplate:ApplicationSourceFromTemplate")
341
342
  class ApplicationSourceFromTemplate(pulumi.CustomResource):
342
343
  @overload
343
344
  def __init__(__self__,
@@ -225,6 +225,7 @@ class _AwsCredentialState:
225
225
  pulumi.set(self, "name", value)
226
226
 
227
227
 
228
+ @pulumi.type_token("datarobot:index/awsCredential:AwsCredential")
228
229
  class AwsCredential(pulumi.CustomResource):
229
230
  @overload
230
231
  def __init__(__self__,
@@ -128,6 +128,7 @@ class _AzureCredentialState:
128
128
  pulumi.set(self, "name", value)
129
129
 
130
130
 
131
+ @pulumi.type_token("datarobot:index/azureCredential:AzureCredential")
131
132
  class AzureCredential(pulumi.CustomResource):
132
133
  @overload
133
134
  def __init__(__self__,
@@ -159,6 +159,7 @@ class _BasicCredentialState:
159
159
  pulumi.set(self, "user", value)
160
160
 
161
161
 
162
+ @pulumi.type_token("datarobot:index/basicCredential:BasicCredential")
162
163
  class BasicCredential(pulumi.CustomResource):
163
164
  @overload
164
165
  def __init__(__self__,
@@ -833,6 +833,7 @@ class _BatchPredictionJobDefinitionState:
833
833
  pulumi.set(self, "timeseries_settings", value)
834
834
 
835
835
 
836
+ @pulumi.type_token("datarobot:index/batchPredictionJobDefinition:BatchPredictionJobDefinition")
836
837
  class BatchPredictionJobDefinition(pulumi.CustomResource):
837
838
  @overload
838
839
  def __init__(__self__,
@@ -256,6 +256,7 @@ class _CustomApplicationState:
256
256
  pulumi.set(self, "use_case_ids", value)
257
257
 
258
258
 
259
+ @pulumi.type_token("datarobot:index/customApplication:CustomApplication")
259
260
  class CustomApplication(pulumi.CustomResource):
260
261
  @overload
261
262
  def __init__(__self__,
@@ -256,6 +256,7 @@ class _CustomApplicationFromEnvironmentState:
256
256
  pulumi.set(self, "use_case_ids", value)
257
257
 
258
258
 
259
+ @pulumi.type_token("datarobot:index/customApplicationFromEnvironment:CustomApplicationFromEnvironment")
259
260
  class CustomApplicationFromEnvironment(pulumi.CustomResource):
260
261
  @overload
261
262
  def __init__(__self__,
@@ -31,7 +31,9 @@ class CustomJobArgs:
31
31
  job_type: Optional[pulumi.Input[builtins.str]] = None,
32
32
  name: Optional[pulumi.Input[builtins.str]] = None,
33
33
  resource_bundle_id: Optional[pulumi.Input[builtins.str]] = None,
34
- runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['CustomJobRuntimeParameterValueArgs']]]] = None):
34
+ runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['CustomJobRuntimeParameterValueArgs']]]] = None,
35
+ schedule: Optional[pulumi.Input['CustomJobScheduleArgs']] = None,
36
+ schedule_id: Optional[pulumi.Input[builtins.str]] = None):
35
37
  """
36
38
  The set of arguments for constructing a CustomJob resource.
37
39
  :param pulumi.Input[builtins.str] description: The description of the Custom Job.
@@ -44,6 +46,8 @@ class CustomJobArgs:
44
46
  :param pulumi.Input[builtins.str] name: The name of the Custom Job.
45
47
  :param pulumi.Input[builtins.str] resource_bundle_id: A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc.
46
48
  :param pulumi.Input[Sequence[pulumi.Input['CustomJobRuntimeParameterValueArgs']]] runtime_parameter_values: Additional parameters to be injected into a Job at runtime.
49
+ :param pulumi.Input['CustomJobScheduleArgs'] schedule: The schedule configuration for the custom job.
50
+ :param pulumi.Input[builtins.str] schedule_id: The ID of the schedule associated with the custom job.
47
51
  """
48
52
  if description is not None:
49
53
  pulumi.set(__self__, "description", description)
@@ -65,6 +69,10 @@ class CustomJobArgs:
65
69
  pulumi.set(__self__, "resource_bundle_id", resource_bundle_id)
66
70
  if runtime_parameter_values is not None:
67
71
  pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
72
+ if schedule is not None:
73
+ pulumi.set(__self__, "schedule", schedule)
74
+ if schedule_id is not None:
75
+ pulumi.set(__self__, "schedule_id", schedule_id)
68
76
 
69
77
  @property
70
78
  @pulumi.getter
@@ -186,6 +194,30 @@ class CustomJobArgs:
186
194
  def runtime_parameter_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CustomJobRuntimeParameterValueArgs']]]]):
187
195
  pulumi.set(self, "runtime_parameter_values", value)
188
196
 
197
+ @property
198
+ @pulumi.getter
199
+ def schedule(self) -> Optional[pulumi.Input['CustomJobScheduleArgs']]:
200
+ """
201
+ The schedule configuration for the custom job.
202
+ """
203
+ return pulumi.get(self, "schedule")
204
+
205
+ @schedule.setter
206
+ def schedule(self, value: Optional[pulumi.Input['CustomJobScheduleArgs']]):
207
+ pulumi.set(self, "schedule", value)
208
+
209
+ @property
210
+ @pulumi.getter(name="scheduleId")
211
+ def schedule_id(self) -> Optional[pulumi.Input[builtins.str]]:
212
+ """
213
+ The ID of the schedule associated with the custom job.
214
+ """
215
+ return pulumi.get(self, "schedule_id")
216
+
217
+ @schedule_id.setter
218
+ def schedule_id(self, value: Optional[pulumi.Input[builtins.str]]):
219
+ pulumi.set(self, "schedule_id", value)
220
+
189
221
 
190
222
  @pulumi.input_type
191
223
  class _CustomJobState:
@@ -201,7 +233,9 @@ class _CustomJobState:
201
233
  job_type: Optional[pulumi.Input[builtins.str]] = None,
202
234
  name: Optional[pulumi.Input[builtins.str]] = None,
203
235
  resource_bundle_id: Optional[pulumi.Input[builtins.str]] = None,
204
- runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['CustomJobRuntimeParameterValueArgs']]]] = None):
236
+ runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['CustomJobRuntimeParameterValueArgs']]]] = None,
237
+ schedule: Optional[pulumi.Input['CustomJobScheduleArgs']] = None,
238
+ schedule_id: Optional[pulumi.Input[builtins.str]] = None):
205
239
  """
206
240
  Input properties used for looking up and filtering CustomJob resources.
207
241
  :param pulumi.Input[builtins.str] description: The description of the Custom Job.
@@ -216,6 +250,8 @@ class _CustomJobState:
216
250
  :param pulumi.Input[builtins.str] name: The name of the Custom Job.
217
251
  :param pulumi.Input[builtins.str] resource_bundle_id: A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc.
218
252
  :param pulumi.Input[Sequence[pulumi.Input['CustomJobRuntimeParameterValueArgs']]] runtime_parameter_values: Additional parameters to be injected into a Job at runtime.
253
+ :param pulumi.Input['CustomJobScheduleArgs'] schedule: The schedule configuration for the custom job.
254
+ :param pulumi.Input[builtins.str] schedule_id: The ID of the schedule associated with the custom job.
219
255
  """
220
256
  if description is not None:
221
257
  pulumi.set(__self__, "description", description)
@@ -241,6 +277,10 @@ class _CustomJobState:
241
277
  pulumi.set(__self__, "resource_bundle_id", resource_bundle_id)
242
278
  if runtime_parameter_values is not None:
243
279
  pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
280
+ if schedule is not None:
281
+ pulumi.set(__self__, "schedule", schedule)
282
+ if schedule_id is not None:
283
+ pulumi.set(__self__, "schedule_id", schedule_id)
244
284
 
245
285
  @property
246
286
  @pulumi.getter
@@ -386,7 +426,32 @@ class _CustomJobState:
386
426
  def runtime_parameter_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CustomJobRuntimeParameterValueArgs']]]]):
387
427
  pulumi.set(self, "runtime_parameter_values", value)
388
428
 
429
+ @property
430
+ @pulumi.getter
431
+ def schedule(self) -> Optional[pulumi.Input['CustomJobScheduleArgs']]:
432
+ """
433
+ The schedule configuration for the custom job.
434
+ """
435
+ return pulumi.get(self, "schedule")
436
+
437
+ @schedule.setter
438
+ def schedule(self, value: Optional[pulumi.Input['CustomJobScheduleArgs']]):
439
+ pulumi.set(self, "schedule", value)
389
440
 
441
+ @property
442
+ @pulumi.getter(name="scheduleId")
443
+ def schedule_id(self) -> Optional[pulumi.Input[builtins.str]]:
444
+ """
445
+ The ID of the schedule associated with the custom job.
446
+ """
447
+ return pulumi.get(self, "schedule_id")
448
+
449
+ @schedule_id.setter
450
+ def schedule_id(self, value: Optional[pulumi.Input[builtins.str]]):
451
+ pulumi.set(self, "schedule_id", value)
452
+
453
+
454
+ @pulumi.type_token("datarobot:index/customJob:CustomJob")
390
455
  class CustomJob(pulumi.CustomResource):
391
456
  @overload
392
457
  def __init__(__self__,
@@ -402,34 +467,12 @@ class CustomJob(pulumi.CustomResource):
402
467
  name: Optional[pulumi.Input[builtins.str]] = None,
403
468
  resource_bundle_id: Optional[pulumi.Input[builtins.str]] = None,
404
469
  runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CustomJobRuntimeParameterValueArgs', 'CustomJobRuntimeParameterValueArgsDict']]]]] = None,
470
+ schedule: Optional[pulumi.Input[Union['CustomJobScheduleArgs', 'CustomJobScheduleArgsDict']]] = None,
471
+ schedule_id: Optional[pulumi.Input[builtins.str]] = None,
405
472
  __props__=None):
406
473
  """
407
474
  Custom Job
408
475
 
409
- ## Example Usage
410
-
411
- ```python
412
- import pulumi
413
- import pulumi_datarobot as datarobot
414
-
415
- example = datarobot.CustomJob("example",
416
- job_type="retraining",
417
- files=[
418
- "file1.py",
419
- "file2.py",
420
- ],
421
- environment_id="65f9b27eab986d30d4c64268",
422
- description="Example Custom Job Description",
423
- runtime_parameter_values=[{
424
- "key": "EXAMPLE_PARAM",
425
- "type": "string",
426
- "value": "val",
427
- }],
428
- egress_network_policy="none",
429
- resource_bundle_id="cpu.micro")
430
- pulumi.export("exampleId", example.id)
431
- ```
432
-
433
476
  :param str resource_name: The name of the resource.
434
477
  :param pulumi.ResourceOptions opts: Options for the resource.
435
478
  :param pulumi.Input[builtins.str] description: The description of the Custom Job.
@@ -442,6 +485,8 @@ class CustomJob(pulumi.CustomResource):
442
485
  :param pulumi.Input[builtins.str] name: The name of the Custom Job.
443
486
  :param pulumi.Input[builtins.str] resource_bundle_id: A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc.
444
487
  :param pulumi.Input[Sequence[pulumi.Input[Union['CustomJobRuntimeParameterValueArgs', 'CustomJobRuntimeParameterValueArgsDict']]]] runtime_parameter_values: Additional parameters to be injected into a Job at runtime.
488
+ :param pulumi.Input[Union['CustomJobScheduleArgs', 'CustomJobScheduleArgsDict']] schedule: The schedule configuration for the custom job.
489
+ :param pulumi.Input[builtins.str] schedule_id: The ID of the schedule associated with the custom job.
445
490
  """
446
491
  ...
447
492
  @overload
@@ -452,30 +497,6 @@ class CustomJob(pulumi.CustomResource):
452
497
  """
453
498
  Custom Job
454
499
 
455
- ## Example Usage
456
-
457
- ```python
458
- import pulumi
459
- import pulumi_datarobot as datarobot
460
-
461
- example = datarobot.CustomJob("example",
462
- job_type="retraining",
463
- files=[
464
- "file1.py",
465
- "file2.py",
466
- ],
467
- environment_id="65f9b27eab986d30d4c64268",
468
- description="Example Custom Job Description",
469
- runtime_parameter_values=[{
470
- "key": "EXAMPLE_PARAM",
471
- "type": "string",
472
- "value": "val",
473
- }],
474
- egress_network_policy="none",
475
- resource_bundle_id="cpu.micro")
476
- pulumi.export("exampleId", example.id)
477
- ```
478
-
479
500
  :param str resource_name: The name of the resource.
480
501
  :param CustomJobArgs args: The arguments to use to populate this resource's properties.
481
502
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -501,6 +522,8 @@ class CustomJob(pulumi.CustomResource):
501
522
  name: Optional[pulumi.Input[builtins.str]] = None,
502
523
  resource_bundle_id: Optional[pulumi.Input[builtins.str]] = None,
503
524
  runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CustomJobRuntimeParameterValueArgs', 'CustomJobRuntimeParameterValueArgsDict']]]]] = None,
525
+ schedule: Optional[pulumi.Input[Union['CustomJobScheduleArgs', 'CustomJobScheduleArgsDict']]] = None,
526
+ schedule_id: Optional[pulumi.Input[builtins.str]] = None,
504
527
  __props__=None):
505
528
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
506
529
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -520,6 +543,8 @@ class CustomJob(pulumi.CustomResource):
520
543
  __props__.__dict__["name"] = name
521
544
  __props__.__dict__["resource_bundle_id"] = resource_bundle_id
522
545
  __props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
546
+ __props__.__dict__["schedule"] = schedule
547
+ __props__.__dict__["schedule_id"] = schedule_id
523
548
  __props__.__dict__["files_hashes"] = None
524
549
  __props__.__dict__["folder_path_hash"] = None
525
550
  super(CustomJob, __self__).__init__(
@@ -543,7 +568,9 @@ class CustomJob(pulumi.CustomResource):
543
568
  job_type: Optional[pulumi.Input[builtins.str]] = None,
544
569
  name: Optional[pulumi.Input[builtins.str]] = None,
545
570
  resource_bundle_id: Optional[pulumi.Input[builtins.str]] = None,
546
- runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CustomJobRuntimeParameterValueArgs', 'CustomJobRuntimeParameterValueArgsDict']]]]] = None) -> 'CustomJob':
571
+ runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CustomJobRuntimeParameterValueArgs', 'CustomJobRuntimeParameterValueArgsDict']]]]] = None,
572
+ schedule: Optional[pulumi.Input[Union['CustomJobScheduleArgs', 'CustomJobScheduleArgsDict']]] = None,
573
+ schedule_id: Optional[pulumi.Input[builtins.str]] = None) -> 'CustomJob':
547
574
  """
548
575
  Get an existing CustomJob resource's state with the given name, id, and optional extra
549
576
  properties used to qualify the lookup.
@@ -563,6 +590,8 @@ class CustomJob(pulumi.CustomResource):
563
590
  :param pulumi.Input[builtins.str] name: The name of the Custom Job.
564
591
  :param pulumi.Input[builtins.str] resource_bundle_id: A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc.
565
592
  :param pulumi.Input[Sequence[pulumi.Input[Union['CustomJobRuntimeParameterValueArgs', 'CustomJobRuntimeParameterValueArgsDict']]]] runtime_parameter_values: Additional parameters to be injected into a Job at runtime.
593
+ :param pulumi.Input[Union['CustomJobScheduleArgs', 'CustomJobScheduleArgsDict']] schedule: The schedule configuration for the custom job.
594
+ :param pulumi.Input[builtins.str] schedule_id: The ID of the schedule associated with the custom job.
566
595
  """
567
596
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
568
597
 
@@ -580,6 +609,8 @@ class CustomJob(pulumi.CustomResource):
580
609
  __props__.__dict__["name"] = name
581
610
  __props__.__dict__["resource_bundle_id"] = resource_bundle_id
582
611
  __props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
612
+ __props__.__dict__["schedule"] = schedule
613
+ __props__.__dict__["schedule_id"] = schedule_id
583
614
  return CustomJob(resource_name, opts=opts, __props__=__props__)
584
615
 
585
616
  @property
@@ -678,3 +709,19 @@ class CustomJob(pulumi.CustomResource):
678
709
  """
679
710
  return pulumi.get(self, "runtime_parameter_values")
680
711
 
712
+ @property
713
+ @pulumi.getter
714
+ def schedule(self) -> pulumi.Output[Optional['outputs.CustomJobSchedule']]:
715
+ """
716
+ The schedule configuration for the custom job.
717
+ """
718
+ return pulumi.get(self, "schedule")
719
+
720
+ @property
721
+ @pulumi.getter(name="scheduleId")
722
+ def schedule_id(self) -> pulumi.Output[builtins.str]:
723
+ """
724
+ The ID of the schedule associated with the custom job.
725
+ """
726
+ return pulumi.get(self, "schedule_id")
727
+
@@ -445,6 +445,7 @@ class _CustomMetricState:
445
445
  pulumi.set(self, "value", value)
446
446
 
447
447
 
448
+ @pulumi.type_token("datarobot:index/customMetric:CustomMetric")
448
449
  class CustomMetric(pulumi.CustomResource):
449
450
  @overload
450
451
  def __init__(__self__,
@@ -385,6 +385,7 @@ class _CustomMetricFromJobState:
385
385
  pulumi.set(self, "value", value)
386
386
 
387
387
 
388
+ @pulumi.type_token("datarobot:index/customMetricFromJob:CustomMetricFromJob")
388
389
  class CustomMetricFromJob(pulumi.CustomResource):
389
390
  @overload
390
391
  def __init__(__self__,
@@ -515,6 +515,7 @@ class _CustomMetricJobState:
515
515
  pulumi.set(self, "units", value)
516
516
 
517
517
 
518
+ @pulumi.type_token("datarobot:index/customMetricJob:CustomMetricJob")
518
519
  class CustomMetricJob(pulumi.CustomResource):
519
520
  @overload
520
521
  def __init__(__self__,
@@ -995,6 +995,7 @@ class _CustomModelState:
995
995
  pulumi.set(self, "version_id", value)
996
996
 
997
997
 
998
+ @pulumi.type_token("datarobot:index/customModel:CustomModel")
998
999
  class CustomModel(pulumi.CustomResource):
999
1000
  @overload
1000
1001
  def __init__(__self__,
@@ -288,6 +288,7 @@ class _CustomModelLlmValidationState:
288
288
  pulumi.set(self, "use_case_id", value)
289
289
 
290
290
 
291
+ @pulumi.type_token("datarobot:index/customModelLlmValidation:CustomModelLlmValidation")
291
292
  class CustomModelLlmValidation(pulumi.CustomResource):
292
293
  @overload
293
294
  def __init__(__self__,
@@ -287,6 +287,7 @@ class _DatasetFromDatasourceState:
287
287
  pulumi.set(self, "use_kerberos", value)
288
288
 
289
289
 
290
+ @pulumi.type_token("datarobot:index/datasetFromDatasource:DatasetFromDatasource")
290
291
  class DatasetFromDatasource(pulumi.CustomResource):
291
292
  @overload
292
293
  def __init__(__self__,
@@ -144,6 +144,7 @@ class _DatasetFromFileState:
144
144
  pulumi.set(self, "use_case_ids", value)
145
145
 
146
146
 
147
+ @pulumi.type_token("datarobot:index/datasetFromFile:DatasetFromFile")
147
148
  class DatasetFromFile(pulumi.CustomResource):
148
149
  @overload
149
150
  def __init__(__self__,
@@ -128,6 +128,7 @@ class _DatasetFromUrlState:
128
128
  pulumi.set(self, "use_case_ids", value)
129
129
 
130
130
 
131
+ @pulumi.type_token("datarobot:index/datasetFromUrl:DatasetFromUrl")
131
132
  class DatasetFromUrl(pulumi.CustomResource):
132
133
  @overload
133
134
  def __init__(__self__,
@@ -128,6 +128,7 @@ class _DatasourceState:
128
128
  pulumi.set(self, "params", value)
129
129
 
130
130
 
131
+ @pulumi.type_token("datarobot:index/datasource:Datasource")
131
132
  class Datasource(pulumi.CustomResource):
132
133
  @overload
133
134
  def __init__(__self__,
@@ -223,6 +223,7 @@ class _DatastoreState:
223
223
  pulumi.set(self, "jdbc_url", value)
224
224
 
225
225
 
226
+ @pulumi.type_token("datarobot:index/datastore:Datastore")
226
227
  class Datastore(pulumi.CustomResource):
227
228
  @overload
228
229
  def __init__(__self__,
@@ -704,6 +704,7 @@ class _DeploymentState:
704
704
  pulumi.set(self, "use_case_ids", value)
705
705
 
706
706
 
707
+ @pulumi.type_token("datarobot:index/deployment:Deployment")
707
708
  class Deployment(pulumi.CustomResource):
708
709
  @overload
709
710
  def __init__(__self__,
@@ -32,7 +32,8 @@ class DeploymentRetrainingPolicyArgs:
32
32
  project_options: Optional[pulumi.Input['DeploymentRetrainingPolicyProjectOptionsArgs']] = None,
33
33
  project_options_strategy: Optional[pulumi.Input[builtins.str]] = None,
34
34
  time_series_options: Optional[pulumi.Input['DeploymentRetrainingPolicyTimeSeriesOptionsArgs']] = None,
35
- trigger: Optional[pulumi.Input['DeploymentRetrainingPolicyTriggerArgs']] = None):
35
+ trigger: Optional[pulumi.Input['DeploymentRetrainingPolicyTriggerArgs']] = None,
36
+ use_case_id: Optional[pulumi.Input[builtins.str]] = None):
36
37
  """
37
38
  The set of arguments for constructing a DeploymentRetrainingPolicy resource.
38
39
  :param pulumi.Input[builtins.str] deployment_id: The ID of the Deployment for the Retraining Policy.
@@ -46,6 +47,7 @@ class DeploymentRetrainingPolicyArgs:
46
47
  :param pulumi.Input[builtins.str] project_options_strategy: The project option strategy used for modeling.
47
48
  :param pulumi.Input['DeploymentRetrainingPolicyTimeSeriesOptionsArgs'] time_series_options: Time Series project options used to build new models.
48
49
  :param pulumi.Input['DeploymentRetrainingPolicyTriggerArgs'] trigger: Retraining policy trigger.
50
+ :param pulumi.Input[builtins.str] use_case_id: The ID of the use case to which the retraining policy belongs.
49
51
  """
50
52
  pulumi.set(__self__, "deployment_id", deployment_id)
51
53
  pulumi.set(__self__, "description", description)
@@ -67,6 +69,8 @@ class DeploymentRetrainingPolicyArgs:
67
69
  pulumi.set(__self__, "time_series_options", time_series_options)
68
70
  if trigger is not None:
69
71
  pulumi.set(__self__, "trigger", trigger)
72
+ if use_case_id is not None:
73
+ pulumi.set(__self__, "use_case_id", use_case_id)
70
74
 
71
75
  @property
72
76
  @pulumi.getter(name="deploymentId")
@@ -200,6 +204,18 @@ class DeploymentRetrainingPolicyArgs:
200
204
  def trigger(self, value: Optional[pulumi.Input['DeploymentRetrainingPolicyTriggerArgs']]):
201
205
  pulumi.set(self, "trigger", value)
202
206
 
207
+ @property
208
+ @pulumi.getter(name="useCaseId")
209
+ def use_case_id(self) -> Optional[pulumi.Input[builtins.str]]:
210
+ """
211
+ The ID of the use case to which the retraining policy belongs.
212
+ """
213
+ return pulumi.get(self, "use_case_id")
214
+
215
+ @use_case_id.setter
216
+ def use_case_id(self, value: Optional[pulumi.Input[builtins.str]]):
217
+ pulumi.set(self, "use_case_id", value)
218
+
203
219
 
204
220
  @pulumi.input_type
205
221
  class _DeploymentRetrainingPolicyState:
@@ -214,7 +230,8 @@ class _DeploymentRetrainingPolicyState:
214
230
  project_options: Optional[pulumi.Input['DeploymentRetrainingPolicyProjectOptionsArgs']] = None,
215
231
  project_options_strategy: Optional[pulumi.Input[builtins.str]] = None,
216
232
  time_series_options: Optional[pulumi.Input['DeploymentRetrainingPolicyTimeSeriesOptionsArgs']] = None,
217
- trigger: Optional[pulumi.Input['DeploymentRetrainingPolicyTriggerArgs']] = None):
233
+ trigger: Optional[pulumi.Input['DeploymentRetrainingPolicyTriggerArgs']] = None,
234
+ use_case_id: Optional[pulumi.Input[builtins.str]] = None):
218
235
  """
219
236
  Input properties used for looking up and filtering DeploymentRetrainingPolicy resources.
220
237
  :param pulumi.Input[builtins.str] action: The the action to take on the resultant new model.
@@ -228,6 +245,7 @@ class _DeploymentRetrainingPolicyState:
228
245
  :param pulumi.Input[builtins.str] project_options_strategy: The project option strategy used for modeling.
229
246
  :param pulumi.Input['DeploymentRetrainingPolicyTimeSeriesOptionsArgs'] time_series_options: Time Series project options used to build new models.
230
247
  :param pulumi.Input['DeploymentRetrainingPolicyTriggerArgs'] trigger: Retraining policy trigger.
248
+ :param pulumi.Input[builtins.str] use_case_id: The ID of the use case to which the retraining policy belongs.
231
249
  """
232
250
  if action is not None:
233
251
  pulumi.set(__self__, "action", action)
@@ -251,6 +269,8 @@ class _DeploymentRetrainingPolicyState:
251
269
  pulumi.set(__self__, "time_series_options", time_series_options)
252
270
  if trigger is not None:
253
271
  pulumi.set(__self__, "trigger", trigger)
272
+ if use_case_id is not None:
273
+ pulumi.set(__self__, "use_case_id", use_case_id)
254
274
 
255
275
  @property
256
276
  @pulumi.getter
@@ -384,7 +404,20 @@ class _DeploymentRetrainingPolicyState:
384
404
  def trigger(self, value: Optional[pulumi.Input['DeploymentRetrainingPolicyTriggerArgs']]):
385
405
  pulumi.set(self, "trigger", value)
386
406
 
407
+ @property
408
+ @pulumi.getter(name="useCaseId")
409
+ def use_case_id(self) -> Optional[pulumi.Input[builtins.str]]:
410
+ """
411
+ The ID of the use case to which the retraining policy belongs.
412
+ """
413
+ return pulumi.get(self, "use_case_id")
414
+
415
+ @use_case_id.setter
416
+ def use_case_id(self, value: Optional[pulumi.Input[builtins.str]]):
417
+ pulumi.set(self, "use_case_id", value)
387
418
 
419
+
420
+ @pulumi.type_token("datarobot:index/deploymentRetrainingPolicy:DeploymentRetrainingPolicy")
388
421
  class DeploymentRetrainingPolicy(pulumi.CustomResource):
389
422
  @overload
390
423
  def __init__(__self__,
@@ -401,6 +434,7 @@ class DeploymentRetrainingPolicy(pulumi.CustomResource):
401
434
  project_options_strategy: Optional[pulumi.Input[builtins.str]] = None,
402
435
  time_series_options: Optional[pulumi.Input[Union['DeploymentRetrainingPolicyTimeSeriesOptionsArgs', 'DeploymentRetrainingPolicyTimeSeriesOptionsArgsDict']]] = None,
403
436
  trigger: Optional[pulumi.Input[Union['DeploymentRetrainingPolicyTriggerArgs', 'DeploymentRetrainingPolicyTriggerArgsDict']]] = None,
437
+ use_case_id: Optional[pulumi.Input[builtins.str]] = None,
404
438
  __props__=None):
405
439
  """
406
440
  Deployment Retraining Policy
@@ -418,6 +452,7 @@ class DeploymentRetrainingPolicy(pulumi.CustomResource):
418
452
  :param pulumi.Input[builtins.str] project_options_strategy: The project option strategy used for modeling.
419
453
  :param pulumi.Input[Union['DeploymentRetrainingPolicyTimeSeriesOptionsArgs', 'DeploymentRetrainingPolicyTimeSeriesOptionsArgsDict']] time_series_options: Time Series project options used to build new models.
420
454
  :param pulumi.Input[Union['DeploymentRetrainingPolicyTriggerArgs', 'DeploymentRetrainingPolicyTriggerArgsDict']] trigger: Retraining policy trigger.
455
+ :param pulumi.Input[builtins.str] use_case_id: The ID of the use case to which the retraining policy belongs.
421
456
  """
422
457
  ...
423
458
  @overload
@@ -454,6 +489,7 @@ class DeploymentRetrainingPolicy(pulumi.CustomResource):
454
489
  project_options_strategy: Optional[pulumi.Input[builtins.str]] = None,
455
490
  time_series_options: Optional[pulumi.Input[Union['DeploymentRetrainingPolicyTimeSeriesOptionsArgs', 'DeploymentRetrainingPolicyTimeSeriesOptionsArgsDict']]] = None,
456
491
  trigger: Optional[pulumi.Input[Union['DeploymentRetrainingPolicyTriggerArgs', 'DeploymentRetrainingPolicyTriggerArgsDict']]] = None,
492
+ use_case_id: Optional[pulumi.Input[builtins.str]] = None,
457
493
  __props__=None):
458
494
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
459
495
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -478,6 +514,7 @@ class DeploymentRetrainingPolicy(pulumi.CustomResource):
478
514
  __props__.__dict__["project_options_strategy"] = project_options_strategy
479
515
  __props__.__dict__["time_series_options"] = time_series_options
480
516
  __props__.__dict__["trigger"] = trigger
517
+ __props__.__dict__["use_case_id"] = use_case_id
481
518
  super(DeploymentRetrainingPolicy, __self__).__init__(
482
519
  'datarobot:index/deploymentRetrainingPolicy:DeploymentRetrainingPolicy',
483
520
  resource_name,
@@ -498,7 +535,8 @@ class DeploymentRetrainingPolicy(pulumi.CustomResource):
498
535
  project_options: Optional[pulumi.Input[Union['DeploymentRetrainingPolicyProjectOptionsArgs', 'DeploymentRetrainingPolicyProjectOptionsArgsDict']]] = None,
499
536
  project_options_strategy: Optional[pulumi.Input[builtins.str]] = None,
500
537
  time_series_options: Optional[pulumi.Input[Union['DeploymentRetrainingPolicyTimeSeriesOptionsArgs', 'DeploymentRetrainingPolicyTimeSeriesOptionsArgsDict']]] = None,
501
- trigger: Optional[pulumi.Input[Union['DeploymentRetrainingPolicyTriggerArgs', 'DeploymentRetrainingPolicyTriggerArgsDict']]] = None) -> 'DeploymentRetrainingPolicy':
538
+ trigger: Optional[pulumi.Input[Union['DeploymentRetrainingPolicyTriggerArgs', 'DeploymentRetrainingPolicyTriggerArgsDict']]] = None,
539
+ use_case_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DeploymentRetrainingPolicy':
502
540
  """
503
541
  Get an existing DeploymentRetrainingPolicy resource's state with the given name, id, and optional extra
504
542
  properties used to qualify the lookup.
@@ -517,6 +555,7 @@ class DeploymentRetrainingPolicy(pulumi.CustomResource):
517
555
  :param pulumi.Input[builtins.str] project_options_strategy: The project option strategy used for modeling.
518
556
  :param pulumi.Input[Union['DeploymentRetrainingPolicyTimeSeriesOptionsArgs', 'DeploymentRetrainingPolicyTimeSeriesOptionsArgsDict']] time_series_options: Time Series project options used to build new models.
519
557
  :param pulumi.Input[Union['DeploymentRetrainingPolicyTriggerArgs', 'DeploymentRetrainingPolicyTriggerArgsDict']] trigger: Retraining policy trigger.
558
+ :param pulumi.Input[builtins.str] use_case_id: The ID of the use case to which the retraining policy belongs.
520
559
  """
521
560
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
522
561
 
@@ -533,6 +572,7 @@ class DeploymentRetrainingPolicy(pulumi.CustomResource):
533
572
  __props__.__dict__["project_options_strategy"] = project_options_strategy
534
573
  __props__.__dict__["time_series_options"] = time_series_options
535
574
  __props__.__dict__["trigger"] = trigger
575
+ __props__.__dict__["use_case_id"] = use_case_id
536
576
  return DeploymentRetrainingPolicy(resource_name, opts=opts, __props__=__props__)
537
577
 
538
578
  @property
@@ -623,3 +663,11 @@ class DeploymentRetrainingPolicy(pulumi.CustomResource):
623
663
  """
624
664
  return pulumi.get(self, "trigger")
625
665
 
666
+ @property
667
+ @pulumi.getter(name="useCaseId")
668
+ def use_case_id(self) -> pulumi.Output[Optional[builtins.str]]:
669
+ """
670
+ The ID of the use case to which the retraining policy belongs.
671
+ """
672
+ return pulumi.get(self, "use_case_id")
673
+
@@ -319,6 +319,7 @@ class _ExecutionEnvironmentState:
319
319
  pulumi.set(self, "version_id", value)
320
320
 
321
321
 
322
+ @pulumi.type_token("datarobot:index/executionEnvironment:ExecutionEnvironment")
322
323
  class ExecutionEnvironment(pulumi.CustomResource):
323
324
  @overload
324
325
  def __init__(__self__,
@@ -145,6 +145,7 @@ class _GoogleCloudCredentialState:
145
145
  pulumi.set(self, "name", value)
146
146
 
147
147
 
148
+ @pulumi.type_token("datarobot:index/googleCloudCredential:GoogleCloudCredential")
148
149
  class GoogleCloudCredential(pulumi.CustomResource):
149
150
  @overload
150
151
  def __init__(__self__,
@@ -322,6 +322,7 @@ class _LlmBlueprintState:
322
322
  pulumi.set(self, "vector_database_settings", value)
323
323
 
324
324
 
325
+ @pulumi.type_token("datarobot:index/llmBlueprint:LlmBlueprint")
325
326
  class LlmBlueprint(pulumi.CustomResource):
326
327
  @overload
327
328
  def __init__(__self__,
@@ -144,6 +144,7 @@ class _NotebookState:
144
144
  pulumi.set(self, "use_case_id", value)
145
145
 
146
146
 
147
+ @pulumi.type_token("datarobot:index/notebook:Notebook")
147
148
  class Notebook(pulumi.CustomResource):
148
149
  @overload
149
150
  def __init__(__self__,
@@ -448,6 +448,7 @@ class _NotificationChannelState:
448
448
  pulumi.set(self, "verification_code", value)
449
449
 
450
450
 
451
+ @pulumi.type_token("datarobot:index/notificationChannel:NotificationChannel")
451
452
  class NotificationChannel(pulumi.CustomResource):
452
453
  @overload
453
454
  def __init__(__self__,
@@ -317,6 +317,7 @@ class _NotificationPolicyState:
317
317
  pulumi.set(self, "related_entity_type", value)
318
318
 
319
319
 
320
+ @pulumi.type_token("datarobot:index/notificationPolicy:NotificationPolicy")
320
321
  class NotificationPolicy(pulumi.CustomResource):
321
322
  @overload
322
323
  def __init__(__self__,
@@ -28,6 +28,7 @@ __all__ = [
28
28
  'BatchPredictionJobDefinitionSchedule',
29
29
  'BatchPredictionJobDefinitionTimeseriesSettings',
30
30
  'CustomJobRuntimeParameterValue',
31
+ 'CustomJobSchedule',
31
32
  'CustomMetricBatch',
32
33
  'CustomMetricFromJobBatch',
33
34
  'CustomMetricFromJobParameterOverride',
@@ -989,6 +990,87 @@ class CustomJobRuntimeParameterValue(dict):
989
990
  return pulumi.get(self, "value")
990
991
 
991
992
 
993
+ @pulumi.output_type
994
+ class CustomJobSchedule(dict):
995
+ @staticmethod
996
+ def __key_warning(key: str):
997
+ suggest = None
998
+ if key == "dayOfMonths":
999
+ suggest = "day_of_months"
1000
+ elif key == "dayOfWeeks":
1001
+ suggest = "day_of_weeks"
1002
+
1003
+ if suggest:
1004
+ pulumi.log.warn(f"Key '{key}' not found in CustomJobSchedule. Access the value via the '{suggest}' property getter instead.")
1005
+
1006
+ def __getitem__(self, key: str) -> Any:
1007
+ CustomJobSchedule.__key_warning(key)
1008
+ return super().__getitem__(key)
1009
+
1010
+ def get(self, key: str, default = None) -> Any:
1011
+ CustomJobSchedule.__key_warning(key)
1012
+ return super().get(key, default)
1013
+
1014
+ def __init__(__self__, *,
1015
+ day_of_months: Sequence[builtins.str],
1016
+ day_of_weeks: Sequence[builtins.str],
1017
+ hours: Sequence[builtins.str],
1018
+ minutes: Sequence[builtins.str],
1019
+ months: Sequence[builtins.str]):
1020
+ """
1021
+ :param Sequence[builtins.str] day_of_months: Days of the month when the job will run.
1022
+ :param Sequence[builtins.str] day_of_weeks: Days of the week when the job will run.
1023
+ :param Sequence[builtins.str] hours: Hours of the day when the job will run.
1024
+ :param Sequence[builtins.str] minutes: Minutes of the day when the job will run.
1025
+ :param Sequence[builtins.str] months: Months of the year when the job will run.
1026
+ """
1027
+ pulumi.set(__self__, "day_of_months", day_of_months)
1028
+ pulumi.set(__self__, "day_of_weeks", day_of_weeks)
1029
+ pulumi.set(__self__, "hours", hours)
1030
+ pulumi.set(__self__, "minutes", minutes)
1031
+ pulumi.set(__self__, "months", months)
1032
+
1033
+ @property
1034
+ @pulumi.getter(name="dayOfMonths")
1035
+ def day_of_months(self) -> Sequence[builtins.str]:
1036
+ """
1037
+ Days of the month when the job will run.
1038
+ """
1039
+ return pulumi.get(self, "day_of_months")
1040
+
1041
+ @property
1042
+ @pulumi.getter(name="dayOfWeeks")
1043
+ def day_of_weeks(self) -> Sequence[builtins.str]:
1044
+ """
1045
+ Days of the week when the job will run.
1046
+ """
1047
+ return pulumi.get(self, "day_of_weeks")
1048
+
1049
+ @property
1050
+ @pulumi.getter
1051
+ def hours(self) -> Sequence[builtins.str]:
1052
+ """
1053
+ Hours of the day when the job will run.
1054
+ """
1055
+ return pulumi.get(self, "hours")
1056
+
1057
+ @property
1058
+ @pulumi.getter
1059
+ def minutes(self) -> Sequence[builtins.str]:
1060
+ """
1061
+ Minutes of the day when the job will run.
1062
+ """
1063
+ return pulumi.get(self, "minutes")
1064
+
1065
+ @property
1066
+ @pulumi.getter
1067
+ def months(self) -> Sequence[builtins.str]:
1068
+ """
1069
+ Months of the year when the job will run.
1070
+ """
1071
+ return pulumi.get(self, "months")
1072
+
1073
+
992
1074
  @pulumi.output_type
993
1075
  class CustomMetricBatch(dict):
994
1076
  @staticmethod
@@ -128,6 +128,7 @@ class _PlaygroundState:
128
128
  pulumi.set(self, "use_case_id", value)
129
129
 
130
130
 
131
+ @pulumi.type_token("datarobot:index/playground:Playground")
131
132
  class Playground(pulumi.CustomResource):
132
133
  @overload
133
134
  def __init__(__self__,
@@ -320,6 +320,7 @@ class _PredictionEnvironmentState:
320
320
  pulumi.set(self, "supported_model_formats", value)
321
321
 
322
322
 
323
+ @pulumi.type_token("datarobot:index/predictionEnvironment:PredictionEnvironment")
323
324
  class PredictionEnvironment(pulumi.CustomResource):
324
325
  @overload
325
326
  def __init__(__self__,
@@ -73,6 +73,7 @@ class ProviderArgs:
73
73
  pulumi.set(self, "tracecontext", value)
74
74
 
75
75
 
76
+ @pulumi.type_token("pulumi:providers:datarobot")
76
77
  class Provider(pulumi.ProviderResource):
77
78
  @overload
78
79
  def __init__(__self__,
@@ -168,3 +169,23 @@ class Provider(pulumi.ProviderResource):
168
169
  """
169
170
  return pulumi.get(self, "tracecontext")
170
171
 
172
+ @pulumi.output_type
173
+ class TerraformConfigResult:
174
+ def __init__(__self__, result=None):
175
+ if result and not isinstance(result, dict):
176
+ raise TypeError("Expected argument 'result' to be a dict")
177
+ pulumi.set(__self__, "result", result)
178
+
179
+ @property
180
+ @pulumi.getter
181
+ def result(self) -> Mapping[str, Any]:
182
+ return pulumi.get(self, "result")
183
+
184
+ def terraform_config(__self__) -> pulumi.Output['Provider.TerraformConfigResult']:
185
+ """
186
+ This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
187
+ """
188
+ __args__ = dict()
189
+ __args__['__self__'] = __self__
190
+ return pulumi.runtime.call('pulumi:providers:datarobot/terraformConfig', __args__, res=__self__, typ=Provider.TerraformConfigResult)
191
+
@@ -240,6 +240,7 @@ class _QaApplicationState:
240
240
  pulumi.set(self, "source_version_id", value)
241
241
 
242
242
 
243
+ @pulumi.type_token("datarobot:index/qaApplication:QaApplication")
243
244
  class QaApplication(pulumi.CustomResource):
244
245
  @overload
245
246
  def __init__(__self__,
@@ -208,6 +208,7 @@ class _RegisteredModelState:
208
208
  pulumi.set(self, "version_name", value)
209
209
 
210
210
 
211
+ @pulumi.type_token("datarobot:index/registeredModel:RegisteredModel")
211
212
  class RegisteredModel(pulumi.CustomResource):
212
213
  @overload
213
214
  def __init__(__self__,
@@ -304,6 +304,7 @@ class _RegisteredModelFromLeaderboardState:
304
304
  pulumi.set(self, "version_name", value)
305
305
 
306
306
 
307
+ @pulumi.type_token("datarobot:index/registeredModelFromLeaderboard:RegisteredModelFromLeaderboard")
307
308
  class RegisteredModelFromLeaderboard(pulumi.CustomResource):
308
309
  @overload
309
310
  def __init__(__self__,
@@ -287,6 +287,7 @@ class _RemoteRepositoryState:
287
287
  pulumi.set(self, "source_type", value)
288
288
 
289
289
 
290
+ @pulumi.type_token("datarobot:index/remoteRepository:RemoteRepository")
290
291
  class RemoteRepository(pulumi.CustomResource):
291
292
  @overload
292
293
  def __init__(__self__,
@@ -97,6 +97,7 @@ class _UseCaseState:
97
97
  pulumi.set(self, "name", value)
98
98
 
99
99
 
100
+ @pulumi.type_token("datarobot:index/useCase:UseCase")
100
101
  class UseCase(pulumi.CustomResource):
101
102
  @overload
102
103
  def __init__(__self__,
@@ -177,6 +177,7 @@ class _VectorDatabaseState:
177
177
  pulumi.set(self, "version", value)
178
178
 
179
179
 
180
+ @pulumi.type_token("datarobot:index/vectorDatabase:VectorDatabase")
180
181
  class VectorDatabase(pulumi.CustomResource):
181
182
  @overload
182
183
  def __init__(__self__,
@@ -1,17 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi-datarobot
3
- Version: 0.9.3
3
+ Version: 0.9.4
4
4
  Summary: A Pulumi package for creating and managing DataRobot resources.
5
5
  Home-page: https://www.datarobot.com
6
6
  License: Apache-2.0
7
7
  Project-URL: Repository, https://github.com/datarobot-community/pulumi-datarobot
8
8
  Keywords: datarobot ai category/cloud
9
+ Platform: UNKNOWN
9
10
  Requires-Python: >=3.9
10
11
  Description-Content-Type: text/markdown
11
- Requires-Dist: parver>=0.2.1
12
- Requires-Dist: pulumi<4.0.0,>=3.0.0
13
- Requires-Dist: semver>=2.8.1
14
- Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
15
12
 
16
13
  # DataRobot Resource Provider
17
14
 
@@ -124,3 +121,5 @@ Keep the following items in mind if running in an air-gapped environment:
124
121
  ```bash
125
122
  pip install * -f ./ --no-index
126
123
  ```
124
+
125
+
@@ -9,7 +9,7 @@ from setuptools.command.install import install
9
9
  from subprocess import check_call
10
10
 
11
11
 
12
- VERSION = "0.9.3"
12
+ VERSION = "0.9.4"
13
13
  def readme():
14
14
  try:
15
15
  with open('README.md', encoding='utf-8') as f: