pulumi-datarobot 0.1.45__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/PKG-INFO +1 -1
  2. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/application_source.py +56 -0
  3. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/custom_model.py +56 -0
  4. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/dataset_from_file.py +28 -0
  5. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/google_cloud_credential.py +28 -0
  6. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot.egg-info/PKG-INFO +1 -1
  7. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/setup.py +1 -1
  8. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/README.md +0 -0
  9. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/__init__.py +0 -0
  10. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/_inputs.py +0 -0
  11. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/_utilities.py +0 -0
  12. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/api_token_credential.py +0 -0
  13. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/basic_credential.py +0 -0
  14. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/config/__init__.py +0 -0
  15. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/config/vars.py +0 -0
  16. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/custom_application.py +0 -0
  17. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/dataset_from_url.py +0 -0
  18. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/deployment.py +0 -0
  19. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/get_global_model.py +0 -0
  20. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/llm_blueprint.py +0 -0
  21. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/outputs.py +0 -0
  22. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/playground.py +0 -0
  23. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/prediction_environment.py +0 -0
  24. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/provider.py +0 -0
  25. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/pulumi-plugin.json +0 -0
  26. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/py.typed +0 -0
  27. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/qa_application.py +0 -0
  28. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/registered_model.py +0 -0
  29. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/remote_repository.py +0 -0
  30. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/use_case.py +0 -0
  31. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot/vector_database.py +0 -0
  32. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot.egg-info/SOURCES.txt +0 -0
  33. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot.egg-info/dependency_links.txt +0 -0
  34. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot.egg-info/not-zip-safe +0 -0
  35. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot.egg-info/requires.txt +0 -0
  36. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/pulumi_datarobot.egg-info/top_level.txt +0 -0
  37. {pulumi_datarobot-0.1.45 → pulumi_datarobot-0.2.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_datarobot
3
- Version: 0.1.45
3
+ Version: 0.2.1
4
4
  Summary: A Pulumi package for creating and managing DataRobot resources.
5
5
  Home-page: https://www.datarobot.com
6
6
  License: Apache-2.0
@@ -105,7 +105,9 @@ class ApplicationSourceArgs:
105
105
  class _ApplicationSourceState:
106
106
  def __init__(__self__, *,
107
107
  files: Optional[Any] = None,
108
+ files_hashes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
108
109
  folder_path: Optional[pulumi.Input[str]] = None,
110
+ folder_path_hash: Optional[pulumi.Input[str]] = None,
109
111
  name: Optional[pulumi.Input[str]] = None,
110
112
  resource_settings: Optional[pulumi.Input['ApplicationSourceResourceSettingsArgs']] = None,
111
113
  runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]]] = None,
@@ -113,7 +115,9 @@ class _ApplicationSourceState:
113
115
  """
114
116
  Input properties used for looking up and filtering ApplicationSource resources.
115
117
  :param Any files: The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Application Source. If list is of strings, then basenames will be used for tuples.
118
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] files_hashes: The hash of file contents for each file in files.
116
119
  :param pulumi.Input[str] folder_path: The path to a folder containing files to build the Application Source. Each file in the folder is uploaded under path relative to a folder path.
120
+ :param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
117
121
  :param pulumi.Input[str] name: The name of the Application Source.
118
122
  :param pulumi.Input['ApplicationSourceResourceSettingsArgs'] resource_settings: The resource settings for the Application Source.
119
123
  :param pulumi.Input[Sequence[pulumi.Input['ApplicationSourceRuntimeParameterValueArgs']]] runtime_parameter_values: The runtime parameter values for the Application Source.
@@ -121,8 +125,12 @@ class _ApplicationSourceState:
121
125
  """
122
126
  if files is not None:
123
127
  pulumi.set(__self__, "files", files)
128
+ if files_hashes is not None:
129
+ pulumi.set(__self__, "files_hashes", files_hashes)
124
130
  if folder_path is not None:
125
131
  pulumi.set(__self__, "folder_path", folder_path)
132
+ if folder_path_hash is not None:
133
+ pulumi.set(__self__, "folder_path_hash", folder_path_hash)
126
134
  if name is not None:
