pulumi-oci 2.26.0a1741847591__py3-none-any.whl → 2.27.0a1742000109__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/__init__.py +67 -0
- pulumi_oci/containerengine/_inputs.py +34 -35
- pulumi_oci/containerengine/cluster.py +2 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +110 -21
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/_inputs.py +21 -33
- pulumi_oci/core/outputs.py +13 -21
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +704 -0
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_database.py +7 -28
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_database.py +0 -3
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +1084 -42
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +105 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/outputs.py +186 -0
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/METADATA +1 -1
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/RECORD +135 -106
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,418 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['ModelDefinedMetadataArtifactArgs', 'ModelDefinedMetadataArtifact']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ModelDefinedMetadataArtifactArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
content_length: pulumi.Input[str],
|
23
|
+
metadatum_key_name: pulumi.Input[str],
|
24
|
+
model_defined_metadatum_artifact: pulumi.Input[str],
|
25
|
+
model_id: pulumi.Input[str],
|
26
|
+
content_disposition: Optional[pulumi.Input[str]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a ModelDefinedMetadataArtifact resource.
|
29
|
+
:param pulumi.Input[str] content_length: (Updatable) The content length of the body.
|
30
|
+
:param pulumi.Input[str] metadatum_key_name: The name of the model metadatum in the metadata.
|
31
|
+
:param pulumi.Input[str] model_defined_metadatum_artifact: (Updatable) The model defined metadata artifact to upload.
|
32
|
+
:param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
|
33
|
+
|
34
|
+
|
35
|
+
** IMPORTANT **
|
36
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
37
|
+
:param pulumi.Input[str] content_disposition: (Updatable) This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}`
|
38
|
+
"""
|
39
|
+
pulumi.set(__self__, "content_length", content_length)
|
40
|
+
pulumi.set(__self__, "metadatum_key_name", metadatum_key_name)
|
41
|
+
pulumi.set(__self__, "model_defined_metadatum_artifact", model_defined_metadatum_artifact)
|
42
|
+
pulumi.set(__self__, "model_id", model_id)
|
43
|
+
if content_disposition is not None:
|
44
|
+
pulumi.set(__self__, "content_disposition", content_disposition)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter(name="contentLength")
|
48
|
+
def content_length(self) -> pulumi.Input[str]:
|
49
|
+
"""
|
50
|
+
(Updatable) The content length of the body.
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "content_length")
|
53
|
+
|
54
|
+
@content_length.setter
|
55
|
+
def content_length(self, value: pulumi.Input[str]):
|
56
|
+
pulumi.set(self, "content_length", value)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="metadatumKeyName")
|
60
|
+
def metadatum_key_name(self) -> pulumi.Input[str]:
|
61
|
+
"""
|
62
|
+
The name of the model metadatum in the metadata.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "metadatum_key_name")
|
65
|
+
|
66
|
+
@metadatum_key_name.setter
|
67
|
+
def metadatum_key_name(self, value: pulumi.Input[str]):
|
68
|
+
pulumi.set(self, "metadatum_key_name", value)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="modelDefinedMetadatumArtifact")
|
72
|
+
def model_defined_metadatum_artifact(self) -> pulumi.Input[str]:
|
73
|
+
"""
|
74
|
+
(Updatable) The model defined metadata artifact to upload.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "model_defined_metadatum_artifact")
|
77
|
+
|
78
|
+
@model_defined_metadatum_artifact.setter
|
79
|
+
def model_defined_metadatum_artifact(self, value: pulumi.Input[str]):
|
80
|
+
pulumi.set(self, "model_defined_metadatum_artifact", value)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="modelId")
|
84
|
+
def model_id(self) -> pulumi.Input[str]:
|
85
|
+
"""
|
86
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
|
87
|
+
|
88
|
+
|
89
|
+
** IMPORTANT **
|
90
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "model_id")
|
93
|
+
|
94
|
+
@model_id.setter
|
95
|
+
def model_id(self, value: pulumi.Input[str]):
|
96
|
+
pulumi.set(self, "model_id", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="contentDisposition")
|
100
|
+
def content_disposition(self) -> Optional[pulumi.Input[str]]:
|
101
|
+
"""
|
102
|
+
(Updatable) This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}`
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "content_disposition")
|
105
|
+
|
106
|
+
@content_disposition.setter
|
107
|
+
def content_disposition(self, value: Optional[pulumi.Input[str]]):
|
108
|
+
pulumi.set(self, "content_disposition", value)
|
109
|
+
|
110
|
+
|
111
|
+
@pulumi.input_type
|
112
|
+
class _ModelDefinedMetadataArtifactState:
|
113
|
+
def __init__(__self__, *,
|
114
|
+
content_disposition: Optional[pulumi.Input[str]] = None,
|
115
|
+
content_length: Optional[pulumi.Input[str]] = None,
|
116
|
+
metadatum_key_name: Optional[pulumi.Input[str]] = None,
|
117
|
+
model_defined_metadatum_artifact: Optional[pulumi.Input[str]] = None,
|
118
|
+
model_id: Optional[pulumi.Input[str]] = None):
|
119
|
+
"""
|
120
|
+
Input properties used for looking up and filtering ModelDefinedMetadataArtifact resources.
|
121
|
+
:param pulumi.Input[str] content_disposition: (Updatable) This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}`
|
122
|
+
:param pulumi.Input[str] content_length: (Updatable) The content length of the body.
|
123
|
+
:param pulumi.Input[str] metadatum_key_name: The name of the model metadatum in the metadata.
|
124
|
+
:param pulumi.Input[str] model_defined_metadatum_artifact: (Updatable) The model defined metadata artifact to upload.
|
125
|
+
:param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
|
126
|
+
|
127
|
+
|
128
|
+
** IMPORTANT **
|
129
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
130
|
+
"""
|
131
|
+
if content_disposition is not None:
|
132
|
+
pulumi.set(__self__, "content_disposition", content_disposition)
|
133
|
+
if content_length is not None:
|
134
|
+
pulumi.set(__self__, "content_length", content_length)
|
135
|
+
if metadatum_key_name is not None:
|
136
|
+
pulumi.set(__self__, "metadatum_key_name", metadatum_key_name)
|
137
|
+
if model_defined_metadatum_artifact is not None:
|
138
|
+
pulumi.set(__self__, "model_defined_metadatum_artifact", model_defined_metadatum_artifact)
|
139
|
+
if model_id is not None:
|
140
|
+
pulumi.set(__self__, "model_id", model_id)
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="contentDisposition")
|
144
|
+
def content_disposition(self) -> Optional[pulumi.Input[str]]:
|
145
|
+
"""
|
146
|
+
(Updatable) This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}`
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "content_disposition")
|
149
|
+
|
150
|
+
@content_disposition.setter
|
151
|
+
def content_disposition(self, value: Optional[pulumi.Input[str]]):
|
152
|
+
pulumi.set(self, "content_disposition", value)
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="contentLength")
|
156
|
+
def content_length(self) -> Optional[pulumi.Input[str]]:
|
157
|
+
"""
|
158
|
+
(Updatable) The content length of the body.
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "content_length")
|
161
|
+
|
162
|
+
@content_length.setter
|
163
|
+
def content_length(self, value: Optional[pulumi.Input[str]]):
|
164
|
+
pulumi.set(self, "content_length", value)
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="metadatumKeyName")
|
168
|
+
def metadatum_key_name(self) -> Optional[pulumi.Input[str]]:
|
169
|
+
"""
|
170
|
+
The name of the model metadatum in the metadata.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "metadatum_key_name")
|
173
|
+
|
174
|
+
@metadatum_key_name.setter
|
175
|
+
def metadatum_key_name(self, value: Optional[pulumi.Input[str]]):
|
176
|
+
pulumi.set(self, "metadatum_key_name", value)
|
177
|
+
|
178
|
+
@property
|
179
|
+
@pulumi.getter(name="modelDefinedMetadatumArtifact")
|
180
|
+
def model_defined_metadatum_artifact(self) -> Optional[pulumi.Input[str]]:
|
181
|
+
"""
|
182
|
+
(Updatable) The model defined metadata artifact to upload.
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "model_defined_metadatum_artifact")
|
185
|
+
|
186
|
+
@model_defined_metadatum_artifact.setter
|
187
|
+
def model_defined_metadatum_artifact(self, value: Optional[pulumi.Input[str]]):
|
188
|
+
pulumi.set(self, "model_defined_metadatum_artifact", value)
|
189
|
+
|
190
|
+
@property
|
191
|
+
@pulumi.getter(name="modelId")
|
192
|
+
def model_id(self) -> Optional[pulumi.Input[str]]:
|
193
|
+
"""
|
194
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
|
195
|
+
|
196
|
+
|
197
|
+
** IMPORTANT **
|
198
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "model_id")
|
201
|
+
|
202
|
+
@model_id.setter
|
203
|
+
def model_id(self, value: Optional[pulumi.Input[str]]):
|
204
|
+
pulumi.set(self, "model_id", value)
|
205
|
+
|
206
|
+
|
207
|
+
class ModelDefinedMetadataArtifact(pulumi.CustomResource):
|
208
|
+
@overload
|
209
|
+
def __init__(__self__,
|
210
|
+
resource_name: str,
|
211
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
212
|
+
content_disposition: Optional[pulumi.Input[str]] = None,
|
213
|
+
content_length: Optional[pulumi.Input[str]] = None,
|
214
|
+
metadatum_key_name: Optional[pulumi.Input[str]] = None,
|
215
|
+
model_defined_metadatum_artifact: Optional[pulumi.Input[str]] = None,
|
216
|
+
model_id: Optional[pulumi.Input[str]] = None,
|
217
|
+
__props__=None):
|
218
|
+
"""
|
219
|
+
This resource provides the Model Defined Metadata Artifact resource in Oracle Cloud Infrastructure Data Science service.
|
220
|
+
|
221
|
+
Creates model defined metadata artifact for specified model.
|
222
|
+
|
223
|
+
## Example Usage
|
224
|
+
|
225
|
+
```python
|
226
|
+
import pulumi
|
227
|
+
import pulumi_oci as oci
|
228
|
+
|
229
|
+
test_model_defined_metadata_artifact = oci.data_science.ModelDefinedMetadataArtifact("test_model_defined_metadata_artifact",
|
230
|
+
model_defined_metadatum_artifact=model_defined_metadata_artifact_model_defined_metadatum_artifact,
|
231
|
+
content_length=model_defined_metadata_artifact_content_length,
|
232
|
+
metadatum_key_name=test_key["name"],
|
233
|
+
model_id=test_model["id"],
|
234
|
+
content_disposition=model_defined_metadata_artifact_content_disposition)
|
235
|
+
```
|
236
|
+
|
237
|
+
## Import
|
238
|
+
|
239
|
+
ModelDefinedMetadataArtifacts can be imported using the `id`, e.g.
|
240
|
+
|
241
|
+
```sh
|
242
|
+
$ pulumi import oci:DataScience/modelDefinedMetadataArtifact:ModelDefinedMetadataArtifact test_model_defined_metadata_artifact "id"
|
243
|
+
```
|
244
|
+
|
245
|
+
:param str resource_name: The name of the resource.
|
246
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
247
|
+
:param pulumi.Input[str] content_disposition: (Updatable) This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}`
|
248
|
+
:param pulumi.Input[str] content_length: (Updatable) The content length of the body.
|
249
|
+
:param pulumi.Input[str] metadatum_key_name: The name of the model metadatum in the metadata.
|
250
|
+
:param pulumi.Input[str] model_defined_metadatum_artifact: (Updatable) The model defined metadata artifact to upload.
|
251
|
+
:param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
|
252
|
+
|
253
|
+
|
254
|
+
** IMPORTANT **
|
255
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
256
|
+
"""
|
257
|
+
...
|
258
|
+
@overload
|
259
|
+
def __init__(__self__,
|
260
|
+
resource_name: str,
|
261
|
+
args: ModelDefinedMetadataArtifactArgs,
|
262
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
263
|
+
"""
|
264
|
+
This resource provides the Model Defined Metadata Artifact resource in Oracle Cloud Infrastructure Data Science service.
|
265
|
+
|
266
|
+
Creates model defined metadata artifact for specified model.
|
267
|
+
|
268
|
+
## Example Usage
|
269
|
+
|
270
|
+
```python
|
271
|
+
import pulumi
|
272
|
+
import pulumi_oci as oci
|
273
|
+
|
274
|
+
test_model_defined_metadata_artifact = oci.data_science.ModelDefinedMetadataArtifact("test_model_defined_metadata_artifact",
|
275
|
+
model_defined_metadatum_artifact=model_defined_metadata_artifact_model_defined_metadatum_artifact,
|
276
|
+
content_length=model_defined_metadata_artifact_content_length,
|
277
|
+
metadatum_key_name=test_key["name"],
|
278
|
+
model_id=test_model["id"],
|
279
|
+
content_disposition=model_defined_metadata_artifact_content_disposition)
|
280
|
+
```
|
281
|
+
|
282
|
+
## Import
|
283
|
+
|
284
|
+
ModelDefinedMetadataArtifacts can be imported using the `id`, e.g.
|
285
|
+
|
286
|
+
```sh
|
287
|
+
$ pulumi import oci:DataScience/modelDefinedMetadataArtifact:ModelDefinedMetadataArtifact test_model_defined_metadata_artifact "id"
|
288
|
+
```
|
289
|
+
|
290
|
+
:param str resource_name: The name of the resource.
|
291
|
+
:param ModelDefinedMetadataArtifactArgs args: The arguments to use to populate this resource's properties.
|
292
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
293
|
+
"""
|
294
|
+
...
|
295
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
296
|
+
resource_args, opts = _utilities.get_resource_args_opts(ModelDefinedMetadataArtifactArgs, pulumi.ResourceOptions, *args, **kwargs)
|
297
|
+
if resource_args is not None:
|
298
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
299
|
+
else:
|
300
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
301
|
+
|
302
|
+
def _internal_init(__self__,
|
303
|
+
resource_name: str,
|
304
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
305
|
+
content_disposition: Optional[pulumi.Input[str]] = None,
|
306
|
+
content_length: Optional[pulumi.Input[str]] = None,
|
307
|
+
metadatum_key_name: Optional[pulumi.Input[str]] = None,
|
308
|
+
model_defined_metadatum_artifact: Optional[pulumi.Input[str]] = None,
|
309
|
+
model_id: Optional[pulumi.Input[str]] = None,
|
310
|
+
__props__=None):
|
311
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
312
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
313
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
314
|
+
if opts.id is None:
|
315
|
+
if __props__ is not None:
|
316
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
317
|
+
__props__ = ModelDefinedMetadataArtifactArgs.__new__(ModelDefinedMetadataArtifactArgs)
|
318
|
+
|
319
|
+
__props__.__dict__["content_disposition"] = content_disposition
|
320
|
+
if content_length is None and not opts.urn:
|
321
|
+
raise TypeError("Missing required property 'content_length'")
|
322
|
+
__props__.__dict__["content_length"] = content_length
|
323
|
+
if metadatum_key_name is None and not opts.urn:
|
324
|
+
raise TypeError("Missing required property 'metadatum_key_name'")
|
325
|
+
__props__.__dict__["metadatum_key_name"] = metadatum_key_name
|
326
|
+
if model_defined_metadatum_artifact is None and not opts.urn:
|
327
|
+
raise TypeError("Missing required property 'model_defined_metadatum_artifact'")
|
328
|
+
__props__.__dict__["model_defined_metadatum_artifact"] = model_defined_metadatum_artifact
|
329
|
+
if model_id is None and not opts.urn:
|
330
|
+
raise TypeError("Missing required property 'model_id'")
|
331
|
+
__props__.__dict__["model_id"] = model_id
|
332
|
+
super(ModelDefinedMetadataArtifact, __self__).__init__(
|
333
|
+
'oci:DataScience/modelDefinedMetadataArtifact:ModelDefinedMetadataArtifact',
|
334
|
+
resource_name,
|
335
|
+
__props__,
|
336
|
+
opts)
|
337
|
+
|
338
|
+
@staticmethod
|
339
|
+
def get(resource_name: str,
|
340
|
+
id: pulumi.Input[str],
|
341
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
342
|
+
content_disposition: Optional[pulumi.Input[str]] = None,
|
343
|
+
content_length: Optional[pulumi.Input[str]] = None,
|
344
|
+
metadatum_key_name: Optional[pulumi.Input[str]] = None,
|
345
|
+
model_defined_metadatum_artifact: Optional[pulumi.Input[str]] = None,
|
346
|
+
model_id: Optional[pulumi.Input[str]] = None) -> 'ModelDefinedMetadataArtifact':
|
347
|
+
"""
|
348
|
+
Get an existing ModelDefinedMetadataArtifact resource's state with the given name, id, and optional extra
|
349
|
+
properties used to qualify the lookup.
|
350
|
+
|
351
|
+
:param str resource_name: The unique name of the resulting resource.
|
352
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
353
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
354
|
+
:param pulumi.Input[str] content_disposition: (Updatable) This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}`
|
355
|
+
:param pulumi.Input[str] content_length: (Updatable) The content length of the body.
|
356
|
+
:param pulumi.Input[str] metadatum_key_name: The name of the model metadatum in the metadata.
|
357
|
+
:param pulumi.Input[str] model_defined_metadatum_artifact: (Updatable) The model defined metadata artifact to upload.
|
358
|
+
:param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
|
359
|
+
|
360
|
+
|
361
|
+
** IMPORTANT **
|
362
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
363
|
+
"""
|
364
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
365
|
+
|
366
|
+
__props__ = _ModelDefinedMetadataArtifactState.__new__(_ModelDefinedMetadataArtifactState)
|
367
|
+
|
368
|
+
__props__.__dict__["content_disposition"] = content_disposition
|
369
|
+
__props__.__dict__["content_length"] = content_length
|
370
|
+
__props__.__dict__["metadatum_key_name"] = metadatum_key_name
|
371
|
+
__props__.__dict__["model_defined_metadatum_artifact"] = model_defined_metadatum_artifact
|
372
|
+
__props__.__dict__["model_id"] = model_id
|
373
|
+
return ModelDefinedMetadataArtifact(resource_name, opts=opts, __props__=__props__)
|
374
|
+
|
375
|
+
@property
|
376
|
+
@pulumi.getter(name="contentDisposition")
|
377
|
+
def content_disposition(self) -> pulumi.Output[str]:
|
378
|
+
"""
|
379
|
+
(Updatable) This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}`
|
380
|
+
"""
|
381
|
+
return pulumi.get(self, "content_disposition")
|
382
|
+
|
383
|
+
@property
|
384
|
+
@pulumi.getter(name="contentLength")
|
385
|
+
def content_length(self) -> pulumi.Output[str]:
|
386
|
+
"""
|
387
|
+
(Updatable) The content length of the body.
|
388
|
+
"""
|
389
|
+
return pulumi.get(self, "content_length")
|
390
|
+
|
391
|
+
@property
|
392
|
+
@pulumi.getter(name="metadatumKeyName")
|
393
|
+
def metadatum_key_name(self) -> pulumi.Output[str]:
|
394
|
+
"""
|
395
|
+
The name of the model metadatum in the metadata.
|
396
|
+
"""
|
397
|
+
return pulumi.get(self, "metadatum_key_name")
|
398
|
+
|
399
|
+
@property
|
400
|
+
@pulumi.getter(name="modelDefinedMetadatumArtifact")
|
401
|
+
def model_defined_metadatum_artifact(self) -> pulumi.Output[str]:
|
402
|
+
"""
|
403
|
+
(Updatable) The model defined metadata artifact to upload.
|
404
|
+
"""
|
405
|
+
return pulumi.get(self, "model_defined_metadatum_artifact")
|
406
|
+
|
407
|
+
@property
|
408
|
+
@pulumi.getter(name="modelId")
|
409
|
+
def model_id(self) -> pulumi.Output[str]:
|
410
|
+
"""
|
411
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
|
412
|
+
|
413
|
+
|
414
|
+
** IMPORTANT **
|
415
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
416
|
+
"""
|
417
|
+
return pulumi.get(self, "model_id")
|
418
|
+
|
@@ -129,6 +129,7 @@ class ModelVersionSetArgs:
|
|
129
129
|
@pulumi.input_type
|
130
130
|
class _ModelVersionSetState:
|
131
131
|
def __init__(__self__, *,
|
132
|
+
category: Optional[pulumi.Input[str]] = None,
|
132
133
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
133
134
|
created_by: Optional[pulumi.Input[str]] = None,
|
134
135
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -142,6 +143,7 @@ class _ModelVersionSetState:
|
|
142
143
|
time_updated: Optional[pulumi.Input[str]] = None):
|
143
144
|
"""
|
144
145
|
Input properties used for looking up and filtering ModelVersionSet resources.
|
146
|
+
:param pulumi.Input[str] category: The category of the model version set.
|
145
147
|
: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 version set in.
|
146
148
|
: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 version set.
|
147
149
|
: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"}`
|
@@ -158,6 +160,8 @@ class _ModelVersionSetState:
|
|
158
160
|
:param pulumi.Input[str] time_created: The date and time that the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z
|
159
161
|
:param pulumi.Input[str] time_updated: The date and time that the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z
|
160
162
|
"""
|
163
|
+
if category is not None:
|
164
|
+
pulumi.set(__self__, "category", category)
|
161
165
|
if compartment_id is not None:
|
162
166
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
163
167
|
if created_by is not None:
|
@@ -181,6 +185,18 @@ class _ModelVersionSetState:
|
|
181
185
|
if time_updated is not None:
|
182
186
|
pulumi.set(__self__, "time_updated", time_updated)
|
183
187
|
|
188
|
+
@property
|
189
|
+
@pulumi.getter
|
190
|
+
def category(self) -> Optional[pulumi.Input[str]]:
|
191
|
+
"""
|
192
|
+
The category of the model version set.
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "category")
|
195
|
+
|
196
|
+
@category.setter
|
197
|
+
def category(self, value: Optional[pulumi.Input[str]]):
|
198
|
+
pulumi.set(self, "category", value)
|
199
|
+
|
184
200
|
@property
|
185
201
|
@pulumi.getter(name="compartmentId")
|
186
202
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -453,6 +469,7 @@ class ModelVersionSet(pulumi.CustomResource):
|
|
453
469
|
if project_id is None and not opts.urn:
|
454
470
|
raise TypeError("Missing required property 'project_id'")
|
455
471
|
__props__.__dict__["project_id"] = project_id
|
472
|
+
__props__.__dict__["category"] = None
|
456
473
|
__props__.__dict__["created_by"] = None
|
457
474
|
__props__.__dict__["state"] = None
|
458
475
|
__props__.__dict__["system_tags"] = None
|
@@ -468,6 +485,7 @@ class ModelVersionSet(pulumi.CustomResource):
|
|
468
485
|
def get(resource_name: str,
|
469
486
|
id: pulumi.Input[str],
|
470
487
|
opts: Optional[pulumi.ResourceOptions] = None,
|
488
|
+
category: Optional[pulumi.Input[str]] = None,
|
471
489
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
472
490
|
created_by: Optional[pulumi.Input[str]] = None,
|
473
491
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -486,6 +504,7 @@ class ModelVersionSet(pulumi.CustomResource):
|
|
486
504
|
:param str resource_name: The unique name of the resulting resource.
|
487
505
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
488
506
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
507
|
+
:param pulumi.Input[str] category: The category of the model version set.
|
489
508
|
: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 version set in.
|
490
509
|
: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 version set.
|
491
510
|
: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"}`
|
@@ -506,6 +525,7 @@ class ModelVersionSet(pulumi.CustomResource):
|
|
506
525
|
|
507
526
|
__props__ = _ModelVersionSetState.__new__(_ModelVersionSetState)
|
508
527
|
|
528
|
+
__props__.__dict__["category"] = category
|
509
529
|
__props__.__dict__["compartment_id"] = compartment_id
|
510
530
|
__props__.__dict__["created_by"] = created_by
|
511
531
|
__props__.__dict__["defined_tags"] = defined_tags
|
@@ -519,6 +539,14 @@ class ModelVersionSet(pulumi.CustomResource):
|
|
519
539
|
__props__.__dict__["time_updated"] = time_updated
|
520
540
|
return ModelVersionSet(resource_name, opts=opts, __props__=__props__)
|
521
541
|
|
542
|
+
@property
|
543
|
+
@pulumi.getter
|
544
|
+
def category(self) -> pulumi.Output[str]:
|
545
|
+
"""
|
546
|
+
The category of the model version set.
|
547
|
+
"""
|
548
|
+
return pulumi.get(self, "category")
|
549
|
+
|
522
550
|
@property
|
523
551
|
@pulumi.getter(name="compartmentId")
|
524
552
|
def compartment_id(self) -> pulumi.Output[str]:
|