pulumi-oci 2.14.0a1730182164__py3-none-any.whl → 2.14.0a1730198001__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/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/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/datascience/_inputs.py +353 -0
- pulumi_oci/datascience/get_model.py +85 -1
- pulumi_oci/datascience/get_models.py +5 -0
- pulumi_oci/datascience/model.py +206 -66
- pulumi_oci/datascience/outputs.py +759 -0
- 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/networkloadbalancer/get_network_load_balancer.py +15 -1
- pulumi_oci/networkloadbalancer/network_load_balancer.py +47 -0
- pulumi_oci/networkloadbalancer/outputs.py +11 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.14.0a1730182164.dist-info → pulumi_oci-2.14.0a1730198001.dist-info}/METADATA +1 -1
- {pulumi_oci-2.14.0a1730182164.dist-info → pulumi_oci-2.14.0a1730198001.dist-info}/RECORD +39 -39
- {pulumi_oci-2.14.0a1730182164.dist-info → pulumi_oci-2.14.0a1730198001.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.14.0a1730182164.dist-info → pulumi_oci-2.14.0a1730198001.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,
|
@@ -34,6 +35,7 @@ class ModelArgs:
|
|
34
35
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
35
36
|
input_schema: Optional[pulumi.Input[str]] = None,
|
36
37
|
output_schema: Optional[pulumi.Input[str]] = None,
|
38
|
+
retention_setting: Optional[pulumi.Input['ModelRetentionSettingArgs']] = None,
|
37
39
|
state: Optional[pulumi.Input[str]] = None):
|
38
40
|
"""
|
39
41
|
The set of arguments for constructing a Model resource.
|
@@ -45,6 +47,7 @@ class ModelArgs:
|
|
45
47
|
: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
48
|
: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
49
|
: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`
|
50
|
+
:param pulumi.Input['ModelBackupSettingArgs'] backup_setting: (Updatable) Back up setting details of the model.
|
48
51
|
:param pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
49
52
|
:param pulumi.Input[Sequence[pulumi.Input['ModelDefinedMetadataListArgs']]] defined_metadata_lists: (Updatable) An array of defined metadata details for the model.
|
50
53
|
: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"}`
|
@@ -53,6 +56,7 @@ class ModelArgs:
|
|
53
56
|
: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
57
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
55
58
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
59
|
+
:param pulumi.Input['ModelRetentionSettingArgs'] retention_setting: (Updatable) Retention setting details of the model.
|
56
60
|
:param pulumi.Input[str] state: The state of the model.
|
57
61
|
"""
|
58
62
|
pulumi.set(__self__, "artifact_content_length", artifact_content_length)
|
@@ -61,6 +65,8 @@ class ModelArgs:
|
|
61
65
|
pulumi.set(__self__, "project_id", project_id)
|
62
66
|
if artifact_content_disposition is not None:
|
63
67
|
pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition)
|
68
|
+
if backup_setting is not None:
|
69
|
+
pulumi.set(__self__, "backup_setting", backup_setting)
|
64
70
|
if custom_metadata_lists is not None:
|
65
71
|
pulumi.set(__self__, "custom_metadata_lists", custom_metadata_lists)
|
66
72
|
if defined_metadata_lists is not None:
|
@@ -77,6 +83,8 @@ class ModelArgs:
|
|
77
83
|
pulumi.set(__self__, "input_schema", input_schema)
|
78
84
|
if output_schema is not None:
|
79
85
|
pulumi.set(__self__, "output_schema", output_schema)
|
86
|
+
if retention_setting is not None:
|
87
|
+
pulumi.set(__self__, "retention_setting", retention_setting)
|
80
88
|
if state is not None:
|
81
89
|
pulumi.set(__self__, "state", state)
|
82
90
|
|
@@ -143,6 +151,18 @@ class ModelArgs:
|
|
143
151
|
def artifact_content_disposition(self, value: Optional[pulumi.Input[str]]):
|
144
152
|
pulumi.set(self, "artifact_content_disposition", value)
|
145
153
|
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="backupSetting")
|
156
|
+
def backup_setting(self) -> Optional[pulumi.Input['ModelBackupSettingArgs']]:
|
157
|
+
"""
|
158
|
+
(Updatable) Back up setting details of the model.
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "backup_setting")
|
161
|
+
|
162
|
+
@backup_setting.setter
|
163
|
+
def backup_setting(self, value: Optional[pulumi.Input['ModelBackupSettingArgs']]):
|
164
|
+
pulumi.set(self, "backup_setting", value)
|
165
|
+
|
146
166
|
@property
|
147
167
|
@pulumi.getter(name="customMetadataLists")
|
148
168
|
def custom_metadata_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]]:
|
@@ -239,6 +259,18 @@ class ModelArgs:
|
|
239
259
|
def output_schema(self, value: Optional[pulumi.Input[str]]):
|
240
260
|
pulumi.set(self, "output_schema", value)
|
241
261
|
|
262
|
+
@property
|
263
|
+
@pulumi.getter(name="retentionSetting")
|
264
|
+
def retention_setting(self) -> Optional[pulumi.Input['ModelRetentionSettingArgs']]:
|
265
|
+
"""
|
266
|
+
(Updatable) Retention setting details of the model.
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "retention_setting")
|
269
|
+
|
270
|
+
@retention_setting.setter
|
271
|
+
def retention_setting(self, value: Optional[pulumi.Input['ModelRetentionSettingArgs']]):
|
272
|
+
pulumi.set(self, "retention_setting", value)
|
273
|
+
|
242
274
|
@property
|
243
275
|
@pulumi.getter
|
244
276
|
def state(self) -> Optional[pulumi.Input[str]]:
|
@@ -259,6 +291,8 @@ class _ModelState:
|
|
259
291
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
260
292
|
artifact_content_md5: Optional[pulumi.Input[str]] = None,
|
261
293
|
artifact_last_modified: Optional[pulumi.Input[str]] = None,
|
294
|
+
backup_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input['ModelBackupOperationDetailArgs']]]] = None,
|
295
|
+
backup_setting: Optional[pulumi.Input['ModelBackupSettingArgs']] = None,
|
262
296
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
263
297
|
created_by: Optional[pulumi.Input[str]] = None,
|
264
298
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]] = None,
|
@@ -269,9 +303,13 @@ class _ModelState:
|
|
269
303
|
empty_model: Optional[pulumi.Input[bool]] = None,
|
270
304
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
271
305
|
input_schema: Optional[pulumi.Input[str]] = None,
|
306
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
272
307
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
308
|
+
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
273
309
|
output_schema: Optional[pulumi.Input[str]] = None,
|
274
310
|
project_id: Optional[pulumi.Input[str]] = None,
|
311
|
+
retention_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]]] = None,
|
312
|
+
retention_setting: Optional[pulumi.Input['ModelRetentionSettingArgs']] = None,
|
275
313
|
state: Optional[pulumi.Input[str]] = None,
|
276
314
|
time_created: Optional[pulumi.Input[str]] = None):
|
277
315
|
"""
|
@@ -281,6 +319,8 @@ class _ModelState:
|
|
281
319
|
|
282
320
|
** IMPORTANT **
|
283
321
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
322
|
+
:param pulumi.Input[Sequence[pulumi.Input['ModelBackupOperationDetailArgs']]] backup_operation_details: Backup operation details of the model.
|
323
|
+
:param pulumi.Input['ModelBackupSettingArgs'] backup_setting: (Updatable) Back up setting details of the model.
|
284
324
|
: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
325
|
: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
326
|
:param pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
@@ -290,9 +330,13 @@ class _ModelState:
|
|
290
330
|
: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
331
|
: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
332
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
333
|
+
:param pulumi.Input[str] lifecycle_details: Details about the lifecycle state of the model.
|
293
334
|
: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.
|
335
|
+
:param pulumi.Input[str] model_version_set_name: The name of the model version set that the model is associated to.
|
294
336
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
295
337
|
: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.
|
338
|
+
:param pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]] retention_operation_details: Retention operation details for the model.
|
339
|
+
:param pulumi.Input['ModelRetentionSettingArgs'] retention_setting: (Updatable) Retention setting details of the model.
|
296
340
|
:param pulumi.Input[str] state: The state of the model.
|
297
341
|
: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
|
298
342
|
"""
|
@@ -304,6 +348,10 @@ class _ModelState:
|
|
304
348
|
pulumi.set(__self__, "artifact_content_md5", artifact_content_md5)
|
305
349
|
if artifact_last_modified is not None:
|
306
350
|
pulumi.set(__self__, "artifact_last_modified", artifact_last_modified)
|
351
|
+
if backup_operation_details is not None:
|
352
|
+
pulumi.set(__self__, "backup_operation_details", backup_operation_details)
|
353
|
+
if backup_setting is not None:
|
354
|
+
pulumi.set(__self__, "backup_setting", backup_setting)
|
307
355
|
if compartment_id is not None:
|
308
356
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
309
357
|
if created_by is not None:
|
@@ -324,12 +372,20 @@ class _ModelState:
|
|
324
372
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
325
373
|
if input_schema is not None:
|
326
374
|
pulumi.set(__self__, "input_schema", input_schema)
|
375
|
+
if lifecycle_details is not None:
|
376
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
327
377
|
if model_artifact is not None:
|
328
378
|
pulumi.set(__self__, "model_artifact", model_artifact)
|
379
|
+
if model_version_set_name is not None:
|
380
|
+
pulumi.set(__self__, "model_version_set_name", model_version_set_name)
|
329
381
|
if output_schema is not None:
|
330
382
|
pulumi.set(__self__, "output_schema", output_schema)
|
331
383
|
if project_id is not None:
|
332
384
|
pulumi.set(__self__, "project_id", project_id)
|
385
|
+
if retention_operation_details is not None:
|
386
|
+
pulumi.set(__self__, "retention_operation_details", retention_operation_details)
|
387
|
+
if retention_setting is not None:
|
388
|
+
pulumi.set(__self__, "retention_setting", retention_setting)
|
333
389
|
if state is not None:
|
334
390
|
pulumi.set(__self__, "state", state)
|
335
391
|
if time_created is not None:
|
@@ -380,6 +436,30 @@ class _ModelState:
|
|
380
436
|
def artifact_last_modified(self, value: Optional[pulumi.Input[str]]):
|
381
437
|
pulumi.set(self, "artifact_last_modified", value)
|
382
438
|
|
439
|
+
@property
|
440
|
+
@pulumi.getter(name="backupOperationDetails")
|
441
|
+
def backup_operation_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelBackupOperationDetailArgs']]]]:
|
442
|
+
"""
|
443
|
+
Backup operation details of the model.
|
444
|
+
"""
|
445
|
+
return pulumi.get(self, "backup_operation_details")
|
446
|
+
|
447
|
+
@backup_operation_details.setter
|
448
|
+
def backup_operation_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelBackupOperationDetailArgs']]]]):
|
449
|
+
pulumi.set(self, "backup_operation_details", value)
|
450
|
+
|
451
|
+
@property
|
452
|
+
@pulumi.getter(name="backupSetting")
|
453
|
+
def backup_setting(self) -> Optional[pulumi.Input['ModelBackupSettingArgs']]:
|
454
|
+
"""
|
455
|
+
(Updatable) Back up setting details of the model.
|
456
|
+
"""
|
457
|
+
return pulumi.get(self, "backup_setting")
|
458
|
+
|
459
|
+
@backup_setting.setter
|
460
|
+
def backup_setting(self, value: Optional[pulumi.Input['ModelBackupSettingArgs']]):
|
461
|
+
pulumi.set(self, "backup_setting", value)
|
462
|
+
|
383
463
|
@property
|
384
464
|
@pulumi.getter(name="compartmentId")
|
385
465
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -497,6 +577,18 @@ class _ModelState:
|
|
497
577
|
def input_schema(self, value: Optional[pulumi.Input[str]]):
|
498
578
|
pulumi.set(self, "input_schema", value)
|
499
579
|
|
580
|
+
@property
|
581
|
+
@pulumi.getter(name="lifecycleDetails")
|
582
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
583
|
+
"""
|
584
|
+
Details about the lifecycle state of the model.
|
585
|
+
"""
|
586
|
+
return pulumi.get(self, "lifecycle_details")
|
587
|
+
|
588
|
+
@lifecycle_details.setter
|
589
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
590
|
+
pulumi.set(self, "lifecycle_details", value)
|
591
|
+
|
500
592
|
@property
|
501
593
|
@pulumi.getter(name="modelArtifact")
|
502
594
|
def model_artifact(self) -> Optional[pulumi.Input[str]]:
|
@@ -509,6 +601,18 @@ class _ModelState:
|
|
509
601
|
def model_artifact(self, value: Optional[pulumi.Input[str]]):
|
510
602
|
pulumi.set(self, "model_artifact", value)
|
511
603
|
|
604
|
+
@property
|
605
|
+
@pulumi.getter(name="modelVersionSetName")
|
606
|
+
def model_version_set_name(self) -> Optional[pulumi.Input[str]]:
|
607
|
+
"""
|
608
|
+
The name of the model version set that the model is associated to.
|
609
|
+
"""
|
610
|
+
return pulumi.get(self, "model_version_set_name")
|
611
|
+
|
612
|
+
@model_version_set_name.setter
|
613
|
+
def model_version_set_name(self, value: Optional[pulumi.Input[str]]):
|
614
|
+
pulumi.set(self, "model_version_set_name", value)
|
615
|
+
|
512
616
|
@property
|
513
617
|
@pulumi.getter(name="outputSchema")
|
514
618
|
def output_schema(self) -> Optional[pulumi.Input[str]]:
|
@@ -533,6 +637,30 @@ class _ModelState:
|
|
533
637
|
def project_id(self, value: Optional[pulumi.Input[str]]):
|
534
638
|
pulumi.set(self, "project_id", value)
|
535
639
|
|
640
|
+
@property
|
641
|
+
@pulumi.getter(name="retentionOperationDetails")
|
642
|
+
def retention_operation_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]]]:
|
643
|
+
"""
|
644
|
+
Retention operation details for the model.
|
645
|
+
"""
|
646
|
+
return pulumi.get(self, "retention_operation_details")
|
647
|
+
|
648
|
+
@retention_operation_details.setter
|
649
|
+
def retention_operation_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]]]):
|
650
|
+
pulumi.set(self, "retention_operation_details", value)
|
651
|
+
|
652
|
+
@property
|
653
|
+
@pulumi.getter(name="retentionSetting")
|
654
|
+
def retention_setting(self) -> Optional[pulumi.Input['ModelRetentionSettingArgs']]:
|
655
|
+
"""
|
656
|
+
(Updatable) Retention setting details of the model.
|
657
|
+
"""
|
658
|
+
return pulumi.get(self, "retention_setting")
|
659
|
+
|
660
|
+
@retention_setting.setter
|
661
|
+
def retention_setting(self, value: Optional[pulumi.Input['ModelRetentionSettingArgs']]):
|
662
|
+
pulumi.set(self, "retention_setting", value)
|
663
|
+
|
536
664
|
@property
|
537
665
|
@pulumi.getter
|
538
666
|
def state(self) -> Optional[pulumi.Input[str]]:
|
@@ -565,6 +693,7 @@ class Model(pulumi.CustomResource):
|
|
565
693
|
opts: Optional[pulumi.ResourceOptions] = None,
|
566
694
|
artifact_content_disposition: Optional[pulumi.Input[str]] = None,
|
567
695
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
696
|
+
backup_setting: Optional[pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']]] = None,
|
568
697
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
569
698
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
570
699
|
defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]]] = None,
|
@@ -576,6 +705,7 @@ class Model(pulumi.CustomResource):
|
|
576
705
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
577
706
|
output_schema: Optional[pulumi.Input[str]] = None,
|
578
707
|
project_id: Optional[pulumi.Input[str]] = None,
|
708
|
+
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
579
709
|
state: Optional[pulumi.Input[str]] = None,
|
580
710
|
__props__=None):
|
581
711
|
"""
|
@@ -583,39 +713,6 @@ class Model(pulumi.CustomResource):
|
|
583
713
|
|
584
714
|
Creates a new model.
|
585
715
|
|
586
|
-
## Example Usage
|
587
|
-
|
588
|
-
```python
|
589
|
-
import pulumi
|
590
|
-
import pulumi_oci as oci
|
591
|
-
|
592
|
-
test_model = oci.data_science.Model("test_model",
|
593
|
-
compartment_id=compartment_id,
|
594
|
-
project_id=test_project["id"],
|
595
|
-
custom_metadata_lists=[{
|
596
|
-
"category": model_custom_metadata_list_category,
|
597
|
-
"description": model_custom_metadata_list_description,
|
598
|
-
"key": model_custom_metadata_list_key,
|
599
|
-
"value": model_custom_metadata_list_value,
|
600
|
-
}],
|
601
|
-
defined_metadata_lists=[{
|
602
|
-
"category": model_defined_metadata_list_category,
|
603
|
-
"description": model_defined_metadata_list_description,
|
604
|
-
"key": model_defined_metadata_list_key,
|
605
|
-
"value": model_defined_metadata_list_value,
|
606
|
-
}],
|
607
|
-
defined_tags={
|
608
|
-
"Operations.CostCenter": "42",
|
609
|
-
},
|
610
|
-
description=model_description,
|
611
|
-
display_name=model_display_name,
|
612
|
-
freeform_tags={
|
613
|
-
"Department": "Finance",
|
614
|
-
},
|
615
|
-
input_schema=model_input_schema,
|
616
|
-
output_schema=model_output_schema)
|
617
|
-
```
|
618
|
-
|
619
716
|
## Import
|
620
717
|
|
621
718
|
Models can be imported using the `id`, e.g.
|
@@ -631,6 +728,7 @@ class Model(pulumi.CustomResource):
|
|
631
728
|
|
632
729
|
** IMPORTANT **
|
633
730
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
731
|
+
:param pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']] backup_setting: (Updatable) Back up setting details of the model.
|
634
732
|
: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
733
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
636
734
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]] defined_metadata_lists: (Updatable) An array of defined metadata details for the model.
|
@@ -642,6 +740,7 @@ class Model(pulumi.CustomResource):
|
|
642
740
|
: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.
|
643
741
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
644
742
|
: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.
|
743
|
+
:param pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']] retention_setting: (Updatable) Retention setting details of the model.
|
645
744
|
:param pulumi.Input[str] state: The state of the model.
|
646
745
|
"""
|
647
746
|
...
|
@@ -655,39 +754,6 @@ class Model(pulumi.CustomResource):
|
|
655
754
|
|
656
755
|
Creates a new model.
|
657
756
|
|
658
|
-
## Example Usage
|
659
|
-
|
660
|
-
```python
|
661
|
-
import pulumi
|
662
|
-
import pulumi_oci as oci
|
663
|
-
|
664
|
-
test_model = oci.data_science.Model("test_model",
|
665
|
-
compartment_id=compartment_id,
|
666
|
-
project_id=test_project["id"],
|
667
|
-
custom_metadata_lists=[{
|
668
|
-
"category": model_custom_metadata_list_category,
|
669
|
-
"description": model_custom_metadata_list_description,
|
670
|
-
"key": model_custom_metadata_list_key,
|
671
|
-
"value": model_custom_metadata_list_value,
|
672
|
-
}],
|
673
|
-
defined_metadata_lists=[{
|
674
|
-
"category": model_defined_metadata_list_category,
|
675
|
-
"description": model_defined_metadata_list_description,
|
676
|
-
"key": model_defined_metadata_list_key,
|
677
|
-
"value": model_defined_metadata_list_value,
|
678
|
-
}],
|
679
|
-
defined_tags={
|
680
|
-
"Operations.CostCenter": "42",
|
681
|
-
},
|
682
|
-
description=model_description,
|
683
|
-
display_name=model_display_name,
|
684
|
-
freeform_tags={
|
685
|
-
"Department": "Finance",
|
686
|
-
},
|
687
|
-
input_schema=model_input_schema,
|
688
|
-
output_schema=model_output_schema)
|
689
|
-
```
|
690
|
-
|
691
757
|
## Import
|
692
758
|
|
693
759
|
Models can be imported using the `id`, e.g.
|
@@ -713,6 +779,7 @@ class Model(pulumi.CustomResource):
|
|
713
779
|
opts: Optional[pulumi.ResourceOptions] = None,
|
714
780
|
artifact_content_disposition: Optional[pulumi.Input[str]] = None,
|
715
781
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
782
|
+
backup_setting: Optional[pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']]] = None,
|
716
783
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
717
784
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
718
785
|
defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]]] = None,
|
@@ -724,6 +791,7 @@ class Model(pulumi.CustomResource):
|
|
724
791
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
725
792
|
output_schema: Optional[pulumi.Input[str]] = None,
|
726
793
|
project_id: Optional[pulumi.Input[str]] = None,
|
794
|
+
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
727
795
|
state: Optional[pulumi.Input[str]] = None,
|
728
796
|
__props__=None):
|
729
797
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -738,6 +806,7 @@ class Model(pulumi.CustomResource):
|
|
738
806
|
if artifact_content_length is None and not opts.urn:
|
739
807
|
raise TypeError("Missing required property 'artifact_content_length'")
|
740
808
|
__props__.__dict__["artifact_content_length"] = artifact_content_length
|
809
|
+
__props__.__dict__["backup_setting"] = backup_setting
|
741
810
|
if compartment_id is None and not opts.urn:
|
742
811
|
raise TypeError("Missing required property 'compartment_id'")
|
743
812
|
__props__.__dict__["compartment_id"] = compartment_id
|
@@ -755,11 +824,16 @@ class Model(pulumi.CustomResource):
|
|
755
824
|
if project_id is None and not opts.urn:
|
756
825
|
raise TypeError("Missing required property 'project_id'")
|
757
826
|
__props__.__dict__["project_id"] = project_id
|
827
|
+
__props__.__dict__["retention_setting"] = retention_setting
|
758
828
|
__props__.__dict__["state"] = state
|
759
829
|
__props__.__dict__["artifact_content_md5"] = None
|
760
830
|
__props__.__dict__["artifact_last_modified"] = None
|
831
|
+
__props__.__dict__["backup_operation_details"] = None
|
761
832
|
__props__.__dict__["created_by"] = None
|
762
833
|
__props__.__dict__["empty_model"] = None
|
834
|
+
__props__.__dict__["lifecycle_details"] = None
|
835
|
+
__props__.__dict__["model_version_set_name"] = None
|
836
|
+
__props__.__dict__["retention_operation_details"] = None
|
763
837
|
__props__.__dict__["time_created"] = None
|
764
838
|
super(Model, __self__).__init__(
|
765
839
|
'oci:DataScience/model:Model',
|
@@ -775,6 +849,8 @@ class Model(pulumi.CustomResource):
|
|
775
849
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
776
850
|
artifact_content_md5: Optional[pulumi.Input[str]] = None,
|
777
851
|
artifact_last_modified: Optional[pulumi.Input[str]] = None,
|
852
|
+
backup_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelBackupOperationDetailArgs', 'ModelBackupOperationDetailArgsDict']]]]] = None,
|
853
|
+
backup_setting: Optional[pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']]] = None,
|
778
854
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
779
855
|
created_by: Optional[pulumi.Input[str]] = None,
|
780
856
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
@@ -785,9 +861,13 @@ class Model(pulumi.CustomResource):
|
|
785
861
|
empty_model: Optional[pulumi.Input[bool]] = None,
|
786
862
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
787
863
|
input_schema: Optional[pulumi.Input[str]] = None,
|
864
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
788
865
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
866
|
+
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
789
867
|
output_schema: Optional[pulumi.Input[str]] = None,
|
790
868
|
project_id: Optional[pulumi.Input[str]] = None,
|
869
|
+
retention_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelRetentionOperationDetailArgs', 'ModelRetentionOperationDetailArgsDict']]]]] = None,
|
870
|
+
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
791
871
|
state: Optional[pulumi.Input[str]] = None,
|
792
872
|
time_created: Optional[pulumi.Input[str]] = None) -> 'Model':
|
793
873
|
"""
|
@@ -802,6 +882,8 @@ class Model(pulumi.CustomResource):
|
|
802
882
|
|
803
883
|
** IMPORTANT **
|
804
884
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
885
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelBackupOperationDetailArgs', 'ModelBackupOperationDetailArgsDict']]]] backup_operation_details: Backup operation details of the model.
|
886
|
+
:param pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']] backup_setting: (Updatable) Back up setting details of the model.
|
805
887
|
: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
888
|
: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
889
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
@@ -811,9 +893,13 @@ class Model(pulumi.CustomResource):
|
|
811
893
|
: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
894
|
: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
895
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
896
|
+
:param pulumi.Input[str] lifecycle_details: Details about the lifecycle state of the model.
|
814
897
|
: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.
|
898
|
+
:param pulumi.Input[str] model_version_set_name: The name of the model version set that the model is associated to.
|
815
899
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
816
900
|
: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.
|
901
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelRetentionOperationDetailArgs', 'ModelRetentionOperationDetailArgsDict']]]] retention_operation_details: Retention operation details for the model.
|
902
|
+
:param pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']] retention_setting: (Updatable) Retention setting details of the model.
|
817
903
|
:param pulumi.Input[str] state: The state of the model.
|
818
904
|
: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
|
819
905
|
"""
|
@@ -825,6 +911,8 @@ class Model(pulumi.CustomResource):
|
|
825
911
|
__props__.__dict__["artifact_content_length"] = artifact_content_length
|
826
912
|
__props__.__dict__["artifact_content_md5"] = artifact_content_md5
|
827
913
|
__props__.__dict__["artifact_last_modified"] = artifact_last_modified
|
914
|
+
__props__.__dict__["backup_operation_details"] = backup_operation_details
|
915
|
+
__props__.__dict__["backup_setting"] = backup_setting
|
828
916
|
__props__.__dict__["compartment_id"] = compartment_id
|
829
917
|
__props__.__dict__["created_by"] = created_by
|
830
918
|
__props__.__dict__["custom_metadata_lists"] = custom_metadata_lists
|
@@ -835,9 +923,13 @@ class Model(pulumi.CustomResource):
|
|
835
923
|
__props__.__dict__["empty_model"] = empty_model
|
836
924
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
837
925
|
__props__.__dict__["input_schema"] = input_schema
|
926
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
838
927
|
__props__.__dict__["model_artifact"] = model_artifact
|
928
|
+
__props__.__dict__["model_version_set_name"] = model_version_set_name
|
839
929
|
__props__.__dict__["output_schema"] = output_schema
|
840
930
|
__props__.__dict__["project_id"] = project_id
|
931
|
+
__props__.__dict__["retention_operation_details"] = retention_operation_details
|
932
|
+
__props__.__dict__["retention_setting"] = retention_setting
|
841
933
|
__props__.__dict__["state"] = state
|
842
934
|
__props__.__dict__["time_created"] = time_created
|
843
935
|
return Model(resource_name, opts=opts, __props__=__props__)
|
@@ -871,6 +963,22 @@ class Model(pulumi.CustomResource):
|
|
871
963
|
def artifact_last_modified(self) -> pulumi.Output[str]:
|
872
964
|
return pulumi.get(self, "artifact_last_modified")
|
873
965
|
|
966
|
+
@property
|
967
|
+
@pulumi.getter(name="backupOperationDetails")
|
968
|
+
def backup_operation_details(self) -> pulumi.Output[Sequence['outputs.ModelBackupOperationDetail']]:
|
969
|
+
"""
|
970
|
+
Backup operation details of the model.
|
971
|
+
"""
|
972
|
+
return pulumi.get(self, "backup_operation_details")
|
973
|
+
|
974
|
+
@property
|
975
|
+
@pulumi.getter(name="backupSetting")
|
976
|
+
def backup_setting(self) -> pulumi.Output['outputs.ModelBackupSetting']:
|
977
|
+
"""
|
978
|
+
(Updatable) Back up setting details of the model.
|
979
|
+
"""
|
980
|
+
return pulumi.get(self, "backup_setting")
|
981
|
+
|
874
982
|
@property
|
875
983
|
@pulumi.getter(name="compartmentId")
|
876
984
|
def compartment_id(self) -> pulumi.Output[str]:
|
@@ -948,6 +1056,14 @@ class Model(pulumi.CustomResource):
|
|
948
1056
|
"""
|
949
1057
|
return pulumi.get(self, "input_schema")
|
950
1058
|
|
1059
|
+
@property
|
1060
|
+
@pulumi.getter(name="lifecycleDetails")
|
1061
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
1062
|
+
"""
|
1063
|
+
Details about the lifecycle state of the model.
|
1064
|
+
"""
|
1065
|
+
return pulumi.get(self, "lifecycle_details")
|
1066
|
+
|
951
1067
|
@property
|
952
1068
|
@pulumi.getter(name="modelArtifact")
|
953
1069
|
def model_artifact(self) -> pulumi.Output[str]:
|
@@ -956,6 +1072,14 @@ class Model(pulumi.CustomResource):
|
|
956
1072
|
"""
|
957
1073
|
return pulumi.get(self, "model_artifact")
|
958
1074
|
|
1075
|
+
@property
|
1076
|
+
@pulumi.getter(name="modelVersionSetName")
|
1077
|
+
def model_version_set_name(self) -> pulumi.Output[str]:
|
1078
|
+
"""
|
1079
|
+
The name of the model version set that the model is associated to.
|
1080
|
+
"""
|
1081
|
+
return pulumi.get(self, "model_version_set_name")
|
1082
|
+
|
959
1083
|
@property
|
960
1084
|
@pulumi.getter(name="outputSchema")
|
961
1085
|
def output_schema(self) -> pulumi.Output[str]:
|
@@ -972,6 +1096,22 @@ class Model(pulumi.CustomResource):
|
|
972
1096
|
"""
|
973
1097
|
return pulumi.get(self, "project_id")
|
974
1098
|
|
1099
|
+
@property
|
1100
|
+
@pulumi.getter(name="retentionOperationDetails")
|
1101
|
+
def retention_operation_details(self) -> pulumi.Output[Sequence['outputs.ModelRetentionOperationDetail']]:
|
1102
|
+
"""
|
1103
|
+
Retention operation details for the model.
|
1104
|
+
"""
|
1105
|
+
return pulumi.get(self, "retention_operation_details")
|
1106
|
+
|
1107
|
+
@property
|
1108
|
+
@pulumi.getter(name="retentionSetting")
|
1109
|
+
def retention_setting(self) -> pulumi.Output['outputs.ModelRetentionSetting']:
|
1110
|
+
"""
|
1111
|
+
(Updatable) Retention setting details of the model.
|
1112
|
+
"""
|
1113
|
+
return pulumi.get(self, "retention_setting")
|
1114
|
+
|
975
1115
|
@property
|
976
1116
|
@pulumi.getter
|
977
1117
|
def state(self) -> pulumi.Output[str]:
|