127
135
  pulumi.set(__self__, "name", name)
128
136
  if resource_settings is not None:
@@ -144,6 +152,18 @@ class _ApplicationSourceState:
144
152
  def files(self, value: Optional[Any]):
145
153
  pulumi.set(self, "files", value)
146
154
 
155
+ @property
156
+ @pulumi.getter(name="filesHashes")
157
+ def files_hashes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
158
+ """
159
+ The hash of file contents for each file in files.
160
+ """
161
+ return pulumi.get(self, "files_hashes")
162
+
163
+ @files_hashes.setter
164
+ def files_hashes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
165
+ pulumi.set(self, "files_hashes", value)
166
+
147
167
  @property
148
168
  @pulumi.getter(name="folderPath")
149
169
  def folder_path(self) -> Optional[pulumi.Input[str]]:
@@ -156,6 +176,18 @@ class _ApplicationSourceState:
156
176
  def folder_path(self, value: Optional[pulumi.Input[str]]):
157
177
  pulumi.set(self, "folder_path", value)
158
178
 
179
+ @property
180
+ @pulumi.getter(name="folderPathHash")
181
+ def folder_path_hash(self) -> Optional[pulumi.Input[str]]:
182
+ """
183
+ The hash of the folder path contents.
184
+ """
185
+ return pulumi.get(self, "folder_path_hash")
186
+
187
+ @folder_path_hash.setter
188
+ def folder_path_hash(self, value: Optional[pulumi.Input[str]]):
189
+ pulumi.set(self, "folder_path_hash", value)
190
+
159
191
  @property
160
192
  @pulumi.getter
161
193
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -298,6 +330,8 @@ class ApplicationSource(pulumi.CustomResource):
298
330
  __props__.__dict__["name"] = name
299
331
  __props__.__dict__["resource_settings"] = resource_settings
300
332
  __props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
333
+ __props__.__dict__["files_hashes"] = None
334
+ __props__.__dict__["folder_path_hash"] = None
301
335
  __props__.__dict__["version_id"] = None
302
336
  super(ApplicationSource, __self__).__init__(
303
337
  'datarobot:index/applicationSource:ApplicationSource',
@@ -310,7 +344,9 @@ class ApplicationSource(pulumi.CustomResource):
310
344
  id: pulumi.Input[str],
311
345
  opts: Optional[pulumi.ResourceOptions] = None,
312
346
  files: Optional[Any] = None,
347
+ files_hashes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
313
348
  folder_path: Optional[pulumi.Input[str]] = None,
349
+ folder_path_hash: Optional[pulumi.Input[str]] = None,
314
350
  name: Optional[pulumi.Input[str]] = None,
315
351
  resource_settings: Optional[pulumi.Input[Union['ApplicationSourceResourceSettingsArgs', 'ApplicationSourceResourceSettingsArgsDict']]] = None,
316
352
  runtime_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]]] = None,
@@ -323,7 +359,9 @@ class ApplicationSource(pulumi.CustomResource):
323
359
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
324
360
  :param pulumi.ResourceOptions opts: Options for the resource.
325
361
  :param Any files: The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Application Source. If list is of strings, then basenames will be used for tuples.
362
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] files_hashes: The hash of file contents for each file in files.
326
363
  :param pulumi.Input[str] folder_path: The path to a folder containing files to build the Application Source. Each file in the folder is uploaded under path relative to a folder path.
364
+ :param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
327
365
  :param pulumi.Input[str] name: The name of the Application Source.
328
366
  :param pulumi.Input[Union['ApplicationSourceResourceSettingsArgs', 'ApplicationSourceResourceSettingsArgsDict']] resource_settings: The resource settings for the Application Source.
329
367
  :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationSourceRuntimeParameterValueArgs', 'ApplicationSourceRuntimeParameterValueArgsDict']]]] runtime_parameter_values: The runtime parameter values for the Application Source.
@@ -334,7 +372,9 @@ class ApplicationSource(pulumi.CustomResource):
334
372
  __props__ = _ApplicationSourceState.__new__(_ApplicationSourceState)
335
373
 
336
374
  __props__.__dict__["files"] = files
