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,832 @@
|
|
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__ = ['MlApplicationInstanceArgs', 'MlApplicationInstance']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class MlApplicationInstanceArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
compartment_id: pulumi.Input[builtins.str],
|
26
|
+
ml_application_id: pulumi.Input[builtins.str],
|
27
|
+
ml_application_implementation_id: pulumi.Input[builtins.str],
|
28
|
+
auth_configuration: Optional[pulumi.Input['MlApplicationInstanceAuthConfigurationArgs']] = None,
|
29
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstanceConfigurationArgs']]]] = None,
|
30
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
31
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
32
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
33
|
+
is_enabled: Optional[pulumi.Input[builtins.bool]] = None):
|
34
|
+
"""
|
35
|
+
The set of arguments for constructing a MlApplicationInstance resource.
|
36
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
|
37
|
+
:param pulumi.Input[builtins.str] ml_application_id: The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
|
38
|
+
:param pulumi.Input[builtins.str] ml_application_implementation_id: (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
|
39
|
+
|
40
|
+
|
41
|
+
** IMPORTANT **
|
42
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
43
|
+
:param pulumi.Input['MlApplicationInstanceAuthConfigurationArgs'] auth_configuration: AuthN/Z configuration for online prediction
|
44
|
+
:param pulumi.Input[Sequence[pulumi.Input['MlApplicationInstanceConfigurationArgs']]] configurations: (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
|
45
|
+
: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"}`
|
46
|
+
:param pulumi.Input[builtins.str] display_name: The name of MlApplicationInstance. System will generate displayName when not provided.
|
47
|
+
: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"}`
|
48
|
+
:param pulumi.Input[builtins.bool] is_enabled: (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
|
49
|
+
"""
|
50
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
51
|
+
pulumi.set(__self__, "ml_application_id", ml_application_id)
|
52
|
+
pulumi.set(__self__, "ml_application_implementation_id", ml_application_implementation_id)
|
53
|
+
if auth_configuration is not None:
|
54
|
+
pulumi.set(__self__, "auth_configuration", auth_configuration)
|
55
|
+
if configurations is not None:
|
56
|
+
pulumi.set(__self__, "configurations", configurations)
|
57
|
+
if defined_tags is not None:
|
58
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
59
|
+
if display_name is not None:
|
60
|
+
pulumi.set(__self__, "display_name", display_name)
|
61
|
+
if freeform_tags is not None:
|
62
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
63
|
+
if is_enabled is not None:
|
64
|
+
pulumi.set(__self__, "is_enabled", is_enabled)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="compartmentId")
|
68
|
+
def compartment_id(self) -> pulumi.Input[builtins.str]:
|
69
|
+
"""
|
70
|
+
(Updatable) The OCID of the compartment where the MlApplicationInstance is created.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "compartment_id")
|
73
|
+
|
74
|
+
@compartment_id.setter
|
75
|
+
def compartment_id(self, value: pulumi.Input[builtins.str]):
|
76
|
+
pulumi.set(self, "compartment_id", value)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="mlApplicationId")
|
80
|
+
def ml_application_id(self) -> pulumi.Input[builtins.str]:
|
81
|
+
"""
|
82
|
+
The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "ml_application_id")
|
85
|
+
|
86
|
+
@ml_application_id.setter
|
87
|
+
def ml_application_id(self, value: pulumi.Input[builtins.str]):
|
88
|
+
pulumi.set(self, "ml_application_id", value)
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter(name="mlApplicationImplementationId")
|
92
|
+
def ml_application_implementation_id(self) -> pulumi.Input[builtins.str]:
|
93
|
+
"""
|
94
|
+
(Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
|
95
|
+
|
96
|
+
|
97
|
+
** IMPORTANT **
|
98
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "ml_application_implementation_id")
|
101
|
+
|
102
|
+
@ml_application_implementation_id.setter
|
103
|
+
def ml_application_implementation_id(self, value: pulumi.Input[builtins.str]):
|
104
|
+
pulumi.set(self, "ml_application_implementation_id", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="authConfiguration")
|
108
|
+
def auth_configuration(self) -> Optional[pulumi.Input['MlApplicationInstanceAuthConfigurationArgs']]:
|
109
|
+
"""
|
110
|
+
AuthN/Z configuration for online prediction
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "auth_configuration")
|
113
|
+
|
114
|
+
@auth_configuration.setter
|
115
|
+
def auth_configuration(self, value: Optional[pulumi.Input['MlApplicationInstanceAuthConfigurationArgs']]):
|
116
|
+
pulumi.set(self, "auth_configuration", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter
|
120
|
+
def configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstanceConfigurationArgs']]]]:
|
121
|
+
"""
|
122
|
+
(Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "configurations")
|
125
|
+
|
126
|
+
@configurations.setter
|
127
|
+
def configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstanceConfigurationArgs']]]]):
|
128
|
+
pulumi.set(self, "configurations", value)
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="definedTags")
|
132
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
133
|
+
"""
|
134
|
+
(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"}`
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "defined_tags")
|
137
|
+
|
138
|
+
@defined_tags.setter
|
139
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
140
|
+
pulumi.set(self, "defined_tags", value)
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="displayName")
|
144
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
145
|
+
"""
|
146
|
+
The name of MlApplicationInstance. System will generate displayName when not provided.
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "display_name")
|
149
|
+
|
150
|
+
@display_name.setter
|
151
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
152
|
+
pulumi.set(self, "display_name", value)
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="freeformTags")
|
156
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
157
|
+
"""
|
158
|
+
(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"}`
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "freeform_tags")
|
161
|
+
|
162
|
+
@freeform_tags.setter
|
163
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
164
|
+
pulumi.set(self, "freeform_tags", value)
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="isEnabled")
|
168
|
+
def is_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
169
|
+
"""
|
170
|
+
(Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "is_enabled")
|
173
|
+
|
174
|
+
@is_enabled.setter
|
175
|
+
def is_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
176
|
+
pulumi.set(self, "is_enabled", value)
|
177
|
+
|
178
|
+
|
179
|
+
@pulumi.input_type
|
180
|
+
class _MlApplicationInstanceState:
|
181
|
+
def __init__(__self__, *,
|
182
|
+
auth_configuration: Optional[pulumi.Input['MlApplicationInstanceAuthConfigurationArgs']] = None,
|
183
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
184
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstanceConfigurationArgs']]]] = None,
|
185
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
186
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
187
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
188
|
+
is_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
189
|
+
lifecycle_details: Optional[pulumi.Input[builtins.str]] = None,
|
190
|
+
lifecycle_substate: Optional[pulumi.Input[builtins.str]] = None,
|
191
|
+
ml_application_id: Optional[pulumi.Input[builtins.str]] = None,
|
192
|
+
ml_application_implementation_id: Optional[pulumi.Input[builtins.str]] = None,
|
193
|
+
ml_application_implementation_name: Optional[pulumi.Input[builtins.str]] = None,
|
194
|
+
ml_application_name: Optional[pulumi.Input[builtins.str]] = None,
|
195
|
+
prediction_endpoint_details: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstancePredictionEndpointDetailArgs']]]] = None,
|
196
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
197
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
198
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
199
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None):
|
200
|
+
"""
|
201
|
+
Input properties used for looking up and filtering MlApplicationInstance resources.
|
202
|
+
:param pulumi.Input['MlApplicationInstanceAuthConfigurationArgs'] auth_configuration: AuthN/Z configuration for online prediction
|
203
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
|
204
|
+
:param pulumi.Input[Sequence[pulumi.Input['MlApplicationInstanceConfigurationArgs']]] configurations: (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
|
205
|
+
: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"}`
|
206
|
+
:param pulumi.Input[builtins.str] display_name: The name of MlApplicationInstance. System will generate displayName when not provided.
|
207
|
+
: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"}`
|
208
|
+
:param pulumi.Input[builtins.bool] is_enabled: (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
|
209
|
+
: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.
|
210
|
+
:param pulumi.Input[builtins.str] lifecycle_substate: The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
|
211
|
+
:param pulumi.Input[builtins.str] ml_application_id: The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
|
212
|
+
:param pulumi.Input[builtins.str] ml_application_implementation_id: (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
|
213
|
+
|
214
|
+
|
215
|
+
** IMPORTANT **
|
216
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
217
|
+
:param pulumi.Input[builtins.str] ml_application_implementation_name: The name of Ml Application Implementation (based on mlApplicationImplementationId)
|
218
|
+
:param pulumi.Input[builtins.str] ml_application_name: The name of ML Application (based on mlApplicationId).
|
219
|
+
:param pulumi.Input[Sequence[pulumi.Input['MlApplicationInstancePredictionEndpointDetailArgs']]] prediction_endpoint_details: Prediction endpoint related information.
|
220
|
+
:param pulumi.Input[builtins.str] state: The current state of the MlApplicationInstance.
|
221
|
+
: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"}`
|
222
|
+
:param pulumi.Input[builtins.str] time_created: The time the the MlApplication was created. An RFC3339 formatted datetime string
|
223
|
+
:param pulumi.Input[builtins.str] time_updated: Time of last MlApplicationInstance update in the format defined by RFC 3339.
|
224
|
+
"""
|
225
|
+
if auth_configuration is not None:
|
226
|
+
pulumi.set(__self__, "auth_configuration", auth_configuration)
|
227
|
+
if compartment_id is not None:
|
228
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
229
|
+
if configurations is not None:
|
230
|
+
pulumi.set(__self__, "configurations", configurations)
|
231
|
+
if defined_tags is not None:
|
232
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
233
|
+
if display_name is not None:
|
234
|
+
pulumi.set(__self__, "display_name", display_name)
|
235
|
+
if freeform_tags is not None:
|
236
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
237
|
+
if is_enabled is not None:
|
238
|
+
pulumi.set(__self__, "is_enabled", is_enabled)
|
239
|
+
if lifecycle_details is not None:
|
240
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
241
|
+
if lifecycle_substate is not None:
|
242
|
+
pulumi.set(__self__, "lifecycle_substate", lifecycle_substate)
|
243
|
+
if ml_application_id is not None:
|
244
|
+
pulumi.set(__self__, "ml_application_id", ml_application_id)
|
245
|
+
if ml_application_implementation_id is not None:
|
246
|
+
pulumi.set(__self__, "ml_application_implementation_id", ml_application_implementation_id)
|
247
|
+
if ml_application_implementation_name is not None:
|
248
|
+
pulumi.set(__self__, "ml_application_implementation_name", ml_application_implementation_name)
|
249
|
+
if ml_application_name is not None:
|
250
|
+
pulumi.set(__self__, "ml_application_name", ml_application_name)
|
251
|
+
if prediction_endpoint_details is not None:
|
252
|
+
pulumi.set(__self__, "prediction_endpoint_details", prediction_endpoint_details)
|
253
|
+
if state is not None:
|
254
|
+
pulumi.set(__self__, "state", state)
|
255
|
+
if system_tags is not None:
|
256
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
257
|
+
if time_created is not None:
|
258
|
+
pulumi.set(__self__, "time_created", time_created)
|
259
|
+
if time_updated is not None:
|
260
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
261
|
+
|
262
|
+
@property
|
263
|
+
@pulumi.getter(name="authConfiguration")
|
264
|
+
def auth_configuration(self) -> Optional[pulumi.Input['MlApplicationInstanceAuthConfigurationArgs']]:
|
265
|
+
"""
|
266
|
+
AuthN/Z configuration for online prediction
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "auth_configuration")
|
269
|
+
|
270
|
+
@auth_configuration.setter
|
271
|
+
def auth_configuration(self, value: Optional[pulumi.Input['MlApplicationInstanceAuthConfigurationArgs']]):
|
272
|
+
pulumi.set(self, "auth_configuration", value)
|
273
|
+
|
274
|
+
@property
|
275
|
+
@pulumi.getter(name="compartmentId")
|
276
|
+
def compartment_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
277
|
+
"""
|
278
|
+
(Updatable) The OCID of the compartment where the MlApplicationInstance is created.
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "compartment_id")
|
281
|
+
|
282
|
+
@compartment_id.setter
|
283
|
+
def compartment_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
284
|
+
pulumi.set(self, "compartment_id", value)
|
285
|
+
|
286
|
+
@property
|
287
|
+
@pulumi.getter
|
288
|
+
def configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstanceConfigurationArgs']]]]:
|
289
|
+
"""
|
290
|
+
(Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "configurations")
|
293
|
+
|
294
|
+
@configurations.setter
|
295
|
+
def configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstanceConfigurationArgs']]]]):
|
296
|
+
pulumi.set(self, "configurations", value)
|
297
|
+
|
298
|
+
@property
|
299
|
+
@pulumi.getter(name="definedTags")
|
300
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
301
|
+
"""
|
302
|
+
(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"}`
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "defined_tags")
|
305
|
+
|
306
|
+
@defined_tags.setter
|
307
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
308
|
+
pulumi.set(self, "defined_tags", value)
|
309
|
+
|
310
|
+
@property
|
311
|
+
@pulumi.getter(name="displayName")
|
312
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
313
|
+
"""
|
314
|
+
The name of MlApplicationInstance. System will generate displayName when not provided.
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "display_name")
|
317
|
+
|
318
|
+
@display_name.setter
|
319
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
320
|
+
pulumi.set(self, "display_name", value)
|
321
|
+
|
322
|
+
@property
|
323
|
+
@pulumi.getter(name="freeformTags")
|
324
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
325
|
+
"""
|
326
|
+
(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"}`
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "freeform_tags")
|
329
|
+
|
330
|
+
@freeform_tags.setter
|
331
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
332
|
+
pulumi.set(self, "freeform_tags", value)
|
333
|
+
|
334
|
+
@property
|
335
|
+
@pulumi.getter(name="isEnabled")
|
336
|
+
def is_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
337
|
+
"""
|
338
|
+
(Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "is_enabled")
|
341
|
+
|
342
|
+
@is_enabled.setter
|
343
|
+
def is_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
344
|
+
pulumi.set(self, "is_enabled", value)
|
345
|
+
|
346
|
+
@property
|
347
|
+
@pulumi.getter(name="lifecycleDetails")
|
348
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[builtins.str]]:
|
349
|
+
"""
|
350
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
351
|
+
"""
|
352
|
+
return pulumi.get(self, "lifecycle_details")
|
353
|
+
|
354
|
+
@lifecycle_details.setter
|
355
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[builtins.str]]):
|
356
|
+
pulumi.set(self, "lifecycle_details", value)
|
357
|
+
|
358
|
+
@property
|
359
|
+
@pulumi.getter(name="lifecycleSubstate")
|
360
|
+
def lifecycle_substate(self) -> Optional[pulumi.Input[builtins.str]]:
|
361
|
+
"""
|
362
|
+
The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
|
363
|
+
"""
|
364
|
+
return pulumi.get(self, "lifecycle_substate")
|
365
|
+
|
366
|
+
@lifecycle_substate.setter
|
367
|
+
def lifecycle_substate(self, value: Optional[pulumi.Input[builtins.str]]):
|
368
|
+
pulumi.set(self, "lifecycle_substate", value)
|
369
|
+
|
370
|
+
@property
|
371
|
+
@pulumi.getter(name="mlApplicationId")
|
372
|
+
def ml_application_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
373
|
+
"""
|
374
|
+
The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "ml_application_id")
|
377
|
+
|
378
|
+
@ml_application_id.setter
|
379
|
+
def ml_application_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
380
|
+
pulumi.set(self, "ml_application_id", value)
|
381
|
+
|
382
|
+
@property
|
383
|
+
@pulumi.getter(name="mlApplicationImplementationId")
|
384
|
+
def ml_application_implementation_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
385
|
+
"""
|
386
|
+
(Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
|
387
|
+
|
388
|
+
|
389
|
+
** IMPORTANT **
|
390
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "ml_application_implementation_id")
|
393
|
+
|
394
|
+
@ml_application_implementation_id.setter
|
395
|
+
def ml_application_implementation_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
396
|
+
pulumi.set(self, "ml_application_implementation_id", value)
|
397
|
+
|
398
|
+
@property
|
399
|
+
@pulumi.getter(name="mlApplicationImplementationName")
|
400
|
+
def ml_application_implementation_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
401
|
+
"""
|
402
|
+
The name of Ml Application Implementation (based on mlApplicationImplementationId)
|
403
|
+
"""
|
404
|
+
return pulumi.get(self, "ml_application_implementation_name")
|
405
|
+
|
406
|
+
@ml_application_implementation_name.setter
|
407
|
+
def ml_application_implementation_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
408
|
+
pulumi.set(self, "ml_application_implementation_name", value)
|
409
|
+
|
410
|
+
@property
|
411
|
+
@pulumi.getter(name="mlApplicationName")
|
412
|
+
def ml_application_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
413
|
+
"""
|
414
|
+
The name of ML Application (based on mlApplicationId).
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "ml_application_name")
|
417
|
+
|
418
|
+
@ml_application_name.setter
|
419
|
+
def ml_application_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
420
|
+
pulumi.set(self, "ml_application_name", value)
|
421
|
+
|
422
|
+
@property
|
423
|
+
@pulumi.getter(name="predictionEndpointDetails")
|
424
|
+
def prediction_endpoint_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstancePredictionEndpointDetailArgs']]]]:
|
425
|
+
"""
|
426
|
+
Prediction endpoint related information.
|
427
|
+
"""
|
428
|
+
return pulumi.get(self, "prediction_endpoint_details")
|
429
|
+
|
430
|
+
@prediction_endpoint_details.setter
|
431
|
+
def prediction_endpoint_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MlApplicationInstancePredictionEndpointDetailArgs']]]]):
|
432
|
+
pulumi.set(self, "prediction_endpoint_details", value)
|
433
|
+
|
434
|
+
@property
|
435
|
+
@pulumi.getter
|
436
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
437
|
+
"""
|
438
|
+
The current state of the MlApplicationInstance.
|
439
|
+
"""
|
440
|
+
return pulumi.get(self, "state")
|
441
|
+
|
442
|
+
@state.setter
|
443
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
444
|
+
pulumi.set(self, "state", value)
|
445
|
+
|
446
|
+
@property
|
447
|
+
@pulumi.getter(name="systemTags")
|
448
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
449
|
+
"""
|
450
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
451
|
+
"""
|
452
|
+
return pulumi.get(self, "system_tags")
|
453
|
+
|
454
|
+
@system_tags.setter
|
455
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
456
|
+
pulumi.set(self, "system_tags", value)
|
457
|
+
|
458
|
+
@property
|
459
|
+
@pulumi.getter(name="timeCreated")
|
460
|
+
def time_created(self) -> Optional[pulumi.Input[builtins.str]]:
|
461
|
+
"""
|
462
|
+
The time the the MlApplication was created. An RFC3339 formatted datetime string
|
463
|
+
"""
|
464
|
+
return pulumi.get(self, "time_created")
|
465
|
+
|
466
|
+
@time_created.setter
|
467
|
+
def time_created(self, value: Optional[pulumi.Input[builtins.str]]):
|
468
|
+
pulumi.set(self, "time_created", value)
|
469
|
+
|
470
|
+
@property
|
471
|
+
@pulumi.getter(name="timeUpdated")
|
472
|
+
def time_updated(self) -> Optional[pulumi.Input[builtins.str]]:
|
473
|
+
"""
|
474
|
+
Time of last MlApplicationInstance update in the format defined by RFC 3339.
|
475
|
+
"""
|
476
|
+
return pulumi.get(self, "time_updated")
|
477
|
+
|
478
|
+
@time_updated.setter
|
479
|
+
def time_updated(self, value: Optional[pulumi.Input[builtins.str]]):
|
480
|
+
pulumi.set(self, "time_updated", value)
|
481
|
+
|
482
|
+
|
483
|
+
class MlApplicationInstance(pulumi.CustomResource):
|
484
|
+
@overload
|
485
|
+
def __init__(__self__,
|
486
|
+
resource_name: str,
|
487
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
488
|
+
auth_configuration: Optional[pulumi.Input[Union['MlApplicationInstanceAuthConfigurationArgs', 'MlApplicationInstanceAuthConfigurationArgsDict']]] = None,
|
489
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
490
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationInstanceConfigurationArgs', 'MlApplicationInstanceConfigurationArgsDict']]]]] = None,
|
491
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
492
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
493
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
494
|
+
is_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
495
|
+
ml_application_id: Optional[pulumi.Input[builtins.str]] = None,
|
496
|
+
ml_application_implementation_id: Optional[pulumi.Input[builtins.str]] = None,
|
497
|
+
__props__=None):
|
498
|
+
"""
|
499
|
+
This resource provides the Ml Application Instance resource in Oracle Cloud Infrastructure Data Science service.
|
500
|
+
|
501
|
+
Creates a new MlApplicationInstance.
|
502
|
+
|
503
|
+
## Import
|
504
|
+
|
505
|
+
MlApplicationInstances can be imported using the `id`, e.g.
|
506
|
+
|
507
|
+
```sh
|
508
|
+
$ pulumi import oci:DataScience/mlApplicationInstance:MlApplicationInstance test_ml_application_instance "id"
|
509
|
+
```
|
510
|
+
|
511
|
+
:param str resource_name: The name of the resource.
|
512
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
513
|
+
:param pulumi.Input[Union['MlApplicationInstanceAuthConfigurationArgs', 'MlApplicationInstanceAuthConfigurationArgsDict']] auth_configuration: AuthN/Z configuration for online prediction
|
514
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
|
515
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationInstanceConfigurationArgs', 'MlApplicationInstanceConfigurationArgsDict']]]] configurations: (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
|
516
|
+
: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"}`
|
517
|
+
:param pulumi.Input[builtins.str] display_name: The name of MlApplicationInstance. System will generate displayName when not provided.
|
518
|
+
: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"}`
|
519
|
+
:param pulumi.Input[builtins.bool] is_enabled: (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
|
520
|
+
:param pulumi.Input[builtins.str] ml_application_id: The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
|
521
|
+
:param pulumi.Input[builtins.str] ml_application_implementation_id: (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
|
522
|
+
|
523
|
+
|
524
|
+
** IMPORTANT **
|
525
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
526
|
+
"""
|
527
|
+
...
|
528
|
+
@overload
|
529
|
+
def __init__(__self__,
|
530
|
+
resource_name: str,
|
531
|
+
args: MlApplicationInstanceArgs,
|
532
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
533
|
+
"""
|
534
|
+
This resource provides the Ml Application Instance resource in Oracle Cloud Infrastructure Data Science service.
|
535
|
+
|
536
|
+
Creates a new MlApplicationInstance.
|
537
|
+
|
538
|
+
## Import
|
539
|
+
|
540
|
+
MlApplicationInstances can be imported using the `id`, e.g.
|
541
|
+
|
542
|
+
```sh
|
543
|
+
$ pulumi import oci:DataScience/mlApplicationInstance:MlApplicationInstance test_ml_application_instance "id"
|
544
|
+
```
|
545
|
+
|
546
|
+
:param str resource_name: The name of the resource.
|
547
|
+
:param MlApplicationInstanceArgs args: The arguments to use to populate this resource's properties.
|
548
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
549
|
+
"""
|
550
|
+
...
|
551
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
552
|
+
resource_args, opts = _utilities.get_resource_args_opts(MlApplicationInstanceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
553
|
+
if resource_args is not None:
|
554
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
555
|
+
else:
|
556
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
557
|
+
|
558
|
+
def _internal_init(__self__,
|
559
|
+
resource_name: str,
|
560
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
561
|
+
auth_configuration: Optional[pulumi.Input[Union['MlApplicationInstanceAuthConfigurationArgs', 'MlApplicationInstanceAuthConfigurationArgsDict']]] = None,
|
562
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
563
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationInstanceConfigurationArgs', 'MlApplicationInstanceConfigurationArgsDict']]]]] = None,
|
564
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
565
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
566
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
567
|
+
is_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
568
|
+
ml_application_id: Optional[pulumi.Input[builtins.str]] = None,
|
569
|
+
ml_application_implementation_id: Optional[pulumi.Input[builtins.str]] = None,
|
570
|
+
__props__=None):
|
571
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
572
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
573
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
574
|
+
if opts.id is None:
|
575
|
+
if __props__ is not None:
|
576
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
577
|
+
__props__ = MlApplicationInstanceArgs.__new__(MlApplicationInstanceArgs)
|
578
|
+
|
579
|
+
__props__.__dict__["auth_configuration"] = auth_configuration
|
580
|
+
if compartment_id is None and not opts.urn:
|
581
|
+
raise TypeError("Missing required property 'compartment_id'")
|
582
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
583
|
+
__props__.__dict__["configurations"] = configurations
|
584
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
585
|
+
__props__.__dict__["display_name"] = display_name
|
586
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
587
|
+
__props__.__dict__["is_enabled"] = is_enabled
|
588
|
+
if ml_application_id is None and not opts.urn:
|
589
|
+
raise TypeError("Missing required property 'ml_application_id'")
|
590
|
+
__props__.__dict__["ml_application_id"] = ml_application_id
|
591
|
+
if ml_application_implementation_id is None and not opts.urn:
|
592
|
+
raise TypeError("Missing required property 'ml_application_implementation_id'")
|
593
|
+
__props__.__dict__["ml_application_implementation_id"] = ml_application_implementation_id
|
594
|
+
__props__.__dict__["lifecycle_details"] = None
|
595
|
+
__props__.__dict__["lifecycle_substate"] = None
|
596
|
+
__props__.__dict__["ml_application_implementation_name"] = None
|
597
|
+
__props__.__dict__["ml_application_name"] = None
|
598
|
+
__props__.__dict__["prediction_endpoint_details"] = None
|
599
|
+
__props__.__dict__["state"] = None
|
600
|
+
__props__.__dict__["system_tags"] = None
|
601
|
+
__props__.__dict__["time_created"] = None
|
602
|
+
__props__.__dict__["time_updated"] = None
|
603
|
+
super(MlApplicationInstance, __self__).__init__(
|
604
|
+
'oci:DataScience/mlApplicationInstance:MlApplicationInstance',
|
605
|
+
resource_name,
|
606
|
+
__props__,
|
607
|
+
opts)
|
608
|
+
|
609
|
+
@staticmethod
|
610
|
+
def get(resource_name: str,
|
611
|
+
id: pulumi.Input[str],
|
612
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
613
|
+
auth_configuration: Optional[pulumi.Input[Union['MlApplicationInstanceAuthConfigurationArgs', 'MlApplicationInstanceAuthConfigurationArgsDict']]] = None,
|
614
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
615
|
+
configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationInstanceConfigurationArgs', 'MlApplicationInstanceConfigurationArgsDict']]]]] = None,
|
616
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
617
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
618
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
619
|
+
is_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
620
|
+
lifecycle_details: Optional[pulumi.Input[builtins.str]] = None,
|
621
|
+
lifecycle_substate: Optional[pulumi.Input[builtins.str]] = None,
|
622
|
+
ml_application_id: Optional[pulumi.Input[builtins.str]] = None,
|
623
|
+
ml_application_implementation_id: Optional[pulumi.Input[builtins.str]] = None,
|
624
|
+
ml_application_implementation_name: Optional[pulumi.Input[builtins.str]] = None,
|
625
|
+
ml_application_name: Optional[pulumi.Input[builtins.str]] = None,
|
626
|
+
prediction_endpoint_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationInstancePredictionEndpointDetailArgs', 'MlApplicationInstancePredictionEndpointDetailArgsDict']]]]] = None,
|
627
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
628
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
629
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
630
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None) -> 'MlApplicationInstance':
|
631
|
+
"""
|
632
|
+
Get an existing MlApplicationInstance resource's state with the given name, id, and optional extra
|
633
|
+
properties used to qualify the lookup.
|
634
|
+
|
635
|
+
:param str resource_name: The unique name of the resulting resource.
|
636
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
637
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
638
|
+
:param pulumi.Input[Union['MlApplicationInstanceAuthConfigurationArgs', 'MlApplicationInstanceAuthConfigurationArgsDict']] auth_configuration: AuthN/Z configuration for online prediction
|
639
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
|
640
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationInstanceConfigurationArgs', 'MlApplicationInstanceConfigurationArgsDict']]]] configurations: (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
|
641
|
+
: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"}`
|
642
|
+
:param pulumi.Input[builtins.str] display_name: The name of MlApplicationInstance. System will generate displayName when not provided.
|
643
|
+
: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"}`
|
644
|
+
:param pulumi.Input[builtins.bool] is_enabled: (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
|
645
|
+
: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.
|
646
|
+
:param pulumi.Input[builtins.str] lifecycle_substate: The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
|
647
|
+
:param pulumi.Input[builtins.str] ml_application_id: The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
|
648
|
+
:param pulumi.Input[builtins.str] ml_application_implementation_id: (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
|
649
|
+
|
650
|
+
|
651
|
+
** IMPORTANT **
|
652
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
653
|
+
:param pulumi.Input[builtins.str] ml_application_implementation_name: The name of Ml Application Implementation (based on mlApplicationImplementationId)
|
654
|
+
:param pulumi.Input[builtins.str] ml_application_name: The name of ML Application (based on mlApplicationId).
|
655
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MlApplicationInstancePredictionEndpointDetailArgs', 'MlApplicationInstancePredictionEndpointDetailArgsDict']]]] prediction_endpoint_details: Prediction endpoint related information.
|
656
|
+
:param pulumi.Input[builtins.str] state: The current state of the MlApplicationInstance.
|
657
|
+
: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"}`
|
658
|
+
:param pulumi.Input[builtins.str] time_created: The time the the MlApplication was created. An RFC3339 formatted datetime string
|
659
|
+
:param pulumi.Input[builtins.str] time_updated: Time of last MlApplicationInstance update in the format defined by RFC 3339.
|
660
|
+
"""
|
661
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
662
|
+
|
663
|
+
__props__ = _MlApplicationInstanceState.__new__(_MlApplicationInstanceState)
|
664
|
+
|
665
|
+
__props__.__dict__["auth_configuration"] = auth_configuration
|
666
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
667
|
+
__props__.__dict__["configurations"] = configurations
|
668
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
669
|
+
__props__.__dict__["display_name"] = display_name
|
670
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
671
|
+
__props__.__dict__["is_enabled"] = is_enabled
|
672
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
673
|
+
__props__.__dict__["lifecycle_substate"] = lifecycle_substate
|
674
|
+
__props__.__dict__["ml_application_id"] = ml_application_id
|
675
|
+
__props__.__dict__["ml_application_implementation_id"] = ml_application_implementation_id
|
676
|
+
__props__.__dict__["ml_application_implementation_name"] = ml_application_implementation_name
|
677
|
+
__props__.__dict__["ml_application_name"] = ml_application_name
|
678
|
+
__props__.__dict__["prediction_endpoint_details"] = prediction_endpoint_details
|
679
|
+
__props__.__dict__["state"] = state
|
680
|
+
__props__.__dict__["system_tags"] = system_tags
|
681
|
+
__props__.__dict__["time_created"] = time_created
|
682
|
+
__props__.__dict__["time_updated"] = time_updated
|
683
|
+
return MlApplicationInstance(resource_name, opts=opts, __props__=__props__)
|
684
|
+
|
685
|
+
@property
|
686
|
+
@pulumi.getter(name="authConfiguration")
|
687
|
+
def auth_configuration(self) -> pulumi.Output['outputs.MlApplicationInstanceAuthConfiguration']:
|
688
|
+
"""
|
689
|
+
AuthN/Z configuration for online prediction
|
690
|
+
"""
|
691
|
+
return pulumi.get(self, "auth_configuration")
|
692
|
+
|
693
|
+
@property
|
694
|
+
@pulumi.getter(name="compartmentId")
|
695
|
+
def compartment_id(self) -> pulumi.Output[builtins.str]:
|
696
|
+
"""
|
697
|
+
(Updatable) The OCID of the compartment where the MlApplicationInstance is created.
|
698
|
+
"""
|
699
|
+
return pulumi.get(self, "compartment_id")
|
700
|
+
|
701
|
+
@property
|
702
|
+
@pulumi.getter
|
703
|
+
def configurations(self) -> pulumi.Output[Sequence['outputs.MlApplicationInstanceConfiguration']]:
|
704
|
+
"""
|
705
|
+
(Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
|
706
|
+
"""
|
707
|
+
return pulumi.get(self, "configurations")
|
708
|
+
|
709
|
+
@property
|
710
|
+
@pulumi.getter(name="definedTags")
|
711
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
712
|
+
"""
|
713
|
+
(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"}`
|
714
|
+
"""
|
715
|
+
return pulumi.get(self, "defined_tags")
|
716
|
+
|
717
|
+
@property
|
718
|
+
@pulumi.getter(name="displayName")
|
719
|
+
def display_name(self) -> pulumi.Output[builtins.str]:
|
720
|
+
"""
|
721
|
+
The name of MlApplicationInstance. System will generate displayName when not provided.
|
722
|
+
"""
|
723
|
+
return pulumi.get(self, "display_name")
|
724
|
+
|
725
|
+
@property
|
726
|
+
@pulumi.getter(name="freeformTags")
|
727
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
728
|
+
"""
|
729
|
+
(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"}`
|
730
|
+
"""
|
731
|
+
return pulumi.get(self, "freeform_tags")
|
732
|
+
|
733
|
+
@property
|
734
|
+
@pulumi.getter(name="isEnabled")
|
735
|
+
def is_enabled(self) -> pulumi.Output[builtins.bool]:
|
736
|
+
"""
|
737
|
+
(Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
|
738
|
+
"""
|
739
|
+
return pulumi.get(self, "is_enabled")
|
740
|
+
|
741
|
+
@property
|
742
|
+
@pulumi.getter(name="lifecycleDetails")
|
743
|
+
def lifecycle_details(self) -> pulumi.Output[builtins.str]:
|
744
|
+
"""
|
745
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
746
|
+
"""
|
747
|
+
return pulumi.get(self, "lifecycle_details")
|
748
|
+
|
749
|
+
@property
|
750
|
+
@pulumi.getter(name="lifecycleSubstate")
|
751
|
+
def lifecycle_substate(self) -> pulumi.Output[builtins.str]:
|
752
|
+
"""
|
753
|
+
The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
|
754
|
+
"""
|
755
|
+
return pulumi.get(self, "lifecycle_substate")
|
756
|
+
|
757
|
+
@property
|
758
|
+
@pulumi.getter(name="mlApplicationId")
|
759
|
+
def ml_application_id(self) -> pulumi.Output[builtins.str]:
|
760
|
+
"""
|
761
|
+
The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
|
762
|
+
"""
|
763
|
+
return pulumi.get(self, "ml_application_id")
|
764
|
+
|
765
|
+
@property
|
766
|
+
@pulumi.getter(name="mlApplicationImplementationId")
|
767
|
+
def ml_application_implementation_id(self) -> pulumi.Output[builtins.str]:
|
768
|
+
"""
|
769
|
+
(Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
|
770
|
+
|
771
|
+
|
772
|
+
** IMPORTANT **
|
773
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
774
|
+
"""
|
775
|
+
return pulumi.get(self, "ml_application_implementation_id")
|
776
|
+
|
777
|
+
@property
|
778
|
+
@pulumi.getter(name="mlApplicationImplementationName")
|
779
|
+
def ml_application_implementation_name(self) -> pulumi.Output[builtins.str]:
|
780
|
+
"""
|
781
|
+
The name of Ml Application Implementation (based on mlApplicationImplementationId)
|
782
|
+
"""
|
783
|
+
return pulumi.get(self, "ml_application_implementation_name")
|
784
|
+
|
785
|
+
@property
|
786
|
+
@pulumi.getter(name="mlApplicationName")
|
787
|
+
def ml_application_name(self) -> pulumi.Output[builtins.str]:
|
788
|
+
"""
|
789
|
+
The name of ML Application (based on mlApplicationId).
|
790
|
+
"""
|
791
|
+
return pulumi.get(self, "ml_application_name")
|
792
|
+
|
793
|
+
@property
|
794
|
+
@pulumi.getter(name="predictionEndpointDetails")
|
795
|
+
def prediction_endpoint_details(self) -> pulumi.Output[Sequence['outputs.MlApplicationInstancePredictionEndpointDetail']]:
|
796
|
+
"""
|
797
|
+
Prediction endpoint related information.
|
798
|
+
"""
|
799
|
+
return pulumi.get(self, "prediction_endpoint_details")
|
800
|
+
|
801
|
+
@property
|
802
|
+
@pulumi.getter
|
803
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
804
|
+
"""
|
805
|
+
The current state of the MlApplicationInstance.
|
806
|
+
"""
|
807
|
+
return pulumi.get(self, "state")
|
808
|
+
|
809
|
+
@property
|
810
|
+
@pulumi.getter(name="systemTags")
|
811
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
812
|
+
"""
|
813
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
814
|
+
"""
|
815
|
+
return pulumi.get(self, "system_tags")
|
816
|
+
|
817
|
+
@property
|
818
|
+
@pulumi.getter(name="timeCreated")
|
819
|
+
def time_created(self) -> pulumi.Output[builtins.str]:
|
820
|
+
"""
|
821
|
+
The time the the MlApplication was created. An RFC3339 formatted datetime string
|
822
|
+
"""
|
823
|
+
return pulumi.get(self, "time_created")
|
824
|
+
|
825
|
+
@property
|
826
|
+
@pulumi.getter(name="timeUpdated")
|
827
|
+
def time_updated(self) -> pulumi.Output[builtins.str]:
|
828
|
+
"""
|
829
|
+
Time of last MlApplicationInstance update in the format defined by RFC 3339.
|
830
|
+
"""
|
831
|
+
return pulumi.get(self, "time_updated")
|
832
|
+
|