pulumi-datarobot 0.7.2__tar.gz → 0.7.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 (50) hide show
  1. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/PKG-INFO +1 -1
  2. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/_inputs.py +103 -10
  3. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/deployment.py +83 -28
  4. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/outputs.py +63 -6
  5. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/PKG-INFO +1 -1
  6. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/setup.py +1 -1
  7. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/README.md +0 -0
  8. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/__init__.py +0 -0
  9. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/_utilities.py +0 -0
  10. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/api_token_credential.py +0 -0
  11. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/application_source.py +0 -0
  12. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/aws_credential.py +0 -0
  13. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/basic_credential.py +0 -0
  14. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/batch_prediction_job_definition.py +0 -0
  15. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/config/__init__.py +0 -0
  16. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/config/vars.py +0 -0
  17. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_application.py +0 -0
  18. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_application_from_environment.py +0 -0
  19. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_job.py +0 -0
  20. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_metric_from_job.py +0 -0
  21. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_metric_job.py +0 -0
  22. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/custom_model.py +0 -0
  23. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/dataset_from_datasource.py +0 -0
  24. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/dataset_from_file.py +0 -0
  25. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/dataset_from_url.py +0 -0
  26. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/datasource.py +0 -0
  27. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/datastore.py +0 -0
  28. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/deployment_retraining_policy.py +0 -0
  29. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/execution_environment.py +0 -0
  30. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/get_execution_environment.py +0 -0
  31. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/get_global_model.py +0 -0
  32. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/google_cloud_credential.py +0 -0
  33. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/llm_blueprint.py +0 -0
  34. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/playground.py +0 -0
  35. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/prediction_environment.py +0 -0
  36. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/provider.py +0 -0
  37. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/pulumi-plugin.json +0 -0
  38. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/py.typed +0 -0
  39. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/qa_application.py +0 -0
  40. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/registered_model.py +0 -0
  41. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/registered_model_from_leaderboard.py +0 -0
  42. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/remote_repository.py +0 -0
  43. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/use_case.py +0 -0
  44. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot/vector_database.py +0 -0
  45. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/SOURCES.txt +0 -0
  46. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
  47. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
  48. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/requires.txt +0 -0
  49. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/pulumi_datarobot.egg-info/top_level.txt +0 -0
  50. {pulumi_datarobot-0.7.2 → pulumi_datarobot-0.7.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_datarobot
3
- Version: 0.7.2
3
+ Version: 0.7.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
@@ -115,6 +115,8 @@ __all__ = [
115
115
  'DeploymentRetrainingPolicyTriggerArgsDict',
116
116
  'DeploymentRetrainingPolicyTriggerScheduleArgs',
117
117
  'DeploymentRetrainingPolicyTriggerScheduleArgsDict',
118
+ 'DeploymentRuntimeParameterValueArgs',
119
+ 'DeploymentRuntimeParameterValueArgsDict',
118
120
  'DeploymentSegmentAnalysisSettingsArgs',
119
121
  'DeploymentSegmentAnalysisSettingsArgsDict',
120
122
  'LlmBlueprintLlmSettingsArgs',
@@ -3808,53 +3810,75 @@ class DeploymentPredictionsDataCollectionSettingsArgs:
3808
3810
 
3809
3811
  if not MYPY:
3810
3812
  class DeploymentPredictionsSettingsArgsDict(TypedDict):
3811
- max_computes: pulumi.Input[int]
3813
+ max_computes: NotRequired[pulumi.Input[int]]
3812
3814
  """
3813
3815
  The maximum number of computes to use for predictions.
3814
3816
  """
3815
- min_computes: pulumi.Input[int]
3817
+ min_computes: NotRequired[pulumi.Input[int]]
3816
3818
  """
3817
3819
  The minimum number of computes to use for predictions.
3818
3820
  """
3821
+ resource_bundle_id: NotRequired[pulumi.Input[str]]
3822
+ """
3823
+ The resource bundle ID to use for predictions.
3824
+ """
3819
3825
  elif False:
3820
3826
  DeploymentPredictionsSettingsArgsDict: TypeAlias = Mapping[str, Any]
3821
3827
 
3822
3828
  @pulumi.input_type
3823
3829
  class DeploymentPredictionsSettingsArgs:
3824
3830
  def __init__(__self__, *,
3825
- max_computes: pulumi.Input[int],
3826
- min_computes: pulumi.Input[int]):
3831
+ max_computes: Optional[pulumi.Input[int]] = None,
3832
+ min_computes: Optional[pulumi.Input[int]] = None,
3833
+ resource_bundle_id: Optional[pulumi.Input[str]] = None):
3827
3834
  """
3828
3835
  :param pulumi.Input[int] max_computes: The maximum number of computes to use for predictions.
3829
3836
  :param pulumi.Input[int] min_computes: The minimum number of computes to use for predictions.
3837
+ :param pulumi.Input[str] resource_bundle_id: The resource bundle ID to use for predictions.
3830
3838
  """
3831
- pulumi.set(__self__, "max_computes", max_computes)
3832
- pulumi.set(__self__, "min_computes", min_computes)
3839
+ if max_computes is not None:
3840
+ pulumi.set(__self__, "max_computes", max_computes)
3841
+ if min_computes is not None:
3842
+ pulumi.set(__self__, "min_computes", min_computes)
3843
+ if resource_bundle_id is not None:
3844
+ pulumi.set(__self__, "resource_bundle_id", resource_bundle_id)
3833
3845
 
3834
3846
  @property
3835
3847
  @pulumi.getter(name="maxComputes")
3836
- def max_computes(self) -> pulumi.Input[int]:
3848
+ def max_computes(self) -> Optional[pulumi.Input[int]]:
3837
3849
  """
3838
3850
  The maximum number of computes to use for predictions.
3839
3851
  """
3840
3852
  return pulumi.get(self, "max_computes")
3841
3853
 
3842
3854
  @max_computes.setter
3843
- def max_computes(self, value: pulumi.Input[int]):
3855
+ def max_computes(self, value: Optional[pulumi.Input[int]]):
3844
3856
  pulumi.set(self, "max_computes", value)
3845
3857
 
3846
3858
  @property
3847
3859
  @pulumi.getter(name="minComputes")
3848
- def min_computes(self) -> pulumi.Input[int]:
3860
+ def min_computes(self) -> Optional[pulumi.Input[int]]:
3849
3861
  """
3850
3862
  The minimum number of computes to use for predictions.
3851
3863
  """
3852
3864
  return pulumi.get(self, "min_computes")
3853
3865
 
3854
3866
  @min_computes.setter
3855
- def min_computes(self, value: pulumi.Input[int]):
3867
+ def min_computes(self, value: Optional[pulumi.Input[int]]):
3856
3868
  pulumi.set(self, "min_computes", value)
3857
3869
 
3870
+ @property
3871
+ @pulumi.getter(name="resourceBundleId")
3872
+ def resource_bundle_id(self) -> Optional[pulumi.Input[str]]:
3873
+ """
3874
+ The resource bundle ID to use for predictions.
3875
+ """
3876
+ return pulumi.get(self, "resource_bundle_id")
3877
+
3878
+ @resource_bundle_id.setter
3879
+ def resource_bundle_id(self, value: Optional[pulumi.Input[str]]):
3880
+ pulumi.set(self, "resource_bundle_id", value)
3881
+
3858
3882
 
3859
3883
  if not MYPY:
3860
3884
  class DeploymentRetrainingPolicyAutopilotOptionsArgsDict(TypedDict):
@@ -4521,6 +4545,75 @@ class DeploymentRetrainingPolicyTriggerScheduleArgs:
4521
4545
  pulumi.set(self, "months", value)
4522
4546
 
4523
4547
 
4548
+ if not MYPY:
4549
+ class DeploymentRuntimeParameterValueArgsDict(TypedDict):
4550
+ key: pulumi.Input[str]
4551
+ """
4552
+ The name of the runtime parameter.
4553
+ """
4554
+ type: pulumi.Input[str]
4555
+ """
4556
+ The type of the runtime parameter.
4557
+ """
4558
+ value: pulumi.Input[str]
4559
+ """
4560
+ The value of the runtime parameter (type conversion is handled internally).
4561
+ """
4562
+ elif False:
4563
+ DeploymentRuntimeParameterValueArgsDict: TypeAlias = Mapping[str, Any]
4564
+
4565
+ @pulumi.input_type
4566
+ class DeploymentRuntimeParameterValueArgs:
4567
+ def __init__(__self__, *,
4568
+ key: pulumi.Input[str],
4569
+ type: pulumi.Input[str],
4570
+ value: pulumi.Input[str]):
4571
+ """
4572
+ :param pulumi.Input[str] key: The name of the runtime parameter.
4573
+ :param pulumi.Input[str] type: The type of the runtime parameter.
4574
+ :param pulumi.Input[str] value: The value of the runtime parameter (type conversion is handled internally).
4575
+ """
4576
+ pulumi.set(__self__, "key", key)
4577
+ pulumi.set(__self__, "type", type)
4578
+ pulumi.set(__self__, "value", value)
4579
+
4580
+ @property
4581
+ @pulumi.getter
4582
+ def key(self) -> pulumi.Input[str]:
4583
+ """
4584
+ The name of the runtime parameter.
4585
+ """
4586
+ return pulumi.get(self, "key")
4587
+
4588
+ @key.setter
4589
+ def key(self, value: pulumi.Input[str]):
4590
+ pulumi.set(self, "key", value)
4591
+
4592
+ @property
4593
+ @pulumi.getter
4594
+ def type(self) -> pulumi.Input[str]:
4595
+ """
4596
+ The type of the runtime parameter.
4597
+ """
4598
+ return pulumi.get(self, "type")
4599
+
4600
+ @type.setter
4601
+ def type(self, value: pulumi.Input[str]):
4602
+ pulumi.set(self, "type", value)
4603
+
4604
+ @property
4605
+ @pulumi.getter
4606
+ def value(self) -> pulumi.Input[str]:
4607
+ """
4608
+ The value of the runtime parameter (type conversion is handled internally).
4609
+ """
4610
+ return pulumi.get(self, "value")
4611
+
4612
+ @value.setter
4613
+ def value(self, value: pulumi.Input[str]):
4614
+ pulumi.set(self, "value", value)
4615
+
4616
+
4524
4617
  if not MYPY:
4525
4618
  class DeploymentSegmentAnalysisSettingsArgsDict(TypedDict):
4526
4619
  enabled: pulumi.Input[bool]
@@ -36,6 +36,7 @@ class DeploymentArgs:
36
36
  predictions_by_forecast_date_settings: Optional[pulumi.Input['DeploymentPredictionsByForecastDateSettingsArgs']] = None,
37
37
  predictions_data_collection_settings: Optional[pulumi.Input['DeploymentPredictionsDataCollectionSettingsArgs']] = None,
38
38
  predictions_settings: Optional[pulumi.Input['DeploymentPredictionsSettingsArgs']] = None,
39
+ runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentRuntimeParameterValueArgs']]]] = None,
39
40
  segment_analysis_settings: Optional[pulumi.Input['DeploymentSegmentAnalysisSettingsArgs']] = None,
40
41
  use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
41
42
  """
@@ -55,6 +56,7 @@ class DeploymentArgs:
55
56
  :param pulumi.Input['DeploymentPredictionsByForecastDateSettingsArgs'] predictions_by_forecast_date_settings: The predictions by forecase date settings for the Deployment.
56
57
  :param pulumi.Input['DeploymentPredictionsDataCollectionSettingsArgs'] predictions_data_collection_settings: The predictions data collection settings for the Deployment.
57
58
  :param pulumi.Input['DeploymentPredictionsSettingsArgs'] predictions_settings: Settings for the predictions.
59
+ :param pulumi.Input[Sequence[pulumi.Input['DeploymentRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Deployment.
58
60
  :param pulumi.Input['DeploymentSegmentAnalysisSettingsArgs'] segment_analysis_settings: The segment analysis settings for the Deployment.
59
61
  :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Deployment to.
60
62
  """
@@ -85,6 +87,8 @@ class DeploymentArgs:
85
87
  pulumi.set(__self__, "predictions_data_collection_settings", predictions_data_collection_settings)
86
88
  if predictions_settings is not None:
87
89
  pulumi.set(__self__, "predictions_settings", predictions_settings)
90
+ if runtime_parameter_values is not None:
91
+ pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
88
92
  if segment_analysis_settings is not None:
89
93
  pulumi.set(__self__, "segment_analysis_settings", segment_analysis_settings)
90
94
  if use_case_ids is not None:
@@ -270,6 +274,18 @@ class DeploymentArgs:
270
274
  def predictions_settings(self, value: Optional[pulumi.Input['DeploymentPredictionsSettingsArgs']]):
271
275
  pulumi.set(self, "predictions_settings", value)
272
276
 
277
+ @property
278
+ @pulumi.getter(name="runtimeParameterValues")
279
+ def runtime_parameter_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentRuntimeParameterValueArgs']]]]:
280
+ """
281
+ The runtime parameter values for the Deployment.
282
+ """
283
+ return pulumi.get(self, "runtime_parameter_values")
284
+
285
+ @runtime_parameter_values.setter
286
+ def runtime_parameter_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentRuntimeParameterValueArgs']]]]):
287
+ pulumi.set(self, "runtime_parameter_values", value)
288
+
273
289
  @property
274
290
  @pulumi.getter(name="segmentAnalysisSettings")
275
291
  def segment_analysis_settings(self) -> Optional[pulumi.Input['DeploymentSegmentAnalysisSettingsArgs']]:
@@ -313,6 +329,7 @@ class _DeploymentState:
313
329
  predictions_data_collection_settings: Optional[pulumi.Input['DeploymentPredictionsDataCollectionSettingsArgs']] = None,
314
330
  predictions_settings: Optional[pulumi.Input['DeploymentPredictionsSettingsArgs']] = None,
315
331
  registered_model_version_id: Optional[pulumi.Input[str]] = None,
332
+ runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentRuntimeParameterValueArgs']]]] = None,
316
333
  segment_analysis_settings: Optional[pulumi.Input['DeploymentSegmentAnalysisSettingsArgs']] = None,
317
334
  use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
318
335
  """
@@ -332,6 +349,7 @@ class _DeploymentState:
332
349
  :param pulumi.Input['DeploymentPredictionsDataCollectionSettingsArgs'] predictions_data_collection_settings: The predictions data collection settings for the Deployment.
333
350
  :param pulumi.Input['DeploymentPredictionsSettingsArgs'] predictions_settings: Settings for the predictions.
334
351
  :param pulumi.Input[str] registered_model_version_id: The ID of the registered model version for this Deployment.
352
+ :param pulumi.Input[Sequence[pulumi.Input['DeploymentRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Deployment.
335
353
  :param pulumi.Input['DeploymentSegmentAnalysisSettingsArgs'] segment_analysis_settings: The segment analysis settings for the Deployment.
336
354
  :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Deployment to.
337
355
  """
@@ -365,6 +383,8 @@ class _DeploymentState:
365
383
  pulumi.set(__self__, "predictions_settings", predictions_settings)
366
384
  if registered_model_version_id is not None:
367
385
  pulumi.set(__self__, "registered_model_version_id", registered_model_version_id)
386
+ if runtime_parameter_values is not None:
387
+ pulumi.set(__self__, "runtime_parameter_values", runtime_parameter_values)
368
388
  if segment_analysis_settings is not None:
369
389
  pulumi.set(__self__, "segment_analysis_settings", segment_analysis_settings)
370
390
  if use_case_ids is not None:
@@ -550,6 +570,18 @@ class _DeploymentState:
550
570
  def registered_model_version_id(self, value: Optional[pulumi.Input[str]]):
551
571
  pulumi.set(self, "registered_model_version_id", value)
552
572
 
573
+ @property
574
+ @pulumi.getter(name="runtimeParameterValues")
575
+ def runtime_parameter_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentRuntimeParameterValueArgs']]]]:
576
+ """
577
+ The runtime parameter values for the Deployment.
578
+ """
579
+ return pulumi.get(self, "runtime_parameter_values")
580
+
581
+ @runtime_parameter_values.setter
582
+ def runtime_parameter_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentRuntimeParameterValueArgs']]]]):
583
+ pulumi.set(self, "runtime_parameter_values", value)
584
+
553
585
  @property
554
586
  @pulumi.getter(name="segmentAnalysisSettings")
555
587
  def segment_analysis_settings(self) -> Optional[pulumi.Input['DeploymentSegmentAnalysisSettingsArgs']]:
@@ -595,6 +627,7 @@ class Deployment(pulumi.CustomResource):
595
627
  predictions_data_collection_settings: Optional[pulumi.Input[Union['DeploymentPredictionsDataCollectionSettingsArgs', 'DeploymentPredictionsDataCollectionSettingsArgsDict']]] = None,
596
628
  predictions_settings: Optional[pulumi.Input[Union['DeploymentPredictionsSettingsArgs', 'DeploymentPredictionsSettingsArgsDict']]] = None,
597
629
  registered_model_version_id: Optional[pulumi.Input[str]] = None,
630
+ runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentRuntimeParameterValueArgs', 'DeploymentRuntimeParameterValueArgsDict']]]]] = None,
598
631
  segment_analysis_settings: Optional[pulumi.Input[Union['DeploymentSegmentAnalysisSettingsArgs', 'DeploymentSegmentAnalysisSettingsArgsDict']]] = None,
599
632
  use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
600
633
  __props__=None):
