pulumi-oci 2.14.0a1730198001__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/instance_pool.py +7 -7
- 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/get_model.py +29 -4
- pulumi_oci/datascience/get_models.py +25 -5
- pulumi_oci/datascience/model.py +205 -4
- pulumi_oci/datascience/outputs.py +19 -1
- 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/listener.py +49 -0
- pulumi_oci/networkloadbalancer/outputs.py +13 -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.0a1730198001.dist-info → pulumi_oci-2.15.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.14.0a1730198001.dist-info → pulumi_oci-2.15.0.dist-info}/RECORD +36 -34
- {pulumi_oci-2.14.0a1730198001.dist-info → pulumi_oci-2.15.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.14.0a1730198001.dist-info → pulumi_oci-2.15.0.dist-info}/top_level.txt +0 -0
pulumi_oci/datascience/model.py
CHANGED
@@ -34,9 +34,12 @@ class ModelArgs:
|
|
34
34
|
display_name: Optional[pulumi.Input[str]] = None,
|
35
35
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
36
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,
|
37
39
|
output_schema: Optional[pulumi.Input[str]] = None,
|
38
40
|
retention_setting: Optional[pulumi.Input['ModelRetentionSettingArgs']] = None,
|
39
|
-
state: Optional[pulumi.Input[str]] = None
|
41
|
+
state: Optional[pulumi.Input[str]] = None,
|
42
|
+
version_label: Optional[pulumi.Input[str]] = None):
|
40
43
|
"""
|
41
44
|
The set of arguments for constructing a Model resource.
|
42
45
|
:param pulumi.Input[str] artifact_content_length: The content length of the model_artifact.
|
@@ -55,9 +58,12 @@ class ModelArgs:
|
|
55
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`
|
56
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"}`
|
57
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.
|
58
63
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
59
64
|
:param pulumi.Input['ModelRetentionSettingArgs'] retention_setting: (Updatable) Retention setting details of the model.
|
60
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.
|
61
67
|
"""
|
62
68
|
pulumi.set(__self__, "artifact_content_length", artifact_content_length)
|
63
69
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -81,12 +87,18 @@ class ModelArgs:
|
|
81
87
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
82
88
|
if input_schema is not None:
|
83
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)
|
84
94
|
if output_schema is not None:
|
85
95
|
pulumi.set(__self__, "output_schema", output_schema)
|
86
96
|
if retention_setting is not None:
|
87
97
|
pulumi.set(__self__, "retention_setting", retention_setting)
|
88
98
|
if state is not None:
|
89
99
|
pulumi.set(__self__, "state", state)
|
100
|
+
if version_label is not None:
|
101
|
+
pulumi.set(__self__, "version_label", version_label)
|
90
102
|
|
91
103
|
@property
|
92
104
|
@pulumi.getter(name="artifactContentLength")
|
@@ -247,6 +259,30 @@ class ModelArgs:
|
|
247
259
|
def input_schema(self, value: Optional[pulumi.Input[str]]):
|
248
260
|
pulumi.set(self, "input_schema", value)
|
249
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
|
+
|
250
286
|
@property
|
251
287
|
@pulumi.getter(name="outputSchema")
|
252
288
|
def output_schema(self) -> Optional[pulumi.Input[str]]:
|
@@ -283,6 +319,18 @@ class ModelArgs:
|
|
283
319
|
def state(self, value: Optional[pulumi.Input[str]]):
|
284
320
|
pulumi.set(self, "state", value)
|
285
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
|
+
|
286
334
|
|
287
335
|
@pulumi.input_type
|
288
336
|
class _ModelState:
|
@@ -305,13 +353,15 @@ class _ModelState:
|
|
305
353
|
input_schema: Optional[pulumi.Input[str]] = None,
|
306
354
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
307
355
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
356
|
+
model_version_set_id: Optional[pulumi.Input[str]] = None,
|
308
357
|
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
309
358
|
output_schema: Optional[pulumi.Input[str]] = None,
|
310
359
|
project_id: Optional[pulumi.Input[str]] = None,
|
311
360
|
retention_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input['ModelRetentionOperationDetailArgs']]]] = None,
|
312
361
|
retention_setting: Optional[pulumi.Input['ModelRetentionSettingArgs']] = None,
|
313
362
|
state: Optional[pulumi.Input[str]] = None,
|
314
|
-
time_created: Optional[pulumi.Input[str]] = None
|
363
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
364
|
+
version_label: Optional[pulumi.Input[str]] = None):
|
315
365
|
"""
|
316
366
|
Input properties used for looking up and filtering Model resources.
|
317
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`
|
@@ -332,6 +382,7 @@ class _ModelState:
|
|
332
382
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
333
383
|
:param pulumi.Input[str] lifecycle_details: Details about the lifecycle state of the model.
|
334
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.
|
335
386
|
:param pulumi.Input[str] model_version_set_name: The name of the model version set that the model is associated to.
|
336
387
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
337
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.
|
@@ -339,6 +390,7 @@ class _ModelState:
|
|
339
390
|
:param pulumi.Input['ModelRetentionSettingArgs'] retention_setting: (Updatable) Retention setting details of the model.
|
340
391
|
:param pulumi.Input[str] state: The state of the model.
|
341
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.
|
342
394
|
"""
|
343
395
|
if artifact_content_disposition is not None:
|
344
396
|
pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition)
|
@@ -376,6 +428,8 @@ class _ModelState:
|
|
376
428
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
377
429
|
if model_artifact is not None:
|
378
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)
|
379
433
|
if model_version_set_name is not None:
|
380
434
|
pulumi.set(__self__, "model_version_set_name", model_version_set_name)
|
381
435
|
if output_schema is not None:
|
@@ -390,6 +444,8 @@ class _ModelState:
|
|
390
444
|
pulumi.set(__self__, "state", state)
|
391
445
|
if time_created is not None:
|
392
446
|
pulumi.set(__self__, "time_created", time_created)
|
447
|
+
if version_label is not None:
|
448
|
+
pulumi.set(__self__, "version_label", version_label)
|
393
449
|
|
394
450
|
@property
|
395
451
|
@pulumi.getter(name="artifactContentDisposition")
|
@@ -601,6 +657,18 @@ class _ModelState:
|
|
601
657
|
def model_artifact(self, value: Optional[pulumi.Input[str]]):
|
602
658
|
pulumi.set(self, "model_artifact", value)
|
603
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
|
+
|
604
672
|
@property
|
605
673
|
@pulumi.getter(name="modelVersionSetName")
|
606
674
|
def model_version_set_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -685,6 +753,18 @@ class _ModelState:
|
|
685
753
|
def time_created(self, value: Optional[pulumi.Input[str]]):
|
686
754
|
pulumi.set(self, "time_created", value)
|
687
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
|
+
|
688
768
|
|
689
769
|
class Model(pulumi.CustomResource):
|
690
770
|
@overload
|
@@ -703,16 +783,63 @@ class Model(pulumi.CustomResource):
|
|
703
783
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
704
784
|
input_schema: Optional[pulumi.Input[str]] = None,
|
705
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,
|
706
788
|
output_schema: Optional[pulumi.Input[str]] = None,
|
707
789
|
project_id: Optional[pulumi.Input[str]] = None,
|
708
790
|
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
709
791
|
state: Optional[pulumi.Input[str]] = None,
|
792
|
+
version_label: Optional[pulumi.Input[str]] = None,
|
710
793
|
__props__=None):
|
711
794
|
"""
|
712
795
|
This resource provides the Model resource in Oracle Cloud Infrastructure Data Science service.
|
713
796
|
|
714
797
|
Creates a new model.
|
715
798
|
|
799
|
+
## Example Usage
|
800
|
+
|
801
|
+
```python
|
802
|
+
import pulumi
|
803
|
+
import pulumi_oci as oci
|
804
|
+
|
805
|
+
test_model = oci.data_science.Model("test_model",
|
806
|
+
compartment_id=compartment_id,
|
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
|
+
},
|
813
|
+
custom_metadata_lists=[{
|
814
|
+
"category": model_custom_metadata_list_category,
|
815
|
+
"description": model_custom_metadata_list_description,
|
816
|
+
"key": model_custom_metadata_list_key,
|
817
|
+
"value": model_custom_metadata_list_value,
|
818
|
+
}],
|
819
|
+
defined_metadata_lists=[{
|
820
|
+
"category": model_defined_metadata_list_category,
|
821
|
+
"description": model_defined_metadata_list_description,
|
822
|
+
"key": model_defined_metadata_list_key,
|
823
|
+
"value": model_defined_metadata_list_value,
|
824
|
+
}],
|
825
|
+
defined_tags={
|
826
|
+
"Operations.CostCenter": "42",
|
827
|
+
},
|
828
|
+
description=model_description,
|
829
|
+
display_name=model_display_name,
|
830
|
+
freeform_tags={
|
831
|
+
"Department": "Finance",
|
832
|
+
},
|
833
|
+
input_schema=model_input_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)
|
841
|
+
```
|
842
|
+
|
716
843
|
## Import
|
717
844
|
|
718
845
|
Models can be imported using the `id`, e.g.
|
@@ -738,10 +865,13 @@ class Model(pulumi.CustomResource):
|
|
738
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"}`
|
739
866
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
740
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.
|
741
870
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
742
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.
|
743
872
|
:param pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']] retention_setting: (Updatable) Retention setting details of the model.
|
744
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.
|
745
875
|
"""
|
746
876
|
...
|
747
877
|
@overload
|
@@ -754,6 +884,50 @@ class Model(pulumi.CustomResource):
|
|
754
884
|
|
755
885
|
Creates a new model.
|
756
886
|
|
887
|
+
## Example Usage
|
888
|
+
|
889
|
+
```python
|
890
|
+
import pulumi
|
891
|
+
import pulumi_oci as oci
|
892
|
+
|
893
|
+
test_model = oci.data_science.Model("test_model",
|
894
|
+
compartment_id=compartment_id,
|
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
|
+
},
|
901
|
+
custom_metadata_lists=[{
|
902
|
+
"category": model_custom_metadata_list_category,
|
903
|
+
"description": model_custom_metadata_list_description,
|
904
|
+
"key": model_custom_metadata_list_key,
|
905
|
+
"value": model_custom_metadata_list_value,
|
906
|
+
}],
|
907
|
+
defined_metadata_lists=[{
|
908
|
+
"category": model_defined_metadata_list_category,
|
909
|
+
"description": model_defined_metadata_list_description,
|
910
|
+
"key": model_defined_metadata_list_key,
|
911
|
+
"value": model_defined_metadata_list_value,
|
912
|
+
}],
|
913
|
+
defined_tags={
|
914
|
+
"Operations.CostCenter": "42",
|
915
|
+
},
|
916
|
+
description=model_description,
|
917
|
+
display_name=model_display_name,
|
918
|
+
freeform_tags={
|
919
|
+
"Department": "Finance",
|
920
|
+
},
|
921
|
+
input_schema=model_input_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)
|
929
|
+
```
|
930
|
+
|
757
931
|
## Import
|
758
932
|
|
759
933
|
Models can be imported using the `id`, e.g.
|
@@ -789,10 +963,13 @@ class Model(pulumi.CustomResource):
|
|
789
963
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
790
964
|
input_schema: Optional[pulumi.Input[str]] = None,
|
791
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,
|
792
968
|
output_schema: Optional[pulumi.Input[str]] = None,
|
793
969
|
project_id: Optional[pulumi.Input[str]] = None,
|
794
970
|
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
795
971
|
state: Optional[pulumi.Input[str]] = None,
|
972
|
+
version_label: Optional[pulumi.Input[str]] = None,
|
796
973
|
__props__=None):
|
797
974
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
798
975
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -820,19 +997,21 @@ class Model(pulumi.CustomResource):
|
|
820
997
|
if model_artifact is None and not opts.urn:
|
821
998
|
raise TypeError("Missing required property 'model_artifact'")
|
822
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
|
823
1002
|
__props__.__dict__["output_schema"] = output_schema
|
824
1003
|
if project_id is None and not opts.urn:
|
825
1004
|
raise TypeError("Missing required property 'project_id'")
|
826
1005
|
__props__.__dict__["project_id"] = project_id
|
827
1006
|
__props__.__dict__["retention_setting"] = retention_setting
|
828
1007
|
__props__.__dict__["state"] = state
|
1008
|
+
__props__.__dict__["version_label"] = version_label
|
829
1009
|
__props__.__dict__["artifact_content_md5"] = None
|
830
1010
|
__props__.__dict__["artifact_last_modified"] = None
|
831
1011
|
__props__.__dict__["backup_operation_details"] = None
|
832
1012
|
__props__.__dict__["created_by"] = None
|
833
1013
|
__props__.__dict__["empty_model"] = None
|
834
1014
|
__props__.__dict__["lifecycle_details"] = None
|
835
|
-
__props__.__dict__["model_version_set_name"] = None
|
836
1015
|
__props__.__dict__["retention_operation_details"] = None
|
837
1016
|
__props__.__dict__["time_created"] = None
|
838
1017
|
super(Model, __self__).__init__(
|
@@ -863,13 +1042,15 @@ class Model(pulumi.CustomResource):
|
|
863
1042
|
input_schema: Optional[pulumi.Input[str]] = None,
|
864
1043
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
865
1044
|
model_artifact: Optional[pulumi.Input[str]] = None,
|
1045
|
+
model_version_set_id: Optional[pulumi.Input[str]] = None,
|
866
1046
|
model_version_set_name: Optional[pulumi.Input[str]] = None,
|
867
1047
|
output_schema: Optional[pulumi.Input[str]] = None,
|
868
1048
|
project_id: Optional[pulumi.Input[str]] = None,
|
869
1049
|
retention_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelRetentionOperationDetailArgs', 'ModelRetentionOperationDetailArgsDict']]]]] = None,
|
870
1050
|
retention_setting: Optional[pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']]] = None,
|
871
1051
|
state: Optional[pulumi.Input[str]] = None,
|
872
|
-
time_created: Optional[pulumi.Input[str]] = None
|
1052
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
1053
|
+
version_label: Optional[pulumi.Input[str]] = None) -> 'Model':
|
873
1054
|
"""
|
874
1055
|
Get an existing Model resource's state with the given name, id, and optional extra
|
875
1056
|
properties used to qualify the lookup.
|
@@ -895,6 +1076,7 @@ class Model(pulumi.CustomResource):
|
|
895
1076
|
:param pulumi.Input[str] input_schema: Input schema file content in String format
|
896
1077
|
:param pulumi.Input[str] lifecycle_details: Details about the lifecycle state of the model.
|
897
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.
|
898
1080
|
:param pulumi.Input[str] model_version_set_name: The name of the model version set that the model is associated to.
|
899
1081
|
:param pulumi.Input[str] output_schema: Output schema file content in String format
|
900
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.
|
@@ -902,6 +1084,7 @@ class Model(pulumi.CustomResource):
|
|
902
1084
|
:param pulumi.Input[Union['ModelRetentionSettingArgs', 'ModelRetentionSettingArgsDict']] retention_setting: (Updatable) Retention setting details of the model.
|
903
1085
|
:param pulumi.Input[str] state: The state of the model.
|
904
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.
|
905
1088
|
"""
|
906
1089
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
907
1090
|
|
@@ -925,6 +1108,7 @@ class Model(pulumi.CustomResource):
|
|
925
1108
|
__props__.__dict__["input_schema"] = input_schema
|
926
1109
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
927
1110
|
__props__.__dict__["model_artifact"] = model_artifact
|
1111
|
+
__props__.__dict__["model_version_set_id"] = model_version_set_id
|
928
1112
|
__props__.__dict__["model_version_set_name"] = model_version_set_name
|
929
1113
|
__props__.__dict__["output_schema"] = output_schema
|
930
1114
|
__props__.__dict__["project_id"] = project_id
|
@@ -932,6 +1116,7 @@ class Model(pulumi.CustomResource):
|
|
932
1116
|
__props__.__dict__["retention_setting"] = retention_setting
|
933
1117
|
__props__.__dict__["state"] = state
|
934
1118
|
__props__.__dict__["time_created"] = time_created
|
1119
|
+
__props__.__dict__["version_label"] = version_label
|
935
1120
|
return Model(resource_name, opts=opts, __props__=__props__)
|
936
1121
|
|
937
1122
|
@property
|
@@ -1072,6 +1257,14 @@ class Model(pulumi.CustomResource):
|
|
1072
1257
|
"""
|
1073
1258
|
return pulumi.get(self, "model_artifact")
|
1074
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
|
+
|
1075
1268
|
@property
|
1076
1269
|
@pulumi.getter(name="modelVersionSetName")
|
1077
1270
|
def model_version_set_name(self) -> pulumi.Output[str]:
|
@@ -1128,3 +1321,11 @@ class Model(pulumi.CustomResource):
|
|
1128
1321
|
"""
|
1129
1322
|
return pulumi.get(self, "time_created")
|
1130
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
|
+
|
@@ -9147,13 +9147,15 @@ class GetModelsModelResult(dict):
|
|
9147
9147
|
input_schema: str,
|
9148
9148
|
lifecycle_details: str,
|
9149
9149
|
model_artifact: str,
|
9150
|
+
model_version_set_id: str,
|
9150
9151
|
model_version_set_name: str,
|
9151
9152
|
output_schema: str,
|
9152
9153
|
project_id: str,
|
9153
9154
|
retention_operation_details: Sequence['outputs.GetModelsModelRetentionOperationDetailResult'],
|
9154
9155
|
retention_settings: Sequence['outputs.GetModelsModelRetentionSettingResult'],
|
9155
9156
|
state: str,
|
9156
|
-
time_created: str
|
9157
|
+
time_created: str,
|
9158
|
+
version_label: str):
|
9157
9159
|
"""
|
9158
9160
|
:param Sequence['GetModelsModelBackupOperationDetailArgs'] backup_operation_details: Backup operation details of the model.
|
9159
9161
|
:param Sequence['GetModelsModelBackupSettingArgs'] backup_settings: Back up setting details of the model.
|
@@ -9168,6 +9170,7 @@ class GetModelsModelResult(dict):
|
|
9168
9170
|
:param str id: <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
|
9169
9171
|
:param str input_schema: Input schema file content in String format
|
9170
9172
|
:param str lifecycle_details: Details about the lifecycle state of the model.
|
9173
|
+
:param str model_version_set_id: The OCID of the model version set that the model is associated to.
|
9171
9174
|
:param str model_version_set_name: The name of the model version set that the model is associated to.
|
9172
9175
|
:param str output_schema: Output schema file content in String format
|
9173
9176
|
:param str project_id: <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project.
|
@@ -9195,6 +9198,7 @@ class GetModelsModelResult(dict):
|
|
9195
9198
|
pulumi.set(__self__, "input_schema", input_schema)
|
9196
9199
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
9197
9200
|
pulumi.set(__self__, "model_artifact", model_artifact)
|
9201
|
+
pulumi.set(__self__, "model_version_set_id", model_version_set_id)
|
9198
9202
|
pulumi.set(__self__, "model_version_set_name", model_version_set_name)
|
9199
9203
|
pulumi.set(__self__, "output_schema", output_schema)
|
9200
9204
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -9202,6 +9206,7 @@ class GetModelsModelResult(dict):
|
|
9202
9206
|
pulumi.set(__self__, "retention_settings", retention_settings)
|
9203
9207
|
pulumi.set(__self__, "state", state)
|
9204
9208
|
pulumi.set(__self__, "time_created", time_created)
|
9209
|
+
pulumi.set(__self__, "version_label", version_label)
|
9205
9210
|
|
9206
9211
|
@property
|
9207
9212
|
@pulumi.getter(name="artifactContentDisposition")
|
@@ -9337,6 +9342,14 @@ class GetModelsModelResult(dict):
|
|
9337
9342
|
def model_artifact(self) -> str:
|
9338
9343
|
return pulumi.get(self, "model_artifact")
|
9339
9344
|
|
9345
|
+
@property
|
9346
|
+
@pulumi.getter(name="modelVersionSetId")
|
9347
|
+
def model_version_set_id(self) -> str:
|
9348
|
+
"""
|
9349
|
+
The OCID of the model version set that the model is associated to.
|
9350
|
+
"""
|
9351
|
+
return pulumi.get(self, "model_version_set_id")
|
9352
|
+
|
9340
9353
|
@property
|
9341
9354
|
@pulumi.getter(name="modelVersionSetName")
|
9342
9355
|
def model_version_set_name(self) -> str:
|
@@ -9393,6 +9406,11 @@ class GetModelsModelResult(dict):
|
|
9393
9406
|
"""
|
9394
9407
|
return pulumi.get(self, "time_created")
|
9395
9408
|
|
9409
|
+
@property
|
9410
|
+
@pulumi.getter(name="versionLabel")
|
9411
|
+
def version_label(self) -> str:
|
9412
|
+
return pulumi.get(self, "version_label")
|
9413
|
+
|
9396
9414
|
|
9397
9415
|
@pulumi.output_type
|
9398
9416
|
class GetModelsModelBackupOperationDetailResult(dict):
|
@@ -401,6 +401,7 @@ class _DomainsAuthTokenState:
|
|
401
401
|
status: Optional[pulumi.Input[str]] = None,
|
402
402
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthTokenTagArgs']]]] = None,
|
403
403
|
tenancy_ocid: Optional[pulumi.Input[str]] = None,
|
404
|
+
token: Optional[pulumi.Input[str]] = None,
|
404
405
|
urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None,
|
405
406
|
user: Optional[pulumi.Input['DomainsAuthTokenUserArgs']] = None):
|
406
407
|
"""
|
@@ -573,6 +574,17 @@ class _DomainsAuthTokenState:
|
|
573
574
|
* returned: default
|
574
575
|
* type: string
|
575
576
|
* uniqueness: none
|
577
|
+
:param pulumi.Input[str] token: (Updatable) token
|
578
|
+
|
579
|
+
**Added In:** 2010242156
|
580
|
+
|
581
|
+
**SCIM++ Properties:**
|
582
|
+
* caseExact: true
|
583
|
+
* type: string
|
584
|
+
* mutability: readOnly
|
585
|
+
* required: false
|
586
|
+
* returned: default
|
587
|
+
* idcsSensitive: hash_sc
|
576
588
|
:param pulumi.Input['DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs'] urnietfparamsscimschemasoracleidcsextensionself_change_user: Controls whether a user can update themselves or not via User related APIs
|
577
589
|
:param pulumi.Input['DomainsAuthTokenUserArgs'] user: The user linked to the Auth token.
|
578
590
|
|
@@ -626,6 +638,8 @@ class _DomainsAuthTokenState:
|
|
626
638
|
pulumi.set(__self__, "tags", tags)
|
627
639
|
if tenancy_ocid is not None:
|
628
640
|
pulumi.set(__self__, "tenancy_ocid", tenancy_ocid)
|
641
|
+
if token is not None:
|
642
|
+
pulumi.set(__self__, "token", token)
|
629
643
|
if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None:
|
630
644
|
pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user)
|
631
645
|
if user is not None:
|
@@ -1019,6 +1033,28 @@ class _DomainsAuthTokenState:
|
|
1019
1033
|
def tenancy_ocid(self, value: Optional[pulumi.Input[str]]):
|
1020
1034
|
pulumi.set(self, "tenancy_ocid", value)
|
1021
1035
|
|
1036
|
+
@property
|
1037
|
+
@pulumi.getter
|
1038
|
+
def token(self) -> Optional[pulumi.Input[str]]:
|
1039
|
+
"""
|
1040
|
+
(Updatable) token
|
1041
|
+
|
1042
|
+
**Added In:** 2010242156
|
1043
|
+
|
1044
|
+
**SCIM++ Properties:**
|
1045
|
+
* caseExact: true
|
1046
|
+
* type: string
|
1047
|
+
* mutability: readOnly
|
1048
|
+
* required: false
|
1049
|
+
* returned: default
|
1050
|
+
* idcsSensitive: hash_sc
|
1051
|
+
"""
|
1052
|
+
return pulumi.get(self, "token")
|
1053
|
+
|
1054
|
+
@token.setter
|
1055
|
+
def token(self, value: Optional[pulumi.Input[str]]):
|
1056
|
+
pulumi.set(self, "token", value)
|
1057
|
+
|
1022
1058
|
@property
|
1023
1059
|
@pulumi.getter(name="urnietfparamsscimschemasoracleidcsextensionselfChangeUser")
|
1024
1060
|
def urnietfparamsscimschemasoracleidcsextensionself_change_user(self) -> Optional[pulumi.Input['DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']]:
|
@@ -1257,6 +1293,7 @@ class DomainsAuthToken(pulumi.CustomResource):
|
|
1257
1293
|
__props__.__dict__["idcs_prevented_operations"] = None
|
1258
1294
|
__props__.__dict__["metas"] = None
|
1259
1295
|
__props__.__dict__["tenancy_ocid"] = None
|
1296
|
+
__props__.__dict__["token"] = None
|
1260
1297
|
super(DomainsAuthToken, __self__).__init__(
|
1261
1298
|
'oci:Identity/domainsAuthToken:DomainsAuthToken',
|
1262
1299
|
resource_name,
|
@@ -1287,6 +1324,7 @@ class DomainsAuthToken(pulumi.CustomResource):
|
|
1287
1324
|
status: Optional[pulumi.Input[str]] = None,
|
1288
1325
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsAuthTokenTagArgs', 'DomainsAuthTokenTagArgsDict']]]]] = None,
|
1289
1326
|
tenancy_ocid: Optional[pulumi.Input[str]] = None,
|
1327
|
+
token: Optional[pulumi.Input[str]] = None,
|
1290
1328
|
urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input[Union['DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs', 'DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgsDict']]] = None,
|
1291
1329
|
user: Optional[pulumi.Input[Union['DomainsAuthTokenUserArgs', 'DomainsAuthTokenUserArgsDict']]] = None) -> 'DomainsAuthToken':
|
1292
1330
|
"""
|
@@ -1464,6 +1502,17 @@ class DomainsAuthToken(pulumi.CustomResource):
|
|
1464
1502
|
* returned: default
|
1465
1503
|
* type: string
|
1466
1504
|
* uniqueness: none
|
1505
|
+
:param pulumi.Input[str] token: (Updatable) token
|
1506
|
+
|
1507
|
+
**Added In:** 2010242156
|
1508
|
+
|
1509
|
+
**SCIM++ Properties:**
|
1510
|
+
* caseExact: true
|
1511
|
+
* type: string
|
1512
|
+
* mutability: readOnly
|
1513
|
+
* required: false
|
1514
|
+
* returned: default
|
1515
|
+
* idcsSensitive: hash_sc
|
1467
1516
|
:param pulumi.Input[Union['DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs', 'DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgsDict']] urnietfparamsscimschemasoracleidcsextensionself_change_user: Controls whether a user can update themselves or not via User related APIs
|
1468
1517
|
:param pulumi.Input[Union['DomainsAuthTokenUserArgs', 'DomainsAuthTokenUserArgsDict']] user: The user linked to the Auth token.
|
1469
1518
|
|
@@ -1501,6 +1550,7 @@ class DomainsAuthToken(pulumi.CustomResource):
|
|
1501
1550
|
__props__.__dict__["status"] = status
|
1502
1551
|
__props__.__dict__["tags"] = tags
|
1503
1552
|
__props__.__dict__["tenancy_ocid"] = tenancy_ocid
|
1553
|
+
__props__.__dict__["token"] = token
|
1504
1554
|
__props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_change_user"] = urnietfparamsscimschemasoracleidcsextensionself_change_user
|
1505
1555
|
__props__.__dict__["user"] = user
|
1506
1556
|
return DomainsAuthToken(resource_name, opts=opts, __props__=__props__)
|
@@ -1813,6 +1863,24 @@ class DomainsAuthToken(pulumi.CustomResource):
|
|
1813
1863
|
"""
|
1814
1864
|
return pulumi.get(self, "tenancy_ocid")
|
1815
1865
|
|
1866
|
+
@property
|
1867
|
+
@pulumi.getter
|
1868
|
+
def token(self) -> pulumi.Output[str]:
|
1869
|
+
"""
|
1870
|
+
(Updatable) token
|
1871
|
+
|
1872
|
+
**Added In:** 2010242156
|
1873
|
+
|
1874
|
+
**SCIM++ Properties:**
|
1875
|
+
* caseExact: true
|
1876
|
+
* type: string
|
1877
|
+
* mutability: readOnly
|
1878
|
+
* required: false
|
1879
|
+
* returned: default
|
1880
|
+
* idcsSensitive: hash_sc
|
1881
|
+
"""
|
1882
|
+
return pulumi.get(self, "token")
|
1883
|
+
|
1816
1884
|
@property
|
1817
1885
|
@pulumi.getter(name="urnietfparamsscimschemasoracleidcsextensionselfChangeUser")
|
1818
1886
|
def urnietfparamsscimschemasoracleidcsextensionself_change_user(self) -> pulumi.Output['outputs.DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUser']:
|