375
+ __props__.__dict__["files_hashes"] = files_hashes
337
376
  __props__.__dict__["folder_path"] = folder_path
377
+ __props__.__dict__["folder_path_hash"] = folder_path_hash
338
378
  __props__.__dict__["name"] = name
339
379
  __props__.__dict__["resource_settings"] = resource_settings
340
380
  __props__.__dict__["runtime_parameter_values"] = runtime_parameter_values
@@ -349,6 +389,14 @@ class ApplicationSource(pulumi.CustomResource):
349
389
  """
350
390
  return pulumi.get(self, "files")
351
391
 
392
+ @property
393
+ @pulumi.getter(name="filesHashes")
394
+ def files_hashes(self) -> pulumi.Output[Sequence[str]]:
395
+ """
396
+ The hash of file contents for each file in files.
397
+ """
398
+ return pulumi.get(self, "files_hashes")
399
+
352
400
  @property
353
401
  @pulumi.getter(name="folderPath")
354
402
  def folder_path(self) -> pulumi.Output[Optional[str]]:
@@ -357,6 +405,14 @@ class ApplicationSource(pulumi.CustomResource):
357
405
  """
358
406
  return pulumi.get(self, "folder_path")
359
407
 
408
+ @property
409
+ @pulumi.getter(name="folderPathHash")
410
+ def folder_path_hash(self) -> pulumi.Output[str]:
411
+ """
412
+ The hash of the folder path contents.
413
+ """
414
+ return pulumi.get(self, "folder_path_hash")
415
+
360
416
  @property
361
417
  @pulumi.getter
362
418
  def name(self) -> pulumi.Output[str]:
@@ -399,7 +399,9 @@ class _CustomModelState:
399
399
  deployments_count: Optional[pulumi.Input[int]] = None,
400
400
  description: Optional[pulumi.Input[str]] = None,
401
401
  files: Optional[Any] = None,
402
+ files_hashes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
402
403
  folder_path: Optional[pulumi.Input[str]] = None,
404
+ folder_path_hash: Optional[pulumi.Input[str]] = None,
403
405
  guard_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['CustomModelGuardConfigurationArgs']]]] = None,
404
406
  is_proxy: Optional[pulumi.Input[bool]] = None,
405
407
  language: Optional[pulumi.Input[str]] = None,
@@ -428,7 +430,9 @@ class _CustomModelState:
428
430
  :param pulumi.Input[int] deployments_count: The number of deployments for the Custom Model.
429
431
  :param pulumi.Input[str] description: The description of the Custom Model.
430
432
  :param Any files: The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Custom Model. If list is of strings, then basenames will be used for tuples.
433
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] files_hashes: The hash of file contents for each file in files.
431
434
  :param pulumi.Input[str] folder_path: The path to a folder containing files to build the Custom Model. Each file in the folder is uploaded under path relative to a folder path.
435
+ :param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
432
436
  :param pulumi.Input[Sequence[pulumi.Input['CustomModelGuardConfigurationArgs']]] guard_configurations: The guard configurations for the Custom Model.
433
437
  :param pulumi.Input[bool] is_proxy: Flag indicating if the Custom Model is a proxy model.
434
438
  :param pulumi.Input[str] language: The language used to build the Custom Model.
@@ -463,8 +467,12 @@ class _CustomModelState:
463
467
  pulumi.set(__self__, "description", description)
464
468
  if files is not None:
465
469
  pulumi.set(__self__, "files", files)
470
+ if files_hashes is not None:
471
+ pulumi.set(__self__, "files_hashes", files_hashes)
466
472
  if folder_path is not None:
467
473
  pulumi.set(__self__, "folder_path", folder_path)
474
+ if folder_path_hash is not None:
475
+ pulumi.set(__self__, "folder_path_hash", folder_path_hash)
468
476
  if guard_configurations is not None:
469
477
  pulumi.set(__self__, "guard_configurations", guard_configurations)
470
478
  if is_proxy is not None:
@@ -588,6 +596,18 @@ class _CustomModelState:
588
596
  def files(self, value: Optional[Any]):
589
597
  pulumi.set(self, "files", value)
590
598
 
