pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.5.0a1756190604__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 +168 -43
- pulumi_oci/aidocument/__init__.py +1 -0
- pulumi_oci/aidocument/_inputs.py +476 -6
- pulumi_oci/aidocument/get_model.py +63 -2
- pulumi_oci/aidocument/get_model_type.py +179 -0
- pulumi_oci/aidocument/get_models.py +1 -1
- pulumi_oci/aidocument/get_project.py +17 -2
- pulumi_oci/aidocument/get_projects.py +1 -1
- pulumi_oci/aidocument/model.py +188 -0
- pulumi_oci/aidocument/outputs.py +883 -8
- pulumi_oci/aidocument/processor_job.py +22 -4
- pulumi_oci/aidocument/project.py +50 -1
- pulumi_oci/apigateway/_inputs.py +608 -12
- pulumi_oci/apigateway/api.py +127 -38
- pulumi_oci/apigateway/certificate.py +122 -3
- pulumi_oci/apigateway/deployment.py +120 -3
- pulumi_oci/apigateway/gateway.py +124 -7
- pulumi_oci/apigateway/get_api.py +40 -1
- pulumi_oci/apigateway/get_certificate.py +41 -1
- pulumi_oci/apigateway/get_deployment.py +40 -1
- pulumi_oci/apigateway/get_gateway.py +40 -1
- pulumi_oci/apigateway/get_subscriber.py +40 -1
- pulumi_oci/apigateway/get_usage_plan.py +40 -1
- pulumi_oci/apigateway/outputs.py +1413 -39
- pulumi_oci/apigateway/subscriber.py +120 -3
- pulumi_oci/apigateway/usage_plan.py +127 -38
- pulumi_oci/apmconfig/_inputs.py +199 -15
- pulumi_oci/apmconfig/config.py +535 -17
- pulumi_oci/apmconfig/get_config.py +141 -1
- pulumi_oci/apmconfig/get_configs.py +2 -2
- pulumi_oci/apmconfig/outputs.py +509 -13
- pulumi_oci/apmtraces/__init__.py +5 -0
- pulumi_oci/apmtraces/_inputs.py +413 -0
- pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
- pulumi_oci/apmtraces/get_log.py +356 -0
- pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
- pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
- pulumi_oci/apmtraces/get_trace.py +4 -4
- pulumi_oci/apmtraces/outputs.py +971 -0
- pulumi_oci/apmtraces/scheduled_query.py +925 -0
- pulumi_oci/autoscaling/_inputs.py +177 -13
- pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
- pulumi_oci/autoscaling/outputs.py +269 -23
- pulumi_oci/core/_inputs.py +184 -0
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/ipv6.py +49 -0
- pulumi_oci/core/outputs.py +365 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +139 -7
- pulumi_oci/database/autonomous_container_database.py +94 -0
- pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
- pulumi_oci/database/autonomous_database.py +578 -568
- pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
- pulumi_oci/database/get_autonomous_container_database.py +29 -1
- pulumi_oci/database/get_autonomous_database.py +65 -1
- pulumi_oci/database/get_autonomous_databases.py +6 -1
- pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
- pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
- pulumi_oci/database/outputs.py +470 -75
- pulumi_oci/database/pluggable_database.py +0 -14
- pulumi_oci/database/pluggable_database_snapshot.py +539 -0
- pulumi_oci/databasemanagement/__init__.py +37 -0
- pulumi_oci/databasemanagement/_inputs.py +9516 -3414
- pulumi_oci/databasemanagement/cloud_asm.py +791 -0
- pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
- pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
- pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
- pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
- pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
- pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
- pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
- pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
- pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
- pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
- pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
- pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
- pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
- pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
- pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
- pulumi_oci/databasemanagement/get_managed_database.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +18049 -4222
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +2 -2
- pulumi_oci/datasafe/get_security_assessments.py +2 -2
- pulumi_oci/datasafe/outputs.py +192 -2
- pulumi_oci/datascience/__init__.py +10 -0
- pulumi_oci/datascience/_inputs.py +6760 -2206
- pulumi_oci/datascience/get_job.py +15 -1
- pulumi_oci/datascience/get_job_run.py +44 -2
- pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
- pulumi_oci/datascience/get_model_group.py +405 -0
- pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
- pulumi_oci/datascience/get_model_group_models.py +240 -0
- pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
- pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
- pulumi_oci/datascience/get_model_groups.py +265 -0
- pulumi_oci/datascience/get_pipeline_run.py +15 -1
- pulumi_oci/datascience/job.py +81 -154
- pulumi_oci/datascience/job_run.py +250 -4
- pulumi_oci/datascience/model_group.py +1111 -0
- pulumi_oci/datascience/model_group_artifact.py +369 -0
- pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
- pulumi_oci/datascience/notebook_session.py +4 -0
- pulumi_oci/datascience/outputs.py +17168 -8021
- pulumi_oci/datascience/pipeline_run.py +87 -0
- pulumi_oci/goldengate/_inputs.py +3 -3
- pulumi_oci/goldengate/connection.py +175 -56
- pulumi_oci/goldengate/get_connection.py +20 -4
- pulumi_oci/goldengate/outputs.py +27 -8
- pulumi_oci/managementagent/__init__.py +4 -0
- pulumi_oci/managementagent/_inputs.py +129 -0
- pulumi_oci/managementagent/get_management_agent.py +26 -1
- pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
- pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
- pulumi_oci/managementagent/get_named_credential.py +268 -0
- pulumi_oci/managementagent/get_named_credentials.py +221 -0
- pulumi_oci/managementagent/management_agent.py +48 -0
- pulumi_oci/managementagent/management_agent_install_key.py +84 -0
- pulumi_oci/managementagent/named_credential.py +706 -0
- pulumi_oci/managementagent/outputs.py +515 -0
- pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
- pulumi_oci/oci/__init__.py +3 -0
- pulumi_oci/oci/_inputs.py +146 -0
- pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
- pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
- pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
- pulumi_oci/oci/outputs.py +367 -0
- pulumi_oci/opsi/_inputs.py +1001 -149
- pulumi_oci/opsi/database_insight.py +22 -3
- pulumi_oci/opsi/exadata_insight.py +86 -6
- pulumi_oci/opsi/outputs.py +1438 -178
- pulumi_oci/psql/configuration.py +109 -19
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/get_configuration.py +30 -2
- pulumi_oci/psql/get_configurations.py +49 -5
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_default_configuration.py +30 -4
- pulumi_oci/psql/get_default_configurations.py +49 -5
- pulumi_oci/psql/outputs.py +47 -14
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +6 -0
- pulumi_oci/redis/_inputs.py +217 -0
- pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
- pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
- pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
- pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
- pulumi_oci/redis/get_redis_cluster.py +15 -1
- pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
- pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
- pulumi_oci/redis/outputs.py +713 -0
- pulumi_oci/redis/redis_cluster.py +49 -0
- pulumi_oci/vault/_inputs.py +198 -0
- pulumi_oci/vault/get_secret.py +43 -1
- pulumi_oci/vault/outputs.py +434 -0
- pulumi_oci/vault/secret.py +103 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/RECORD +185 -134
- pulumi_oci/aianomalydetection/__init__.py +0 -25
- pulumi_oci/aianomalydetection/_inputs.py +0 -1742
- pulumi_oci/aianomalydetection/ai_private_endpoint.py +0 -643
- pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
- pulumi_oci/aianomalydetection/get_ai_private_endpoint.py +0 -281
- pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
- pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
- pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
- pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
- pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
- pulumi_oci/aianomalydetection/outputs.py +0 -3699
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,369 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
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__ = ['ModelGroupArtifactArgs', 'ModelGroupArtifact']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ModelGroupArtifactArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
content_length: pulumi.Input[_builtins.str],
|
23
|
+
model_group_artifact: pulumi.Input[_builtins.str],
|
24
|
+
model_group_id: pulumi.Input[_builtins.str],
|
25
|
+
content_disposition: Optional[pulumi.Input[_builtins.str]] = None):
|
26
|
+
"""
|
27
|
+
The set of arguments for constructing a ModelGroupArtifact resource.
|
28
|
+
:param pulumi.Input[_builtins.str] content_length: The content length of the body.
|
29
|
+
:param pulumi.Input[_builtins.str] model_group_artifact: The model group artifact to upload.
|
30
|
+
:param pulumi.Input[_builtins.str] model_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup.
|
31
|
+
|
32
|
+
|
33
|
+
** IMPORTANT **
|
34
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
35
|
+
:param pulumi.Input[_builtins.str] content_disposition: 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"}`
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "content_length", content_length)
|
38
|
+
pulumi.set(__self__, "model_group_artifact", model_group_artifact)
|
39
|
+
pulumi.set(__self__, "model_group_id", model_group_id)
|
40
|
+
if content_disposition is not None:
|
41
|
+
pulumi.set(__self__, "content_disposition", content_disposition)
|
42
|
+
|
43
|
+
@_builtins.property
|
44
|
+
@pulumi.getter(name="contentLength")
|
45
|
+
def content_length(self) -> pulumi.Input[_builtins.str]:
|
46
|
+
"""
|
47
|
+
The content length of the body.
|
48
|
+
"""
|
49
|
+
return pulumi.get(self, "content_length")
|
50
|
+
|
51
|
+
@content_length.setter
|
52
|
+
def content_length(self, value: pulumi.Input[_builtins.str]):
|
53
|
+
pulumi.set(self, "content_length", value)
|
54
|
+
|
55
|
+
@_builtins.property
|
56
|
+
@pulumi.getter(name="modelGroupArtifact")
|
57
|
+
def model_group_artifact(self) -> pulumi.Input[_builtins.str]:
|
58
|
+
"""
|
59
|
+
The model group artifact to upload.
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "model_group_artifact")
|
62
|
+
|
63
|
+
@model_group_artifact.setter
|
64
|
+
def model_group_artifact(self, value: pulumi.Input[_builtins.str]):
|
65
|
+
pulumi.set(self, "model_group_artifact", value)
|
66
|
+
|
67
|
+
@_builtins.property
|
68
|
+
@pulumi.getter(name="modelGroupId")
|
69
|
+
def model_group_id(self) -> pulumi.Input[_builtins.str]:
|
70
|
+
"""
|
71
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup.
|
72
|
+
|
73
|
+
|
74
|
+
** IMPORTANT **
|
75
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "model_group_id")
|
78
|
+
|
79
|
+
@model_group_id.setter
|
80
|
+
def model_group_id(self, value: pulumi.Input[_builtins.str]):
|
81
|
+
pulumi.set(self, "model_group_id", value)
|
82
|
+
|
83
|
+
@_builtins.property
|
84
|
+
@pulumi.getter(name="contentDisposition")
|
85
|
+
def content_disposition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
86
|
+
"""
|
87
|
+
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"}`
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "content_disposition")
|
90
|
+
|
91
|
+
@content_disposition.setter
|
92
|
+
def content_disposition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
93
|
+
pulumi.set(self, "content_disposition", value)
|
94
|
+
|
95
|
+
|
96
|
+
@pulumi.input_type
|
97
|
+
class _ModelGroupArtifactState:
|
98
|
+
def __init__(__self__, *,
|
99
|
+
content_disposition: Optional[pulumi.Input[_builtins.str]] = None,
|
100
|
+
content_length: Optional[pulumi.Input[_builtins.str]] = None,
|
101
|
+
model_group_artifact: Optional[pulumi.Input[_builtins.str]] = None,
|
102
|
+
model_group_id: Optional[pulumi.Input[_builtins.str]] = None):
|
103
|
+
"""
|
104
|
+
Input properties used for looking up and filtering ModelGroupArtifact resources.
|
105
|
+
:param pulumi.Input[_builtins.str] content_disposition: 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"}`
|
106
|
+
:param pulumi.Input[_builtins.str] content_length: The content length of the body.
|
107
|
+
:param pulumi.Input[_builtins.str] model_group_artifact: The model group artifact to upload.
|
108
|
+
:param pulumi.Input[_builtins.str] model_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup.
|
109
|
+
|
110
|
+
|
111
|
+
** IMPORTANT **
|
112
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
113
|
+
"""
|
114
|
+
if content_disposition is not None:
|
115
|
+
pulumi.set(__self__, "content_disposition", content_disposition)
|
116
|
+
if content_length is not None:
|
117
|
+
pulumi.set(__self__, "content_length", content_length)
|
118
|
+
if model_group_artifact is not None:
|
119
|
+
pulumi.set(__self__, "model_group_artifact", model_group_artifact)
|
120
|
+
if model_group_id is not None:
|
121
|
+
pulumi.set(__self__, "model_group_id", model_group_id)
|
122
|
+
|
123
|
+
@_builtins.property
|
124
|
+
@pulumi.getter(name="contentDisposition")
|
125
|
+
def content_disposition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
126
|
+
"""
|
127
|
+
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"}`
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "content_disposition")
|
130
|
+
|
131
|
+
@content_disposition.setter
|
132
|
+
def content_disposition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
133
|
+
pulumi.set(self, "content_disposition", value)
|
134
|
+
|
135
|
+
@_builtins.property
|
136
|
+
@pulumi.getter(name="contentLength")
|
137
|
+
def content_length(self) -> Optional[pulumi.Input[_builtins.str]]:
|
138
|
+
"""
|
139
|
+
The content length of the body.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "content_length")
|
142
|
+
|
143
|
+
@content_length.setter
|
144
|
+
def content_length(self, value: Optional[pulumi.Input[_builtins.str]]):
|
145
|
+
pulumi.set(self, "content_length", value)
|
146
|
+
|
147
|
+
@_builtins.property
|
148
|
+
@pulumi.getter(name="modelGroupArtifact")
|
149
|
+
def model_group_artifact(self) -> Optional[pulumi.Input[_builtins.str]]:
|
150
|
+
"""
|
151
|
+
The model group artifact to upload.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "model_group_artifact")
|
154
|
+
|
155
|
+
@model_group_artifact.setter
|
156
|
+
def model_group_artifact(self, value: Optional[pulumi.Input[_builtins.str]]):
|
157
|
+
pulumi.set(self, "model_group_artifact", value)
|
158
|
+
|
159
|
+
@_builtins.property
|
160
|
+
@pulumi.getter(name="modelGroupId")
|
161
|
+
def model_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
162
|
+
"""
|
163
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup.
|
164
|
+
|
165
|
+
|
166
|
+
** IMPORTANT **
|
167
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "model_group_id")
|
170
|
+
|
171
|
+
@model_group_id.setter
|
172
|
+
def model_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
173
|
+
pulumi.set(self, "model_group_id", value)
|
174
|
+
|
175
|
+
|
176
|
+
@pulumi.type_token("oci:DataScience/modelGroupArtifact:ModelGroupArtifact")
|
177
|
+
class ModelGroupArtifact(pulumi.CustomResource):
|
178
|
+
@overload
|
179
|
+
def __init__(__self__,
|
180
|
+
resource_name: str,
|
181
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
182
|
+
content_disposition: Optional[pulumi.Input[_builtins.str]] = None,
|
183
|
+
content_length: Optional[pulumi.Input[_builtins.str]] = None,
|
184
|
+
model_group_artifact: Optional[pulumi.Input[_builtins.str]] = None,
|
185
|
+
model_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
186
|
+
__props__=None):
|
187
|
+
"""
|
188
|
+
This resource provides the Model Group Artifact resource in Oracle Cloud Infrastructure Data Science service.
|
189
|
+
|
190
|
+
Creates artifact for the Model Group.
|
191
|
+
|
192
|
+
## Example Usage
|
193
|
+
|
194
|
+
```python
|
195
|
+
import pulumi
|
196
|
+
import pulumi_oci as oci
|
197
|
+
|
198
|
+
test_model_group_artifact = oci.datascience.ModelGroupArtifact("test_model_group_artifact",
|
199
|
+
model_group_artifact=model_group_artifact_model_group_artifact,
|
200
|
+
content_length=model_group_artifact_content_length,
|
201
|
+
model_group_id=test_model_group["id"],
|
202
|
+
content_disposition=model_group_artifact_content_disposition)
|
203
|
+
```
|
204
|
+
|
205
|
+
## Import
|
206
|
+
|
207
|
+
ModelGroupArtifacts can be imported using the `id`, e.g.
|
208
|
+
|
209
|
+
```sh
|
210
|
+
$ pulumi import oci:DataScience/modelGroupArtifact:ModelGroupArtifact test_model_group_artifact "id"
|
211
|
+
```
|
212
|
+
|
213
|
+
:param str resource_name: The name of the resource.
|
214
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
215
|
+
:param pulumi.Input[_builtins.str] content_disposition: 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"}`
|
216
|
+
:param pulumi.Input[_builtins.str] content_length: The content length of the body.
|
217
|
+
:param pulumi.Input[_builtins.str] model_group_artifact: The model group artifact to upload.
|
218
|
+
:param pulumi.Input[_builtins.str] model_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup.
|
219
|
+
|
220
|
+
|
221
|
+
** IMPORTANT **
|
222
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
223
|
+
"""
|
224
|
+
...
|
225
|
+
@overload
|
226
|
+
def __init__(__self__,
|
227
|
+
resource_name: str,
|
228
|
+
args: ModelGroupArtifactArgs,
|
229
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
230
|
+
"""
|
231
|
+
This resource provides the Model Group Artifact resource in Oracle Cloud Infrastructure Data Science service.
|
232
|
+
|
233
|
+
Creates artifact for the Model Group.
|
234
|
+
|
235
|
+
## Example Usage
|
236
|
+
|
237
|
+
```python
|
238
|
+
import pulumi
|
239
|
+
import pulumi_oci as oci
|
240
|
+
|
241
|
+
test_model_group_artifact = oci.datascience.ModelGroupArtifact("test_model_group_artifact",
|
242
|
+
model_group_artifact=model_group_artifact_model_group_artifact,
|
243
|
+
content_length=model_group_artifact_content_length,
|
244
|
+
model_group_id=test_model_group["id"],
|
245
|
+
content_disposition=model_group_artifact_content_disposition)
|
246
|
+
```
|
247
|
+
|
248
|
+
## Import
|
249
|
+
|
250
|
+
ModelGroupArtifacts can be imported using the `id`, e.g.
|
251
|
+
|
252
|
+
```sh
|
253
|
+
$ pulumi import oci:DataScience/modelGroupArtifact:ModelGroupArtifact test_model_group_artifact "id"
|
254
|
+
```
|
255
|
+
|
256
|
+
:param str resource_name: The name of the resource.
|
257
|
+
:param ModelGroupArtifactArgs args: The arguments to use to populate this resource's properties.
|
258
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
259
|
+
"""
|
260
|
+
...
|
261
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
262
|
+
resource_args, opts = _utilities.get_resource_args_opts(ModelGroupArtifactArgs, pulumi.ResourceOptions, *args, **kwargs)
|
263
|
+
if resource_args is not None:
|
264
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
265
|
+
else:
|
266
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
267
|
+
|
268
|
+
def _internal_init(__self__,
|
269
|
+
resource_name: str,
|
270
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
271
|
+
content_disposition: Optional[pulumi.Input[_builtins.str]] = None,
|
272
|
+
content_length: Optional[pulumi.Input[_builtins.str]] = None,
|
273
|
+
model_group_artifact: Optional[pulumi.Input[_builtins.str]] = None,
|
274
|
+
model_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
275
|
+
__props__=None):
|
276
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
277
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
278
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
279
|
+
if opts.id is None:
|
280
|
+
if __props__ is not None:
|
281
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
282
|
+
__props__ = ModelGroupArtifactArgs.__new__(ModelGroupArtifactArgs)
|
283
|
+
|
284
|
+
__props__.__dict__["content_disposition"] = content_disposition
|
285
|
+
if content_length is None and not opts.urn:
|
286
|
+
raise TypeError("Missing required property 'content_length'")
|
287
|
+
__props__.__dict__["content_length"] = content_length
|
288
|
+
if model_group_artifact is None and not opts.urn:
|
289
|
+
raise TypeError("Missing required property 'model_group_artifact'")
|
290
|
+
__props__.__dict__["model_group_artifact"] = model_group_artifact
|
291
|
+
if model_group_id is None and not opts.urn:
|
292
|
+
raise TypeError("Missing required property 'model_group_id'")
|
293
|
+
__props__.__dict__["model_group_id"] = model_group_id
|
294
|
+
super(ModelGroupArtifact, __self__).__init__(
|
295
|
+
'oci:DataScience/modelGroupArtifact:ModelGroupArtifact',
|
296
|
+
resource_name,
|
297
|
+
__props__,
|
298
|
+
opts)
|
299
|
+
|
300
|
+
@staticmethod
|
301
|
+
def get(resource_name: str,
|
302
|
+
id: pulumi.Input[str],
|
303
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
304
|
+
content_disposition: Optional[pulumi.Input[_builtins.str]] = None,
|
305
|
+
content_length: Optional[pulumi.Input[_builtins.str]] = None,
|
306
|
+
model_group_artifact: Optional[pulumi.Input[_builtins.str]] = None,
|
307
|
+
model_group_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ModelGroupArtifact':
|
308
|
+
"""
|
309
|
+
Get an existing ModelGroupArtifact resource's state with the given name, id, and optional extra
|
310
|
+
properties used to qualify the lookup.
|
311
|
+
|
312
|
+
:param str resource_name: The unique name of the resulting resource.
|
313
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
314
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
315
|
+
:param pulumi.Input[_builtins.str] content_disposition: 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"}`
|
316
|
+
:param pulumi.Input[_builtins.str] content_length: The content length of the body.
|
317
|
+
:param pulumi.Input[_builtins.str] model_group_artifact: The model group artifact to upload.
|
318
|
+
:param pulumi.Input[_builtins.str] model_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup.
|
319
|
+
|
320
|
+
|
321
|
+
** IMPORTANT **
|
322
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
323
|
+
"""
|
324
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
325
|
+
|
326
|
+
__props__ = _ModelGroupArtifactState.__new__(_ModelGroupArtifactState)
|
327
|
+
|
328
|
+
__props__.__dict__["content_disposition"] = content_disposition
|
329
|
+
__props__.__dict__["content_length"] = content_length
|
330
|
+
__props__.__dict__["model_group_artifact"] = model_group_artifact
|
331
|
+
__props__.__dict__["model_group_id"] = model_group_id
|
332
|
+
return ModelGroupArtifact(resource_name, opts=opts, __props__=__props__)
|
333
|
+
|
334
|
+
@_builtins.property
|
335
|
+
@pulumi.getter(name="contentDisposition")
|
336
|
+
def content_disposition(self) -> pulumi.Output[_builtins.str]:
|
337
|
+
"""
|
338
|
+
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"}`
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "content_disposition")
|
341
|
+
|
342
|
+
@_builtins.property
|
343
|
+
@pulumi.getter(name="contentLength")
|
344
|
+
def content_length(self) -> pulumi.Output[_builtins.str]:
|
345
|
+
"""
|
346
|
+
The content length of the body.
|
347
|
+
"""
|
348
|
+
return pulumi.get(self, "content_length")
|
349
|
+
|
350
|
+
@_builtins.property
|
351
|
+
@pulumi.getter(name="modelGroupArtifact")
|
352
|
+
def model_group_artifact(self) -> pulumi.Output[_builtins.str]:
|
353
|
+
"""
|
354
|
+
The model group artifact to upload.
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "model_group_artifact")
|
357
|
+
|
358
|
+
@_builtins.property
|
359
|
+
@pulumi.getter(name="modelGroupId")
|
360
|
+
def model_group_id(self) -> pulumi.Output[_builtins.str]:
|
361
|
+
"""
|
362
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup.
|
363
|
+
|
364
|
+
|
365
|
+
** IMPORTANT **
|
366
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
367
|
+
"""
|
368
|
+
return pulumi.get(self, "model_group_id")
|
369
|
+
|