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.
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.27.0a1742000109.dist-info}/METADATA +1 -1
  133. {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/RECORD +135 -106
  134. {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/WHEEL +0 -0
  135. {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ class GetModelResult:
27
27
  """
28
28
  A collection of values returned by getModel.
29
29
  """
30
- def __init__(__self__, artifact_content_disposition=None, artifact_content_length=None, artifact_content_md5=None, artifact_last_modified=None, backup_operation_details=None, backup_settings=None, compartment_id=None, created_by=None, custom_metadata_lists=None, defined_metadata_lists=None, defined_tags=None, description=None, display_name=None, empty_model=None, freeform_tags=None, id=None, input_schema=None, lifecycle_details=None, model_artifact=None, model_id=None, model_version_set_id=None, model_version_set_name=None, output_schema=None, project_id=None, retention_operation_details=None, retention_settings=None, state=None, time_created=None, version_label=None):
30
+ def __init__(__self__, artifact_content_disposition=None, artifact_content_length=None, artifact_content_md5=None, artifact_last_modified=None, backup_operation_details=None, backup_settings=None, category=None, compartment_id=None, created_by=None, custom_metadata_lists=None, defined_metadata_lists=None, defined_tags=None, description=None, display_name=None, empty_model=None, freeform_tags=None, id=None, input_schema=None, is_model_by_reference=None, lifecycle_details=None, model_artifact=None, model_id=None, model_version_set_id=None, model_version_set_name=None, output_schema=None, project_id=None, retention_operation_details=None, retention_settings=None, state=None, time_created=None, version_label=None):
31
31
  if artifact_content_disposition and not isinstance(artifact_content_disposition, str):
32
32
  raise TypeError("Expected argument 'artifact_content_disposition' to be a str")
33
33
  pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition)
@@ -46,6 +46,9 @@ class GetModelResult:
46
46
  if backup_settings and not isinstance(backup_settings, list):
47
47
  raise TypeError("Expected argument 'backup_settings' to be a list")
48
48
  pulumi.set(__self__, "backup_settings", backup_settings)
49
+ if category and not isinstance(category, str):
50
+ raise TypeError("Expected argument 'category' to be a str")
51
+ pulumi.set(__self__, "category", category)
49
52
  if compartment_id and not isinstance(compartment_id, str):
50
53
  raise TypeError("Expected argument 'compartment_id' to be a str")
51
54
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -79,6 +82,9 @@ class GetModelResult:
79
82
  if input_schema and not isinstance(input_schema, str):
80
83
  raise TypeError("Expected argument 'input_schema' to be a str")
81
84
  pulumi.set(__self__, "input_schema", input_schema)
85
+ if is_model_by_reference and not isinstance(is_model_by_reference, bool):
86
+ raise TypeError("Expected argument 'is_model_by_reference' to be a bool")
87
+ pulumi.set(__self__, "is_model_by_reference", is_model_by_reference)
82
88
  if lifecycle_details and not isinstance(lifecycle_details, str):
83
89
  raise TypeError("Expected argument 'lifecycle_details' to be a str")
84
90
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
@@ -152,6 +158,14 @@ class GetModelResult:
152
158
  """
153
159
  return pulumi.get(self, "backup_settings")
154
160
 
161
+ @property
162
+ @pulumi.getter
163
+ def category(self) -> str:
164
+ """
165
+ Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values "Performance,Training Profile,Training and Validation Datasets,Training Environment,Reports,Readme,other".
166
+ """
167
+ return pulumi.get(self, "category")
168
+
155
169
  @property
156
170
  @pulumi.getter(name="compartmentId")
157
171
  def compartment_id(self) -> str:
@@ -237,6 +251,14 @@ class GetModelResult:
237
251
  """
238
252
  return pulumi.get(self, "input_schema")
239
253
 
254
+ @property
255
+ @pulumi.getter(name="isModelByReference")
256
+ def is_model_by_reference(self) -> bool:
257
+ """
258
+ Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
259
+ """
260
+ return pulumi.get(self, "is_model_by_reference")
261
+
240
262
  @property
241
263
  @pulumi.getter(name="lifecycleDetails")
242
264
  def lifecycle_details(self) -> str:
@@ -337,6 +359,7 @@ class AwaitableGetModelResult(GetModelResult):
337
359
  artifact_last_modified=self.artifact_last_modified,
338
360
  backup_operation_details=self.backup_operation_details,
339
361
  backup_settings=self.backup_settings,
362
+ category=self.category,
340
363
  compartment_id=self.compartment_id,
341
364
  created_by=self.created_by,
342
365
  custom_metadata_lists=self.custom_metadata_lists,
@@ -348,6 +371,7 @@ class AwaitableGetModelResult(GetModelResult):
348
371
  freeform_tags=self.freeform_tags,
349
372
  id=self.id,
350
373
  input_schema=self.input_schema,
374
+ is_model_by_reference=self.is_model_by_reference,
351
375
  lifecycle_details=self.lifecycle_details,
352
376
  model_artifact=self.model_artifact,
353
377
  model_id=self.model_id,
@@ -393,6 +417,7 @@ def get_model(model_id: Optional[str] = None,
393
417
  artifact_last_modified=pulumi.get(__ret__, 'artifact_last_modified'),
394
418
  backup_operation_details=pulumi.get(__ret__, 'backup_operation_details'),
395
419
  backup_settings=pulumi.get(__ret__, 'backup_settings'),
420
+ category=pulumi.get(__ret__, 'category'),
396
421
  compartment_id=pulumi.get(__ret__, 'compartment_id'),
397
422
  created_by=pulumi.get(__ret__, 'created_by'),
398
423
  custom_metadata_lists=pulumi.get(__ret__, 'custom_metadata_lists'),
@@ -404,6 +429,7 @@ def get_model(model_id: Optional[str] = None,
404
429
  freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
405
430
  id=pulumi.get(__ret__, 'id'),
406
431
  input_schema=pulumi.get(__ret__, 'input_schema'),
432
+ is_model_by_reference=pulumi.get(__ret__, 'is_model_by_reference'),
407
433
  lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
408
434
  model_artifact=pulumi.get(__ret__, 'model_artifact'),
409
435
  model_id=pulumi.get(__ret__, 'model_id'),
@@ -446,6 +472,7 @@ def get_model_output(model_id: Optional[pulumi.Input[str]] = None,
446
472
  artifact_last_modified=pulumi.get(__response__, 'artifact_last_modified'),
447
473
  backup_operation_details=pulumi.get(__response__, 'backup_operation_details'),
448
474
  backup_settings=pulumi.get(__response__, 'backup_settings'),
475
+ category=pulumi.get(__response__, 'category'),
449
476
  compartment_id=pulumi.get(__response__, 'compartment_id'),
450
477
  created_by=pulumi.get(__response__, 'created_by'),
451
478
  custom_metadata_lists=pulumi.get(__response__, 'custom_metadata_lists'),
@@ -457,6 +484,7 @@ def get_model_output(model_id: Optional[pulumi.Input[str]] = None,
457
484
  freeform_tags=pulumi.get(__response__, 'freeform_tags'),
458
485
  id=pulumi.get(__response__, 'id'),
459
486
  input_schema=pulumi.get(__response__, 'input_schema'),
487
+ is_model_by_reference=pulumi.get(__response__, 'is_model_by_reference'),
460
488
  lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
461
489
  model_artifact=pulumi.get(__response__, 'model_artifact'),
462
490
  model_id=pulumi.get(__response__, 'model_id'),
@@ -0,0 +1,151 @@
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__ = [
18
+ 'GetModelCustomMetadataArtifactContentResult',
19
+ 'AwaitableGetModelCustomMetadataArtifactContentResult',
20
+ 'get_model_custom_metadata_artifact_content',
21
+ 'get_model_custom_metadata_artifact_content_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetModelCustomMetadataArtifactContentResult:
26
+ """
27
+ A collection of values returned by getModelCustomMetadataArtifactContent.
28
+ """
29
+ def __init__(__self__, id=None, metadatum_key_name=None, model_id=None, range=None):
30
+ if id and not isinstance(id, str):
31
+ raise TypeError("Expected argument 'id' to be a str")
32
+ pulumi.set(__self__, "id", id)
33
+ if metadatum_key_name and not isinstance(metadatum_key_name, str):
34
+ raise TypeError("Expected argument 'metadatum_key_name' to be a str")
35
+ pulumi.set(__self__, "metadatum_key_name", metadatum_key_name)
36
+ if model_id and not isinstance(model_id, str):
37
+ raise TypeError("Expected argument 'model_id' to be a str")
38
+ pulumi.set(__self__, "model_id", model_id)
39
+ if range and not isinstance(range, str):
40
+ raise TypeError("Expected argument 'range' to be a str")
41
+ pulumi.set(__self__, "range", range)
42
+
43
+ @property
44
+ @pulumi.getter
45
+ def id(self) -> str:
46
+ """
47
+ The provider-assigned unique ID for this managed resource.
48
+ """
49
+ return pulumi.get(self, "id")
50
+
51
+ @property
52
+ @pulumi.getter(name="metadatumKeyName")
53
+ def metadatum_key_name(self) -> str:
54
+ return pulumi.get(self, "metadatum_key_name")
55
+
56
+ @property
57
+ @pulumi.getter(name="modelId")
58
+ def model_id(self) -> str:
59
+ return pulumi.get(self, "model_id")
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def range(self) -> Optional[str]:
64
+ return pulumi.get(self, "range")
65
+
66
+
67
+ class AwaitableGetModelCustomMetadataArtifactContentResult(GetModelCustomMetadataArtifactContentResult):
68
+ # pylint: disable=using-constant-test
69
+ def __await__(self):
70
+ if False:
71
+ yield self
72
+ return GetModelCustomMetadataArtifactContentResult(
73
+ id=self.id,
74
+ metadatum_key_name=self.metadatum_key_name,
75
+ model_id=self.model_id,
76
+ range=self.range)
77
+
78
+
79
+ def get_model_custom_metadata_artifact_content(metadatum_key_name: Optional[str] = None,
80
+ model_id: Optional[str] = None,
81
+ range: Optional[str] = None,
82
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetModelCustomMetadataArtifactContentResult:
83
+ """
84
+ This data source provides details about a specific Model Custom Metadata Artifact Content resource in Oracle Cloud Infrastructure Data Science service.
85
+
86
+ Downloads model custom metadata artifact content for specified model metadata key.
87
+
88
+ ## Example Usage
89
+
90
+ ```python
91
+ import pulumi
92
+ import pulumi_oci as oci
93
+
94
+ test_model_custom_metadata_artifact_content = oci.DataScience.get_model_custom_metadata_artifact_content(metadatum_key_name=test_key["name"],
95
+ model_id=test_model["id"],
96
+ range=model_custom_metadata_artifact_content_range)
97
+ ```
98
+
99
+
100
+ :param str metadatum_key_name: The name of the model metadatum in the metadata.
101
+ :param str model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
102
+ :param str range: Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. Note that only a single range of bytes is supported.
103
+ """
104
+ __args__ = dict()
105
+ __args__['metadatumKeyName'] = metadatum_key_name
106
+ __args__['modelId'] = model_id
107
+ __args__['range'] = range
108
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
109
+ __ret__ = pulumi.runtime.invoke('oci:DataScience/getModelCustomMetadataArtifactContent:getModelCustomMetadataArtifactContent', __args__, opts=opts, typ=GetModelCustomMetadataArtifactContentResult).value
110
+
111
+ return AwaitableGetModelCustomMetadataArtifactContentResult(
112
+ id=pulumi.get(__ret__, 'id'),
113
+ metadatum_key_name=pulumi.get(__ret__, 'metadatum_key_name'),
114
+ model_id=pulumi.get(__ret__, 'model_id'),
115
+ range=pulumi.get(__ret__, 'range'))
116
+ def get_model_custom_metadata_artifact_content_output(metadatum_key_name: Optional[pulumi.Input[str]] = None,
117
+ model_id: Optional[pulumi.Input[str]] = None,
118
+ range: Optional[pulumi.Input[Optional[str]]] = None,
119
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetModelCustomMetadataArtifactContentResult]:
120
+ """
121
+ This data source provides details about a specific Model Custom Metadata Artifact Content resource in Oracle Cloud Infrastructure Data Science service.
122
+
123
+ Downloads model custom metadata artifact content for specified model metadata key.
124
+
125
+ ## Example Usage
126
+
127
+ ```python
128
+ import pulumi
129
+ import pulumi_oci as oci
130
+
131
+ test_model_custom_metadata_artifact_content = oci.DataScience.get_model_custom_metadata_artifact_content(metadatum_key_name=test_key["name"],
132
+ model_id=test_model["id"],
133
+ range=model_custom_metadata_artifact_content_range)
134
+ ```
135
+
136
+
137
+ :param str metadatum_key_name: The name of the model metadatum in the metadata.
138
+ :param str model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
139
+ :param str range: Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. Note that only a single range of bytes is supported.
140
+ """
141
+ __args__ = dict()
142
+ __args__['metadatumKeyName'] = metadatum_key_name
143
+ __args__['modelId'] = model_id
144
+ __args__['range'] = range
145
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
146
+ __ret__ = pulumi.runtime.invoke_output('oci:DataScience/getModelCustomMetadataArtifactContent:getModelCustomMetadataArtifactContent', __args__, opts=opts, typ=GetModelCustomMetadataArtifactContentResult)
147
+ return __ret__.apply(lambda __response__: GetModelCustomMetadataArtifactContentResult(
148
+ id=pulumi.get(__response__, 'id'),
149
+ metadatum_key_name=pulumi.get(__response__, 'metadatum_key_name'),
150
+ model_id=pulumi.get(__response__, 'model_id'),
151
+ range=pulumi.get(__response__, 'range')))
@@ -0,0 +1,151 @@
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__ = [
18
+ 'GetModelDefinedMetadataArtifactContentResult',
19
+ 'AwaitableGetModelDefinedMetadataArtifactContentResult',
20
+ 'get_model_defined_metadata_artifact_content',
21
+ 'get_model_defined_metadata_artifact_content_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetModelDefinedMetadataArtifactContentResult:
26
+ """
27
+ A collection of values returned by getModelDefinedMetadataArtifactContent.
28
+ """
29
+ def __init__(__self__, id=None, metadatum_key_name=None, model_id=None, range=None):
30
+ if id and not isinstance(id, str):
31
+ raise TypeError("Expected argument 'id' to be a str")
32
+ pulumi.set(__self__, "id", id)
33
+ if metadatum_key_name and not isinstance(metadatum_key_name, str):
34
+ raise TypeError("Expected argument 'metadatum_key_name' to be a str")
35
+ pulumi.set(__self__, "metadatum_key_name", metadatum_key_name)
36
+ if model_id and not isinstance(model_id, str):
37
+ raise TypeError("Expected argument 'model_id' to be a str")
38
+ pulumi.set(__self__, "model_id", model_id)
39
+ if range and not isinstance(range, str):
40
+ raise TypeError("Expected argument 'range' to be a str")
41
+ pulumi.set(__self__, "range", range)
42
+
43
+ @property
44
+ @pulumi.getter
45
+ def id(self) -> str:
46
+ """
47
+ The provider-assigned unique ID for this managed resource.
48
+ """
49
+ return pulumi.get(self, "id")
50
+
51
+ @property
52
+ @pulumi.getter(name="metadatumKeyName")
53
+ def metadatum_key_name(self) -> str:
54
+ return pulumi.get(self, "metadatum_key_name")
55
+
56
+ @property
57
+ @pulumi.getter(name="modelId")
58
+ def model_id(self) -> str:
59
+ return pulumi.get(self, "model_id")
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def range(self) -> Optional[str]:
64
+ return pulumi.get(self, "range")
65
+
66
+
67
+ class AwaitableGetModelDefinedMetadataArtifactContentResult(GetModelDefinedMetadataArtifactContentResult):
68
+ # pylint: disable=using-constant-test
69
+ def __await__(self):
70
+ if False:
71
+ yield self
72
+ return GetModelDefinedMetadataArtifactContentResult(
73
+ id=self.id,
74
+ metadatum_key_name=self.metadatum_key_name,
75
+ model_id=self.model_id,
76
+ range=self.range)
77
+
78
+
79
+ def get_model_defined_metadata_artifact_content(metadatum_key_name: Optional[str] = None,
80
+ model_id: Optional[str] = None,
81
+ range: Optional[str] = None,
82
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetModelDefinedMetadataArtifactContentResult:
83
+ """
84
+ This data source provides details about a specific Model Defined Metadata Artifact Content resource in Oracle Cloud Infrastructure Data Science service.
85
+
86
+ Downloads model defined metadata artifact content for specified model metadata key.
87
+
88
+ ## Example Usage
89
+
90
+ ```python
91
+ import pulumi
92
+ import pulumi_oci as oci
93
+
94
+ test_model_defined_metadata_artifact_content = oci.DataScience.get_model_defined_metadata_artifact_content(metadatum_key_name=test_key["name"],
95
+ model_id=test_model["id"],
96
+ range=model_defined_metadata_artifact_content_range)
97
+ ```
98
+
99
+
100
+ :param str metadatum_key_name: The name of the model metadatum in the metadata.
101
+ :param str model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
102
+ :param str range: Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. Note that only a single range of bytes is supported.
103
+ """
104
+ __args__ = dict()
105
+ __args__['metadatumKeyName'] = metadatum_key_name
106
+ __args__['modelId'] = model_id
107
+ __args__['range'] = range
108
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
109
+ __ret__ = pulumi.runtime.invoke('oci:DataScience/getModelDefinedMetadataArtifactContent:getModelDefinedMetadataArtifactContent', __args__, opts=opts, typ=GetModelDefinedMetadataArtifactContentResult).value
110
+
111
+ return AwaitableGetModelDefinedMetadataArtifactContentResult(
112
+ id=pulumi.get(__ret__, 'id'),
113
+ metadatum_key_name=pulumi.get(__ret__, 'metadatum_key_name'),
114
+ model_id=pulumi.get(__ret__, 'model_id'),
115
+ range=pulumi.get(__ret__, 'range'))
116
+ def get_model_defined_metadata_artifact_content_output(metadatum_key_name: Optional[pulumi.Input[str]] = None,
117
+ model_id: Optional[pulumi.Input[str]] = None,
118
+ range: Optional[pulumi.Input[Optional[str]]] = None,
119
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetModelDefinedMetadataArtifactContentResult]:
120
+ """
121
+ This data source provides details about a specific Model Defined Metadata Artifact Content resource in Oracle Cloud Infrastructure Data Science service.
122
+
123
+ Downloads model defined metadata artifact content for specified model metadata key.
124
+
125
+ ## Example Usage
126
+
127
+ ```python
128
+ import pulumi
129
+ import pulumi_oci as oci
130
+
131
+ test_model_defined_metadata_artifact_content = oci.DataScience.get_model_defined_metadata_artifact_content(metadatum_key_name=test_key["name"],
132
+ model_id=test_model["id"],
133
+ range=model_defined_metadata_artifact_content_range)
134
+ ```
135
+
136
+
137
+ :param str metadatum_key_name: The name of the model metadatum in the metadata.
138
+ :param str model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model.
139
+ :param str range: Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. Note that only a single range of bytes is supported.
140
+ """
141
+ __args__ = dict()
142
+ __args__['metadatumKeyName'] = metadatum_key_name
143
+ __args__['modelId'] = model_id
144
+ __args__['range'] = range
145
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
146
+ __ret__ = pulumi.runtime.invoke_output('oci:DataScience/getModelDefinedMetadataArtifactContent:getModelDefinedMetadataArtifactContent', __args__, opts=opts, typ=GetModelDefinedMetadataArtifactContentResult)
147
+ return __ret__.apply(lambda __response__: GetModelDefinedMetadataArtifactContentResult(
148
+ id=pulumi.get(__response__, 'id'),
149
+ metadatum_key_name=pulumi.get(__response__, 'metadatum_key_name'),
150
+ model_id=pulumi.get(__response__, 'model_id'),
151
+ range=pulumi.get(__response__, 'range')))
@@ -26,7 +26,10 @@ class GetModelVersionSetResult:
26
26
  """
27
27
  A collection of values returned by getModelVersionSet.
28
28
  """
29
- def __init__(__self__, compartment_id=None, created_by=None, defined_tags=None, description=None, freeform_tags=None, id=None, model_version_set_id=None, name=None, project_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
29
+ def __init__(__self__, category=None, compartment_id=None, created_by=None, defined_tags=None, description=None, freeform_tags=None, id=None, model_version_set_id=None, name=None, project_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
30
+ if category and not isinstance(category, str):
31
+ raise TypeError("Expected argument 'category' to be a str")
32
+ pulumi.set(__self__, "category", category)
30
33
  if compartment_id and not isinstance(compartment_id, str):
31
34
  raise TypeError("Expected argument 'compartment_id' to be a str")
32
35
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -67,6 +70,14 @@ class GetModelVersionSetResult:
67
70
  raise TypeError("Expected argument 'time_updated' to be a str")
68
71
  pulumi.set(__self__, "time_updated", time_updated)
69
72
 
73
+ @property
74
+ @pulumi.getter
75
+ def category(self) -> str:
76
+ """
77
+ The category of the model version set.
78
+ """
79
+ return pulumi.get(self, "category")
80
+
70
81
  @property
71
82
  @pulumi.getter(name="compartmentId")
72
83
  def compartment_id(self) -> str:
@@ -175,6 +186,7 @@ class AwaitableGetModelVersionSetResult(GetModelVersionSetResult):
175
186
  if False:
176
187
  yield self
177
188
  return GetModelVersionSetResult(
189
+ category=self.category,
178
190
  compartment_id=self.compartment_id,
179
191
  created_by=self.created_by,
180
192
  defined_tags=self.defined_tags,
@@ -215,6 +227,7 @@ def get_model_version_set(model_version_set_id: Optional[str] = None,
215
227
  __ret__ = pulumi.runtime.invoke('oci:DataScience/getModelVersionSet:getModelVersionSet', __args__, opts=opts, typ=GetModelVersionSetResult).value
216
228
 
217
229
  return AwaitableGetModelVersionSetResult(
230
+ category=pulumi.get(__ret__, 'category'),
218
231
  compartment_id=pulumi.get(__ret__, 'compartment_id'),
219
232
  created_by=pulumi.get(__ret__, 'created_by'),
220
233
  defined_tags=pulumi.get(__ret__, 'defined_tags'),
@@ -252,6 +265,7 @@ def get_model_version_set_output(model_version_set_id: Optional[pulumi.Input[str
252
265
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
253
266
  __ret__ = pulumi.runtime.invoke_output('oci:DataScience/getModelVersionSet:getModelVersionSet', __args__, opts=opts, typ=GetModelVersionSetResult)
254
267
  return __ret__.apply(lambda __response__: GetModelVersionSetResult(
268
+ category=pulumi.get(__response__, 'category'),
255
269
  compartment_id=pulumi.get(__response__, 'compartment_id'),
256
270
  created_by=pulumi.get(__response__, 'created_by'),
257
271
  defined_tags=pulumi.get(__response__, 'defined_tags'),
@@ -28,7 +28,10 @@ class GetModelVersionSetsResult:
28
28
  """
29
29
  A collection of values returned by getModelVersionSets.
30
30
  """
31
- def __init__(__self__, compartment_id=None, created_by=None, filters=None, id=None, model_version_sets=None, name=None, project_id=None, state=None):
31
+ def __init__(__self__, category=None, compartment_id=None, created_by=None, filters=None, id=None, model_version_sets=None, name=None, project_id=None, state=None):
32
+ if category and not isinstance(category, str):
33
+ raise TypeError("Expected argument 'category' to be a str")
34
+ pulumi.set(__self__, "category", category)
32
35
  if compartment_id and not isinstance(compartment_id, str):
33
36
  raise TypeError("Expected argument 'compartment_id' to be a str")
34
37
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -54,6 +57,14 @@ class GetModelVersionSetsResult:
54
57
  raise TypeError("Expected argument 'state' to be a str")
55
58
  pulumi.set(__self__, "state", state)
56
59
 
60
+ @property
61
+ @pulumi.getter
62
+ def category(self) -> Optional[str]:
63
+ """
64
+ The category of the model version set.
65
+ """
66
+ return pulumi.get(self, "category")
67
+
57
68
  @property
58
69
  @pulumi.getter(name="compartmentId")
59
70
  def compartment_id(self) -> str:
@@ -122,6 +133,7 @@ class AwaitableGetModelVersionSetsResult(GetModelVersionSetsResult):
122
133
  if False:
123
134
  yield self
124
135
  return GetModelVersionSetsResult(
136
+ category=self.category,
125
137
  compartment_id=self.compartment_id,
126
138
  created_by=self.created_by,
127
139
  filters=self.filters,
@@ -132,7 +144,8 @@ class AwaitableGetModelVersionSetsResult(GetModelVersionSetsResult):
132
144
  state=self.state)
133
145
 
134
146
 
135
- def get_model_version_sets(compartment_id: Optional[str] = None,
147
+ def get_model_version_sets(category: Optional[str] = None,
148
+ compartment_id: Optional[str] = None,
136
149
  created_by: Optional[str] = None,
137
150
  filters: Optional[Sequence[Union['GetModelVersionSetsFilterArgs', 'GetModelVersionSetsFilterArgsDict']]] = None,
138
151
  id: Optional[str] = None,
@@ -152,6 +165,7 @@ def get_model_version_sets(compartment_id: Optional[str] = None,
152
165
  import pulumi_oci as oci
153
166
 
154
167
  test_model_version_sets = oci.DataScience.get_model_version_sets(compartment_id=compartment_id,
168
+ category=model_version_set_category,
155
169
  created_by=model_version_set_created_by,
156
170
  id=model_version_set_id,
157
171
  name=model_version_set_name,
@@ -160,6 +174,7 @@ def get_model_version_sets(compartment_id: Optional[str] = None,
160
174
  ```
161
175
 
162
176
 
177
+ :param str category: Specifies the type of model version sets to list. By default, user model version sets are listed.
163
178
  :param str compartment_id: <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
164
179
  :param str created_by: <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource.
165
180
  :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.
@@ -168,6 +183,7 @@ def get_model_version_sets(compartment_id: Optional[str] = None,
168
183
  :param str state: <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
169
184
  """
170
185
  __args__ = dict()
186
+ __args__['category'] = category
171
187
  __args__['compartmentId'] = compartment_id
172
188
  __args__['createdBy'] = created_by
173
189
  __args__['filters'] = filters
@@ -179,6 +195,7 @@ def get_model_version_sets(compartment_id: Optional[str] = None,
179
195
  __ret__ = pulumi.runtime.invoke('oci:DataScience/getModelVersionSets:getModelVersionSets', __args__, opts=opts, typ=GetModelVersionSetsResult).value
180
196
 
181
197
  return AwaitableGetModelVersionSetsResult(
198
+ category=pulumi.get(__ret__, 'category'),
182
199
  compartment_id=pulumi.get(__ret__, 'compartment_id'),
183
200
  created_by=pulumi.get(__ret__, 'created_by'),
184
201
  filters=pulumi.get(__ret__, 'filters'),
@@ -187,7 +204,8 @@ def get_model_version_sets(compartment_id: Optional[str] = None,
187
204
  name=pulumi.get(__ret__, 'name'),
188
205
  project_id=pulumi.get(__ret__, 'project_id'),
189
206
  state=pulumi.get(__ret__, 'state'))
190
- def get_model_version_sets_output(compartment_id: Optional[pulumi.Input[str]] = None,
207
+ def get_model_version_sets_output(category: Optional[pulumi.Input[Optional[str]]] = None,
208
+ compartment_id: Optional[pulumi.Input[str]] = None,
191
209
  created_by: Optional[pulumi.Input[Optional[str]]] = None,
192
210
  filters: Optional[pulumi.Input[Optional[Sequence[Union['GetModelVersionSetsFilterArgs', 'GetModelVersionSetsFilterArgsDict']]]]] = None,
193
211
  id: Optional[pulumi.Input[Optional[str]]] = None,
@@ -207,6 +225,7 @@ def get_model_version_sets_output(compartment_id: Optional[pulumi.Input[str]] =
207
225
  import pulumi_oci as oci
208
226
 
209
227
  test_model_version_sets = oci.DataScience.get_model_version_sets(compartment_id=compartment_id,
228
+ category=model_version_set_category,
210
229
  created_by=model_version_set_created_by,
211
230
  id=model_version_set_id,
212
231
  name=model_version_set_name,
@@ -215,6 +234,7 @@ def get_model_version_sets_output(compartment_id: Optional[pulumi.Input[str]] =
215
234
  ```
216
235
 
217
236
 
237
+ :param str category: Specifies the type of model version sets to list. By default, user model version sets are listed.
218
238
  :param str compartment_id: <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
219
239
  :param str created_by: <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource.
220
240
  :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.
@@ -223,6 +243,7 @@ def get_model_version_sets_output(compartment_id: Optional[pulumi.Input[str]] =
223
243
  :param str state: <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
224
244
  """
225
245
  __args__ = dict()
246
+ __args__['category'] = category
226
247
  __args__['compartmentId'] = compartment_id
227
248
  __args__['createdBy'] = created_by
228
249
  __args__['filters'] = filters
@@ -233,6 +254,7 @@ def get_model_version_sets_output(compartment_id: Optional[pulumi.Input[str]] =
233
254
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
234
255
  __ret__ = pulumi.runtime.invoke_output('oci:DataScience/getModelVersionSets:getModelVersionSets', __args__, opts=opts, typ=GetModelVersionSetsResult)
235
256
  return __ret__.apply(lambda __response__: GetModelVersionSetsResult(
257
+ category=pulumi.get(__response__, 'category'),
236
258
  compartment_id=pulumi.get(__response__, 'compartment_id'),
237
259
  created_by=pulumi.get(__response__, 'created_by'),
238
260
  filters=pulumi.get(__response__, 'filters'),