599
+ @property
600
+ @pulumi.getter(name="filesHashes")
601
+ def files_hashes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
602
+ """
603
+ The hash of file contents for each file in files.
604
+ """
605
+ return pulumi.get(self, "files_hashes")
606
+
607
+ @files_hashes.setter
608
+ def files_hashes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
609
+ pulumi.set(self, "files_hashes", value)
610
+
591
611
  @property
592
612
  @pulumi.getter(name="folderPath")
593
613
  def folder_path(self) -> Optional[pulumi.Input[str]]:
@@ -600,6 +620,18 @@ class _CustomModelState:
600
620
  def folder_path(self, value: Optional[pulumi.Input[str]]):
601
621
  pulumi.set(self, "folder_path", value)
602
622
 
623
+ @property
624
+ @pulumi.getter(name="folderPathHash")
625
+ def folder_path_hash(self) -> Optional[pulumi.Input[str]]:
626
+ """
627
+ The hash of the folder path contents.
628
+ """
629
+ return pulumi.get(self, "folder_path_hash")
630
+
631
+ @folder_path_hash.setter
632
+ def folder_path_hash(self, value: Optional[pulumi.Input[str]]):
633
+ pulumi.set(self, "folder_path_hash", value)
634
+
603
635
  @property
604
636
  @pulumi.getter(name="guardConfigurations")
605
637
  def guard_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CustomModelGuardConfigurationArgs']]]]:
@@ -1083,6 +1115,8 @@ class CustomModel(pulumi.CustomResource):
1083
1115
  __props__.__dict__["training_data_partition_column"] = training_data_partition_column
1084
1116
  __props__.__dict__["training_dataset_id"] = training_dataset_id
1085
1117
  __props__.__dict__["deployments_count"] = None
1118
+ __props__.__dict__["files_hashes"] = None
1119
+ __props__.__dict__["folder_path_hash"] = None
1086
1120
  __props__.__dict__["training_dataset_name"] = None
1087
1121
  __props__.__dict__["training_dataset_version_id"] = None
1088
1122
  __props__.__dict__["version_id"] = None
@@ -1103,7 +1137,9 @@ class CustomModel(pulumi.CustomResource):
1103
1137
  deployments_count: Optional[pulumi.Input[int]] = None,
1104
1138
  description: Optional[pulumi.Input[str]] = None,
1105
1139
  files: Optional[Any] = None,
1140
+ files_hashes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1106
1141
  folder_path: Optional[pulumi.Input[str]] = None,
1142
+ folder_path_hash: Optional[pulumi.Input[str]] = None,
1107
1143
  guard_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CustomModelGuardConfigurationArgs', 'CustomModelGuardConfigurationArgsDict']]]]] = None,
1108
1144
  is_proxy: Optional[pulumi.Input[bool]] = None,
1109
1145
  language: Optional[pulumi.Input[str]] = None,
@@ -1137,7 +1173,9 @@ class CustomModel(pulumi.CustomResource):
1137
1173
  :param pulumi.Input[int] deployments_count: The number of deployments for the Custom Model.
1138
1174
  :param pulumi.Input[str] description: The description of the Custom Model.
1139
1175
  :param Any files: The list of tuples, where values in each tuple are the local filesystem path and the path the file should be placed in the Custom Model. If list is of strings, then basenames will be used for tuples.
1176
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] files_hashes: The hash of file contents for each file in files.
1140
1177
  :param pulumi.Input[str] folder_path: The path to a folder containing files to build the Custom Model. Each file in the folder is uploaded under path relative to a folder path.
1178
+ :param pulumi.Input[str] folder_path_hash: The hash of the folder path contents.
1141
1179
  :param pulumi.Input[Sequence[pulumi.Input[Union['CustomModelGuardConfigurationArgs', 'CustomModelGuardConfigurationArgsDict']]]] guard_configurations: The guard configurations for the Custom Model.
1142
1180
  :param pulumi.Input[bool] is_proxy: Flag indicating if the Custom Model is a proxy model.
1143
1181
  :param pulumi.Input[str] language: The language used to build the Custom Model.
