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,564 @@
|
|
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
|
+
|
18
|
+
__all__ = ['MlApplicationArgs', 'MlApplication']
|
19
|
+
|
20
|
+
@pulumi.input_type
|
21
|
+
class MlApplicationArgs:
|
22
|
+
def __init__(__self__, *,
|
23
|
+
compartment_id: pulumi.Input[builtins.str],
|
24
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
25
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
26
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
27
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a MlApplication resource.
|
30
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where the MlApplication is created.
|
31
|
+
: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"}`
|
32
|
+
:param pulumi.Input[builtins.str] description: (Updatable) Optional description of the ML Application
|
33
|
+
: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"}`
|
34
|
+
:param pulumi.Input[builtins.str] name: The name of MlApplication. It is unique in a given tenancy.
|
35
|
+
|
36
|
+
|
37
|
+
** IMPORTANT **
|
38
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
39
|
+
"""
|
40
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
41
|
+
if defined_tags is not None:
|
42
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
43
|
+
if description is not None:
|
44
|
+
pulumi.set(__self__, "description", description)
|
45
|
+
if freeform_tags is not None:
|
46
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
47
|
+
if name is not None:
|
48
|
+
pulumi.set(__self__, "name", name)
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter(name="compartmentId")
|
52
|
+
def compartment_id(self) -> pulumi.Input[builtins.str]:
|
53
|
+
"""
|
54
|
+
(Updatable) The OCID of the compartment where the MlApplication is created.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "compartment_id")
|
57
|
+
|
58
|
+
@compartment_id.setter
|
59
|
+
def compartment_id(self, value: pulumi.Input[builtins.str]):
|
60
|
+
pulumi.set(self, "compartment_id", value)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="definedTags")
|
64
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
65
|
+
"""
|
66
|
+
(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"}`
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "defined_tags")
|
69
|
+
|
70
|
+
@defined_tags.setter
|
71
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
72
|
+
pulumi.set(self, "defined_tags", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
77
|
+
"""
|
78
|
+
(Updatable) Optional description of the ML Application
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "description")
|
81
|
+
|
82
|
+
@description.setter
|
83
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
84
|
+
pulumi.set(self, "description", value)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="freeformTags")
|
88
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
89
|
+
"""
|
90
|
+
(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"}`
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "freeform_tags")
|
93
|
+
|
94
|
+
@freeform_tags.setter
|
95
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
96
|
+
pulumi.set(self, "freeform_tags", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
101
|
+
"""
|
102
|
+
The name of MlApplication. It is unique in a given tenancy.
|
103
|
+
|
104
|
+
|
105
|
+
** IMPORTANT **
|
106
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "name")
|
109
|
+
|
110
|
+
@name.setter
|
111
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
112
|
+
pulumi.set(self, "name", value)
|
113
|
+
|
114
|
+
|
115
|
+
@pulumi.input_type
|
116
|
+
class _MlApplicationState:
|
117
|
+
def __init__(__self__, *,
|
118
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
119
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
120
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
121
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
122
|
+
lifecycle_details: Optional[pulumi.Input[builtins.str]] = None,
|
123
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
124
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
125
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
126
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
127
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None):
|
128
|
+
"""
|
129
|
+
Input properties used for looking up and filtering MlApplication resources.
|
130
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where the MlApplication is created.
|
131
|
+
: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"}`
|
132
|
+
:param pulumi.Input[builtins.str] description: (Updatable) Optional description of the ML Application
|
133
|
+
: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"}`
|
134
|
+
: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.
|
135
|
+
:param pulumi.Input[builtins.str] name: The name of MlApplication. It is unique in a given tenancy.
|
136
|
+
|
137
|
+
|
138
|
+
** IMPORTANT **
|
139
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
140
|
+
:param pulumi.Input[builtins.str] state: The current state of the MlApplication.
|
141
|
+
: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"}`
|
142
|
+
:param pulumi.Input[builtins.str] time_created: Creation time of MlApplication in the format defined by RFC 3339.
|
143
|
+
:param pulumi.Input[builtins.str] time_updated: Time of last MlApplication update in the format defined by RFC 3339.
|
144
|
+
"""
|
145
|
+
if compartment_id is not None:
|
146
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
147
|
+
if defined_tags is not None:
|
148
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
149
|
+
if description is not None:
|
150
|
+
pulumi.set(__self__, "description", description)
|
151
|
+
if freeform_tags is not None:
|
152
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
153
|
+
if lifecycle_details is not None:
|
154
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
155
|
+
if name is not None:
|
156
|
+
pulumi.set(__self__, "name", name)
|
157
|
+
if state is not None:
|
158
|
+
pulumi.set(__self__, "state", state)
|
159
|
+
if system_tags is not None:
|
160
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
161
|
+
if time_created is not None:
|
162
|
+
pulumi.set(__self__, "time_created", time_created)
|
163
|
+
if time_updated is not None:
|
164
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="compartmentId")
|
168
|
+
def compartment_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
169
|
+
"""
|
170
|
+
(Updatable) The OCID of the compartment where the MlApplication is created.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "compartment_id")
|
173
|
+
|
174
|
+
@compartment_id.setter
|
175
|
+
def compartment_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
176
|
+
pulumi.set(self, "compartment_id", value)
|
177
|
+
|
178
|
+
@property
|
179
|
+
@pulumi.getter(name="definedTags")
|
180
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
181
|
+
"""
|
182
|
+
(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"}`
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "defined_tags")
|
185
|
+
|
186
|
+
@defined_tags.setter
|
187
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
188
|
+
pulumi.set(self, "defined_tags", value)
|
189
|
+
|
190
|
+
@property
|
191
|
+
@pulumi.getter
|
192
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
193
|
+
"""
|
194
|
+
(Updatable) Optional description of the ML Application
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "description")
|
197
|
+
|
198
|
+
@description.setter
|
199
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
200
|
+
pulumi.set(self, "description", value)
|
201
|
+
|
202
|
+
@property
|
203
|
+
@pulumi.getter(name="freeformTags")
|
204
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
205
|
+
"""
|
206
|
+
(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"}`
|
207
|
+
"""
|
208
|
+
return pulumi.get(self, "freeform_tags")
|
209
|
+
|
210
|
+
@freeform_tags.setter
|
211
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
212
|
+
pulumi.set(self, "freeform_tags", value)
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter(name="lifecycleDetails")
|
216
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[builtins.str]]:
|
217
|
+
"""
|
218
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "lifecycle_details")
|
221
|
+
|
222
|
+
@lifecycle_details.setter
|
223
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[builtins.str]]):
|
224
|
+
pulumi.set(self, "lifecycle_details", value)
|
225
|
+
|
226
|
+
@property
|
227
|
+
@pulumi.getter
|
228
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
229
|
+
"""
|
230
|
+
The name of MlApplication. It is unique in a given tenancy.
|
231
|
+
|
232
|
+
|
233
|
+
** IMPORTANT **
|
234
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "name")
|
237
|
+
|
238
|
+
@name.setter
|
239
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
240
|
+
pulumi.set(self, "name", value)
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter
|
244
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
245
|
+
"""
|
246
|
+
The current state of the MlApplication.
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "state")
|
249
|
+
|
250
|
+
@state.setter
|
251
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
252
|
+
pulumi.set(self, "state", value)
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="systemTags")
|
256
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
257
|
+
"""
|
258
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "system_tags")
|
261
|
+
|
262
|
+
@system_tags.setter
|
263
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
264
|
+
pulumi.set(self, "system_tags", value)
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter(name="timeCreated")
|
268
|
+
def time_created(self) -> Optional[pulumi.Input[builtins.str]]:
|
269
|
+
"""
|
270
|
+
Creation time of MlApplication in the format defined by RFC 3339.
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "time_created")
|
273
|
+
|
274
|
+
@time_created.setter
|
275
|
+
def time_created(self, value: Optional[pulumi.Input[builtins.str]]):
|
276
|
+
pulumi.set(self, "time_created", value)
|
277
|
+
|
278
|
+
@property
|
279
|
+
@pulumi.getter(name="timeUpdated")
|
280
|
+
def time_updated(self) -> Optional[pulumi.Input[builtins.str]]:
|
281
|
+
"""
|
282
|
+
Time of last MlApplication update in the format defined by RFC 3339.
|
283
|
+
"""
|
284
|
+
return pulumi.get(self, "time_updated")
|
285
|
+
|
286
|
+
@time_updated.setter
|
287
|
+
def time_updated(self, value: Optional[pulumi.Input[builtins.str]]):
|
288
|
+
pulumi.set(self, "time_updated", value)
|
289
|
+
|
290
|
+
|
291
|
+
class MlApplication(pulumi.CustomResource):
|
292
|
+
@overload
|
293
|
+
def __init__(__self__,
|
294
|
+
resource_name: str,
|
295
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
296
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
297
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
298
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
299
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
300
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
301
|
+
__props__=None):
|
302
|
+
"""
|
303
|
+
This resource provides the Ml Application resource in Oracle Cloud Infrastructure Data Science service.
|
304
|
+
|
305
|
+
Creates a new MlApplication.
|
306
|
+
|
307
|
+
## Example Usage
|
308
|
+
|
309
|
+
```python
|
310
|
+
import pulumi
|
311
|
+
import pulumi_oci as oci
|
312
|
+
|
313
|
+
test_ml_application = oci.data_science.MlApplication("test_ml_application",
|
314
|
+
compartment_id=compartment_id,
|
315
|
+
name=ml_application_name,
|
316
|
+
defined_tags={
|
317
|
+
"Operations.CostCenter": "42",
|
318
|
+
},
|
319
|
+
description=ml_application_description,
|
320
|
+
freeform_tags={
|
321
|
+
"Department": "Finance",
|
322
|
+
})
|
323
|
+
```
|
324
|
+
|
325
|
+
## Import
|
326
|
+
|
327
|
+
MlApplications can be imported using the `id`, e.g.
|
328
|
+
|
329
|
+
```sh
|
330
|
+
$ pulumi import oci:DataScience/mlApplication:MlApplication test_ml_application "id"
|
331
|
+
```
|
332
|
+
|
333
|
+
:param str resource_name: The name of the resource.
|
334
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
335
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where the MlApplication is created.
|
336
|
+
: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"}`
|
337
|
+
:param pulumi.Input[builtins.str] description: (Updatable) Optional description of the ML Application
|
338
|
+
: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"}`
|
339
|
+
:param pulumi.Input[builtins.str] name: The name of MlApplication. It is unique in a given tenancy.
|
340
|
+
|
341
|
+
|
342
|
+
** IMPORTANT **
|
343
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
344
|
+
"""
|
345
|
+
...
|
346
|
+
@overload
|
347
|
+
def __init__(__self__,
|
348
|
+
resource_name: str,
|
349
|
+
args: MlApplicationArgs,
|
350
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
351
|
+
"""
|
352
|
+
This resource provides the Ml Application resource in Oracle Cloud Infrastructure Data Science service.
|
353
|
+
|
354
|
+
Creates a new MlApplication.
|
355
|
+
|
356
|
+
## Example Usage
|
357
|
+
|
358
|
+
```python
|
359
|
+
import pulumi
|
360
|
+
import pulumi_oci as oci
|
361
|
+
|
362
|
+
test_ml_application = oci.data_science.MlApplication("test_ml_application",
|
363
|
+
compartment_id=compartment_id,
|
364
|
+
name=ml_application_name,
|
365
|
+
defined_tags={
|
366
|
+
"Operations.CostCenter": "42",
|
367
|
+
},
|
368
|
+
description=ml_application_description,
|
369
|
+
freeform_tags={
|
370
|
+
"Department": "Finance",
|
371
|
+
})
|
372
|
+
```
|
373
|
+
|
374
|
+
## Import
|
375
|
+
|
376
|
+
MlApplications can be imported using the `id`, e.g.
|
377
|
+
|
378
|
+
```sh
|
379
|
+
$ pulumi import oci:DataScience/mlApplication:MlApplication test_ml_application "id"
|
380
|
+
```
|
381
|
+
|
382
|
+
:param str resource_name: The name of the resource.
|
383
|
+
:param MlApplicationArgs args: The arguments to use to populate this resource's properties.
|
384
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
385
|
+
"""
|
386
|
+
...
|
387
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
388
|
+
resource_args, opts = _utilities.get_resource_args_opts(MlApplicationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
389
|
+
if resource_args is not None:
|
390
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
391
|
+
else:
|
392
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
393
|
+
|
394
|
+
def _internal_init(__self__,
|
395
|
+
resource_name: str,
|
396
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
397
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
398
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
399
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
400
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
401
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
402
|
+
__props__=None):
|
403
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
404
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
405
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
406
|
+
if opts.id is None:
|
407
|
+
if __props__ is not None:
|
408
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
409
|
+
__props__ = MlApplicationArgs.__new__(MlApplicationArgs)
|
410
|
+
|
411
|
+
if compartment_id is None and not opts.urn:
|
412
|
+
raise TypeError("Missing required property 'compartment_id'")
|
413
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
414
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
415
|
+
__props__.__dict__["description"] = description
|
416
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
417
|
+
__props__.__dict__["name"] = name
|
418
|
+
__props__.__dict__["lifecycle_details"] = None
|
419
|
+
__props__.__dict__["state"] = None
|
420
|
+
__props__.__dict__["system_tags"] = None
|
421
|
+
__props__.__dict__["time_created"] = None
|
422
|
+
__props__.__dict__["time_updated"] = None
|
423
|
+
super(MlApplication, __self__).__init__(
|
424
|
+
'oci:DataScience/mlApplication:MlApplication',
|
425
|
+
resource_name,
|
426
|
+
__props__,
|
427
|
+
opts)
|
428
|
+
|
429
|
+
@staticmethod
|
430
|
+
def get(resource_name: str,
|
431
|
+
id: pulumi.Input[str],
|
432
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
433
|
+
compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
434
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
435
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
436
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
437
|
+
lifecycle_details: Optional[pulumi.Input[builtins.str]] = None,
|
438
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
439
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
440
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
441
|
+
time_created: Optional[pulumi.Input[builtins.str]] = None,
|
442
|
+
time_updated: Optional[pulumi.Input[builtins.str]] = None) -> 'MlApplication':
|
443
|
+
"""
|
444
|
+
Get an existing MlApplication resource's state with the given name, id, and optional extra
|
445
|
+
properties used to qualify the lookup.
|
446
|
+
|
447
|
+
:param str resource_name: The unique name of the resulting resource.
|
448
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
449
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
450
|
+
:param pulumi.Input[builtins.str] compartment_id: (Updatable) The OCID of the compartment where the MlApplication is created.
|
451
|
+
: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"}`
|
452
|
+
:param pulumi.Input[builtins.str] description: (Updatable) Optional description of the ML Application
|
453
|
+
: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"}`
|
454
|
+
: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.
|
455
|
+
:param pulumi.Input[builtins.str] name: The name of MlApplication. It is unique in a given tenancy.
|
456
|
+
|
457
|
+
|
458
|
+
** IMPORTANT **
|
459
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
460
|
+
:param pulumi.Input[builtins.str] state: The current state of the MlApplication.
|
461
|
+
: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"}`
|
462
|
+
:param pulumi.Input[builtins.str] time_created: Creation time of MlApplication in the format defined by RFC 3339.
|
463
|
+
:param pulumi.Input[builtins.str] time_updated: Time of last MlApplication update in the format defined by RFC 3339.
|
464
|
+
"""
|
465
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
466
|
+
|
467
|
+
__props__ = _MlApplicationState.__new__(_MlApplicationState)
|
468
|
+
|
469
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
470
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
471
|
+
__props__.__dict__["description"] = description
|
472
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
473
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
474
|
+
__props__.__dict__["name"] = name
|
475
|
+
__props__.__dict__["state"] = state
|
476
|
+
__props__.__dict__["system_tags"] = system_tags
|
477
|
+
__props__.__dict__["time_created"] = time_created
|
478
|
+
__props__.__dict__["time_updated"] = time_updated
|
479
|
+
return MlApplication(resource_name, opts=opts, __props__=__props__)
|
480
|
+
|
481
|
+
@property
|
482
|
+
@pulumi.getter(name="compartmentId")
|
483
|
+
def compartment_id(self) -> pulumi.Output[builtins.str]:
|
484
|
+
"""
|
485
|
+
(Updatable) The OCID of the compartment where the MlApplication is created.
|
486
|
+
"""
|
487
|
+
return pulumi.get(self, "compartment_id")
|
488
|
+
|
489
|
+
@property
|
490
|
+
@pulumi.getter(name="definedTags")
|
491
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
492
|
+
"""
|
493
|
+
(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"}`
|
494
|
+
"""
|
495
|
+
return pulumi.get(self, "defined_tags")
|
496
|
+
|
497
|
+
@property
|
498
|
+
@pulumi.getter
|
499
|
+
def description(self) -> pulumi.Output[builtins.str]:
|
500
|
+
"""
|
501
|
+
(Updatable) Optional description of the ML Application
|
502
|
+
"""
|
503
|
+
return pulumi.get(self, "description")
|
504
|
+
|
505
|
+
@property
|
506
|
+
@pulumi.getter(name="freeformTags")
|
507
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
508
|
+
"""
|
509
|
+
(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"}`
|
510
|
+
"""
|
511
|
+
return pulumi.get(self, "freeform_tags")
|
512
|
+
|
513
|
+
@property
|
514
|
+
@pulumi.getter(name="lifecycleDetails")
|
515
|
+
def lifecycle_details(self) -> pulumi.Output[builtins.str]:
|
516
|
+
"""
|
517
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
518
|
+
"""
|
519
|
+
return pulumi.get(self, "lifecycle_details")
|
520
|
+
|
521
|
+
@property
|
522
|
+
@pulumi.getter
|
523
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
524
|
+
"""
|
525
|
+
The name of MlApplication. It is unique in a given tenancy.
|
526
|
+
|
527
|
+
|
528
|
+
** IMPORTANT **
|
529
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
530
|
+
"""
|
531
|
+
return pulumi.get(self, "name")
|
532
|
+
|
533
|
+
@property
|
534
|
+
@pulumi.getter
|
535
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
536
|
+
"""
|
537
|
+
The current state of the MlApplication.
|
538
|
+
"""
|
539
|
+
return pulumi.get(self, "state")
|
540
|
+
|
541
|
+
@property
|
542
|
+
@pulumi.getter(name="systemTags")
|
543
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
544
|
+
"""
|
545
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
546
|
+
"""
|
547
|
+
return pulumi.get(self, "system_tags")
|
548
|
+
|
549
|
+
@property
|
550
|
+
@pulumi.getter(name="timeCreated")
|
551
|
+
def time_created(self) -> pulumi.Output[builtins.str]:
|
552
|
+
"""
|
553
|
+
Creation time of MlApplication in the format defined by RFC 3339.
|
554
|
+
"""
|
555
|
+
return pulumi.get(self, "time_created")
|
556
|
+
|
557
|
+
@property
|
558
|
+
@pulumi.getter(name="timeUpdated")
|
559
|
+
def time_updated(self) -> pulumi.Output[builtins.str]:
|
560
|
+
"""
|
561
|
+
Time of last MlApplication update in the format defined by RFC 3339.
|
562
|
+
"""
|
563
|
+
return pulumi.get(self, "time_updated")
|
564
|
+
|