pulumi-oci 2.26.0a1741847591__py3-none-any.whl → 2.26.0a1741943394__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.
Files changed (135) hide show
  1. pulumi_oci/__init__.py +67 -0
  2. pulumi_oci/containerengine/_inputs.py +34 -35
  3. pulumi_oci/containerengine/cluster.py +2 -0
  4. pulumi_oci/containerengine/container_instance.py +2 -4
  5. pulumi_oci/containerengine/outputs.py +110 -21
  6. pulumi_oci/containerinstances/outputs.py +0 -14
  7. pulumi_oci/core/_inputs.py +21 -33
  8. pulumi_oci/core/outputs.py +13 -21
  9. pulumi_oci/database/__init__.py +1 -0
  10. pulumi_oci/database/_inputs.py +704 -0
  11. pulumi_oci/database/application_vip.py +59 -10
  12. pulumi_oci/database/autonomous_database.py +7 -28
  13. pulumi_oci/database/backup.py +153 -5
  14. pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
  15. pulumi_oci/database/cloud_vm_cluster.py +163 -30
  16. pulumi_oci/database/db_node.py +64 -8
  17. pulumi_oci/database/exadata_infrastructure.py +157 -3
  18. pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
  19. pulumi_oci/database/exadb_vm_cluster.py +84 -7
  20. pulumi_oci/database/exascale_db_storage_vault.py +147 -0
  21. pulumi_oci/database/external_container_database.py +4 -4
  22. pulumi_oci/database/external_non_container_database.py +4 -4
  23. pulumi_oci/database/external_pluggable_database.py +4 -4
  24. pulumi_oci/database/get_application_vip.py +16 -2
  25. pulumi_oci/database/get_autonomous_database.py +0 -3
  26. pulumi_oci/database/get_backups.py +136 -10
  27. pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
  28. pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
  29. pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
  30. pulumi_oci/database/get_database_software_images.py +20 -1
  31. pulumi_oci/database/get_db_node.py +31 -4
  32. pulumi_oci/database/get_db_server.py +15 -1
  33. pulumi_oci/database/get_exadata_infrastructure.py +57 -1
  34. pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
  35. pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
  36. pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
  37. pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
  38. pulumi_oci/database/get_external_container_database.py +1 -1
  39. pulumi_oci/database/get_external_non_container_database.py +1 -1
  40. pulumi_oci/database/get_external_pluggable_database.py +1 -1
  41. pulumi_oci/database/get_flex_components.py +28 -6
  42. pulumi_oci/database/get_vm_cluster.py +60 -4
  43. pulumi_oci/database/get_vm_clusters.py +25 -3
  44. pulumi_oci/database/outputs.py +1084 -42
  45. pulumi_oci/database/pluggable_database.py +13 -13
  46. pulumi_oci/database/vm_cluster.py +172 -18
  47. pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
  48. pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
  49. pulumi_oci/datasafe/__init__.py +7 -0
  50. pulumi_oci/datasafe/_inputs.py +301 -0
  51. pulumi_oci/datasafe/discovery_mod.py +49 -0
  52. pulumi_oci/datasafe/get_discovery_job.py +15 -1
  53. pulumi_oci/datasafe/get_masking_report.py +46 -4
  54. pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
  55. pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
  56. pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
  57. pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
  58. pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
  59. pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
  60. pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
  61. pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
  62. pulumi_oci/datasafe/outputs.py +676 -3
  63. pulumi_oci/datasafe/sensitive_data_model.py +49 -0
  64. pulumi_oci/datasafe/sensitive_type_group.py +563 -0
  65. pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
  66. pulumi_oci/datascience/__init__.py +4 -0
  67. pulumi_oci/datascience/_inputs.py +1160 -41
  68. pulumi_oci/datascience/get_model.py +29 -1
  69. pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
  70. pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
  71. pulumi_oci/datascience/get_model_version_set.py +15 -1
  72. pulumi_oci/datascience/get_model_version_sets.py +25 -3
  73. pulumi_oci/datascience/get_models.py +25 -3
  74. pulumi_oci/datascience/get_pipeline.py +15 -1
  75. pulumi_oci/datascience/model.py +64 -0
  76. pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
  77. pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
  78. pulumi_oci/datascience/model_version_set.py +28 -0
  79. pulumi_oci/datascience/outputs.py +4343 -2164
  80. pulumi_oci/datascience/pipeline.py +48 -141
  81. pulumi_oci/datascience/pipeline_run.py +32 -0
  82. pulumi_oci/dblm/__init__.py +17 -0
  83. pulumi_oci/dblm/_inputs.py +275 -0
  84. pulumi_oci/dblm/get_vulnerability.py +242 -0
  85. pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
  86. pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
  87. pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
  88. pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
  89. pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
  90. pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
  91. pulumi_oci/dblm/outputs.py +1294 -0
  92. pulumi_oci/dblm/vulnerability_scan.py +521 -0
  93. pulumi_oci/email/dkim.py +120 -20
  94. pulumi_oci/email/get_dkim.py +40 -1
  95. pulumi_oci/email/outputs.py +29 -0
  96. pulumi_oci/filestorage/__init__.py +3 -0
  97. pulumi_oci/filestorage/_inputs.py +49 -0
  98. pulumi_oci/filestorage/file_system.py +105 -0
  99. pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
  100. pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
  101. pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
  102. pulumi_oci/filestorage/outputs.py +186 -0
  103. pulumi_oci/mysql/_inputs.py +1239 -10
  104. pulumi_oci/mysql/channel.py +28 -0
  105. pulumi_oci/mysql/get_channel.py +15 -1
  106. pulumi_oci/mysql/get_mysql_backup.py +15 -1
  107. pulumi_oci/mysql/get_mysql_configuration.py +15 -1
  108. pulumi_oci/mysql/get_mysql_db_system.py +15 -1
  109. pulumi_oci/mysql/mysql_backup.py +28 -0
  110. pulumi_oci/mysql/mysql_configuration.py +106 -0
  111. pulumi_oci/mysql/mysql_db_system.py +36 -0
  112. pulumi_oci/mysql/outputs.py +2008 -35
  113. pulumi_oci/opensearch/__init__.py +3 -0
  114. pulumi_oci/opensearch/_inputs.py +101 -0
  115. pulumi_oci/opensearch/cluster.py +76 -29
  116. pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
  117. pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
  118. pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
  119. pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
  120. pulumi_oci/opensearch/outputs.py +425 -0
  121. pulumi_oci/psql/_inputs.py +258 -0
  122. pulumi_oci/psql/backup.py +129 -28
  123. pulumi_oci/psql/db_system.py +10 -0
  124. pulumi_oci/psql/get_backup.py +47 -2
  125. pulumi_oci/psql/get_backups.py +3 -0
  126. pulumi_oci/psql/get_configurations.py +23 -1
  127. pulumi_oci/psql/get_db_system.py +1 -1
  128. pulumi_oci/psql/get_db_systems.py +1 -1
  129. pulumi_oci/psql/outputs.py +541 -5
  130. pulumi_oci/pulumi-plugin.json +1 -1
  131. pulumi_oci/redis/redis_cluster.py +7 -7
  132. {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/METADATA +1 -1
  133. {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/RECORD +135 -106
  134. {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/WHEEL +0 -0
  135. {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.26.0a1741943394.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__ = ['ModelCustomMetadataArtifactArgs', 'ModelCustomMetadataArtifact']
18
+
19
+ @pulumi.input_type
20
+ class ModelCustomMetadataArtifactArgs:
21
+ def __init__(__self__, *,
22
+ content_length: pulumi.Input[str],
23
+ metadatum_key_name: pulumi.Input[str],
24
+ model_custom_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 ModelCustomMetadataArtifact 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_custom_metadatum_artifact: (Updatable) The model custom 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_custom_metadatum_artifact", model_custom_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="modelCustomMetadatumArtifact")
72
+ def model_custom_metadatum_artifact(self) -> pulumi.Input[str]:
73
+ """
74
+ (Updatable) The model custom metadata artifact to upload.
75
+ """
76
+ return pulumi.get(self, "model_custom_metadatum_artifact")
77
+
78
+ @model_custom_metadatum_artifact.setter
79
+ def model_custom_metadatum_artifact(self, value: pulumi.Input[str]):
80
+ pulumi.set(self, "model_custom_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 _ModelCustomMetadataArtifactState:
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_custom_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 ModelCustomMetadataArtifact 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_custom_metadatum_artifact: (Updatable) The model custom 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_custom_metadatum_artifact is not None:
138
+ pulumi.set(__self__, "model_custom_metadatum_artifact", model_custom_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="modelCustomMetadatumArtifact")
180
+ def model_custom_metadatum_artifact(self) -> Optional[pulumi.Input[str]]:
181
+ """
182
+ (Updatable) The model custom metadata artifact to upload.
183
+ """
184
+ return pulumi.get(self, "model_custom_metadatum_artifact")
185
+
186
+ @model_custom_metadatum_artifact.setter
187
+ def model_custom_metadatum_artifact(self, value: Optional[pulumi.Input[str]]):
188
+ pulumi.set(self, "model_custom_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 ModelCustomMetadataArtifact(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_custom_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 Custom Metadata Artifact resource in Oracle Cloud Infrastructure Data Science service.
220
+
221
+ Creates model custom 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_custom_metadata_artifact = oci.data_science.ModelCustomMetadataArtifact("test_model_custom_metadata_artifact",
230
+ model_custom_metadatum_artifact=model_custom_metadata_artifact_model_custom_metadatum_artifact,
231
+ content_length=model_custom_metadata_artifact_content_length,
232
+ metadatum_key_name=test_key["name"],
233
+ model_id=test_model["id"],
234
+ content_disposition=model_custom_metadata_artifact_content_disposition)
235
+ ```
236
+
237
+ ## Import
238
+
239
+ ModelCustomMetadataArtifacts can be imported using the `id`, e.g.
240
+
241
+ ```sh
242
+ $ pulumi import oci:DataScience/modelCustomMetadataArtifact:ModelCustomMetadataArtifact test_model_custom_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_custom_metadatum_artifact: (Updatable) The model custom 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: ModelCustomMetadataArtifactArgs,
262
+ opts: Optional[pulumi.ResourceOptions] = None):
263
+ """
264
+ This resource provides the Model Custom Metadata Artifact resource in Oracle Cloud Infrastructure Data Science service.
265
+
266
+ Creates model custom 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_custom_metadata_artifact = oci.data_science.ModelCustomMetadataArtifact("test_model_custom_metadata_artifact",
275
+ model_custom_metadatum_artifact=model_custom_metadata_artifact_model_custom_metadatum_artifact,
276
+ content_length=model_custom_metadata_artifact_content_length,
277
+ metadatum_key_name=test_key["name"],
278
+ model_id=test_model["id"],
279
+ content_disposition=model_custom_metadata_artifact_content_disposition)
280
+ ```
281
+
282
+ ## Import
283
+
284
+ ModelCustomMetadataArtifacts can be imported using the `id`, e.g.
285
+
286
+ ```sh
287
+ $ pulumi import oci:DataScience/modelCustomMetadataArtifact:ModelCustomMetadataArtifact test_model_custom_metadata_artifact "id"
288
+ ```
289
+
290
+ :param str resource_name: The name of the resource.
291
+ :param ModelCustomMetadataArtifactArgs 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(ModelCustomMetadataArtifactArgs, 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_custom_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__ = ModelCustomMetadataArtifactArgs.__new__(ModelCustomMetadataArtifactArgs)
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_custom_metadatum_artifact is None and not opts.urn:
327
+ raise TypeError("Missing required property 'model_custom_metadatum_artifact'")
328
+ __props__.__dict__["model_custom_metadatum_artifact"] = model_custom_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(ModelCustomMetadataArtifact, __self__).__init__(
333
+ 'oci:DataScience/modelCustomMetadataArtifact:ModelCustomMetadataArtifact',
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_custom_metadatum_artifact: Optional[pulumi.Input[str]] = None,
346
+ model_id: Optional[pulumi.Input[str]] = None) -> 'ModelCustomMetadataArtifact':
347
+ """
348
+ Get an existing ModelCustomMetadataArtifact 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_custom_metadatum_artifact: (Updatable) The model custom 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__ = _ModelCustomMetadataArtifactState.__new__(_ModelCustomMetadataArtifactState)
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_custom_metadatum_artifact"] = model_custom_metadatum_artifact
372
+ __props__.__dict__["model_id"] = model_id
373
+ return ModelCustomMetadataArtifact(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="modelCustomMetadatumArtifact")
401
+ def model_custom_metadatum_artifact(self) -> pulumi.Output[str]:
402
+ """
403
+ (Updatable) The model custom metadata artifact to upload.
404
+ """
405
+ return pulumi.get(self, "model_custom_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
+