pulumi-oci 2.14.0__py3-none-any.whl → 2.14.0a1730182164__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 +0 -74
- pulumi_oci/core/get_instance.py +1 -1
- pulumi_oci/core/get_virtual_circuit.py +4 -18
- pulumi_oci/core/instance.py +7 -7
- pulumi_oci/core/outputs.py +7 -165
- pulumi_oci/core/virtual_circuit.py +2 -30
- pulumi_oci/database/_inputs.py +0 -642
- pulumi_oci/database/autonomous_container_database.py +14 -14
- pulumi_oci/database/autonomous_database.py +0 -75
- pulumi_oci/database/get_autonomous_container_database.py +3 -3
- pulumi_oci/database/get_autonomous_database.py +1 -29
- pulumi_oci/database/get_autonomous_databases.py +28 -22
- pulumi_oci/database/outputs.py +89 -1672
- pulumi_oci/datascience/_inputs.py +0 -353
- pulumi_oci/datascience/get_model.py +1 -85
- pulumi_oci/datascience/get_models.py +0 -5
- pulumi_oci/datascience/model.py +66 -206
- pulumi_oci/datascience/outputs.py +0 -759
- pulumi_oci/filestorage/_inputs.py +0 -651
- pulumi_oci/filestorage/export.py +3 -96
- pulumi_oci/filestorage/file_system.py +0 -93
- pulumi_oci/filestorage/filesystem_snapshot_policy.py +0 -93
- pulumi_oci/filestorage/get_filesystem_snapshot_policy.py +1 -26
- pulumi_oci/filestorage/get_outbound_connector.py +1 -26
- pulumi_oci/filestorage/get_replication.py +1 -27
- pulumi_oci/filestorage/get_snapshot.py +1 -27
- pulumi_oci/filestorage/mount_target.py +0 -108
- pulumi_oci/filestorage/outbound_connector.py +0 -93
- pulumi_oci/filestorage/outputs.py +9 -1225
- pulumi_oci/filestorage/replication.py +0 -95
- pulumi_oci/filestorage/snapshot.py +2 -97
- pulumi_oci/networkloadbalancer/get_network_load_balancer.py +1 -15
- pulumi_oci/networkloadbalancer/network_load_balancer.py +0 -47
- pulumi_oci/networkloadbalancer/outputs.py +0 -11
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.14.0.dist-info → pulumi_oci-2.14.0a1730182164.dist-info}/METADATA +1 -1
- {pulumi_oci-2.14.0.dist-info → pulumi_oci-2.14.0a1730182164.dist-info}/RECORD +39 -39
- {pulumi_oci-2.14.0.dist-info → pulumi_oci-2.14.0a1730182164.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.14.0.dist-info → pulumi_oci-2.14.0a1730182164.dist-info}/top_level.txt +0 -0
pulumi_oci/datascience/model.py
CHANGED
@@ -26,7 +26,6 @@ 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,
|
30
29
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]] = None,
|
31
30
|
defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelDefinedMetadataListArgs']]]] = None,
|
32
31
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -35,7 +34,6 @@ class ModelArgs:
|
|
35
34
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
36
35
|
input_schema: Optional[pulumi.Input[str]] = None,
|
37
36
|
output_schema: Optional[pulumi.Input[str]] = None,
|
38
|
-
retention_setting: Optional[pulumi.Input['ModelRetentionSettingArgs']] = None,
|
39
37
|
state: Optional[pulumi.Input[str]] = None):
|
40
38
|
"""
|
41
39
|
The set of arguments for constructing a Model resource.
|
@@ -47,7 +45,6 @@ class ModelArgs:
|
|
47
45
|
: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.
|
48
46
|
: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.
|
49
47
|
: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.
|
51
48
|
:param pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
52
49
|
:param pulumi.Input[Sequence[pulumi.Input['ModelDefinedMetadataListArgs']]] defined_metadata_lists: (Updatable) An array of defined metadata details for the model.
|
53
50
|
: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"}`
|
@@ -56,7 +53,6 @@ class ModelArgs:
|
|
56
53
|
: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"}`
|
57
54
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
58
55
|
: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.
|
60
56
|
:param pulumi.Input[str] state: The state of the model.
|
61
57
|
"""
|
62
58
|
pulumi.set(__self__, "artifact_content_length", artifact_content_length)
|
@@ -65,8 +61,6 @@ class ModelArgs:
|
|
65
61
|
pulumi.set(__self__, "project_id", project_id)
|
66
62
|
if artifact_content_disposition is not None:
|
67
63
|
pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition)
|
68
|
-
if backup_setting is not None:
|
69
|
-
pulumi.set(__self__, "backup_setting", backup_setting)
|
70
64
|
if custom_metadata_lists is not None:
|
71
65
|
pulumi.set(__self__, "custom_metadata_lists", custom_metadata_lists)
|
72
66
|
if defined_metadata_lists is not None:
|
@@ -83,8 +77,6 @@ class ModelArgs:
|
|
83
77
|
pulumi.set(__self__, "input_schema", input_schema)
|
84
78
|
if output_schema is not None:
|
85
79
|
pulumi.set(__self__, "output_schema", output_schema)
|
86
|
-
if retention_setting is not None:
|
87
|
-
pulumi.set(__self__, "retention_setting", retention_setting)
|
88
80
|
if state is not None:
|
89
81
|
pulumi.set(__self__, "state", state)
|
90
82
|
|
@@ -151,18 +143,6 @@ class ModelArgs:
|
|
151
143
|
def artifact_content_disposition(self, value: Optional[pulumi.Input[str]]):
|
152
144
|
pulumi.set(self, "artifact_content_disposition", value)
|
153
145
|
|
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
|
-
|
166
146
|
@property
|
167
147
|
@pulumi.getter(name="customMetadataLists")
|
168
148
|
def custom_metadata_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]]:
|
@@ -259,18 +239,6 @@ class ModelArgs:
|
|
259
239
|
def output_schema(self, value: Optional[pulumi.Input[str]]):
|
260
240
|
pulumi.set(self, "output_schema", value)
|
261
241
|
|
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
|
-
|
274
242
|
@property
|
275
243
|
@pulumi.getter
|
276
244
|
def state(self) -> Optional[pulumi.Input[str]]:
|
@@ -291,8 +259,6 @@ class _ModelState:
|
|
291
259
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
292
260
|
artifact_content_md5: Optional[pulumi.Input[str]] = None,
|
293
261
|
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,
|
296
262
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
297
263
|
created_by: Optional[pulumi.Input[str]] = None,
|
298
264
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]] = None,
|
@@ -303,13 +269,9 @@ class _ModelState:
|
|
303
269
|
empty_model: Optional[pulumi.Input[bool]] = None,
|
304
270
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
305
271
|
input_schema: Optional[pulumi.Input[str]] = None,
|
306
|
-
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
307
272
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
308
|
-
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
309
273
|
output_schema: Optional[pulumi.Input[str]] = None,
|
310
274
|
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,
|
313
275
|
state: Optional[pulumi.Input[str]] = None,
|
314
276
|
time_created: Optional[pulumi.Input[str]] = None):
|
315
277
|
"""
|
@@ -319,8 +281,6 @@ class _ModelState:
|
|
319
281
|
|
320
282
|
** IMPORTANT **
|
321
283
|
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.
|
324
284
|
: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.
|
325
285
|
: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.
|
326
286
|
:param pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
@@ -330,13 +290,9 @@ class _ModelState:
|
|
330
290
|
: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`
|
331
291
|
: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"}`
|
332
292
|
: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.
|
334
293
|
: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.
|
336
294
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
337
295
|
: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.
|
340
296
|
:param pulumi.Input[str] state: The state of the model.
|
341
297
|
: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
|
342
298
|
"""
|
@@ -348,10 +304,6 @@ class _ModelState:
|
|
348
304
|
pulumi.set(__self__, "artifact_content_md5", artifact_content_md5)
|
349
305
|
if artifact_last_modified is not None:
|
350
306
|
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)
|
355
307
|
if compartment_id is not None:
|
356
308
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
357
309
|
if created_by is not None:
|
@@ -372,20 +324,12 @@ class _ModelState:
|
|
372
324
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
373
325
|
if input_schema is not None:
|
374
326
|
pulumi.set(__self__, "input_schema", input_schema)
|
375
|
-
if lifecycle_details is not None:
|
376
|
-
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
377
327
|
if model_artifact is not None:
|
378
328
|
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)
|
381
329
|
if output_schema is not None:
|
382
330
|
pulumi.set(__self__, "output_schema", output_schema)
|
383
331
|
if project_id is not None:
|
384
332
|
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)
|
389
333
|
if state is not None:
|
390
334
|
pulumi.set(__self__, "state", state)
|
391
335
|
if time_created is not None:
|
@@ -436,30 +380,6 @@ class _ModelState:
|
|
436
380
|
def artifact_last_modified(self, value: Optional[pulumi.Input[str]]):
|
437
381
|
pulumi.set(self, "artifact_last_modified", value)
|
438
382
|
|
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
|
-
|
463
383
|
@property
|
464
384
|
@pulumi.getter(name="compartmentId")
|
465
385
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -577,18 +497,6 @@ class _ModelState:
|
|
577
497
|
def input_schema(self, value: Optional[pulumi.Input[str]]):
|
578
498
|
pulumi.set(self, "input_schema", value)
|
579
499
|
|
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
|
-
|
592
500
|
@property
|
593
501
|
@pulumi.getter(name="modelArtifact")
|
594
502
|
def model_artifact(self) -> Optional[pulumi.Input[str]]:
|
@@ -601,18 +509,6 @@ class _ModelState:
|
|
601
509
|
def model_artifact(self, value: Optional[pulumi.Input[str]]):
|
602
510
|
pulumi.set(self, "model_artifact", value)
|
603
511
|
|
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
|
-
|
616
512
|
@property
|
617
513
|
@pulumi.getter(name="outputSchema")
|
618
514
|
def output_schema(self) -> Optional[pulumi.Input[str]]:
|
@@ -637,30 +533,6 @@ class _ModelState:
|
|
637
533
|
def project_id(self, value: Optional[pulumi.Input[str]]):
|
638
534
|
pulumi.set(self, "project_id", value)
|
639
535
|
|
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
|
-
|
664
536
|
@property
|
665
537
|
@pulumi.getter
|
666
538
|
def state(self) -> Optional[pulumi.Input[str]]:
|
@@ -693,7 +565,6 @@ class Model(pulumi.CustomResource):
|
|
693
565
|
opts: Optional[pulumi.ResourceOptions] = None,
|
694
566
|
artifact_content_disposition: Optional[pulumi.Input[str]] = None,
|
695
567
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
696
|
-
backup_setting: Optional[pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']]] = None,
|
697
568
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
698
569
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
699
570
|
defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]]] = None,
|
@@ -705,7 +576,6 @@ class Model(pulumi.CustomResource):
|
|
705
576
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
706
577
|
output_schema: Optional[pulumi.Input[str]] = None,
|
707
578
|
project_id: Optional[pulumi.Input[str]] = None,
|
708
|
-
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
709
579
|
state: Optional[pulumi.Input[str]] = None,
|
710
580
|
__props__=None):
|
711
581
|
"""
|
@@ -713,6 +583,39 @@ class Model(pulumi.CustomResource):
|
|
713
583
|
|
714
584
|
Creates a new model.
|
715
585
|
|
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
|
+
|
716
619
|
## Import
|
717
620
|
|
718
621
|
Models can be imported using the `id`, e.g.
|
@@ -728,7 +631,6 @@ class Model(pulumi.CustomResource):
|
|
728
631
|
|
729
632
|
** IMPORTANT **
|
730
633
|
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.
|
732
634
|
: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.
|
733
635
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
734
636
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]] defined_metadata_lists: (Updatable) An array of defined metadata details for the model.
|
@@ -740,7 +642,6 @@ class Model(pulumi.CustomResource):
|
|
740
642
|
: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.
|
741
643
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
742
644
|
: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.
|
744
645
|
:param pulumi.Input[str] state: The state of the model.
|
745
646
|
"""
|
746
647
|
...
|
@@ -754,6 +655,39 @@ class Model(pulumi.CustomResource):
|
|
754
655
|
|
755
656
|
Creates a new model.
|
756
657
|
|
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
|
+
|
757
691
|
## Import
|
758
692
|
|
759
693
|
Models can be imported using the `id`, e.g.
|
@@ -779,7 +713,6 @@ class Model(pulumi.CustomResource):
|
|
779
713
|
opts: Optional[pulumi.ResourceOptions] = None,
|
780
714
|
artifact_content_disposition: Optional[pulumi.Input[str]] = None,
|
781
715
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
782
|
-
backup_setting: Optional[pulumi.Input[Union['ModelBackupSettingArgs', 'ModelBackupSettingArgsDict']]] = None,
|
783
716
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
784
717
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
785
718
|
defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelDefinedMetadataListArgs', 'ModelDefinedMetadataListArgsDict']]]]] = None,
|
@@ -791,7 +724,6 @@ class Model(pulumi.CustomResource):
|
|
791
724
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
792
725
|
output_schema: Optional[pulumi.Input[str]] = None,
|
793
726
|
project_id: Optional[pulumi.Input[str]] = None,
|
794
|
-
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
795
727
|
state: Optional[pulumi.Input[str]] = None,
|
796
728
|
__props__=None):
|
797
729
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -806,7 +738,6 @@ class Model(pulumi.CustomResource):
|
|
806
738
|
if artifact_content_length is None and not opts.urn:
|
807
739
|
raise TypeError("Missing required property 'artifact_content_length'")
|
808
740
|
__props__.__dict__["artifact_content_length"] = artifact_content_length
|
809
|
-
__props__.__dict__["backup_setting"] = backup_setting
|
810
741
|
if compartment_id is None and not opts.urn:
|
811
742
|
raise TypeError("Missing required property 'compartment_id'")
|
812
743
|
__props__.__dict__["compartment_id"] = compartment_id
|
@@ -824,16 +755,11 @@ class Model(pulumi.CustomResource):
|
|
824
755
|
if project_id is None and not opts.urn:
|
825
756
|
raise TypeError("Missing required property 'project_id'")
|
826
757
|
__props__.__dict__["project_id"] = project_id
|
827
|
-
__props__.__dict__["retention_setting"] = retention_setting
|
828
758
|
__props__.__dict__["state"] = state
|
829
759
|
__props__.__dict__["artifact_content_md5"] = None
|
830
760
|
__props__.__dict__["artifact_last_modified"] = None
|
831
|
-
__props__.__dict__["backup_operation_details"] = None
|
832
761
|
__props__.__dict__["created_by"] = None
|
833
762
|
__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
|
837
763
|
__props__.__dict__["time_created"] = None
|
838
764
|
super(Model, __self__).__init__(
|
839
765
|
'oci:DataScience/model:Model',
|
@@ -849,8 +775,6 @@ class Model(pulumi.CustomResource):
|
|
849
775
|
artifact_content_length: Optional[pulumi.Input[str]] = None,
|
850
776
|
artifact_content_md5: Optional[pulumi.Input[str]] = None,
|
851
777
|
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,
|
854
778
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
855
779
|
created_by: Optional[pulumi.Input[str]] = None,
|
856
780
|
custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]]] = None,
|
@@ -861,13 +785,9 @@ class Model(pulumi.CustomResource):
|
|
861
785
|
empty_model: Optional[pulumi.Input[bool]] = None,
|
862
786
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
863
787
|
input_schema: Optional[pulumi.Input[str]] = None,
|
864
|
-
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
865
788
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
866
|
-
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
867
789
|
output_schema: Optional[pulumi.Input[str]] = None,
|
868
790
|
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,
|
871
791
|
state: Optional[pulumi.Input[str]] = None,
|
872
792
|
time_created: Optional[pulumi.Input[str]] = None) -> 'Model':
|
873
793
|
"""
|
@@ -882,8 +802,6 @@ class Model(pulumi.CustomResource):
|
|
882
802
|
|
883
803
|
** IMPORTANT **
|
884
804
|
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.
|
887
805
|
: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.
|
888
806
|
: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.
|
889
807
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelCustomMetadataListArgs', 'ModelCustomMetadataListArgsDict']]]] custom_metadata_lists: (Updatable) An array of custom metadata details for the model.
|
@@ -893,13 +811,9 @@ class Model(pulumi.CustomResource):
|
|
893
811
|
: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`
|
894
812
|
: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"}`
|
895
813
|
: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.
|
897
814
|
: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.
|
899
815
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
900
816
|
: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.
|
903
817
|
:param pulumi.Input[str] state: The state of the model.
|
904
818
|
: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
|
905
819
|
"""
|
@@ -911,8 +825,6 @@ class Model(pulumi.CustomResource):
|
|
911
825
|
__props__.__dict__["artifact_content_length"] = artifact_content_length
|
912
826
|
__props__.__dict__["artifact_content_md5"] = artifact_content_md5
|
913
827
|
__props__.__dict__["artifact_last_modified"] = artifact_last_modified
|
914
|
-
__props__.__dict__["backup_operation_details"] = backup_operation_details
|
915
|
-
__props__.__dict__["backup_setting"] = backup_setting
|
916
828
|
__props__.__dict__["compartment_id"] = compartment_id
|
917
829
|
__props__.__dict__["created_by"] = created_by
|
918
830
|
__props__.__dict__["custom_metadata_lists"] = custom_metadata_lists
|
@@ -923,13 +835,9 @@ class Model(pulumi.CustomResource):
|
|
923
835
|
__props__.__dict__["empty_model"] = empty_model
|
924
836
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
925
837
|
__props__.__dict__["input_schema"] = input_schema
|
926
|
-
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
927
838
|
__props__.__dict__["model_artifact"] = model_artifact
|
928
|
-
__props__.__dict__["model_version_set_name"] = model_version_set_name
|
929
839
|
__props__.__dict__["output_schema"] = output_schema
|
930
840
|
__props__.__dict__["project_id"] = project_id
|
931
|
-
__props__.__dict__["retention_operation_details"] = retention_operation_details
|
932
|
-
__props__.__dict__["retention_setting"] = retention_setting
|
933
841
|
__props__.__dict__["state"] = state
|
934
842
|
__props__.__dict__["time_created"] = time_created
|
935
843
|
return Model(resource_name, opts=opts, __props__=__props__)
|
@@ -963,22 +871,6 @@ class Model(pulumi.CustomResource):
|
|
963
871
|
def artifact_last_modified(self) -> pulumi.Output[str]:
|
964
872
|
return pulumi.get(self, "artifact_last_modified")
|
965
873
|
|
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
|
-
|
982
874
|
@property
|
983
875
|
@pulumi.getter(name="compartmentId")
|
984
876
|
def compartment_id(self) -> pulumi.Output[str]:
|
@@ -1056,14 +948,6 @@ class Model(pulumi.CustomResource):
|
|
1056
948
|
"""
|
1057
949
|
return pulumi.get(self, "input_schema")
|
1058
950
|
|
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
|
-
|
1067
951
|
@property
|
1068
952
|
@pulumi.getter(name="modelArtifact")
|
1069
953
|
def model_artifact(self) -> pulumi.Output[str]:
|
@@ -1072,14 +956,6 @@ class Model(pulumi.CustomResource):
|
|
1072
956
|
"""
|
1073
957
|
return pulumi.get(self, "model_artifact")
|
1074
958
|
|
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
|
-
|
1083
959
|
@property
|
1084
960
|
@pulumi.getter(name="outputSchema")
|
1085
961
|
def output_schema(self) -> pulumi.Output[str]:
|
@@ -1096,22 +972,6 @@ class Model(pulumi.CustomResource):
|
|
1096
972
|
"""
|
1097
973
|
return pulumi.get(self, "project_id")
|
1098
974
|
|
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
|
-
|
1115
975
|
@property
|
1116
976
|
@pulumi.getter
|
1117
977
|
def state(self) -> pulumi.Output[str]:
|