@@ -622,20 +655,24 @@ class Deployment(pulumi.CustomResource):
622
655
  example_deployment = datarobot.Deployment("exampleDeployment",
623
656
  label="An example deployment",
624
657
  prediction_environment_id=example_prediction_environment.id,
625
- registered_model_version_id=example_registered_model.version_id)
626
- # Optional settings
627
- # challenger_models_settings = {}
628
- # challenger_replay_settings = {}
629
- # segment_analysis_settings = {}
630
- # bias_and_fairness_settings = {}
631
- # predictions_by_forecast_date_settings = {}
632
- # drift_tracking_settings = {}
633
- # association_id_settings = {}
634
- # predictions_data_collection_settings = {}
635
- # prediction_warning_settings = {}
636
- # prediction_interval_settings = {}
637
- # predictions_settings = {}
638
- # health_settings = {}
658
+ registered_model_version_id=example_registered_model.version_id,
659
+ challenger_models_settings={},
660
+ challenger_replay_settings={},
661
+ segment_analysis_settings={},
662
+ bias_and_fairness_settings={},
663
+ predictions_by_forecast_date_settings={},
664
+ drift_tracking_settings={},
665
+ association_id_settings={},
666
+ predictions_data_collection_settings={},
667
+ prediction_warning_settings={},
668
+ prediction_intervals_settings={},
669
+ predictions_settings={},
670
+ health_settings={},
671
+ runtime_parameter_values=[{
672
+ "key": "EXAMPLE_PARAM",
673
+ "type": "string",
674
+ "value": "val",
675
+ }])
639
676
  pulumi.export("datarobotDeploymentId", example_deployment.id)