@@ -1169,7 +1207,9 @@ class CustomModel(pulumi.CustomResource):
1169
1207
  __props__.__dict__["deployments_count"] = deployments_count
1170
1208
  __props__.__dict__["description"] = description
1171
1209
  __props__.__dict__["files"] = files
1210
+ __props__.__dict__["files_hashes"] = files_hashes
1172
1211
  __props__.__dict__["folder_path"] = folder_path
1212
+ __props__.__dict__["folder_path_hash"] = folder_path_hash
1173
1213
  __props__.__dict__["guard_configurations"] = guard_configurations
1174
1214
  __props__.__dict__["is_proxy"] = is_proxy
1175
1215
  __props__.__dict__["language"] = language
@@ -1247,6 +1287,14 @@ class CustomModel(pulumi.CustomResource):
1247
1287
  """
1248
1288
  return pulumi.get(self, "files")
1249
1289
 
1290
+ @property
1291
+ @pulumi.getter(name="filesHashes")
1292
+ def files_hashes(self) -> pulumi.Output[Sequence[str]]:
1293
+ """
1294
+ The hash of file contents for each file in files.
1295
+ """
1296
+ return pulumi.get(self, "files_hashes")
1297
+
1250
1298
  @property
1251
1299
  @pulumi.getter(name="folderPath")
1252
1300
  def folder_path(self) -> pulumi.Output[Optional[str]]:
@@ -1255,6 +1303,14 @@ class CustomModel(pulumi.CustomResource):
1255
1303
  """
1256
1304
  return pulumi.get(self, "folder_path")
1257
1305
 
1306
+ @property
1307
+ @pulumi.getter(name="folderPathHash")
1308
+ def folder_path_hash(self) -> pulumi.Output[str]:
1309
+ """
1310
+ The hash of the folder path contents.
1311
+ """
1312
+ return pulumi.get(self, "folder_path_hash")
1313
+
1258
1314
  @property
1259
1315
  @pulumi.getter(name="guardConfigurations")
1260
1316
  def guard_configurations(self) -> pulumi.Output[Optional[Sequence['outputs.CustomModelGuardConfiguration']]]:
@@ -69,15 +69,19 @@ class DatasetFromFileArgs:
69
69
  @pulumi.input_type
70
70
  class _DatasetFromFileState:
