pulumi-oci 2.14.0a1730182164__py3-none-any.whl → 2.15.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/containerengine/addon.py +54 -7
- pulumi_oci/containerengine/get_addon.py +12 -1
- pulumi_oci/containerengine/outputs.py +9 -1
- pulumi_oci/core/_inputs.py +74 -0
- pulumi_oci/core/get_instance.py +1 -1
- pulumi_oci/core/get_virtual_circuit.py +18 -4
- pulumi_oci/core/instance.py +7 -7
- pulumi_oci/core/instance_pool.py +7 -7
- pulumi_oci/core/outputs.py +165 -7
- pulumi_oci/core/virtual_circuit.py +30 -2
- pulumi_oci/database/_inputs.py +642 -0
- pulumi_oci/database/autonomous_container_database.py +14 -14
- pulumi_oci/database/autonomous_database.py +75 -0
- pulumi_oci/database/get_autonomous_container_database.py +3 -3
- pulumi_oci/database/get_autonomous_database.py +29 -1
- pulumi_oci/database/get_autonomous_databases.py +22 -28
- pulumi_oci/database/outputs.py +1669 -86
- pulumi_oci/datasafe/__init__.py +2 -0
- pulumi_oci/datasafe/_inputs.py +49 -0
- pulumi_oci/datasafe/get_database_security_config.py +307 -0
- pulumi_oci/datasafe/get_database_security_configs.py +342 -0
- pulumi_oci/datasafe/outputs.py +325 -0
- pulumi_oci/datascience/_inputs.py +353 -0
- pulumi_oci/datascience/get_model.py +113 -4
- pulumi_oci/datascience/get_models.py +30 -5
- pulumi_oci/datascience/model.py +346 -5
- pulumi_oci/datascience/outputs.py +778 -1
- pulumi_oci/filestorage/_inputs.py +651 -0
- pulumi_oci/filestorage/export.py +96 -3
- pulumi_oci/filestorage/file_system.py +93 -0
- pulumi_oci/filestorage/filesystem_snapshot_policy.py +93 -0
- pulumi_oci/filestorage/get_filesystem_snapshot_policy.py +26 -1
- pulumi_oci/filestorage/get_outbound_connector.py +26 -1
- pulumi_oci/filestorage/get_replication.py +27 -1
- pulumi_oci/filestorage/get_snapshot.py +27 -1
- pulumi_oci/filestorage/mount_target.py +108 -0
- pulumi_oci/filestorage/outbound_connector.py +93 -0
- pulumi_oci/filestorage/outputs.py +1218 -2
- pulumi_oci/filestorage/replication.py +95 -0
- pulumi_oci/filestorage/snapshot.py +97 -2
- pulumi_oci/identity/domains_auth_token.py +68 -0
- pulumi_oci/identity/domains_customer_secret_key.py +56 -0
- pulumi_oci/identity/domains_oauth2client_credential.py +64 -0
- pulumi_oci/identity/domains_smtp_credential.py +60 -0
- pulumi_oci/identity/get_domains_auth_token.py +15 -1
- pulumi_oci/identity/get_domains_customer_secret_key.py +15 -1
- pulumi_oci/identity/get_domains_oauth2client_credential.py +15 -1
- pulumi_oci/identity/get_domains_smtp_credential.py +15 -1
- pulumi_oci/identity/outputs.py +44 -0
- pulumi_oci/loadbalancer/listener.py +7 -7
- pulumi_oci/networkloadbalancer/get_backend_set.py +1 -1
- pulumi_oci/networkloadbalancer/get_listener.py +15 -1
- pulumi_oci/networkloadbalancer/get_network_load_balancer.py +15 -1
- pulumi_oci/networkloadbalancer/listener.py +49 -0
- pulumi_oci/networkloadbalancer/network_load_balancer.py +47 -0
- pulumi_oci/networkloadbalancer/outputs.py +24 -2
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/resourcescheduler/_inputs.py +24 -21
- pulumi_oci/resourcescheduler/get_schedules.py +6 -6
- pulumi_oci/resourcescheduler/outputs.py +18 -16
- pulumi_oci/resourcescheduler/schedule.py +14 -88
- {pulumi_oci-2.14.0a1730182164.dist-info → pulumi_oci-2.15.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.14.0a1730182164.dist-info → pulumi_oci-2.15.0.dist-info}/RECORD +65 -63
- {pulumi_oci-2.14.0a1730182164.dist-info → pulumi_oci-2.15.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.14.0a1730182164.dist-info → pulumi_oci-2.15.0.dist-info}/top_level.txt +0 -0
pulumi_oci/datascience/model.py
CHANGED
@@ -26,6 +26,7 @@ class ModelArgs:
|
|
26
26
|
model_artifact: pulumi.Input[str],
|
27
27
|
project_id: pulumi.Input[str],
|
28
28
|
artifact_content_disposition: Optional[pulumi.Input[str]] = None,
|
29
|
+
backup_setting: Optional[pulumi.Input['ModelBackupSettingArgs']] = None,
|
29
30
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]] = None,
|
30
31
|
defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelDefinedMetadataListArgs']]]] = None,
|
31
32
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -33,8 +34,12 @@ class ModelArgs:
|
|
33
34
|
display_name: Optional[pulumi.Input[str]] = None,
|
34
35
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
35
36
|
input_schema: Optional[pulumi.Input[str]] = None,
|
37
|
+
model_version_set_id: Optional[pulumi.Input[str]] = None,
|
38
|
+
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
36
39
|
output_schema: Optional[pulumi.Input[str]] = None,
|
37
|
-
|
40
|
+
retention_setting: Optional[pulumi.Input['ModelRetentionSettingArgs']] = None,
|
41
|
+
state: Optional[pulumi.Input[str]] = None,
|
42
|
+
version_label: Optional[pulumi.Input[str]] = None):
|
38
43
|
"""
|
39
44
|
The set of arguments for constructing a Model resource.
|
40
45
|
:param pulumi.Input[str] artifact_content_length: The content length of the model_artifact.
|
@@ -45,6 +50,7 @@ class ModelArgs:
|
|
45
50
|
:param pulumi.Input[str] model_artifact: The model artifact to upload. It is a ZIP archive of the files necessary to run the model. This can be done in a separate step or using cli/sdk. The Model will remain in "Creating" state until its artifact is uploaded.
|
46
51
|
:param pulumi.Input[str] project_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
|
47
52
|
:param pulumi.Input[str] artifact_content_disposition: This allows to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: `attachment; filename=model-artifact.zip`
|
53
|
+
:param pulumi.Input['ModelBackupSettingArgs'] backup_setting: (Updatable) Back up setting details of the model.
|
48
54
|
:param pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
49
55
|
:param pulumi.Input[Sequence[pulumi.Input['ModelDefinedMetadataListArgs']]] defined_metadata_lists: (Updatable) An array of defined metadata details for the model.
|
50
56
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
@@ -52,8 +58,12 @@ class ModelArgs:
|
|
52
58
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: `My Model`
|
53
59
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
54
60
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
61
|
+
:param pulumi.Input[str] model_version_set_id: The OCID of the model version set that the model is associated to.
|
62
|
+
:param pulumi.Input[str] model_version_set_name: The name of the model version set that the model is associated to.
|
55
63
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
64
|
+
:param pulumi.Input['ModelRetentionSettingArgs'] retention_setting: (Updatable) Retention setting details of the model.
|
56
65
|
:param pulumi.Input[str] state: The state of the model.
|
66
|
+
:param pulumi.Input[str] version_label: (Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
|
57
67
|
"""
|
58
68
|
pulumi.set(__self__, "artifact_content_length", artifact_content_length)
|
59
69
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -61,6 +71,8 @@ class ModelArgs:
|
|
61
71
|
pulumi.set(__self__, "project_id", project_id)
|
62
72
|
if artifact_content_disposition is not None:
|
63
73
|
pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition)
|
74
|
+
if backup_setting is not None:
|
75
|
+
pulumi.set(__self__, "backup_setting", backup_setting)
|
64
76
|
if custom_metadata_lists is not None:
|
65
77
|
pulumi.set(__self__, "custom_metadata_lists", custom_metadata_lists)
|
66
78
|
if defined_metadata_lists is not None:
|
@@ -75,10 +87,18 @@ class ModelArgs:
|
|
75
87
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
76
88
|
if input_schema is not None:
|
77
89
|
pulumi.set(__self__, "input_schema", input_schema)
|
90
|
+
if model_version_set_id is not None:
|
91
|
+
pulumi.set(__self__, "model_version_set_id", model_version_set_id)
|
92
|
+
if model_version_set_name is not None:
|
93
|
+
pulumi.set(__self__, "model_version_set_name", model_version_set_name)
|
78
94
|
if output_schema is not None:
|
79
95
|
pulumi.set(__self__, "output_schema", output_schema)
|
96
|
+
if retention_setting is not None:
|
97
|
+
pulumi.set(__self__, "retention_setting", retention_setting)
|
80
98
|
if state is not None:
|
81
99
|
pulumi.set(__self__, "state", state)
|
100
|
+
if version_label is not None:
|
101
|
+
pulumi.set(__self__, "version_label", version_label)
|
82
102
|
|
83
103
|
@property
|
84
104
|
@pulumi.getter(name="artifactContentLength")
|
@@ -143,6 +163,18 @@ class ModelArgs:
|
|
143
163
|
def artifact_content_disposition(self, value: Optional[pulumi.Input[str]]):
|
144
164
|
pulumi.set(self, "artifact_content_disposition", value)
|
145
165
|
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="backupSetting")
|
168
|
+
def backup_setting(self) -> Optional[pulumi.Input['ModelBackupSettingArgs']]:
|
169
|
+
"""
|
170
|
+
(Updatable) Back up setting details of the model.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "backup_setting")
|
173
|
+
|
174
|
+
@backup_setting.setter
|
175
|
+
def backup_setting(self, value: Optional[pulumi.Input['ModelBackupSettingArgs']]):
|
176
|
+
pulumi.set(self, "backup_setting", value)
|
177
|
+
|
146
178
|
@property
|
147
179
|
@pulumi.getter(name="customMetadataLists")
|
148
180
|
def custom_metadata_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]]:
|
@@ -227,6 +259,30 @@ class ModelArgs:
|
|
227
259
|
def input_schema(self, value: Optional[pulumi.Input[str]]):
|
228
260
|
pulumi.set(self, "input_schema", value)
|
229
261
|
|
262
|
+
@property
|
263
|
+
@pulumi.getter(name="modelVersionSetId")
|
264
|
+
def model_version_set_id(self) -> Optional[pulumi.Input[str]]:
|
265
|
+
"""
|
266
|
+
The OCID of the model version set that the model is associated to.
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "model_version_set_id")
|
269
|
+
|
270
|
+
@model_version_set_id.setter
|
271
|
+
def model_version_set_id(self, value: Optional[pulumi.Input[str]]):
|
272
|
+
pulumi.set(self, "model_version_set_id", value)
|
273
|
+
|
274
|
+
@property
|
275
|
+
@pulumi.getter(name="modelVersionSetName")
|
276
|
+
def model_version_set_name(self) -> Optional[pulumi.Input[str]]:
|
277
|
+
"""
|
278
|
+
The name of the model version set that the model is associated to.
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "model_version_set_name")
|
281
|
+
|
282
|
+
@model_version_set_name.setter
|
283
|
+
def model_version_set_name(self, value: Optional[pulumi.Input[str]]):
|
284
|
+
pulumi.set(self, "model_version_set_name", value)
|
285
|
+
|
230
286
|
@property
|
231
287
|
@pulumi.getter(name="outputSchema")
|
232
288
|
def output_schema(self) -> Optional[pulumi.Input[str]]:
|
@@ -239,6 +295,18 @@ class ModelArgs:
|
|
239
295
|
def output_schema(self, value: Optional[pulumi.Input[str]]):
|
240
296
|
pulumi.set(self, "output_schema", value)
|
241
297
|
|
298
|
+
@property
|
299
|
+
@pulumi.getter(name="retentionSetting")
|
300
|
+
def retention_setting(self) -> Optional[pulumi.Input['ModelRetentionSettingArgs']]:
|
301
|
+
"""
|
302
|
+
(Updatable) Retention setting details of the model.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "retention_setting")
|
305
|
+
|
306
|
+
@retention_setting.setter
|
307
|
+
def retention_setting(self, value: Optional[pulumi.Input['ModelRetentionSettingArgs']]):
|
308
|
+
pulumi.set(self, "retention_setting", value)
|
309
|
+
|
242
310
|
@property
|
243
311
|
@pulumi.getter
|
244
312
|
def state(self) -> Optional[pulumi.Input[str]]:
|
@@ -251,6 +319,18 @@ class ModelArgs:
|
|
251
319
|
def state(self, value: Optional[pulumi.Input[str]]):
|
252
320
|
pulumi.set(self, "state", value)
|
253
321
|
|
322
|
+
@property
|
323
|
+
@pulumi.getter(name="versionLabel")
|
324
|
+
def version_label(self) -> Optional[pulumi.Input[str]]:
|
325
|
+
"""
|
326
|
+
(Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "version_label")
|
329
|
+
|
330
|
+
@version_label.setter
|
331
|
+
def version_label(self, value: Optional[pulumi.Input[str]]):
|
332
|
+
pulumi.set(self, "version_label", value)
|
333
|
+
|
254
334
|
|
255
335
|
@pulumi.input_type
|
256
336
|
class _ModelState:
|
@@ -259,6 +339,8 @@ class _ModelState:
|
|
259
339
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
260
340
|
artifact_content_md5: Optional[pulumi.Input[str]] = None,
|
261
341
|
artifact_last_modified: Optional[pulumi.Input[str]] = None,
|
342
|
+
backup_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input['ModelBackupOperationDetailArgs']]]] = None,
|
343
|
+
backup_setting: Optional[pulumi.Input['ModelBackupSettingArgs']] = None,
|
262
344
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
263
345
|
created_by: Optional[pulumi.Input[str]] = None,
|
264
346
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]] = None,
|
@@ -269,11 +351,17 @@ class _ModelState:
|
|
269
351
|
empty_model: Optional[pulumi.Input[bool]] = None,
|
270
352
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
271
353
|
input_schema: Optional[pulumi.Input[str]] = None,
|
354
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
272
355
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
356
|
+
model_version_set_id: Optional[pulumi.Input[str]] = None,
|
357
|
+
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
273
358
|
output_schema: Optional[pulumi.Input[str]] = None,
|
274
359
|
project_id: Optional[pulumi.Input[str]] = None,
|
360
|
+
retention_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]]] = None,
|
361
|
+
retention_setting: Optional[pulumi.Input['ModelRetentionSettingArgs']] = None,
|
275
362
|
state: Optional[pulumi.Input[str]] = None,
|
276
|
-
time_created: Optional[pulumi.Input[str]] = None
|
363
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
364
|
+
version_label: Optional[pulumi.Input[str]] = None):
|
277
365
|
"""
|
278
366
|
Input properties used for looking up and filtering Model resources.
|
279
367
|
:param pulumi.Input[str] artifact_content_disposition: This allows to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. Example: `attachment; filename=model-artifact.zip`
|
@@ -281,6 +369,8 @@ class _ModelState:
|
|
281
369
|
|
282
370
|
** IMPORTANT **
|
283
371
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
372
|
+
:param pulumi.Input[Sequence[pulumi.Input['ModelBackupOperationDetailArgs']]] backup_operation_details: Backup operation details of the model.
|
373
|
+
:param pulumi.Input['ModelBackupSettingArgs'] backup_setting: (Updatable) Back up setting details of the model.
|
284
374
|
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model in.
|
285
375
|
:param pulumi.Input[str] created_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model.
|
286
376
|
:param pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
@@ -290,11 +380,17 @@ class _ModelState:
|
|
290
380
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: `My Model`
|
291
381
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
292
382
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
383
|
+
:param pulumi.Input[str] lifecycle_details: Details about the lifecycle state of the model.
|
293
384
|
:param pulumi.Input[str] model_artifact: The model artifact to upload. It is a ZIP archive of the files necessary to run the model. This can be done in a separate step or using cli/sdk. The Model will remain in "Creating" state until its artifact is uploaded.
|
385
|
+
:param pulumi.Input[str] model_version_set_id: The OCID of the model version set that the model is associated to.
|
386
|
+
:param pulumi.Input[str] model_version_set_name: The name of the model version set that the model is associated to.
|
294
387
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
295
388
|
:param pulumi.Input[str] project_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
|
389
|
+
:param pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]] retention_operation_details: Retention operation details for the model.
|
390
|
+
:param pulumi.Input['ModelRetentionSettingArgs'] retention_setting: (Updatable) Retention setting details of the model.
|
296
391
|
:param pulumi.Input[str] state: The state of the model.
|
297
392
|
:param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z
|
393
|
+
:param pulumi.Input[str] version_label: (Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
|
298
394
|
"""
|
299
395
|
if artifact_content_disposition is not None:
|
300
396
|
pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition)
|
@@ -304,6 +400,10 @@ class _ModelState:
|
|
304
400
|
pulumi.set(__self__, "artifact_content_md5", artifact_content_md5)
|
305
401
|
if artifact_last_modified is not None:
|
306
402
|
pulumi.set(__self__, "artifact_last_modified", artifact_last_modified)
|
403
|
+
if backup_operation_details is not None:
|
404
|
+
pulumi.set(__self__, "backup_operation_details", backup_operation_details)
|
405
|
+
if backup_setting is not None:
|
406
|
+
pulumi.set(__self__, "backup_setting", backup_setting)
|
307
407
|
if compartment_id is not None:
|
308
408
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
309
409
|
if created_by is not None:
|
@@ -324,16 +424,28 @@ class _ModelState:
|
|
324
424
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
325
425
|
if input_schema is not None:
|
326
426
|
pulumi.set(__self__, "input_schema", input_schema)
|
427
|
+
if lifecycle_details is not None:
|
428
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
327
429
|
if model_artifact is not None:
|
328
430
|
pulumi.set(__self__, "model_artifact", model_artifact)
|
431
|
+
if model_version_set_id is not None:
|
432
|
+
pulumi.set(__self__, "model_version_set_id", model_version_set_id)
|
433
|
+
if model_version_set_name is not None:
|
434
|
+
pulumi.set(__self__, "model_version_set_name", model_version_set_name)
|
329
435
|
if output_schema is not None:
|
330
436
|
pulumi.set(__self__, "output_schema", output_schema)
|
331
437
|
if project_id is not None:
|
332
438
|
pulumi.set(__self__, "project_id", project_id)
|
439
|
+
if retention_operation_details is not None:
|
440
|
+
pulumi.set(__self__, "retention_operation_details", retention_operation_details)
|
441
|
+
if retention_setting is not None:
|
442
|
+
pulumi.set(__self__, "retention_setting", retention_setting)
|
333
443
|
if state is not None:
|
334
444
|
pulumi.set(__self__, "state", state)
|
335
445
|
if time_created is not None:
|
336
446
|
pulumi.set(__self__, "time_created", time_created)
|
447
|
+
if version_label is not None:
|
448
|
+
pulumi.set(__self__, "version_label", version_label)
|
337
449
|
|
338
450
|
@property
|
339
451
|
@pulumi.getter(name="artifactContentDisposition")
|
@@ -380,6 +492,30 @@ class _ModelState:
|
|
380
492
|
def artifact_last_modified(self, value: Optional[pulumi.Input[str]]):
|
381
493
|
pulumi.set(self, "artifact_last_modified", value)
|
382
494
|
|
495
|
+
@property
|
496
|
+
@pulumi.getter(name="backupOperationDetails")
|
497
|
+
def backup_operation_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelBackupOperationDetailArgs']]]]:
|
498
|
+
"""
|
499
|
+
Backup operation details of the model.
|
500
|
+
"""
|
501
|
+
return pulumi.get(self, "backup_operation_details")
|
502
|
+
|
503
|
+
@backup_operation_details.setter
|
504
|
+
def backup_operation_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelBackupOperationDetailArgs']]]]):
|
505
|
+
pulumi.set(self, "backup_operation_details", value)
|
506
|
+
|
507
|
+
@property
|
508
|
+
@pulumi.getter(name="backupSetting")
|
509
|
+
def backup_setting(self) -> Optional[pulumi.Input['ModelBackupSettingArgs']]:
|
510
|
+
"""
|
511
|
+
(Updatable) Back up setting details of the model.
|
512
|
+
"""
|
513
|
+
return pulumi.get(self, "backup_setting")
|
514
|
+
|
515
|
+
@backup_setting.setter
|
516
|
+
def backup_setting(self, value: Optional[pulumi.Input['ModelBackupSettingArgs']]):
|
517
|
+
pulumi.set(self, "backup_setting", value)
|
518
|
+
|
383
519
|
@property
|
384
520
|
@pulumi.getter(name="compartmentId")
|
385
521
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -497,6 +633,18 @@ class _ModelState:
|
|
497
633
|
def input_schema(self, value: Optional[pulumi.Input[str]]):
|
498
634
|
pulumi.set(self, "input_schema", value)
|
499
635
|
|
636
|
+
@property
|
637
|
+
@pulumi.getter(name="lifecycleDetails")
|
638
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
639
|
+
"""
|
640
|
+
Details about the lifecycle state of the model.
|
641
|
+
"""
|
642
|
+
return pulumi.get(self, "lifecycle_details")
|
643
|
+
|
644
|
+
@lifecycle_details.setter
|
645
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
646
|
+
pulumi.set(self, "lifecycle_details", value)
|
647
|
+
|
500
648
|
@property
|
501
649
|
@pulumi.getter(name="modelArtifact")
|
502
650
|
def model_artifact(self) -> Optional[pulumi.Input[str]]:
|
@@ -509,6 +657,30 @@ class _ModelState:
|
|
509
657
|
def model_artifact(self, value: Optional[pulumi.Input[str]]):
|
510
658
|
pulumi.set(self, "model_artifact", value)
|
511
659
|
|
660
|
+
@property
|
661
|
+
@pulumi.getter(name="modelVersionSetId")
|
662
|
+
def model_version_set_id(self) -> Optional[pulumi.Input[str]]:
|
663
|
+
"""
|
664
|
+
The OCID of the model version set that the model is associated to.
|
665
|
+
"""
|
666
|
+
return pulumi.get(self, "model_version_set_id")
|
667
|
+
|
668
|
+
@model_version_set_id.setter
|
669
|
+
def model_version_set_id(self, value: Optional[pulumi.Input[str]]):
|
670
|
+
pulumi.set(self, "model_version_set_id", value)
|
671
|
+
|
672
|
+
@property
|
673
|
+
@pulumi.getter(name="modelVersionSetName")
|
674
|
+
def model_version_set_name(self) -> Optional[pulumi.Input[str]]:
|
675
|
+
"""
|
676
|
+
The name of the model version set that the model is associated to.
|
677
|
+
"""
|
678
|
+
return pulumi.get(self, "model_version_set_name")
|
679
|
+
|
680
|
+
@model_version_set_name.setter
|
681
|
+
def model_version_set_name(self, value: Optional[pulumi.Input[str]]):
|
682
|
+
pulumi.set(self, "model_version_set_name", value)
|
683
|
+
|
512
684
|
@property
|
513
685
|
@pulumi.getter(name="outputSchema")
|
514
686
|
def output_schema(self) -> Optional[pulumi.Input[str]]:
|
@@ -533,6 +705,30 @@ class _ModelState:
|
|
533
705
|
def project_id(self, value: Optional[pulumi.Input[str]]):
|
534
706
|
pulumi.set(self, "project_id", value)
|
535
707
|
|
708
|
+
@property
|
709
|
+
@pulumi.getter(name="retentionOperationDetails")
|
710
|
+
def retention_operation_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]]]:
|
711
|
+
"""
|
712
|
+
Retention operation details for the model.
|
713
|
+
"""
|
714
|
+
return pulumi.get(self, "retention_operation_details")
|
715
|
+
|
716
|
+
@retention_operation_details.setter
|
717
|
+
def retention_operation_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]]]):
|
718
|
+
pulumi.set(self, "retention_operation_details", value)
|
719
|
+
|
720
|
+
@property
|
721
|
+
@pulumi.getter(name="retentionSetting")
|
722
|
+
def retention_setting(self) -> Optional[pulumi.Input['ModelRetentionSettingArgs']]:
|
723
|
+
"""
|
724
|
+
(Updatable) Retention setting details of the model.
|
725
|
+
"""
|
726
|
+
return pulumi.get(self, "retention_setting")
|
727
|
+
|
728
|
+
@retention_setting.setter
|
729
|
+
def retention_setting(self, value: Optional[pulumi.Input['ModelRetentionSettingArgs']]):
|
730
|
+
pulumi.set(self, "retention_setting", value)
|
731
|
+
|
536
732
|
@property
|
537
733
|
@pulumi.getter
|
538
734
|
def state(self) -> Optional[pulumi.Input[str]]:
|
@@ -557,6 +753,18 @@ class _ModelState:
|
|
557
753
|
def time_created(self, value: Optional[pulumi.Input[str]]):
|
558
754
|
pulumi.set(self, "time_created", value)
|
559
755
|
|
756
|
+
@property
|
757
|
+
@pulumi.getter(name="versionLabel")
|
758
|
+
def version_label(self) -> Optional[pulumi.Input[str]]:
|
759
|
+
"""
|
760
|
+
(Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
|
761
|
+
"""
|
762
|
+
return pulumi.get(self, "version_label")
|
763
|
+
|
764
|
+
@version_label.setter
|
765
|
+
def version_label(self, value: Optional[pulumi.Input[str]]):
|
766
|
+
pulumi.set(self, "version_label", value)
|
767
|
+
|
560
768
|
|
561
769
|
class Model(pulumi.CustomResource):
|
562
770
|
@overload
|
@@ -565,6 +773,7 @@ class Model(pulumi.CustomResource):
|
|
565
773
|
opts: Optional[pulumi.ResourceOptions] = None,
|
566
774
|
artifact_content_disposition: Optional[pulumi.Input[str]] = None,
|
567
775
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
776
|
+
backup_setting: Optional[pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']]] = None,
|
568
777
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
569
778
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
570
779
|
defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]]] = None,
|
@@ -574,9 +783,13 @@ class Model(pulumi.CustomResource):
|
|
574
783
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
575
784
|
input_schema: Optional[pulumi.Input[str]] = None,
|
576
785
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
786
|
+
model_version_set_id: Optional[pulumi.Input[str]] = None,
|
787
|
+
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
577
788
|
output_schema: Optional[pulumi.Input[str]] = None,
|
578
789
|
project_id: Optional[pulumi.Input[str]] = None,
|
790
|
+
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
579
791
|
state: Optional[pulumi.Input[str]] = None,
|
792
|
+
version_label: Optional[pulumi.Input[str]] = None,
|
580
793
|
__props__=None):
|
581
794
|
"""
|
582
795
|
This resource provides the Model resource in Oracle Cloud Infrastructure Data Science service.
|
@@ -592,6 +805,11 @@ class Model(pulumi.CustomResource):
|
|
592
805
|
test_model = oci.data_science.Model("test_model",
|
593
806
|
compartment_id=compartment_id,
|
594
807
|
project_id=test_project["id"],
|
808
|
+
backup_setting={
|
809
|
+
"backup_region": model_backup_setting_backup_region,
|
810
|
+
"is_backup_enabled": model_backup_setting_is_backup_enabled,
|
811
|
+
"customer_notification_type": model_backup_setting_customer_notification_type,
|
812
|
+
},
|
595
813
|
custom_metadata_lists=[{
|
596
814
|
"category": model_custom_metadata_list_category,
|
597
815
|
"description": model_custom_metadata_list_description,
|
@@ -613,7 +831,13 @@ class Model(pulumi.CustomResource):
|
|
613
831
|
"Department": "Finance",
|
614
832
|
},
|
615
833
|
input_schema=model_input_schema,
|
616
|
-
output_schema=model_output_schema
|
834
|
+
output_schema=model_output_schema,
|
835
|
+
retention_setting={
|
836
|
+
"archive_after_days": model_retention_setting_archive_after_days,
|
837
|
+
"customer_notification_type": model_retention_setting_customer_notification_type,
|
838
|
+
"delete_after_days": model_retention_setting_delete_after_days,
|
839
|
+
},
|
840
|
+
version_label=model_version_label)
|
617
841
|
```
|
618
842
|
|
619
843
|
## Import
|
@@ -631,6 +855,7 @@ class Model(pulumi.CustomResource):
|
|
631
855
|
|
632
856
|
** IMPORTANT **
|
633
857
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
858
|
+
:param pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']] backup_setting: (Updatable) Back up setting details of the model.
|
634
859
|
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model in.
|
635
860
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
636
861
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]] defined_metadata_lists: (Updatable) An array of defined metadata details for the model.
|
@@ -640,9 +865,13 @@ class Model(pulumi.CustomResource):
|
|
640
865
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
641
866
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
642
867
|
:param pulumi.Input[str] model_artifact: The model artifact to upload. It is a ZIP archive of the files necessary to run the model. This can be done in a separate step or using cli/sdk. The Model will remain in "Creating" state until its artifact is uploaded.
|
868
|
+
:param pulumi.Input[str] model_version_set_id: The OCID of the model version set that the model is associated to.
|
869
|
+
:param pulumi.Input[str] model_version_set_name: The name of the model version set that the model is associated to.
|
643
870
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
644
871
|
:param pulumi.Input[str] project_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
|
872
|
+
:param pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']] retention_setting: (Updatable) Retention setting details of the model.
|
645
873
|
:param pulumi.Input[str] state: The state of the model.
|
874
|
+
:param pulumi.Input[str] version_label: (Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
|
646
875
|
"""
|
647
876
|
...
|
648
877
|
@overload
|
@@ -664,6 +893,11 @@ class Model(pulumi.CustomResource):
|
|
664
893
|
test_model = oci.data_science.Model("test_model",
|
665
894
|
compartment_id=compartment_id,
|
666
895
|
project_id=test_project["id"],
|
896
|
+
backup_setting={
|
897
|
+
"backup_region": model_backup_setting_backup_region,
|
898
|
+
"is_backup_enabled": model_backup_setting_is_backup_enabled,
|
899
|
+
"customer_notification_type": model_backup_setting_customer_notification_type,
|
900
|
+
},
|
667
901
|
custom_metadata_lists=[{
|
668
902
|
"category": model_custom_metadata_list_category,
|
669
903
|
"description": model_custom_metadata_list_description,
|
@@ -685,7 +919,13 @@ class Model(pulumi.CustomResource):
|
|
685
919
|
"Department": "Finance",
|
686
920
|
},
|
687
921
|
input_schema=model_input_schema,
|
688
|
-
output_schema=model_output_schema
|
922
|
+
output_schema=model_output_schema,
|
923
|
+
retention_setting={
|
924
|
+
"archive_after_days": model_retention_setting_archive_after_days,
|
925
|
+
"customer_notification_type": model_retention_setting_customer_notification_type,
|
926
|
+
"delete_after_days": model_retention_setting_delete_after_days,
|
927
|
+
},
|
928
|
+
version_label=model_version_label)
|
689
929
|
```
|
690
930
|
|
691
931
|
## Import
|
@@ -713,6 +953,7 @@ class Model(pulumi.CustomResource):
|
|
713
953
|
opts: Optional[pulumi.ResourceOptions] = None,
|
714
954
|
artifact_content_disposition: Optional[pulumi.Input[str]] = None,
|
715
955
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
956
|
+
backup_setting: Optional[pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']]] = None,
|
716
957
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
717
958
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
718
959
|
defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]]] = None,
|
@@ -722,9 +963,13 @@ class Model(pulumi.CustomResource):
|
|
722
963
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
723
964
|
input_schema: Optional[pulumi.Input[str]] = None,
|
724
965
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
966
|
+
model_version_set_id: Optional[pulumi.Input[str]] = None,
|
967
|
+
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
725
968
|
output_schema: Optional[pulumi.Input[str]] = None,
|
726
969
|
project_id: Optional[pulumi.Input[str]] = None,
|
970
|
+
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
727
971
|
state: Optional[pulumi.Input[str]] = None,
|
972
|
+
version_label: Optional[pulumi.Input[str]] = None,
|
728
973
|
__props__=None):
|
729
974
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
730
975
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -738,6 +983,7 @@ class Model(pulumi.CustomResource):
|
|
738
983
|
if artifact_content_length is None and not opts.urn:
|
739
984
|
raise TypeError("Missing required property 'artifact_content_length'")
|
740
985
|
__props__.__dict__["artifact_content_length"] = artifact_content_length
|
986
|
+
__props__.__dict__["backup_setting"] = backup_setting
|
741
987
|
if compartment_id is None and not opts.urn:
|
742
988
|
raise TypeError("Missing required property 'compartment_id'")
|
743
989
|
__props__.__dict__["compartment_id"] = compartment_id
|
@@ -751,15 +997,22 @@ class Model(pulumi.CustomResource):
|
|
751
997
|
if model_artifact is None and not opts.urn:
|
752
998
|
raise TypeError("Missing required property 'model_artifact'")
|
753
999
|
__props__.__dict__["model_artifact"] = model_artifact
|
1000
|
+
__props__.__dict__["model_version_set_id"] = model_version_set_id
|
1001
|
+
__props__.__dict__["model_version_set_name"] = model_version_set_name
|
754
1002
|
__props__.__dict__["output_schema"] = output_schema
|
755
1003
|
if project_id is None and not opts.urn:
|
756
1004
|
raise TypeError("Missing required property 'project_id'")
|
757
1005
|
__props__.__dict__["project_id"] = project_id
|
1006
|
+
__props__.__dict__["retention_setting"] = retention_setting
|
758
1007
|
__props__.__dict__["state"] = state
|
1008
|
+
__props__.__dict__["version_label"] = version_label
|
759
1009
|
__props__.__dict__["artifact_content_md5"] = None
|
760
1010
|
__props__.__dict__["artifact_last_modified"] = None
|
1011
|
+
__props__.__dict__["backup_operation_details"] = None
|
761
1012
|
__props__.__dict__["created_by"] = None
|
762
1013
|
__props__.__dict__["empty_model"] = None
|
1014
|
+
__props__.__dict__["lifecycle_details"] = None
|
1015
|
+
__props__.__dict__["retention_operation_details"] = None
|
763
1016
|
__props__.__dict__["time_created"] = None
|
764
1017
|
super(Model, __self__).__init__(
|
765
1018
|
'oci:DataScience/model:Model',
|
@@ -775,6 +1028,8 @@ class Model(pulumi.CustomResource):
|
|
775
1028
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
776
1029
|
artifact_content_md5: Optional[pulumi.Input[str]] = None,
|
777
1030
|
artifact_last_modified: Optional[pulumi.Input[str]] = None,
|
1031
|
+
backup_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelBackupOperationDetailArgs', 'ModelBackupOperationDetailArgsDict']]]]] = None,
|
1032
|
+
backup_setting: Optional[pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']]] = None,
|
778
1033
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
779
1034
|
created_by: Optional[pulumi.Input[str]] = None,
|
780
1035
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
@@ -785,11 +1040,17 @@ class Model(pulumi.CustomResource):
|
|
785
1040
|
empty_model: Optional[pulumi.Input[bool]] = None,
|
786
1041
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
787
1042
|
input_schema: Optional[pulumi.Input[str]] = None,
|
1043
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
788
1044
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
1045
|
+
model_version_set_id: Optional[pulumi.Input[str]] = None,
|
1046
|
+
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
789
1047
|
output_schema: Optional[pulumi.Input[str]] = None,
|
790
1048
|
project_id: Optional[pulumi.Input[str]] = None,
|
1049
|
+
retention_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelRetentionOperationDetailArgs', 'ModelRetentionOperationDetailArgsDict']]]]] = None,
|
1050
|
+
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
791
1051
|
state: Optional[pulumi.Input[str]] = None,
|
792
|
-
time_created: Optional[pulumi.Input[str]] = None
|
1052
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
1053
|
+
version_label: Optional[pulumi.Input[str]] = None) -> 'Model':
|
793
1054
|
"""
|
794
1055
|
Get an existing Model resource's state with the given name, id, and optional extra
|
795
1056
|
properties used to qualify the lookup.
|
@@ -802,6 +1063,8 @@ class Model(pulumi.CustomResource):
|
|
802
1063
|
|
803
1064
|
** IMPORTANT **
|
804
1065
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1066
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelBackupOperationDetailArgs', 'ModelBackupOperationDetailArgsDict']]]] backup_operation_details: Backup operation details of the model.
|
1067
|
+
:param pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']] backup_setting: (Updatable) Back up setting details of the model.
|
805
1068
|
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model in.
|
806
1069
|
:param pulumi.Input[str] created_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model.
|
807
1070
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
@@ -811,11 +1074,17 @@ class Model(pulumi.CustomResource):
|
|
811
1074
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: `My Model`
|
812
1075
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
813
1076
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
1077
|
+
:param pulumi.Input[str] lifecycle_details: Details about the lifecycle state of the model.
|
814
1078
|
:param pulumi.Input[str] model_artifact: The model artifact to upload. It is a ZIP archive of the files necessary to run the model. This can be done in a separate step or using cli/sdk. The Model will remain in "Creating" state until its artifact is uploaded.
|
1079
|
+
:param pulumi.Input[str] model_version_set_id: The OCID of the model version set that the model is associated to.
|
1080
|
+
:param pulumi.Input[str] model_version_set_name: The name of the model version set that the model is associated to.
|
815
1081
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
816
1082
|
:param pulumi.Input[str] project_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model.
|
1083
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelRetentionOperationDetailArgs', 'ModelRetentionOperationDetailArgsDict']]]] retention_operation_details: Retention operation details for the model.
|
1084
|
+
:param pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']] retention_setting: (Updatable) Retention setting details of the model.
|
817
1085
|
:param pulumi.Input[str] state: The state of the model.
|
818
1086
|
:param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z
|
1087
|
+
:param pulumi.Input[str] version_label: (Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
|
819
1088
|
"""
|
820
1089
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
821
1090
|
|
@@ -825,6 +1094,8 @@ class Model(pulumi.CustomResource):
|
|
825
1094
|
__props__.__dict__["artifact_content_length"] = artifact_content_length
|
826
1095
|
__props__.__dict__["artifact_content_md5"] = artifact_content_md5
|
827
1096
|
__props__.__dict__["artifact_last_modified"] = artifact_last_modified
|
1097
|
+
__props__.__dict__["backup_operation_details"] = backup_operation_details
|
1098
|
+
__props__.__dict__["backup_setting"] = backup_setting
|
828
1099
|
__props__.__dict__["compartment_id"] = compartment_id
|
829
1100
|
__props__.__dict__["created_by"] = created_by
|
830
1101
|
__props__.__dict__["custom_metadata_lists"] = custom_metadata_lists
|
@@ -835,11 +1106,17 @@ class Model(pulumi.CustomResource):
|
|
835
1106
|
__props__.__dict__["empty_model"] = empty_model
|
836
1107
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
837
1108
|
__props__.__dict__["input_schema"] = input_schema
|
1109
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
838
1110
|
__props__.__dict__["model_artifact"] = model_artifact
|
1111
|
+
__props__.__dict__["model_version_set_id"] = model_version_set_id
|
1112
|
+
__props__.__dict__["model_version_set_name"] = model_version_set_name
|
839
1113
|
__props__.__dict__["output_schema"] = output_schema
|
840
1114
|
__props__.__dict__["project_id"] = project_id
|
1115
|
+
__props__.__dict__["retention_operation_details"] = retention_operation_details
|
1116
|
+
__props__.__dict__["retention_setting"] = retention_setting
|
841
1117
|
__props__.__dict__["state"] = state
|
842
1118
|
__props__.__dict__["time_created"] = time_created
|
1119
|
+
__props__.__dict__["version_label"] = version_label
|
843
1120
|
return Model(resource_name, opts=opts, __props__=__props__)
|
844
1121
|
|
845
1122
|
@property
|
@@ -871,6 +1148,22 @@ class Model(pulumi.CustomResource):
|
|
871
1148
|
def artifact_last_modified(self) -> pulumi.Output[str]:
|
872
1149
|
return pulumi.get(self, "artifact_last_modified")
|
873
1150
|
|
1151
|
+
@property
|
1152
|
+
@pulumi.getter(name="backupOperationDetails")
|
1153
|
+
def backup_operation_details(self) -> pulumi.Output[Sequence['outputs.ModelBackupOperationDetail']]:
|
1154
|
+
"""
|
1155
|
+
Backup operation details of the model.
|
1156
|
+
"""
|
1157
|
+
return pulumi.get(self, "backup_operation_details")
|
1158
|
+
|
1159
|
+
@property
|
1160
|
+
@pulumi.getter(name="backupSetting")
|
1161
|
+
def backup_setting(self) -> pulumi.Output['outputs.ModelBackupSetting']:
|
1162
|
+
"""
|
1163
|
+
(Updatable) Back up setting details of the model.
|
1164
|
+
"""
|
1165
|
+
return pulumi.get(self, "backup_setting")
|
1166
|
+
|
874
1167
|
@property
|
875
1168
|
@pulumi.getter(name="compartmentId")
|
876
1169
|
def compartment_id(self) -> pulumi.Output[str]:
|
@@ -948,6 +1241,14 @@ class Model(pulumi.CustomResource):
|
|
948
1241
|
"""
|
949
1242
|
return pulumi.get(self, "input_schema")
|
950
1243
|
|
1244
|
+
@property
|
1245
|
+
@pulumi.getter(name="lifecycleDetails")
|
1246
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
1247
|
+
"""
|
1248
|
+
Details about the lifecycle state of the model.
|
1249
|
+
"""
|
1250
|
+
return pulumi.get(self, "lifecycle_details")
|
1251
|
+
|
951
1252
|
@property
|
952
1253
|
@pulumi.getter(name="modelArtifact")
|
953
1254
|
def model_artifact(self) -> pulumi.Output[str]:
|
@@ -956,6 +1257,22 @@ class Model(pulumi.CustomResource):
|
|
956
1257
|
"""
|
957
1258
|
return pulumi.get(self, "model_artifact")
|
958
1259
|
|
1260
|
+
@property
|
1261
|
+
@pulumi.getter(name="modelVersionSetId")
|
1262
|
+
def model_version_set_id(self) -> pulumi.Output[str]:
|
1263
|
+
"""
|
1264
|
+
The OCID of the model version set that the model is associated to.
|
1265
|
+
"""
|
1266
|
+
return pulumi.get(self, "model_version_set_id")
|
1267
|
+
|
1268
|
+
@property
|
1269
|
+
@pulumi.getter(name="modelVersionSetName")
|
1270
|
+
def model_version_set_name(self) -> pulumi.Output[str]:
|
1271
|
+
"""
|
1272
|
+
The name of the model version set that the model is associated to.
|
1273
|
+
"""
|
1274
|
+
return pulumi.get(self, "model_version_set_name")
|
1275
|
+
|
959
1276
|
@property
|
960
1277
|
@pulumi.getter(name="outputSchema")
|
961
1278
|
def output_schema(self) -> pulumi.Output[str]:
|
@@ -972,6 +1289,22 @@ class Model(pulumi.CustomResource):
|
|
972
1289
|
"""
|
973
1290
|
return pulumi.get(self, "project_id")
|
974
1291
|
|
1292
|
+
@property
|
1293
|
+
@pulumi.getter(name="retentionOperationDetails")
|
1294
|
+
def retention_operation_details(self) -> pulumi.Output[Sequence['outputs.ModelRetentionOperationDetail']]:
|
1295
|
+
"""
|
1296
|
+
Retention operation details for the model.
|
1297
|
+
"""
|
1298
|
+
return pulumi.get(self, "retention_operation_details")
|
1299
|
+
|
1300
|
+
@property
|
1301
|
+
@pulumi.getter(name="retentionSetting")
|
1302
|
+
def retention_setting(self) -> pulumi.Output['outputs.ModelRetentionSetting']:
|
1303
|
+
"""
|
1304
|
+
(Updatable) Retention setting details of the model.
|
1305
|
+
"""
|
1306
|
+
return pulumi.get(self, "retention_setting")
|
1307
|
+
|
975
1308
|
@property
|
976
1309
|
@pulumi.getter
|
977
1310
|
def state(self) -> pulumi.Output[str]:
|
@@ -988,3 +1321,11 @@ class Model(pulumi.CustomResource):
|
|
988
1321
|
"""
|
989
1322
|
return pulumi.get(self, "time_created")
|
990
1323
|
|
1324
|
+
@property
|
1325
|
+
@pulumi.getter(name="versionLabel")
|
1326
|
+
def version_label(self) -> pulumi.Output[str]:
|
1327
|
+
"""
|
1328
|
+
(Updatable) The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
|
1329
|
+
"""
|
1330
|
+
return pulumi.get(self, "version_label")
|
1331
|
+
|