640
677
  ```
641
678
 
@@ -656,6 +693,7 @@ class Deployment(pulumi.CustomResource):
656
693
  :param pulumi.Input[Union['DeploymentPredictionsDataCollectionSettingsArgs', 'DeploymentPredictionsDataCollectionSettingsArgsDict']] predictions_data_collection_settings: The predictions data collection settings for the Deployment.
657
694
  :param pulumi.Input[Union['DeploymentPredictionsSettingsArgs', 'DeploymentPredictionsSettingsArgsDict']] predictions_settings: Settings for the predictions.
658
695
  :param pulumi.Input[str] registered_model_version_id: The ID of the registered model version for this Deployment.
696
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentRuntimeParameterValueArgs', 'DeploymentRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Deployment.
659
697
  :param pulumi.Input[Union['DeploymentSegmentAnalysisSettingsArgs', 'DeploymentSegmentAnalysisSettingsArgsDict']] segment_analysis_settings: The segment analysis settings for the Deployment.
660
698
  :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Deployment to.
661
699
  """
@@ -689,20 +727,24 @@ class Deployment(pulumi.CustomResource):
689
727
  example_deployment = datarobot.Deployment("exampleDeployment",
690
728
  label="An example deployment",
691
729
  prediction_environment_id=example_prediction_environment.id,
692
- registered_model_version_id=example_registered_model.version_id)
693
- # Optional settings
694
- # challenger_models_settings = {}
695
- # challenger_replay_settings = {}
696
- # segment_analysis_settings = {}
697
- # bias_and_fairness_settings = {}
698
- # predictions_by_forecast_date_settings = {}
699
- # drift_tracking_settings = {}
700
- # association_id_settings = {}
701
- # predictions_data_collection_settings = {}
702
- # prediction_warning_settings = {}
703
- # prediction_interval_settings = {}
704
- # predictions_settings = {}
705
- # health_settings = {}
730
+ registered_model_version_id=example_registered_model.version_id,
731
+ challenger_models_settings={},
732
+ challenger_replay_settings={},
733
+ segment_analysis_settings={},
734
+ bias_and_fairness_settings={},
735
+ predictions_by_forecast_date_settings={},
736
+ drift_tracking_settings={},
737
+ association_id_settings={},
738
+ predictions_data_collection_settings={},
739
+ prediction_warning_settings={},
740
+ prediction_intervals_settings={},
741
+ predictions_settings={},
742
+ health_settings={},
743
+ runtime_parameter_values=[{
744
+ "key": "EXAMPLE_PARAM",
745
+ "type": "string",
746
+ "value": "val",
747
+ }])
706
748
  pulumi.export("datarobotDeploymentId", example_deployment.id)
707
749
  ```