71
71
  def __init__(__self__, *,
72
+ file_hash: Optional[pulumi.Input[str]] = None,
72
73
  file_path: Optional[pulumi.Input[str]] = None,
73
74
  name: Optional[pulumi.Input[str]] = None,
74
75
  use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
75
76
  """
76
77
  Input properties used for looking up and filtering DatasetFromFile resources.
78
+ :param pulumi.Input[str] file_hash: The hash of the file contents.
77
79
  :param pulumi.Input[str] file_path: The path to the file to upload.
78
80
  :param pulumi.Input[str] name: The name of the Dataset. Defaults to the file name.
79
81
  :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Dataset to.
80
82
  """
83
+ if file_hash is not None:
84
+ pulumi.set(__self__, "file_hash", file_hash)
81
85
  if file_path is not None:
82
86
  pulumi.set(__self__, "file_path", file_path)
83
87
  if name is not None:
@@ -85,6 +89,18 @@ class _DatasetFromFileState:
85
89
  if use_case_ids is not None:
86
90
  pulumi.set(__self__, "use_case_ids", use_case_ids)
87
91
 
92
+ @property
93
+ @pulumi.getter(name="fileHash")
94
+ def file_hash(self) -> Optional[pulumi.Input[str]]:
95
+ """
96
+ The hash of the file contents.
97
+ """
98
+ return pulumi.get(self, "file_hash")
99
+
100
+ @file_hash.setter
101
+ def file_hash(self, value: Optional[pulumi.Input[str]]):
102
+ pulumi.set(self, "file_hash", value)
103
+
88
104
  @property
89
105
  @pulumi.getter(name="filePath")
90
106
  def file_path(self) -> Optional[pulumi.Input[str]]:
@@ -205,6 +221,7 @@ class DatasetFromFile(pulumi.CustomResource):
205
221
  __props__.__dict__["file_path"] = file_path
206
222
  __props__.__dict__["name"] = name
207
223
  __props__.__dict__["use_case_ids"] = use_case_ids
224
+ __props__.__dict__["file_hash"] = None
208
225
  super(DatasetFromFile, __self__).__init__(
209
226
  'datarobot:index/datasetFromFile:DatasetFromFile',
210
227
  resource_name,
@@ -215,6 +232,7 @@ class DatasetFromFile(pulumi.CustomResource):
215
232
  def get(resource_name: str,
216
233
  id: pulumi.Input[str],
217
234
  opts: Optional[pulumi.ResourceOptions] = None,
235
+ file_hash: Optional[pulumi.Input[str]] = None,
218
236
  file_path: Optional[pulumi.Input[str]] = None,
219
237
  name: Optional[pulumi.Input[str]] = None,
220
238
  use_case_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'DatasetFromFile':
@@ -225,6 +243,7 @@ class DatasetFromFile(pulumi.CustomResource):
225
243
  :param str resource_name: The unique name of the resulting resource.
226
244
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
227
245
  :param pulumi.ResourceOptions opts: Options for the resource.
246
+ :param pulumi.Input[str] file_hash: The hash of the file contents.
228
247
  :param pulumi.Input[str] file_path: The path to the file to upload.
229
248
  :param pulumi.Input[str] name: The name of the Dataset. Defaults to the file name.
230
249
  :param pulumi.Input[Sequence[pulumi.Input[str]]] use_case_ids: The list of Use Case IDs to add the Dataset to.
@@ -233,11 +252,20 @@ class DatasetFromFile(pulumi.CustomResource):
233
252
 
234
253
  __props__ = _DatasetFromFileState.__new__(_DatasetFromFileState)
235
254
 
255
+ __props__.__dict__["file_hash"] = file_hash
236
256
  __props__.__dict__["file_path"] = file_path
237
257
  __props__.__dict__["name"] = name
238
258
  __props__.__dict__["use_case_ids"] = use_case_ids
239
259
  return DatasetFromFile(resource_name, opts=opts, __props__=__props__)
240
260
 
261
+ @property
262
+ @pulumi.getter(name="fileHash")
263
+ def file_hash(self) -> pulumi.Output[str]:
264
+ """
265
+ The hash of the file contents.
266
+ """
267
+ return pulumi.get(self, "file_hash")
268
+
241
269
  @property
242
270
  @pulumi.getter(name="filePath")
243
271
  def file_path(self) -> pulumi.Output[str]:
@@ -72,17 +72,21 @@ class _GoogleCloudCredentialState:
72
72
  def __init__(__self__, *,
73
73
  gcp_key: Optional[pulumi.Input[str]] = None,
74
74
  gcp_key_file: Optional[pulumi.Input[str]] = None,
75
+ gcp_key_file_hash: Optional[pulumi.Input[str]] = None,
75
76
  name: Optional[pulumi.Input[str]] = None):
76
77
  """
77
78
  Input properties used for looking up and filtering GoogleCloudCredential resources.
78
79
  :param pulumi.Input[str] gcp_key: The GCP key in JSON format.
79
80
  :param pulumi.Input[str] gcp_key_file: The file that has the GCP key. Cannot be used with `gcp_key`.
81
+ :param pulumi.Input[str] gcp_key_file_hash: The hash of the GCP key file contents.
80
82
  :param pulumi.Input[str] name: The name of the Google Cloud Credential.
81
83
  """
82
84
  if gcp_key is not None:
83
85
  pulumi.set(__self__, "gcp_key", gcp_key)
84
86
  if gcp_key_file is not None:
85
87
  pulumi.set(__self__, "gcp_key_file", gcp_key_file)
88
+ if gcp_key_file_hash is not None:
89
+ pulumi.set(__self__, "gcp_key_file_hash", gcp_key_file_hash)
86
90
  if name is not None:
87
91
  pulumi.set(__self__, "name", name)
88
92
 
@@ -110,6 +114,18 @@ class _GoogleCloudCredentialState:
110
114
  def gcp_key_file(self, value: Optional[pulumi.Input[str]]):
111
115
  pulumi.set(self, "gcp_key_file", value)
112
116
 
117
+ @property
118
+ @pulumi.getter(name="gcpKeyFileHash")
119
+ def gcp_key_file_hash(self) -> Optional[pulumi.Input[str]]:
120
+ """
121
+ The hash of the GCP key file contents.
122
+ """
123
+ return pulumi.get(self, "gcp_key_file_hash")
124
+
125
+ @gcp_key_file_hash.setter
126
+ def gcp_key_file_hash(self, value: Optional[pulumi.Input[str]]):
127
+ pulumi.set(self, "gcp_key_file_hash", value)
128
+
113
129
  @property
114
130
  @pulumi.getter
115
131
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -180,6 +196,7 @@ class GoogleCloudCredential(pulumi.CustomResource):
180
196
  __props__.__dict__["gcp_key"] = None if gcp_key is None else pulumi.Output.secret(gcp_key)
181
197
  __props__.__dict__["gcp_key_file"] = gcp_key_file
182
198
  __props__.__dict__["name"] = name
199
+ __props__.__dict__["gcp_key_file_hash"] = None
183
200
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["gcpKey"])
184
201
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
185
202
  super(GoogleCloudCredential, __self__).__init__(
@@ -194,6 +211,7 @@ class GoogleCloudCredential(pulumi.CustomResource):
194
211
  opts: Optional[pulumi.ResourceOptions] = None,
195
212
  gcp_key: Optional[pulumi.Input[str]] = None,
196
213
  gcp_key_file: Optional[pulumi.Input[str]] = None,
214
+ gcp_key_file_hash: Optional[pulumi.Input[str]] = None,
197
215
  name: Optional[pulumi.Input[str]] = None) -> 'GoogleCloudCredential':
198
216
  """
199
217
  Get an existing GoogleCloudCredential resource's state with the given name, id, and optional extra
@@ -204,6 +222,7 @@ class GoogleCloudCredential(pulumi.CustomResource):
204
222
  :param pulumi.ResourceOptions opts: Options for the resource.
205
223
  :param pulumi.Input[str] gcp_key: The GCP key in JSON format.
206
224
  :param pulumi.Input[str] gcp_key_file: The file that has the GCP key. Cannot be used with `gcp_key`.
225
+ :param pulumi.Input[str] gcp_key_file_hash: The hash of the GCP key file contents.
207
226
  :param pulumi.Input[str] name: The name of the Google Cloud Credential.
208
227
  """
209
228
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -212,6 +231,7 @@ class GoogleCloudCredential(pulumi.CustomResource):
212
231
 
213
232
  __props__.__dict__["gcp_key"] = gcp_key
214
233
  __props__.__dict__["gcp_key_file"] = gcp_key_file
234
+ __props__.__dict__["gcp_key_file_hash"] = gcp_key_file_hash
215
235
  __props__.__dict__["name"] = name
216
236
  return GoogleCloudCredential(resource_name, opts=opts, __props__=__props__)
217
237
 
@@ -231,6 +251,14 @@ class GoogleCloudCredential(pulumi.CustomResource):
231
251
  """
232
252
  return pulumi.get(self, "gcp_key_file")
233
253
 
254
+ @property
255
+ @pulumi.getter(name="gcpKeyFileHash")
256
+ def gcp_key_file_hash(self) -> pulumi.Output[str]:
257
+ """
258
+ The hash of the GCP key file contents.
259
+ """
260
+ return pulumi.get(self, "gcp_key_file_hash")
261
+
234
262
  @property
235
263
  @pulumi.getter
236
264
  def name(self) -> pulumi.Output[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi-datarobot
3
- Version: 0.1.45
3
+ Version: 0.2.1
4
4
  Summary: A Pulumi package for creating and managing DataRobot resources.
5
5
  Home-page: https://www.datarobot.com
6
6
  License: Apache-2.0
@@ -8,7 +8,7 @@ from setuptools.command.install import install
8
8
  from subprocess import check_call
9
9
 
10
10
 
11
- VERSION = "0.1.45"
11
+ VERSION = "0.2.1"
12
12
  def readme():
13
13
  try:
14
14
  with open('README.md', encoding='utf-8') as f: