pulumi-oci 2.29.0a1744186202__py3-none-any.whl → 2.30.0a1744266639__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 +46 -0
- pulumi_oci/bigdataservice/bds_instance.py +7 -7
- pulumi_oci/datascience/__init__.py +9 -0
- pulumi_oci/datascience/_inputs.py +1215 -0
- pulumi_oci/datascience/get_ml_application.py +254 -0
- pulumi_oci/datascience/get_ml_application_implementation.py +389 -0
- pulumi_oci/datascience/get_ml_application_implementations.py +252 -0
- pulumi_oci/datascience/get_ml_application_instance.py +367 -0
- pulumi_oci/datascience/get_ml_application_instances.py +214 -0
- pulumi_oci/datascience/get_ml_applications.py +230 -0
- pulumi_oci/datascience/ml_application.py +564 -0
- pulumi_oci/datascience/ml_application_implementation.py +969 -0
- pulumi_oci/datascience/ml_application_instance.py +832 -0
- pulumi_oci/datascience/outputs.py +7154 -4464
- pulumi_oci/lustre/__init__.py +13 -0
- pulumi_oci/lustre/_inputs.py +219 -0
- pulumi_oci/lustre/file_storage_lustre_file_system.py +1184 -0
- pulumi_oci/lustre/get_file_storage_lustre_file_system.py +451 -0
- pulumi_oci/lustre/get_file_storage_lustre_file_systems.py +222 -0
- pulumi_oci/lustre/outputs.py +639 -0
- pulumi_oci/oci/__init__.py +13 -0
- pulumi_oci/oci/_inputs.py +219 -0
- pulumi_oci/oci/get_lustre_file_storage_lustre_file_system.py +455 -0
- pulumi_oci/oci/get_lustre_file_storage_lustre_file_systems.py +226 -0
- pulumi_oci/oci/lustre_file_storage_lustre_file_system.py +1188 -0
- pulumi_oci/oci/outputs.py +639 -0
- pulumi_oci/opsi/get_operations_insights_warehouse.py +16 -2
- pulumi_oci/opsi/operations_insights_warehouse.py +56 -7
- pulumi_oci/opsi/outputs.py +13 -2
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/stackmonitoring/_inputs.py +1423 -51
- pulumi_oci/stackmonitoring/get_monitored_resource_task.py +16 -2
- pulumi_oci/stackmonitoring/get_monitored_resource_type.py +58 -2
- pulumi_oci/stackmonitoring/get_monitored_resource_types.py +46 -2
- pulumi_oci/stackmonitoring/monitored_resource_task.py +116 -4
- pulumi_oci/stackmonitoring/monitored_resource_type.py +119 -7
- pulumi_oci/stackmonitoring/outputs.py +6195 -3496
- {pulumi_oci-2.29.0a1744186202.dist-info → pulumi_oci-2.30.0a1744266639.dist-info}/METADATA +1 -1
- {pulumi_oci-2.29.0a1744186202.dist-info → pulumi_oci-2.30.0a1744266639.dist-info}/RECORD +41 -20
- {pulumi_oci-2.29.0a1744186202.dist-info → pulumi_oci-2.30.0a1744266639.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.29.0a1744186202.dist-info → pulumi_oci-2.30.0a1744266639.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,969 @@
|
|
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 builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = ['MlApplicationImplementationArgs', 'MlApplicationImplementation']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class MlApplicationImplementationArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
compartment_id: pulumi.Input[builtins.str],
|
26
|
+
ml_application_id: pulumi.Input[builtins.str],
|
27
|
+
allowed_migration_destinations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
28
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
29
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
30
|
+
logging: Optional[pulumi.Input['MlApplicationImplementationLoggingArgs']] = None,
|
31
|
+
ml_application_package: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
32
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
33
|
+
opc_ml_app_package_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
|
34
|
+
"""
|
35
|
+
The set of arguments for constructing a MlApplicationImplementation resource.
|
36
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where ML Application Implementation is created.
|
37
|
+
:param pulumi.Input[builtins.str] ml_application_id: The OCID of the ML Application implemented by this ML Application Implementation
|
38
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_migration_destinations: (Updatable) List of ML Application Implementation OCIDs for which migration from this implementation is allowed. Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
|
39
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
40
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
41
|
+
:param pulumi.Input['MlApplicationImplementationLoggingArgs'] logging: (Updatable) Configuration of Logging for ML Application Implementation.
|
42
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] ml_application_package: (Updatable) Configuration of The ML Application Package to upload.
|
43
|
+
:param pulumi.Input[builtins.str] name: ML Application Implementation name which is unique for given ML Application.
|
44
|
+
|
45
|
+
|
46
|
+
** IMPORTANT **
|
47
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
48
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] opc_ml_app_package_args: (Updatable) ML Application package arguments required during ML Application package upload. Each argument is a simple key-value pair.
|
49
|
+
"""
|
50
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
51
|
+
pulumi.set(__self__, "ml_application_id", ml_application_id)
|
52
|
+
if allowed_migration_destinations is not None:
|
53
|
+
pulumi.set(__self__, "allowed_migration_destinations", allowed_migration_destinations)
|
54
|
+
if defined_tags is not None:
|
55
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
56
|
+
if freeform_tags is not None:
|
57
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
58
|
+
if logging is not None:
|
59
|
+
pulumi.set(__self__, "logging", logging)
|
60
|
+
if ml_application_package is not None:
|
61
|
+
pulumi.set(__self__, "ml_application_package", ml_application_package)
|
62
|
+
if name is not None:
|
63
|
+
pulumi.set(__self__, "name", name)
|
64
|
+
if opc_ml_app_package_args is not None:
|
65
|
+
pulumi.set(__self__, "opc_ml_app_package_args", opc_ml_app_package_args)
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="compartmentId")
|
69
|
+
def compartment_id(self) -> pulumi.Input[builtins.str]:
|
70
|
+
"""
|
71
|
+
(Updatable) The OCID of the compartment where ML Application Implementation is created.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "compartment_id")
|
74
|
+
|
75
|
+
@compartment_id.setter
|
76
|
+
def compartment_id(self, value: pulumi.Input[builtins.str]):
|
77
|
+
pulumi.set(self, "compartment_id", value)
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="mlApplicationId")
|
81
|
+
def ml_application_id(self) -> pulumi.Input[builtins.str]:
|
82
|
+
"""
|
83
|
+
The OCID of the ML Application implemented by this ML Application Implementation
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "ml_application_id")
|
86
|
+
|
87
|
+
@ml_application_id.setter
|
88
|
+
def ml_application_id(self, value: pulumi.Input[builtins.str]):
|
89
|
+
pulumi.set(self, "ml_application_id", value)
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="allowedMigrationDestinations")
|
93
|
+
def allowed_migration_destinations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
94
|
+
"""
|
95
|
+
(Updatable) List of ML Application Implementation OCIDs for which migration from this implementation is allowed. Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "allowed_migration_destinations")
|
98
|
+
|
99
|
+
@allowed_migration_destinations.setter
|
100
|
+
def allowed_migration_destinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
101
|
+
pulumi.set(self, "allowed_migration_destinations", value)
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="definedTags")
|
105
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
106
|
+
"""
|
107
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "defined_tags")
|
110
|
+
|
111
|
+
@defined_tags.setter
|
112
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
113
|
+
pulumi.set(self, "defined_tags", value)
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="freeformTags")
|
117
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
118
|
+
"""
|
119
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "freeform_tags")
|
122
|
+
|
123
|
+
@freeform_tags.setter
|
124
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
125
|
+
pulumi.set(self, "freeform_tags", value)
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter
|
129
|
+
def logging(self) -> Optional[pulumi.Input['MlApplicationImplementationLoggingArgs']]:
|
130
|
+
"""
|
131
|
+
(Updatable) Configuration of Logging for ML Application Implementation.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "logging")
|
134
|
+
|
135
|
+
@logging.setter
|
136
|
+
def logging(self, value: Optional[pulumi.Input['MlApplicationImplementationLoggingArgs']]):
|
137
|
+
pulumi.set(self, "logging", value)
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="mlApplicationPackage")
|
141
|
+
def ml_application_package(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
142
|
+
"""
|
143
|
+
(Updatable) Configuration of The ML Application Package to upload.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "ml_application_package")
|
146
|
+
|
147
|
+
@ml_application_package.setter
|
148
|
+
def ml_application_package(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
149
|
+
pulumi.set(self, "ml_application_package", value)
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter
|
153
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
154
|
+
"""
|
155
|
+
ML Application Implementation name which is unique for given ML Application.
|
156
|
+
|
157
|
+
|
158
|
+
** IMPORTANT **
|
159
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "name")
|
162
|
+
|
163
|
+
@name.setter
|
164
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
165
|
+
pulumi.set(self, "name", value)
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter(name="opcMlAppPackageArgs")
|
169
|
+
def opc_ml_app_package_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
170
|
+
"""
|
171
|
+
(Updatable) ML Application package arguments required during ML Application package upload. Each argument is a simple key-value pair.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "opc_ml_app_package_args")
|
174
|
+
|
175
|
+
@opc_ml_app_package_args.setter
|
176
|
+
def opc_ml_app_package_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
177
|
+
pulumi.set(self, "opc_ml_app_package_args", value)
|
178
|
+
|
179
|
+
|
180
|
+
@pulumi.input_type
|
181
|
+
class _MlApplicationImplementationState:
|
182
|
+
def __init__(__self__, *,
|
183
|
+
allowed_migration_destinations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
184
|
+
application_components: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationApplicationComponentArgs']]]] = None,
|
185
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
186
|
+
configuration_schemas: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationConfigurationSchemaArgs']]]] = None,
|
187
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
188
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
189
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
190
|
+
lifecycle_details: Optional[pulumi.Input[builtins.str]] = None,
|
191
|
+
logging: Optional[pulumi.Input['MlApplicationImplementationLoggingArgs']] = None,
|
192
|
+
ml_application_id: Optional[pulumi.Input[builtins.str]] = None,
|
193
|
+
ml_application_name: Optional[pulumi.Input[builtins.str]] = None,
|
194
|
+
ml_application_package: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
195
|
+
ml_application_package_arguments: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationMlApplicationPackageArgumentArgs']]]] = None,
|
196
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
197
|
+
opc_ml_app_package_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
198
|
+
package_version: Optional[pulumi.Input[builtins.str]] = None,
|
199
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
200
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
201
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
202
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None):
|
203
|
+
"""
|
204
|
+
Input properties used for looking up and filtering MlApplicationImplementation resources.
|
205
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_migration_destinations: (Updatable) List of ML Application Implementation OCIDs for which migration from this implementation is allowed. Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
|
206
|
+
:param pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationApplicationComponentArgs']]] application_components: List of application components (OCI resources shared for all MlApplicationInstances). These have been created automatically based on their definitions in the ML Application package.
|
207
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where ML Application Implementation is created.
|
208
|
+
:param pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationConfigurationSchemaArgs']]] configuration_schemas: Schema of configuration which needs to be provided for each ML Application Instance. It is defined in the ML Application package descriptor.
|
209
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
210
|
+
:param pulumi.Input[builtins.str] description: short description of the argument
|
211
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
212
|
+
:param pulumi.Input[builtins.str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
213
|
+
:param pulumi.Input['MlApplicationImplementationLoggingArgs'] logging: (Updatable) Configuration of Logging for ML Application Implementation.
|
214
|
+
:param pulumi.Input[builtins.str] ml_application_id: The OCID of the ML Application implemented by this ML Application Implementation
|
215
|
+
:param pulumi.Input[builtins.str] ml_application_name: The name of ML Application (based on mlApplicationId)
|
216
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] ml_application_package: (Updatable) Configuration of The ML Application Package to upload.
|
217
|
+
:param pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationMlApplicationPackageArgumentArgs']]] ml_application_package_arguments: List of ML Application package arguments provided during ML Application package upload.
|
218
|
+
:param pulumi.Input[builtins.str] name: ML Application Implementation name which is unique for given ML Application.
|
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
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] opc_ml_app_package_args: (Updatable) ML Application package arguments required during ML Application package upload. Each argument is a simple key-value pair.
|
224
|
+
:param pulumi.Input[builtins.str] package_version: The version of ML Application Package (e.g. "1.2" or "2.0.4") defined in ML Application package descriptor. Value is not mandatory only for CREATING state otherwise it must be always presented.
|
225
|
+
:param pulumi.Input[builtins.str] state: The current state of the MlApplicationImplementation.
|
226
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
227
|
+
:param pulumi.Input[builtins.str] time_created: Creation time of MlApplicationImplementation creation in the format defined by RFC 3339.
|
228
|
+
:param pulumi.Input[builtins.str] time_updated: Time of last MlApplicationImplementation update in the format defined by RFC 3339.
|
229
|
+
"""
|
230
|
+
if allowed_migration_destinations is not None:
|
231
|
+
pulumi.set(__self__, "allowed_migration_destinations", allowed_migration_destinations)
|
232
|
+
if application_components is not None:
|
233
|
+
pulumi.set(__self__, "application_components", application_components)
|
234
|
+
if compartment_id is not None:
|
235
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
236
|
+
if configuration_schemas is not None:
|
237
|
+
pulumi.set(__self__, "configuration_schemas", configuration_schemas)
|
238
|
+
if defined_tags is not None:
|
239
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
240
|
+
if description is not None:
|
241
|
+
pulumi.set(__self__, "description", description)
|
242
|
+
if freeform_tags is not None:
|
243
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
244
|
+
if lifecycle_details is not None:
|
245
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
246
|
+
if logging is not None:
|
247
|
+
pulumi.set(__self__, "logging", logging)
|
248
|
+
if ml_application_id is not None:
|
249
|
+
pulumi.set(__self__, "ml_application_id", ml_application_id)
|
250
|
+
if ml_application_name is not None:
|
251
|
+
pulumi.set(__self__, "ml_application_name", ml_application_name)
|
252
|
+
if ml_application_package is not None:
|
253
|
+
pulumi.set(__self__, "ml_application_package", ml_application_package)
|
254
|
+
if ml_application_package_arguments is not None:
|
255
|
+
pulumi.set(__self__, "ml_application_package_arguments", ml_application_package_arguments)
|
256
|
+
if name is not None:
|
257
|
+
pulumi.set(__self__, "name", name)
|
258
|
+
if opc_ml_app_package_args is not None:
|
259
|
+
pulumi.set(__self__, "opc_ml_app_package_args", opc_ml_app_package_args)
|
260
|
+
if package_version is not None:
|
261
|
+
pulumi.set(__self__, "package_version", package_version)
|
262
|
+
if state is not None:
|
263
|
+
pulumi.set(__self__, "state", state)
|
264
|
+
if system_tags is not None:
|
265
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
266
|
+
if time_created is not None:
|
267
|
+
pulumi.set(__self__, "time_created", time_created)
|
268
|
+
if time_updated is not None:
|
269
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
270
|
+
|
271
|
+
@property
|
272
|
+
@pulumi.getter(name="allowedMigrationDestinations")
|
273
|
+
def allowed_migration_destinations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
274
|
+
"""
|
275
|
+
(Updatable) List of ML Application Implementation OCIDs for which migration from this implementation is allowed. Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
|
276
|
+
"""
|
277
|
+
return pulumi.get(self, "allowed_migration_destinations")
|
278
|
+
|
279
|
+
@allowed_migration_destinations.setter
|
280
|
+
def allowed_migration_destinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
281
|
+
pulumi.set(self, "allowed_migration_destinations", value)
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter(name="applicationComponents")
|
285
|
+
def application_components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationApplicationComponentArgs']]]]:
|
286
|
+
"""
|
287
|
+
List of application components (OCI resources shared for all MlApplicationInstances). These have been created automatically based on their definitions in the ML Application package.
|
288
|
+
"""
|
289
|
+
return pulumi.get(self, "application_components")
|
290
|
+
|
291
|
+
@application_components.setter
|
292
|
+
def application_components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationApplicationComponentArgs']]]]):
|
293
|
+
pulumi.set(self, "application_components", value)
|
294
|
+
|
295
|
+
@property
|
296
|
+
@pulumi.getter(name="compartmentId")
|
297
|
+
def compartment_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
298
|
+
"""
|
299
|
+
(Updatable) The OCID of the compartment where ML Application Implementation is created.
|
300
|
+
"""
|
301
|
+
return pulumi.get(self, "compartment_id")
|
302
|
+
|
303
|
+
@compartment_id.setter
|
304
|
+
def compartment_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
305
|
+
pulumi.set(self, "compartment_id", value)
|
306
|
+
|
307
|
+
@property
|
308
|
+
@pulumi.getter(name="configurationSchemas")
|
309
|
+
def configuration_schemas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationConfigurationSchemaArgs']]]]:
|
310
|
+
"""
|
311
|
+
Schema of configuration which needs to be provided for each ML Application Instance. It is defined in the ML Application package descriptor.
|
312
|
+
"""
|
313
|
+
return pulumi.get(self, "configuration_schemas")
|
314
|
+
|
315
|
+
@configuration_schemas.setter
|
316
|
+
def configuration_schemas(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationConfigurationSchemaArgs']]]]):
|
317
|
+
pulumi.set(self, "configuration_schemas", value)
|
318
|
+
|
319
|
+
@property
|
320
|
+
@pulumi.getter(name="definedTags")
|
321
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
322
|
+
"""
|
323
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
324
|
+
"""
|
325
|
+
return pulumi.get(self, "defined_tags")
|
326
|
+
|
327
|
+
@defined_tags.setter
|
328
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
329
|
+
pulumi.set(self, "defined_tags", value)
|
330
|
+
|
331
|
+
@property
|
332
|
+
@pulumi.getter
|
333
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
334
|
+
"""
|
335
|
+
short description of the argument
|
336
|
+
"""
|
337
|
+
return pulumi.get(self, "description")
|
338
|
+
|
339
|
+
@description.setter
|
340
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
341
|
+
pulumi.set(self, "description", value)
|
342
|
+
|
343
|
+
@property
|
344
|
+
@pulumi.getter(name="freeformTags")
|
345
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
346
|
+
"""
|
347
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
348
|
+
"""
|
349
|
+
return pulumi.get(self, "freeform_tags")
|
350
|
+
|
351
|
+
@freeform_tags.setter
|
352
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
353
|
+
pulumi.set(self, "freeform_tags", value)
|
354
|
+
|
355
|
+
@property
|
356
|
+
@pulumi.getter(name="lifecycleDetails")
|
357
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[builtins.str]]:
|
358
|
+
"""
|
359
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
360
|
+
"""
|
361
|
+
return pulumi.get(self, "lifecycle_details")
|
362
|
+
|
363
|
+
@lifecycle_details.setter
|
364
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[builtins.str]]):
|
365
|
+
pulumi.set(self, "lifecycle_details", value)
|
366
|
+
|
367
|
+
@property
|
368
|
+
@pulumi.getter
|
369
|
+
def logging(self) -> Optional[pulumi.Input['MlApplicationImplementationLoggingArgs']]:
|
370
|
+
"""
|
371
|
+
(Updatable) Configuration of Logging for ML Application Implementation.
|
372
|
+
"""
|
373
|
+
return pulumi.get(self, "logging")
|
374
|
+
|
375
|
+
@logging.setter
|
376
|
+
def logging(self, value: Optional[pulumi.Input['MlApplicationImplementationLoggingArgs']]):
|
377
|
+
pulumi.set(self, "logging", value)
|
378
|
+
|
379
|
+
@property
|
380
|
+
@pulumi.getter(name="mlApplicationId")
|
381
|
+
def ml_application_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
382
|
+
"""
|
383
|
+
The OCID of the ML Application implemented by this ML Application Implementation
|
384
|
+
"""
|
385
|
+
return pulumi.get(self, "ml_application_id")
|
386
|
+
|
387
|
+
@ml_application_id.setter
|
388
|
+
def ml_application_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
389
|
+
pulumi.set(self, "ml_application_id", value)
|
390
|
+
|
391
|
+
@property
|
392
|
+
@pulumi.getter(name="mlApplicationName")
|
393
|
+
def ml_application_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
394
|
+
"""
|
395
|
+
The name of ML Application (based on mlApplicationId)
|
396
|
+
"""
|
397
|
+
return pulumi.get(self, "ml_application_name")
|
398
|
+
|
399
|
+
@ml_application_name.setter
|
400
|
+
def ml_application_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
401
|
+
pulumi.set(self, "ml_application_name", value)
|
402
|
+
|
403
|
+
@property
|
404
|
+
@pulumi.getter(name="mlApplicationPackage")
|
405
|
+
def ml_application_package(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
406
|
+
"""
|
407
|
+
(Updatable) Configuration of The ML Application Package to upload.
|
408
|
+
"""
|
409
|
+
return pulumi.get(self, "ml_application_package")
|
410
|
+
|
411
|
+
@ml_application_package.setter
|
412
|
+
def ml_application_package(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
413
|
+
pulumi.set(self, "ml_application_package", value)
|
414
|
+
|
415
|
+
@property
|
416
|
+
@pulumi.getter(name="mlApplicationPackageArguments")
|
417
|
+
def ml_application_package_arguments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationMlApplicationPackageArgumentArgs']]]]:
|
418
|
+
"""
|
419
|
+
List of ML Application package arguments provided during ML Application package upload.
|
420
|
+
"""
|
421
|
+
return pulumi.get(self, "ml_application_package_arguments")
|
422
|
+
|
423
|
+
@ml_application_package_arguments.setter
|
424
|
+
def ml_application_package_arguments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationImplementationMlApplicationPackageArgumentArgs']]]]):
|
425
|
+
pulumi.set(self, "ml_application_package_arguments", value)
|
426
|
+
|
427
|
+
@property
|
428
|
+
@pulumi.getter
|
429
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
430
|
+
"""
|
431
|
+
ML Application Implementation name which is unique for given ML Application.
|
432
|
+
|
433
|
+
|
434
|
+
** IMPORTANT **
|
435
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
436
|
+
"""
|
437
|
+
return pulumi.get(self, "name")
|
438
|
+
|
439
|
+
@name.setter
|
440
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
441
|
+
pulumi.set(self, "name", value)
|
442
|
+
|
443
|
+
@property
|
444
|
+
@pulumi.getter(name="opcMlAppPackageArgs")
|
445
|
+
def opc_ml_app_package_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
446
|
+
"""
|
447
|
+
(Updatable) ML Application package arguments required during ML Application package upload. Each argument is a simple key-value pair.
|
448
|
+
"""
|
449
|
+
return pulumi.get(self, "opc_ml_app_package_args")
|
450
|
+
|
451
|
+
@opc_ml_app_package_args.setter
|
452
|
+
def opc_ml_app_package_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
453
|
+
pulumi.set(self, "opc_ml_app_package_args", value)
|
454
|
+
|
455
|
+
@property
|
456
|
+
@pulumi.getter(name="packageVersion")
|
457
|
+
def package_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
458
|
+
"""
|
459
|
+
The version of ML Application Package (e.g. "1.2" or "2.0.4") defined in ML Application package descriptor. Value is not mandatory only for CREATING state otherwise it must be always presented.
|
460
|
+
"""
|
461
|
+
return pulumi.get(self, "package_version")
|
462
|
+
|
463
|
+
@package_version.setter
|
464
|
+
def package_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
465
|
+
pulumi.set(self, "package_version", value)
|
466
|
+
|
467
|
+
@property
|
468
|
+
@pulumi.getter
|
469
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
470
|
+
"""
|
471
|
+
The current state of the MlApplicationImplementation.
|
472
|
+
"""
|
473
|
+
return pulumi.get(self, "state")
|
474
|
+
|
475
|
+
@state.setter
|
476
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
477
|
+
pulumi.set(self, "state", value)
|
478
|
+
|
479
|
+
@property
|
480
|
+
@pulumi.getter(name="systemTags")
|
481
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
482
|
+
"""
|
483
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
484
|
+
"""
|
485
|
+
return pulumi.get(self, "system_tags")
|
486
|
+
|
487
|
+
@system_tags.setter
|
488
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
489
|
+
pulumi.set(self, "system_tags", value)
|
490
|
+
|
491
|
+
@property
|
492
|
+
@pulumi.getter(name="timeCreated")
|
493
|
+
def time_created(self) -> Optional[pulumi.Input[builtins.str]]:
|
494
|
+
"""
|
495
|
+
Creation time of MlApplicationImplementation creation in the format defined by RFC 3339.
|
496
|
+
"""
|
497
|
+
return pulumi.get(self, "time_created")
|
498
|
+
|
499
|
+
@time_created.setter
|
500
|
+
def time_created(self, value: Optional[pulumi.Input[builtins.str]]):
|
501
|
+
pulumi.set(self, "time_created", value)
|
502
|
+
|
503
|
+
@property
|
504
|
+
@pulumi.getter(name="timeUpdated")
|
505
|
+
def time_updated(self) -> Optional[pulumi.Input[builtins.str]]:
|
506
|
+
"""
|
507
|
+
Time of last MlApplicationImplementation update in the format defined by RFC 3339.
|
508
|
+
"""
|
509
|
+
return pulumi.get(self, "time_updated")
|
510
|
+
|
511
|
+
@time_updated.setter
|
512
|
+
def time_updated(self, value: Optional[pulumi.Input[builtins.str]]):
|
513
|
+
pulumi.set(self, "time_updated", value)
|
514
|
+
|
515
|
+
|
516
|
+
class MlApplicationImplementation(pulumi.CustomResource):
|
517
|
+
@overload
|
518
|
+
def __init__(__self__,
|
519
|
+
resource_name: str,
|
520
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
521
|
+
allowed_migration_destinations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
522
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
523
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
524
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
525
|
+
logging: Optional[pulumi.Input[Union['MlApplicationImplementationLoggingArgs', 'MlApplicationImplementationLoggingArgsDict']]] = None,
|
526
|
+
ml_application_id: Optional[pulumi.Input[builtins.str]] = None,
|
527
|
+
ml_application_package: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
528
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
529
|
+
opc_ml_app_package_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
530
|
+
__props__=None):
|
531
|
+
"""
|
532
|
+
This resource provides the Ml Application Implementation resource in Oracle Cloud Infrastructure Data Science service.
|
533
|
+
|
534
|
+
Creates a new MlApplicationImplementation.
|
535
|
+
|
536
|
+
## Example Usage
|
537
|
+
|
538
|
+
```python
|
539
|
+
import pulumi
|
540
|
+
import pulumi_oci as oci
|
541
|
+
|
542
|
+
test_ml_application_implementation = oci.data_science.MlApplicationImplementation("test_ml_application_implementation",
|
543
|
+
compartment_id=compartment_id,
|
544
|
+
ml_application_id=test_ml_application["id"],
|
545
|
+
name=ml_application_implementation_name,
|
546
|
+
ml_application_package={
|
547
|
+
"source_type": ml_application_package_source_type,
|
548
|
+
"uri": ml_application_package_uri,
|
549
|
+
},
|
550
|
+
opc_ml_app_package_args=opc_ml_app_package_args,
|
551
|
+
allowed_migration_destinations=ml_application_implementation_allowed_migration_destinations,
|
552
|
+
defined_tags={
|
553
|
+
"Operations.CostCenter": "42",
|
554
|
+
},
|
555
|
+
freeform_tags={
|
556
|
+
"Department": "Finance",
|
557
|
+
},
|
558
|
+
logging={
|
559
|
+
"aggregated_instance_view_log": {
|
560
|
+
"enable_logging": ml_application_implementation_logging_aggregated_instance_view_log_enable_logging,
|
561
|
+
"log_group_id": test_log_group["id"],
|
562
|
+
"log_id": test_log["id"],
|
563
|
+
},
|
564
|
+
"implementation_log": {
|
565
|
+
"enable_logging": ml_application_implementation_logging_implementation_log_enable_logging,
|
566
|
+
"log_group_id": test_log_group["id"],
|
567
|
+
"log_id": test_log["id"],
|
568
|
+
},
|
569
|
+
"trigger_log": {
|
570
|
+
"enable_logging": ml_application_implementation_logging_trigger_log_enable_logging,
|
571
|
+
"log_group_id": test_log_group["id"],
|
572
|
+
"log_id": test_log["id"],
|
573
|
+
},
|
574
|
+
})
|
575
|
+
```
|
576
|
+
|
577
|
+
## Import
|
578
|
+
|
579
|
+
MlApplicationImplementations can be imported using the `id`, e.g.
|
580
|
+
|
581
|
+
```sh
|
582
|
+
$ pulumi import oci:DataScience/mlApplicationImplementation:MlApplicationImplementation test_ml_application_implementation "id"
|
583
|
+
```
|
584
|
+
|
585
|
+
:param str resource_name: The name of the resource.
|
586
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
587
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_migration_destinations: (Updatable) List of ML Application Implementation OCIDs for which migration from this implementation is allowed. Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
|
588
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where ML Application Implementation is created.
|
589
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
590
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
591
|
+
:param pulumi.Input[Union['MlApplicationImplementationLoggingArgs', 'MlApplicationImplementationLoggingArgsDict']] logging: (Updatable) Configuration of Logging for ML Application Implementation.
|
592
|
+
:param pulumi.Input[builtins.str] ml_application_id: The OCID of the ML Application implemented by this ML Application Implementation
|
593
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] ml_application_package: (Updatable) Configuration of The ML Application Package to upload.
|
594
|
+
:param pulumi.Input[builtins.str] name: ML Application Implementation name which is unique for given ML Application.
|
595
|
+
|
596
|
+
|
597
|
+
** IMPORTANT **
|
598
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
599
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] opc_ml_app_package_args: (Updatable) ML Application package arguments required during ML Application package upload. Each argument is a simple key-value pair.
|
600
|
+
"""
|
601
|
+
...
|
602
|
+
@overload
|
603
|
+
def __init__(__self__,
|
604
|
+
resource_name: str,
|
605
|
+
args: MlApplicationImplementationArgs,
|
606
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
607
|
+
"""
|
608
|
+
This resource provides the Ml Application Implementation resource in Oracle Cloud Infrastructure Data Science service.
|
609
|
+
|
610
|
+
Creates a new MlApplicationImplementation.
|
611
|
+
|
612
|
+
## Example Usage
|
613
|
+
|
614
|
+
```python
|
615
|
+
import pulumi
|
616
|
+
import pulumi_oci as oci
|
617
|
+
|
618
|
+
test_ml_application_implementation = oci.data_science.MlApplicationImplementation("test_ml_application_implementation",
|
619
|
+
compartment_id=compartment_id,
|
620
|
+
ml_application_id=test_ml_application["id"],
|
621
|
+
name=ml_application_implementation_name,
|
622
|
+
ml_application_package={
|
623
|
+
"source_type": ml_application_package_source_type,
|
624
|
+
"uri": ml_application_package_uri,
|
625
|
+
},
|
626
|
+
opc_ml_app_package_args=opc_ml_app_package_args,
|
627
|
+
allowed_migration_destinations=ml_application_implementation_allowed_migration_destinations,
|
628
|
+
defined_tags={
|
629
|
+
"Operations.CostCenter": "42",
|
630
|
+
},
|
631
|
+
freeform_tags={
|
632
|
+
"Department": "Finance",
|
633
|
+
},
|
634
|
+
logging={
|
635
|
+
"aggregated_instance_view_log": {
|
636
|
+
"enable_logging": ml_application_implementation_logging_aggregated_instance_view_log_enable_logging,
|
637
|
+
"log_group_id": test_log_group["id"],
|
638
|
+
"log_id": test_log["id"],
|
639
|
+
},
|
640
|
+
"implementation_log": {
|
641
|
+
"enable_logging": ml_application_implementation_logging_implementation_log_enable_logging,
|
642
|
+
"log_group_id": test_log_group["id"],
|
643
|
+
"log_id": test_log["id"],
|
644
|
+
},
|
645
|
+
"trigger_log": {
|
646
|
+
"enable_logging": ml_application_implementation_logging_trigger_log_enable_logging,
|
647
|
+
"log_group_id": test_log_group["id"],
|
648
|
+
"log_id": test_log["id"],
|
649
|
+
},
|
650
|
+
})
|
651
|
+
```
|
652
|
+
|
653
|
+
## Import
|
654
|
+
|
655
|
+
MlApplicationImplementations can be imported using the `id`, e.g.
|
656
|
+
|
657
|
+
```sh
|
658
|
+
$ pulumi import oci:DataScience/mlApplicationImplementation:MlApplicationImplementation test_ml_application_implementation "id"
|
659
|
+
```
|
660
|
+
|
661
|
+
:param str resource_name: The name of the resource.
|
662
|
+
:param MlApplicationImplementationArgs args: The arguments to use to populate this resource's properties.
|
663
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
664
|
+
"""
|
665
|
+
...
|
666
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
667
|
+
resource_args, opts = _utilities.get_resource_args_opts(MlApplicationImplementationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
668
|
+
if resource_args is not None:
|
669
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
670
|
+
else:
|
671
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
672
|
+
|
673
|
+
def _internal_init(__self__,
|
674
|
+
resource_name: str,
|
675
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
676
|
+
allowed_migration_destinations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
677
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
678
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
679
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
680
|
+
logging: Optional[pulumi.Input[Union['MlApplicationImplementationLoggingArgs', 'MlApplicationImplementationLoggingArgsDict']]] = None,
|
681
|
+
ml_application_id: Optional[pulumi.Input[builtins.str]] = None,
|
682
|
+
ml_application_package: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
683
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
684
|
+
opc_ml_app_package_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
685
|
+
__props__=None):
|
686
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
687
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
688
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
689
|
+
if opts.id is None:
|
690
|
+
if __props__ is not None:
|
691
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
692
|
+
__props__ = MlApplicationImplementationArgs.__new__(MlApplicationImplementationArgs)
|
693
|
+
|
694
|
+
__props__.__dict__["allowed_migration_destinations"] = allowed_migration_destinations
|
695
|
+
if compartment_id is None and not opts.urn:
|
696
|
+
raise TypeError("Missing required property 'compartment_id'")
|
697
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
698
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
699
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
700
|
+
__props__.__dict__["logging"] = logging
|
701
|
+
if ml_application_id is None and not opts.urn:
|
702
|
+
raise TypeError("Missing required property 'ml_application_id'")
|
703
|
+
__props__.__dict__["ml_application_id"] = ml_application_id
|
704
|
+
__props__.__dict__["ml_application_package"] = ml_application_package
|
705
|
+
__props__.__dict__["name"] = name
|
706
|
+
__props__.__dict__["opc_ml_app_package_args"] = opc_ml_app_package_args
|
707
|
+
__props__.__dict__["application_components"] = None
|
708
|
+
__props__.__dict__["configuration_schemas"] = None
|
709
|
+
__props__.__dict__["description"] = None
|
710
|
+
__props__.__dict__["lifecycle_details"] = None
|
711
|
+
__props__.__dict__["ml_application_name"] = None
|
712
|
+
__props__.__dict__["ml_application_package_arguments"] = None
|
713
|
+
__props__.__dict__["package_version"] = None
|
714
|
+
__props__.__dict__["state"] = None
|
715
|
+
__props__.__dict__["system_tags"] = None
|
716
|
+
__props__.__dict__["time_created"] = None
|
717
|
+
__props__.__dict__["time_updated"] = None
|
718
|
+
super(MlApplicationImplementation, __self__).__init__(
|
719
|
+
'oci:DataScience/mlApplicationImplementation:MlApplicationImplementation',
|
720
|
+
resource_name,
|
721
|
+
__props__,
|
722
|
+
opts)
|
723
|
+
|
724
|
+
@staticmethod
|
725
|
+
def get(resource_name: str,
|
726
|
+
id: pulumi.Input[str],
|
727
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
728
|
+
allowed_migration_destinations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
729
|
+
application_components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationImplementationApplicationComponentArgs', 'MlApplicationImplementationApplicationComponentArgsDict']]]]] = None,
|
730
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
731
|
+
configuration_schemas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationImplementationConfigurationSchemaArgs', 'MlApplicationImplementationConfigurationSchemaArgsDict']]]]] = None,
|
732
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
733
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
734
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
735
|
+
lifecycle_details: Optional[pulumi.Input[builtins.str]] = None,
|
736
|
+
logging: Optional[pulumi.Input[Union['MlApplicationImplementationLoggingArgs', 'MlApplicationImplementationLoggingArgsDict']]] = None,
|
737
|
+
ml_application_id: Optional[pulumi.Input[builtins.str]] = None,
|
738
|
+
ml_application_name: Optional[pulumi.Input[builtins.str]] = None,
|
739
|
+
ml_application_package: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
740
|
+
ml_application_package_arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationImplementationMlApplicationPackageArgumentArgs', 'MlApplicationImplementationMlApplicationPackageArgumentArgsDict']]]]] = None,
|
741
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
742
|
+
opc_ml_app_package_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
743
|
+
package_version: Optional[pulumi.Input[builtins.str]] = None,
|
744
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
745
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
746
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
747
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None) -> 'MlApplicationImplementation':
|
748
|
+
"""
|
749
|
+
Get an existing MlApplicationImplementation resource's state with the given name, id, and optional extra
|
750
|
+
properties used to qualify the lookup.
|
751
|
+
|
752
|
+
:param str resource_name: The unique name of the resulting resource.
|
753
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
754
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
755
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_migration_destinations: (Updatable) List of ML Application Implementation OCIDs for which migration from this implementation is allowed. Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
|
756
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationImplementationApplicationComponentArgs', 'MlApplicationImplementationApplicationComponentArgsDict']]]] application_components: List of application components (OCI resources shared for all MlApplicationInstances). These have been created automatically based on their definitions in the ML Application package.
|
757
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where ML Application Implementation is created.
|
758
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationImplementationConfigurationSchemaArgs', 'MlApplicationImplementationConfigurationSchemaArgsDict']]]] configuration_schemas: Schema of configuration which needs to be provided for each ML Application Instance. It is defined in the ML Application package descriptor.
|
759
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
760
|
+
:param pulumi.Input[builtins.str] description: short description of the argument
|
761
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
762
|
+
:param pulumi.Input[builtins.str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
763
|
+
:param pulumi.Input[Union['MlApplicationImplementationLoggingArgs', 'MlApplicationImplementationLoggingArgsDict']] logging: (Updatable) Configuration of Logging for ML Application Implementation.
|
764
|
+
:param pulumi.Input[builtins.str] ml_application_id: The OCID of the ML Application implemented by this ML Application Implementation
|
765
|
+
:param pulumi.Input[builtins.str] ml_application_name: The name of ML Application (based on mlApplicationId)
|
766
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] ml_application_package: (Updatable) Configuration of The ML Application Package to upload.
|
767
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationImplementationMlApplicationPackageArgumentArgs', 'MlApplicationImplementationMlApplicationPackageArgumentArgsDict']]]] ml_application_package_arguments: List of ML Application package arguments provided during ML Application package upload.
|
768
|
+
:param pulumi.Input[builtins.str] name: ML Application Implementation name which is unique for given ML Application.
|
769
|
+
|
770
|
+
|
771
|
+
** IMPORTANT **
|
772
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
773
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] opc_ml_app_package_args: (Updatable) ML Application package arguments required during ML Application package upload. Each argument is a simple key-value pair.
|
774
|
+
:param pulumi.Input[builtins.str] package_version: The version of ML Application Package (e.g. "1.2" or "2.0.4") defined in ML Application package descriptor. Value is not mandatory only for CREATING state otherwise it must be always presented.
|
775
|
+
:param pulumi.Input[builtins.str] state: The current state of the MlApplicationImplementation.
|
776
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
777
|
+
:param pulumi.Input[builtins.str] time_created: Creation time of MlApplicationImplementation creation in the format defined by RFC 3339.
|
778
|
+
:param pulumi.Input[builtins.str] time_updated: Time of last MlApplicationImplementation update in the format defined by RFC 3339.
|
779
|
+
"""
|
780
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
781
|
+
|
782
|
+
__props__ = _MlApplicationImplementationState.__new__(_MlApplicationImplementationState)
|
783
|
+
|
784
|
+
__props__.__dict__["allowed_migration_destinations"] = allowed_migration_destinations
|
785
|
+
__props__.__dict__["application_components"] = application_components
|
786
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
787
|
+
__props__.__dict__["configuration_schemas"] = configuration_schemas
|
788
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
789
|
+
__props__.__dict__["description"] = description
|
790
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
791
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
792
|
+
__props__.__dict__["logging"] = logging
|
793
|
+
__props__.__dict__["ml_application_id"] = ml_application_id
|
794
|
+
__props__.__dict__["ml_application_name"] = ml_application_name
|
795
|
+
__props__.__dict__["ml_application_package"] = ml_application_package
|
796
|
+
__props__.__dict__["ml_application_package_arguments"] = ml_application_package_arguments
|
797
|
+
__props__.__dict__["name"] = name
|
798
|
+
__props__.__dict__["opc_ml_app_package_args"] = opc_ml_app_package_args
|
799
|
+
__props__.__dict__["package_version"] = package_version
|
800
|
+
__props__.__dict__["state"] = state
|
801
|
+
__props__.__dict__["system_tags"] = system_tags
|
802
|
+
__props__.__dict__["time_created"] = time_created
|
803
|
+
__props__.__dict__["time_updated"] = time_updated
|
804
|
+
return MlApplicationImplementation(resource_name, opts=opts, __props__=__props__)
|
805
|
+
|
806
|
+
@property
|
807
|
+
@pulumi.getter(name="allowedMigrationDestinations")
|
808
|
+
def allowed_migration_destinations(self) -> pulumi.Output[Sequence[builtins.str]]:
|
809
|
+
"""
|
810
|
+
(Updatable) List of ML Application Implementation OCIDs for which migration from this implementation is allowed. Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
|
811
|
+
"""
|
812
|
+
return pulumi.get(self, "allowed_migration_destinations")
|
813
|
+
|
814
|
+
@property
|
815
|
+
@pulumi.getter(name="applicationComponents")
|
816
|
+
def application_components(self) -> pulumi.Output[Sequence['outputs.MlApplicationImplementationApplicationComponent']]:
|
817
|
+
"""
|
818
|
+
List of application components (OCI resources shared for all MlApplicationInstances). These have been created automatically based on their definitions in the ML Application package.
|
819
|
+
"""
|
820
|
+
return pulumi.get(self, "application_components")
|
821
|
+
|
822
|
+
@property
|
823
|
+
@pulumi.getter(name="compartmentId")
|
824
|
+
def compartment_id(self) -> pulumi.Output[builtins.str]:
|
825
|
+
"""
|
826
|
+
(Updatable) The OCID of the compartment where ML Application Implementation is created.
|
827
|
+
"""
|
828
|
+
return pulumi.get(self, "compartment_id")
|
829
|
+
|
830
|
+
@property
|
831
|
+
@pulumi.getter(name="configurationSchemas")
|
832
|
+
def configuration_schemas(self) -> pulumi.Output[Sequence['outputs.MlApplicationImplementationConfigurationSchema']]:
|
833
|
+
"""
|
834
|
+
Schema of configuration which needs to be provided for each ML Application Instance. It is defined in the ML Application package descriptor.
|
835
|
+
"""
|
836
|
+
return pulumi.get(self, "configuration_schemas")
|
837
|
+
|
838
|
+
@property
|
839
|
+
@pulumi.getter(name="definedTags")
|
840
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
841
|
+
"""
|
842
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
843
|
+
"""
|
844
|
+
return pulumi.get(self, "defined_tags")
|
845
|
+
|
846
|
+
@property
|
847
|
+
@pulumi.getter
|
848
|
+
def description(self) -> pulumi.Output[builtins.str]:
|
849
|
+
"""
|
850
|
+
short description of the argument
|
851
|
+
"""
|
852
|
+
return pulumi.get(self, "description")
|
853
|
+
|
854
|
+
@property
|
855
|
+
@pulumi.getter(name="freeformTags")
|
856
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
857
|
+
"""
|
858
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
859
|
+
"""
|
860
|
+
return pulumi.get(self, "freeform_tags")
|
861
|
+
|
862
|
+
@property
|
863
|
+
@pulumi.getter(name="lifecycleDetails")
|
864
|
+
def lifecycle_details(self) -> pulumi.Output[builtins.str]:
|
865
|
+
"""
|
866
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
867
|
+
"""
|
868
|
+
return pulumi.get(self, "lifecycle_details")
|
869
|
+
|
870
|
+
@property
|
871
|
+
@pulumi.getter
|
872
|
+
def logging(self) -> pulumi.Output['outputs.MlApplicationImplementationLogging']:
|
873
|
+
"""
|
874
|
+
(Updatable) Configuration of Logging for ML Application Implementation.
|
875
|
+
"""
|
876
|
+
return pulumi.get(self, "logging")
|
877
|
+
|
878
|
+
@property
|
879
|
+
@pulumi.getter(name="mlApplicationId")
|
880
|
+
def ml_application_id(self) -> pulumi.Output[builtins.str]:
|
881
|
+
"""
|
882
|
+
The OCID of the ML Application implemented by this ML Application Implementation
|
883
|
+
"""
|
884
|
+
return pulumi.get(self, "ml_application_id")
|
885
|
+
|
886
|
+
@property
|
887
|
+
@pulumi.getter(name="mlApplicationName")
|
888
|
+
def ml_application_name(self) -> pulumi.Output[builtins.str]:
|
889
|
+
"""
|
890
|
+
The name of ML Application (based on mlApplicationId)
|
891
|
+
"""
|
892
|
+
return pulumi.get(self, "ml_application_name")
|
893
|
+
|
894
|
+
@property
|
895
|
+
@pulumi.getter(name="mlApplicationPackage")
|
896
|
+
def ml_application_package(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
897
|
+
"""
|
898
|
+
(Updatable) Configuration of The ML Application Package to upload.
|
899
|
+
"""
|
900
|
+
return pulumi.get(self, "ml_application_package")
|
901
|
+
|
902
|
+
@property
|
903
|
+
@pulumi.getter(name="mlApplicationPackageArguments")
|
904
|
+
def ml_application_package_arguments(self) -> pulumi.Output[Sequence['outputs.MlApplicationImplementationMlApplicationPackageArgument']]:
|
905
|
+
"""
|
906
|
+
List of ML Application package arguments provided during ML Application package upload.
|
907
|
+
"""
|
908
|
+
return pulumi.get(self, "ml_application_package_arguments")
|
909
|
+
|
910
|
+
@property
|
911
|
+
@pulumi.getter
|
912
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
913
|
+
"""
|
914
|
+
ML Application Implementation name which is unique for given ML Application.
|
915
|
+
|
916
|
+
|
917
|
+
** IMPORTANT **
|
918
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
919
|
+
"""
|
920
|
+
return pulumi.get(self, "name")
|
921
|
+
|
922
|
+
@property
|
923
|
+
@pulumi.getter(name="opcMlAppPackageArgs")
|
924
|
+
def opc_ml_app_package_args(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
925
|
+
"""
|
926
|
+
(Updatable) ML Application package arguments required during ML Application package upload. Each argument is a simple key-value pair.
|
927
|
+
"""
|
928
|
+
return pulumi.get(self, "opc_ml_app_package_args")
|
929
|
+
|
930
|
+
@property
|
931
|
+
@pulumi.getter(name="packageVersion")
|
932
|
+
def package_version(self) -> pulumi.Output[builtins.str]:
|
933
|
+
"""
|
934
|
+
The version of ML Application Package (e.g. "1.2" or "2.0.4") defined in ML Application package descriptor. Value is not mandatory only for CREATING state otherwise it must be always presented.
|
935
|
+
"""
|
936
|
+
return pulumi.get(self, "package_version")
|
937
|
+
|
938
|
+
@property
|
939
|
+
@pulumi.getter
|
940
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
941
|
+
"""
|
942
|
+
The current state of the MlApplicationImplementation.
|
943
|
+
"""
|
944
|
+
return pulumi.get(self, "state")
|
945
|
+
|
946
|
+
@property
|
947
|
+
@pulumi.getter(name="systemTags")
|
948
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
949
|
+
"""
|
950
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
951
|
+
"""
|
952
|
+
return pulumi.get(self, "system_tags")
|
953
|
+
|
954
|
+
@property
|
955
|
+
@pulumi.getter(name="timeCreated")
|
956
|
+
def time_created(self) -> pulumi.Output[builtins.str]:
|
957
|
+
"""
|
958
|
+
Creation time of MlApplicationImplementation creation in the format defined by RFC 3339.
|
959
|
+
"""
|
960
|
+
return pulumi.get(self, "time_created")
|
961
|
+
|
962
|
+
@property
|
963
|
+
@pulumi.getter(name="timeUpdated")
|
964
|
+
def time_updated(self) -> pulumi.Output[builtins.str]:
|
965
|
+
"""
|
966
|
+
Time of last MlApplicationImplementation update in the format defined by RFC 3339.
|
967
|
+
"""
|
968
|
+
return pulumi.get(self, "time_updated")
|
969
|
+
|