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,252 @@
|
|
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__ = [
|
21
|
+
'GetMlApplicationImplementationsResult',
|
22
|
+
'AwaitableGetMlApplicationImplementationsResult',
|
23
|
+
'get_ml_application_implementations',
|
24
|
+
'get_ml_application_implementations_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetMlApplicationImplementationsResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getMlApplicationImplementations.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, id=None, ml_application_id=None, ml_application_implementation_collections=None, ml_application_implementation_id=None, name=None, state=None):
|
33
|
+
if compartment_id and not isinstance(compartment_id, str):
|
34
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
35
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
36
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
37
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
38
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
39
|
+
if filters and not isinstance(filters, list):
|
40
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
41
|
+
pulumi.set(__self__, "filters", filters)
|
42
|
+
if id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
45
|
+
if ml_application_id and not isinstance(ml_application_id, str):
|
46
|
+
raise TypeError("Expected argument 'ml_application_id' to be a str")
|
47
|
+
pulumi.set(__self__, "ml_application_id", ml_application_id)
|
48
|
+
if ml_application_implementation_collections and not isinstance(ml_application_implementation_collections, list):
|
49
|
+
raise TypeError("Expected argument 'ml_application_implementation_collections' to be a list")
|
50
|
+
pulumi.set(__self__, "ml_application_implementation_collections", ml_application_implementation_collections)
|
51
|
+
if ml_application_implementation_id and not isinstance(ml_application_implementation_id, str):
|
52
|
+
raise TypeError("Expected argument 'ml_application_implementation_id' to be a str")
|
53
|
+
pulumi.set(__self__, "ml_application_implementation_id", ml_application_implementation_id)
|
54
|
+
if name and not isinstance(name, str):
|
55
|
+
raise TypeError("Expected argument 'name' to be a str")
|
56
|
+
pulumi.set(__self__, "name", name)
|
57
|
+
if state and not isinstance(state, str):
|
58
|
+
raise TypeError("Expected argument 'state' to be a str")
|
59
|
+
pulumi.set(__self__, "state", state)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="compartmentId")
|
63
|
+
def compartment_id(self) -> builtins.str:
|
64
|
+
"""
|
65
|
+
The OCID of the compartment where ML Application Implementation is created.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "compartment_id")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
71
|
+
def compartment_id_in_subtree(self) -> Optional[builtins.bool]:
|
72
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def filters(self) -> Optional[Sequence['outputs.GetMlApplicationImplementationsFilterResult']]:
|
77
|
+
return pulumi.get(self, "filters")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def id(self) -> builtins.str:
|
82
|
+
"""
|
83
|
+
The provider-assigned unique ID for this managed resource.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "id")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="mlApplicationId")
|
89
|
+
def ml_application_id(self) -> Optional[builtins.str]:
|
90
|
+
"""
|
91
|
+
The OCID of the ML Application implemented by this ML Application Implementation.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "ml_application_id")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="mlApplicationImplementationCollections")
|
97
|
+
def ml_application_implementation_collections(self) -> Sequence['outputs.GetMlApplicationImplementationsMlApplicationImplementationCollectionResult']:
|
98
|
+
"""
|
99
|
+
The list of ml_application_implementation_collection.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "ml_application_implementation_collections")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="mlApplicationImplementationId")
|
105
|
+
def ml_application_implementation_id(self) -> Optional[builtins.str]:
|
106
|
+
return pulumi.get(self, "ml_application_implementation_id")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def name(self) -> Optional[builtins.str]:
|
111
|
+
"""
|
112
|
+
ML Application Implementation name which is unique for given ML Application.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "name")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def state(self) -> Optional[builtins.str]:
|
119
|
+
"""
|
120
|
+
The current state of the MlApplicationImplementation.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "state")
|
123
|
+
|
124
|
+
|
125
|
+
class AwaitableGetMlApplicationImplementationsResult(GetMlApplicationImplementationsResult):
|
126
|
+
# pylint: disable=using-constant-test
|
127
|
+
def __await__(self):
|
128
|
+
if False:
|
129
|
+
yield self
|
130
|
+
return GetMlApplicationImplementationsResult(
|
131
|
+
compartment_id=self.compartment_id,
|
132
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
133
|
+
filters=self.filters,
|
134
|
+
id=self.id,
|
135
|
+
ml_application_id=self.ml_application_id,
|
136
|
+
ml_application_implementation_collections=self.ml_application_implementation_collections,
|
137
|
+
ml_application_implementation_id=self.ml_application_implementation_id,
|
138
|
+
name=self.name,
|
139
|
+
state=self.state)
|
140
|
+
|
141
|
+
|
142
|
+
def get_ml_application_implementations(compartment_id: Optional[builtins.str] = None,
|
143
|
+
compartment_id_in_subtree: Optional[builtins.bool] = None,
|
144
|
+
filters: Optional[Sequence[Union['GetMlApplicationImplementationsFilterArgs', 'GetMlApplicationImplementationsFilterArgsDict']]] = None,
|
145
|
+
ml_application_id: Optional[builtins.str] = None,
|
146
|
+
ml_application_implementation_id: Optional[builtins.str] = None,
|
147
|
+
name: Optional[builtins.str] = None,
|
148
|
+
state: Optional[builtins.str] = None,
|
149
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlApplicationImplementationsResult:
|
150
|
+
"""
|
151
|
+
This data source provides the list of Ml Application Implementations in Oracle Cloud Infrastructure Data Science service.
|
152
|
+
|
153
|
+
Returns a list of MlApplicationImplementations.
|
154
|
+
|
155
|
+
## Example Usage
|
156
|
+
|
157
|
+
```python
|
158
|
+
import pulumi
|
159
|
+
import pulumi_oci as oci
|
160
|
+
|
161
|
+
test_ml_application_implementations = oci.DataScience.get_ml_application_implementations(compartment_id=compartment_id,
|
162
|
+
compartment_id_in_subtree=ml_application_implementation_compartment_id_in_subtree,
|
163
|
+
ml_application_id=test_ml_application["id"],
|
164
|
+
ml_application_implementation_id=test_ml_application_implementation["id"],
|
165
|
+
name=ml_application_implementation_name,
|
166
|
+
state=ml_application_implementation_state)
|
167
|
+
```
|
168
|
+
|
169
|
+
|
170
|
+
:param builtins.str compartment_id: <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
171
|
+
:param builtins.bool compartment_id_in_subtree: If it is true search must include all results from descendant compartments. Value true is allowed only if compartmentId refers to root compartment.
|
172
|
+
:param builtins.str ml_application_id: unique MlApplication identifier
|
173
|
+
:param builtins.str ml_application_implementation_id: unique MlApplicationImplementation identifier
|
174
|
+
:param builtins.str name: A filter to return only resources that match the entire name given.
|
175
|
+
:param builtins.str state: A filter to return only resources with lifecycleState matching the given lifecycleState.
|
176
|
+
"""
|
177
|
+
__args__ = dict()
|
178
|
+
__args__['compartmentId'] = compartment_id
|
179
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
180
|
+
__args__['filters'] = filters
|
181
|
+
__args__['mlApplicationId'] = ml_application_id
|
182
|
+
__args__['mlApplicationImplementationId'] = ml_application_implementation_id
|
183
|
+
__args__['name'] = name
|
184
|
+
__args__['state'] = state
|
185
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
186
|
+
__ret__ = pulumi.runtime.invoke('oci:DataScience/getMlApplicationImplementations:getMlApplicationImplementations', __args__, opts=opts, typ=GetMlApplicationImplementationsResult).value
|
187
|
+
|
188
|
+
return AwaitableGetMlApplicationImplementationsResult(
|
189
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
190
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
191
|
+
filters=pulumi.get(__ret__, 'filters'),
|
192
|
+
id=pulumi.get(__ret__, 'id'),
|
193
|
+
ml_application_id=pulumi.get(__ret__, 'ml_application_id'),
|
194
|
+
ml_application_implementation_collections=pulumi.get(__ret__, 'ml_application_implementation_collections'),
|
195
|
+
ml_application_implementation_id=pulumi.get(__ret__, 'ml_application_implementation_id'),
|
196
|
+
name=pulumi.get(__ret__, 'name'),
|
197
|
+
state=pulumi.get(__ret__, 'state'))
|
198
|
+
def get_ml_application_implementations_output(compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
199
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
200
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetMlApplicationImplementationsFilterArgs', 'GetMlApplicationImplementationsFilterArgsDict']]]]] = None,
|
201
|
+
ml_application_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
202
|
+
ml_application_implementation_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
203
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
204
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
205
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlApplicationImplementationsResult]:
|
206
|
+
"""
|
207
|
+
This data source provides the list of Ml Application Implementations in Oracle Cloud Infrastructure Data Science service.
|
208
|
+
|
209
|
+
Returns a list of MlApplicationImplementations.
|
210
|
+
|
211
|
+
## Example Usage
|
212
|
+
|
213
|
+
```python
|
214
|
+
import pulumi
|
215
|
+
import pulumi_oci as oci
|
216
|
+
|
217
|
+
test_ml_application_implementations = oci.DataScience.get_ml_application_implementations(compartment_id=compartment_id,
|
218
|
+
compartment_id_in_subtree=ml_application_implementation_compartment_id_in_subtree,
|
219
|
+
ml_application_id=test_ml_application["id"],
|
220
|
+
ml_application_implementation_id=test_ml_application_implementation["id"],
|
221
|
+
name=ml_application_implementation_name,
|
222
|
+
state=ml_application_implementation_state)
|
223
|
+
```
|
224
|
+
|
225
|
+
|
226
|
+
:param builtins.str compartment_id: <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
227
|
+
:param builtins.bool compartment_id_in_subtree: If it is true search must include all results from descendant compartments. Value true is allowed only if compartmentId refers to root compartment.
|
228
|
+
:param builtins.str ml_application_id: unique MlApplication identifier
|
229
|
+
:param builtins.str ml_application_implementation_id: unique MlApplicationImplementation identifier
|
230
|
+
:param builtins.str name: A filter to return only resources that match the entire name given.
|
231
|
+
:param builtins.str state: A filter to return only resources with lifecycleState matching the given lifecycleState.
|
232
|
+
"""
|
233
|
+
__args__ = dict()
|
234
|
+
__args__['compartmentId'] = compartment_id
|
235
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
236
|
+
__args__['filters'] = filters
|
237
|
+
__args__['mlApplicationId'] = ml_application_id
|
238
|
+
__args__['mlApplicationImplementationId'] = ml_application_implementation_id
|
239
|
+
__args__['name'] = name
|
240
|
+
__args__['state'] = state
|
241
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
242
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataScience/getMlApplicationImplementations:getMlApplicationImplementations', __args__, opts=opts, typ=GetMlApplicationImplementationsResult)
|
243
|
+
return __ret__.apply(lambda __response__: GetMlApplicationImplementationsResult(
|
244
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
245
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
246
|
+
filters=pulumi.get(__response__, 'filters'),
|
247
|
+
id=pulumi.get(__response__, 'id'),
|
248
|
+
ml_application_id=pulumi.get(__response__, 'ml_application_id'),
|
249
|
+
ml_application_implementation_collections=pulumi.get(__response__, 'ml_application_implementation_collections'),
|
250
|
+
ml_application_implementation_id=pulumi.get(__response__, 'ml_application_implementation_id'),
|
251
|
+
name=pulumi.get(__response__, 'name'),
|
252
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -0,0 +1,367 @@
|
|
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
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetMlApplicationInstanceResult',
|
21
|
+
'AwaitableGetMlApplicationInstanceResult',
|
22
|
+
'get_ml_application_instance',
|
23
|
+
'get_ml_application_instance_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetMlApplicationInstanceResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getMlApplicationInstance.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, auth_configurations=None, compartment_id=None, configurations=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_enabled=None, lifecycle_details=None, lifecycle_substate=None, ml_application_id=None, ml_application_implementation_id=None, ml_application_implementation_name=None, ml_application_instance_id=None, ml_application_name=None, prediction_endpoint_details=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
32
|
+
if auth_configurations and not isinstance(auth_configurations, list):
|
33
|
+
raise TypeError("Expected argument 'auth_configurations' to be a list")
|
34
|
+
pulumi.set(__self__, "auth_configurations", auth_configurations)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if configurations and not isinstance(configurations, list):
|
39
|
+
raise TypeError("Expected argument 'configurations' to be a list")
|
40
|
+
pulumi.set(__self__, "configurations", configurations)
|
41
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
42
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
43
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
44
|
+
if display_name and not isinstance(display_name, str):
|
45
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
46
|
+
pulumi.set(__self__, "display_name", display_name)
|
47
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
48
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
49
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
50
|
+
if id and not isinstance(id, str):
|
51
|
+
raise TypeError("Expected argument 'id' to be a str")
|
52
|
+
pulumi.set(__self__, "id", id)
|
53
|
+
if is_enabled and not isinstance(is_enabled, bool):
|
54
|
+
raise TypeError("Expected argument 'is_enabled' to be a bool")
|
55
|
+
pulumi.set(__self__, "is_enabled", is_enabled)
|
56
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
57
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
58
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
59
|
+
if lifecycle_substate and not isinstance(lifecycle_substate, str):
|
60
|
+
raise TypeError("Expected argument 'lifecycle_substate' to be a str")
|
61
|
+
pulumi.set(__self__, "lifecycle_substate", lifecycle_substate)
|
62
|
+
if ml_application_id and not isinstance(ml_application_id, str):
|
63
|
+
raise TypeError("Expected argument 'ml_application_id' to be a str")
|
64
|
+
pulumi.set(__self__, "ml_application_id", ml_application_id)
|
65
|
+
if ml_application_implementation_id and not isinstance(ml_application_implementation_id, str):
|
66
|
+
raise TypeError("Expected argument 'ml_application_implementation_id' to be a str")
|
67
|
+
pulumi.set(__self__, "ml_application_implementation_id", ml_application_implementation_id)
|
68
|
+
if ml_application_implementation_name and not isinstance(ml_application_implementation_name, str):
|
69
|
+
raise TypeError("Expected argument 'ml_application_implementation_name' to be a str")
|
70
|
+
pulumi.set(__self__, "ml_application_implementation_name", ml_application_implementation_name)
|
71
|
+
if ml_application_instance_id and not isinstance(ml_application_instance_id, str):
|
72
|
+
raise TypeError("Expected argument 'ml_application_instance_id' to be a str")
|
73
|
+
pulumi.set(__self__, "ml_application_instance_id", ml_application_instance_id)
|
74
|
+
if ml_application_name and not isinstance(ml_application_name, str):
|
75
|
+
raise TypeError("Expected argument 'ml_application_name' to be a str")
|
76
|
+
pulumi.set(__self__, "ml_application_name", ml_application_name)
|
77
|
+
if prediction_endpoint_details and not isinstance(prediction_endpoint_details, list):
|
78
|
+
raise TypeError("Expected argument 'prediction_endpoint_details' to be a list")
|
79
|
+
pulumi.set(__self__, "prediction_endpoint_details", prediction_endpoint_details)
|
80
|
+
if state and not isinstance(state, str):
|
81
|
+
raise TypeError("Expected argument 'state' to be a str")
|
82
|
+
pulumi.set(__self__, "state", state)
|
83
|
+
if system_tags and not isinstance(system_tags, dict):
|
84
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
85
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
86
|
+
if time_created and not isinstance(time_created, str):
|
87
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
88
|
+
pulumi.set(__self__, "time_created", time_created)
|
89
|
+
if time_updated and not isinstance(time_updated, str):
|
90
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
91
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="authConfigurations")
|
95
|
+
def auth_configurations(self) -> Sequence['outputs.GetMlApplicationInstanceAuthConfigurationResult']:
|
96
|
+
"""
|
97
|
+
AuthN/Z configuration for online prediction
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "auth_configurations")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="compartmentId")
|
103
|
+
def compartment_id(self) -> builtins.str:
|
104
|
+
"""
|
105
|
+
The OCID of the compartment where the MlApplicationInstance is created.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "compartment_id")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter
|
111
|
+
def configurations(self) -> Sequence['outputs.GetMlApplicationInstanceConfigurationResult']:
|
112
|
+
"""
|
113
|
+
Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "configurations")
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="definedTags")
|
119
|
+
def defined_tags(self) -> Mapping[str, builtins.str]:
|
120
|
+
"""
|
121
|
+
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"}`
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "defined_tags")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter(name="displayName")
|
127
|
+
def display_name(self) -> builtins.str:
|
128
|
+
"""
|
129
|
+
The name of MlApplicationInstance. System will generate displayName when not provided during creation.
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "display_name")
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="freeformTags")
|
135
|
+
def freeform_tags(self) -> Mapping[str, builtins.str]:
|
136
|
+
"""
|
137
|
+
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"}`
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "freeform_tags")
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter
|
143
|
+
def id(self) -> builtins.str:
|
144
|
+
"""
|
145
|
+
The OCID of the MlApplicationInstance. Unique identifier that is immutable after creation
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "id")
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="isEnabled")
|
151
|
+
def is_enabled(self) -> builtins.bool:
|
152
|
+
"""
|
153
|
+
States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "is_enabled")
|
156
|
+
|
157
|
+
@property
|
158
|
+
@pulumi.getter(name="lifecycleDetails")
|
159
|
+
def lifecycle_details(self) -> builtins.str:
|
160
|
+
"""
|
161
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "lifecycle_details")
|
164
|
+
|
165
|
+
@property
|
166
|
+
@pulumi.getter(name="lifecycleSubstate")
|
167
|
+
def lifecycle_substate(self) -> builtins.str:
|
168
|
+
"""
|
169
|
+
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.
|
170
|
+
"""
|
171
|
+
return pulumi.get(self, "lifecycle_substate")
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter(name="mlApplicationId")
|
175
|
+
def ml_application_id(self) -> builtins.str:
|
176
|
+
"""
|
177
|
+
The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
|
178
|
+
"""
|
179
|
+
return pulumi.get(self, "ml_application_id")
|
180
|
+
|
181
|
+
@property
|
182
|
+
@pulumi.getter(name="mlApplicationImplementationId")
|
183
|
+
def ml_application_implementation_id(self) -> builtins.str:
|
184
|
+
"""
|
185
|
+
The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "ml_application_implementation_id")
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter(name="mlApplicationImplementationName")
|
191
|
+
def ml_application_implementation_name(self) -> builtins.str:
|
192
|
+
"""
|
193
|
+
The name of Ml Application Implementation (based on mlApplicationImplementationId)
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "ml_application_implementation_name")
|
196
|
+
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="mlApplicationInstanceId")
|
199
|
+
def ml_application_instance_id(self) -> builtins.str:
|
200
|
+
return pulumi.get(self, "ml_application_instance_id")
|
201
|
+
|
202
|
+
@property
|
203
|
+
@pulumi.getter(name="mlApplicationName")
|
204
|
+
def ml_application_name(self) -> builtins.str:
|
205
|
+
"""
|
206
|
+
The name of ML Application (based on mlApplicationId).
|
207
|
+
"""
|
208
|
+
return pulumi.get(self, "ml_application_name")
|
209
|
+
|
210
|
+
@property
|
211
|
+
@pulumi.getter(name="predictionEndpointDetails")
|
212
|
+
def prediction_endpoint_details(self) -> Sequence['outputs.GetMlApplicationInstancePredictionEndpointDetailResult']:
|
213
|
+
"""
|
214
|
+
Prediction endpoint related information.
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "prediction_endpoint_details")
|
217
|
+
|
218
|
+
@property
|
219
|
+
@pulumi.getter
|
220
|
+
def state(self) -> builtins.str:
|
221
|
+
"""
|
222
|
+
The current state of the MlApplicationInstance.
|
223
|
+
"""
|
224
|
+
return pulumi.get(self, "state")
|
225
|
+
|
226
|
+
@property
|
227
|
+
@pulumi.getter(name="systemTags")
|
228
|
+
def system_tags(self) -> Mapping[str, builtins.str]:
|
229
|
+
"""
|
230
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
231
|
+
"""
|
232
|
+
return pulumi.get(self, "system_tags")
|
233
|
+
|
234
|
+
@property
|
235
|
+
@pulumi.getter(name="timeCreated")
|
236
|
+
def time_created(self) -> builtins.str:
|
237
|
+
"""
|
238
|
+
The time the the MlApplication was created. An RFC3339 formatted datetime string
|
239
|
+
"""
|
240
|
+
return pulumi.get(self, "time_created")
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter(name="timeUpdated")
|
244
|
+
def time_updated(self) -> builtins.str:
|
245
|
+
"""
|
246
|
+
Time of last MlApplicationInstance update in the format defined by RFC 3339.
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "time_updated")
|
249
|
+
|
250
|
+
|
251
|
+
class AwaitableGetMlApplicationInstanceResult(GetMlApplicationInstanceResult):
|
252
|
+
# pylint: disable=using-constant-test
|
253
|
+
def __await__(self):
|
254
|
+
if False:
|
255
|
+
yield self
|
256
|
+
return GetMlApplicationInstanceResult(
|
257
|
+
auth_configurations=self.auth_configurations,
|
258
|
+
compartment_id=self.compartment_id,
|
259
|
+
configurations=self.configurations,
|
260
|
+
defined_tags=self.defined_tags,
|
261
|
+
display_name=self.display_name,
|
262
|
+
freeform_tags=self.freeform_tags,
|
263
|
+
id=self.id,
|
264
|
+
is_enabled=self.is_enabled,
|
265
|
+
lifecycle_details=self.lifecycle_details,
|
266
|
+
lifecycle_substate=self.lifecycle_substate,
|
267
|
+
ml_application_id=self.ml_application_id,
|
268
|
+
ml_application_implementation_id=self.ml_application_implementation_id,
|
269
|
+
ml_application_implementation_name=self.ml_application_implementation_name,
|
270
|
+
ml_application_instance_id=self.ml_application_instance_id,
|
271
|
+
ml_application_name=self.ml_application_name,
|
272
|
+
prediction_endpoint_details=self.prediction_endpoint_details,
|
273
|
+
state=self.state,
|
274
|
+
system_tags=self.system_tags,
|
275
|
+
time_created=self.time_created,
|
276
|
+
time_updated=self.time_updated)
|
277
|
+
|
278
|
+
|
279
|
+
def get_ml_application_instance(ml_application_instance_id: Optional[builtins.str] = None,
|
280
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlApplicationInstanceResult:
|
281
|
+
"""
|
282
|
+
This data source provides details about a specific Ml Application Instance resource in Oracle Cloud Infrastructure Data Science service.
|
283
|
+
|
284
|
+
Gets a MlApplicationInstance by identifier
|
285
|
+
|
286
|
+
## Example Usage
|
287
|
+
|
288
|
+
```python
|
289
|
+
import pulumi
|
290
|
+
import pulumi_oci as oci
|
291
|
+
|
292
|
+
test_ml_application_instance = oci.DataScience.get_ml_application_instance(ml_application_instance_id=test_ml_application_instance_oci_datascience_ml_application_instance["id"])
|
293
|
+
```
|
294
|
+
|
295
|
+
|
296
|
+
:param builtins.str ml_application_instance_id: unique MlApplicationInstance identifier
|
297
|
+
"""
|
298
|
+
__args__ = dict()
|
299
|
+
__args__['mlApplicationInstanceId'] = ml_application_instance_id
|
300
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
301
|
+
__ret__ = pulumi.runtime.invoke('oci:DataScience/getMlApplicationInstance:getMlApplicationInstance', __args__, opts=opts, typ=GetMlApplicationInstanceResult).value
|
302
|
+
|
303
|
+
return AwaitableGetMlApplicationInstanceResult(
|
304
|
+
auth_configurations=pulumi.get(__ret__, 'auth_configurations'),
|
305
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
306
|
+
configurations=pulumi.get(__ret__, 'configurations'),
|
307
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
308
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
309
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
310
|
+
id=pulumi.get(__ret__, 'id'),
|
311
|
+
is_enabled=pulumi.get(__ret__, 'is_enabled'),
|
312
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
313
|
+
lifecycle_substate=pulumi.get(__ret__, 'lifecycle_substate'),
|
314
|
+
ml_application_id=pulumi.get(__ret__, 'ml_application_id'),
|
315
|
+
ml_application_implementation_id=pulumi.get(__ret__, 'ml_application_implementation_id'),
|
316
|
+
ml_application_implementation_name=pulumi.get(__ret__, 'ml_application_implementation_name'),
|
317
|
+
ml_application_instance_id=pulumi.get(__ret__, 'ml_application_instance_id'),
|
318
|
+
ml_application_name=pulumi.get(__ret__, 'ml_application_name'),
|
319
|
+
prediction_endpoint_details=pulumi.get(__ret__, 'prediction_endpoint_details'),
|
320
|
+
state=pulumi.get(__ret__, 'state'),
|
321
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
322
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
323
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
324
|
+
def get_ml_application_instance_output(ml_application_instance_id: Optional[pulumi.Input[builtins.str]] = None,
|
325
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlApplicationInstanceResult]:
|
326
|
+
"""
|
327
|
+
This data source provides details about a specific Ml Application Instance resource in Oracle Cloud Infrastructure Data Science service.
|
328
|
+
|
329
|
+
Gets a MlApplicationInstance by identifier
|
330
|
+
|
331
|
+
## Example Usage
|
332
|
+
|
333
|
+
```python
|
334
|
+
import pulumi
|
335
|
+
import pulumi_oci as oci
|
336
|
+
|
337
|
+
test_ml_application_instance = oci.DataScience.get_ml_application_instance(ml_application_instance_id=test_ml_application_instance_oci_datascience_ml_application_instance["id"])
|
338
|
+
```
|
339
|
+
|
340
|
+
|
341
|
+
:param builtins.str ml_application_instance_id: unique MlApplicationInstance identifier
|
342
|
+
"""
|
343
|
+
__args__ = dict()
|
344
|
+
__args__['mlApplicationInstanceId'] = ml_application_instance_id
|
345
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
346
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataScience/getMlApplicationInstance:getMlApplicationInstance', __args__, opts=opts, typ=GetMlApplicationInstanceResult)
|
347
|
+
return __ret__.apply(lambda __response__: GetMlApplicationInstanceResult(
|
348
|
+
auth_configurations=pulumi.get(__response__, 'auth_configurations'),
|
349
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
350
|
+
configurations=pulumi.get(__response__, 'configurations'),
|
351
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
352
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
353
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
354
|
+
id=pulumi.get(__response__, 'id'),
|
355
|
+
is_enabled=pulumi.get(__response__, 'is_enabled'),
|
356
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
357
|
+
lifecycle_substate=pulumi.get(__response__, 'lifecycle_substate'),
|
358
|
+
ml_application_id=pulumi.get(__response__, 'ml_application_id'),
|
359
|
+
ml_application_implementation_id=pulumi.get(__response__, 'ml_application_implementation_id'),
|
360
|
+
ml_application_implementation_name=pulumi.get(__response__, 'ml_application_implementation_name'),
|
361
|
+
ml_application_instance_id=pulumi.get(__response__, 'ml_application_instance_id'),
|
362
|
+
ml_application_name=pulumi.get(__response__, 'ml_application_name'),
|
363
|
+
prediction_endpoint_details=pulumi.get(__response__, 'prediction_endpoint_details'),
|
364
|
+
state=pulumi.get(__response__, 'state'),
|
365
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
366
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
367
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|