708
750
 
@@ -736,6 +778,7 @@ class Deployment(pulumi.CustomResource):
736
778
  predictions_data_collection_settings: Optional[pulumi.Input[Union['DeploymentPredictionsDataCollectionSettingsArgs', 'DeploymentPredictionsDataCollectionSettingsArgsDict']]] = None,
737
779
  predictions_settings: Optional[pulumi.Input[Union['DeploymentPredictionsSettingsArgs', 'DeploymentPredictionsSettingsArgsDict']]] = None,
738
780
  registered_model_version_id: Optional[pulumi.Input[str]] = None,
781
+ runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentRuntimeParameterValueArgs', 'DeploymentRuntimeParameterValueArgsDict']]]]] = None,
739
782
  segment_analysis_settings: Optional[pulumi.Input[Union['DeploymentSegmentAnalysisSettingsArgs', 'DeploymentSegmentAnalysisSettingsArgsDict']]] = None,
740
783
  use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
741
784
  __props__=None):
@@ -768,6 +811,7 @@ class Deployment(pulumi.CustomResource):
768
811
  if registered_model_version_id is None and not opts.urn:
769
812
  raise TypeError("Missing required property 'registered_model_version_id'")
770
813
  __props__.__dict__["registered_model_version_id"] = registered_model_version_id
814
+ __props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
771
815
  __props__.__dict__["segment_analysis_settings"] = segment_analysis_settings
772
816
  __props__.__dict__["use_case_ids"] = use_case_ids
773
817
  super(Deployment, __self__).__init__(
@@ -795,6 +839,7 @@ class Deployment(pulumi.CustomResource):
795
839
  predictions_data_collection_settings: Optional[pulumi.Input[Union['DeploymentPredictionsDataCollectionSettingsArgs', 'DeploymentPredictionsDataCollectionSettingsArgsDict']]] = None,
796
840
  predictions_settings: Optional[pulumi.Input[Union['DeploymentPredictionsSettingsArgs', 'DeploymentPredictionsSettingsArgsDict']]] = None,
797
841
  registered_model_version_id: Optional[pulumi.Input[str]] = None,
842
+ runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeploymentRuntimeParameterValueArgs', 'DeploymentRuntimeParameterValueArgsDict']]]]] = None,
798
843
  segment_analysis_settings: Optional[pulumi.Input[Union['DeploymentSegmentAnalysisSettingsArgs', 'DeploymentSegmentAnalysisSettingsArgsDict']]] = None,
799
844
  use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'Deployment':
800
845
  """
@@ -819,6 +864,7 @@ class Deployment(pulumi.CustomResource):
819
864
  :param pulumi.Input[Union['DeploymentPredictionsDataCollectionSettingsArgs', 'DeploymentPredictionsDataCollectionSettingsArgsDict']] predictions_data_collection_settings: The predictions data collection settings for the Deployment.
820
865
  :param pulumi.Input[Union['DeploymentPredictionsSettingsArgs', 'DeploymentPredictionsSettingsArgsDict']] predictions_settings: Settings for the predictions.
821
866
  :param pulumi.Input[str] registered_model_version_id: The ID of the registered model version for this Deployment.
867
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentRuntimeParameterValueArgs', 'DeploymentRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Deployment.
822
868
  :param pulumi.Input[Union['DeploymentSegmentAnalysisSettingsArgs', 'DeploymentSegmentAnalysisSettingsArgsDict']] segment_analysis_settings: The segment analysis settings for the Deployment.
823
869
  :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Deployment to.
824
870
  """
@@ -841,6 +887,7 @@ class Deployment(pulumi.CustomResource):
841
887
  __props__.__dict__["predictions_data_collection_settings"] = predictions_data_collection_settings
842
888
  __props__.__dict__["predictions_settings"] = predictions_settings
843
889
  __props__.__dict__["registered_model_version_id"] = registered_model_version_id
890
+ __props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
844
891
  __props__.__dict__["segment_analysis_settings"] = segment_analysis_settings
845
892
  __props__.__dict__["use_case_ids"] = use_case_ids
846
893
  return Deployment(resource_name, opts=opts, __props__=__props__)
@@ -965,6 +1012,14 @@ class Deployment(pulumi.CustomResource):
965
1012
  """
966
1013
  return pulumi.get(self, "registered_model_version_id")
967
1014
 
1015
+ @property
1016
+ @pulumi.getter(name="runtimeParameterValues")
1017
+ def runtime_parameter_values(self) -> pulumi.Output[Optional[Sequence['outputs.DeploymentRuntimeParameterValue']]]:
1018
+ """
1019
+ The runtime parameter values for the Deployment.
1020
+ """
1021
+ return pulumi.get(self, "runtime_parameter_values")
1022
+
968
1023
  @property
969
1024
  @pulumi.getter(name="segmentAnalysisSettings")
970
1025
  def segment_analysis_settings(self) -> pulumi.Output[Optional['outputs.DeploymentSegmentAnalysisSettings']]:
@@ -66,6 +66,7 @@ __all__ = [
66
66
  'DeploymentRetrainingPolicyTimeSeriesOptionsPeriodicity',
67
67
  'DeploymentRetrainingPolicyTrigger',
68
68
  'DeploymentRetrainingPolicyTriggerSchedule',
69
+ 'DeploymentRuntimeParameterValue',
69
70
  'DeploymentSegmentAnalysisSettings',
70
71
  'LlmBlueprintLlmSettings',
71
72
  'LlmBlueprintVectorDatabaseSettings',
@@ -2921,6 +2922,8 @@ class DeploymentPredictionsSettings(dict):
2921
2922
  suggest = "max_computes"
2922
2923
  elif key == "minComputes":
2923
2924
  suggest = "min_computes"
2925
+ elif key == "resourceBundleId":
2926
+ suggest = "resource_bundle_id"
2924
2927
 
2925
2928
  if suggest:
2926
2929
  pulumi.log.warn(f"Key '{key}' not found in DeploymentPredictionsSettings. Access the value via the '{suggest}' property getter instead.")
@@ -2934,18 +2937,24 @@ class DeploymentPredictionsSettings(dict):
2934
2937
  return super().get(key, default)
2935
2938
 
2936
2939
  def __init__(__self__, *,
2937
- max_computes: int,
2938
- min_computes: int):
2940
+ max_computes: Optional[int] = None,
2941
+ min_computes: Optional[int] = None,
2942
+ resource_bundle_id: Optional[str] = None):
2939
2943
  """
2940
2944
  :param int max_computes: The maximum number of computes to use for predictions.
2941
2945
  :param int min_computes: The minimum number of computes to use for predictions.
2946
+ :param str resource_bundle_id: The resource bundle ID to use for predictions.
2942
2947
  """
2943
- pulumi.set(__self__, "max_computes", max_computes)
2944
- pulumi.set(__self__, "min_computes", min_computes)
2948
+ if max_computes is not None:
2949
+ pulumi.set(__self__, "max_computes", max_computes)
2950
+ if min_computes is not None:
2951
+ pulumi.set(__self__, "min_computes", min_computes)
2952
+ if resource_bundle_id is not None:
2953
+ pulumi.set(__self__, "resource_bundle_id", resource_bundle_id)
2945
2954
 
2946
2955
  @property
2947
2956
  @pulumi.getter(name="maxComputes")
2948
- def max_computes(self) -> int:
2957
+ def max_computes(self) -> Optional[int]:
2949
2958
  """
2950
2959
  The maximum number of computes to use for predictions.
2951
2960
  """
@@ -2953,12 +2962,20 @@ class DeploymentPredictionsSettings(dict):
2953
2962
 
2954
2963
  @property
2955
2964
  @pulumi.getter(name="minComputes")
2956
- def min_computes(self) -> int:
2965
+ def min_computes(self) -> Optional[int]:
2957
2966
  """
2958
2967
  The minimum number of computes to use for predictions.
2959
2968
  """
2960
2969
  return pulumi.get(self, "min_computes")
2961
2970
 
2971
+ @property
2972
+ @pulumi.getter(name="resourceBundleId")
2973
+ def resource_bundle_id(self) -> Optional[str]:
2974
+ """
2975
+ The resource bundle ID to use for predictions.
2976
+ """
2977
+ return pulumi.get(self, "resource_bundle_id")
2978
+
2962
2979
 
2963
2980
  @pulumi.output_type
2964
2981
  class DeploymentRetrainingPolicyAutopilotOptions(dict):
@@ -3487,6 +3504,46 @@ class DeploymentRetrainingPolicyTriggerSchedule(dict):
3487
3504
  return pulumi.get(self, "months")
3488
3505
 
3489
3506
 
3507
+ @pulumi.output_type
3508
+ class DeploymentRuntimeParameterValue(dict):
3509
+ def __init__(__self__, *,
3510
+ key: str,
3511
+ type: str,
3512
+ value: str):
3513
+ """
3514
+ :param str key: The name of the runtime parameter.
3515
+ :param str type: The type of the runtime parameter.
3516
+ :param str value: The value of the runtime parameter (type conversion is handled internally).
3517
+ """
3518
+ pulumi.set(__self__, "key", key)
3519
+ pulumi.set(__self__, "type", type)
3520
+ pulumi.set(__self__, "value", value)
3521
+
3522
+ @property
3523
+ @pulumi.getter
3524
+ def key(self) -> str:
3525
+ """
3526
+ The name of the runtime parameter.
3527
+ """
3528
+ return pulumi.get(self, "key")
3529
+
3530
+ @property
3531
+ @pulumi.getter
3532
+ def type(self) -> str:
3533
+ """
3534
+ The type of the runtime parameter.
3535
+ """
3536
+ return pulumi.get(self, "type")
3537
+
3538
+ @property
3539
+ @pulumi.getter
3540
+ def value(self) -> str:
3541
+ """
3542
+ The value of the runtime parameter (type conversion is handled internally).
3543
+ """
3544
+ return pulumi.get(self, "value")
3545
+
3546
+
3490
3547
  @pulumi.output_type
3491
3548
  class DeploymentSegmentAnalysisSettings(dict):
3492
3549
  def __init__(__self__, *,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi-datarobot
3
- Version: 0.7.2
3
+ Version: 0.7.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
@@ -8,7 +8,7 @@ from setuptools.command.install import install
8
8
  from subprocess import check_call
9
9
 
10
10
 
11
- VERSION = "0.7.2"
11
+ VERSION = "0.7.4"
12
12
  def readme():
13
13
  try:
14
14
  with open('README.md', encoding='utf-8') as f: