pulumi-oci 1.20.0a1705991859__py3-none-any.whl → 1.21.0__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 +51 -0
- pulumi_oci/core/get_boot_volume_attachments.py +36 -2
- pulumi_oci/database/autonomous_database.py +49 -0
- pulumi_oci/database/autonomous_database_wallet.py +18 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/get_managed_preferred_credential.py +19 -1
- pulumi_oci/database/outputs.py +21 -0
- pulumi_oci/database/vm_cluster_network.py +20 -7
- pulumi_oci/databasemanagement/__init__.py +3 -0
- pulumi_oci/databasemanagement/_inputs.py +863 -48
- pulumi_oci/databasemanagement/get_external_asm_configuration.py +22 -5
- pulumi_oci/databasemanagement/get_external_asm_disk_groups.py +22 -5
- pulumi_oci/databasemanagement/get_external_asm_users.py +22 -5
- pulumi_oci/databasemanagement/get_external_listener_services.py +22 -5
- pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_configuration.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_jobs.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py +46 -37
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparison.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_findings.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendations.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_sql_execution_plan.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_summary_report.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_sets.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_user.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_data_access_containers.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_object_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_roles.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_databases_database_parameters.py +18 -1
- pulumi_oci/databasemanagement/get_managed_databases_user_proxy_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_databases_user_system_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_named_credential.py +249 -0
- pulumi_oci/databasemanagement/get_named_credentials.py +216 -0
- pulumi_oci/databasemanagement/managed_databases_change_database_parameter.py +99 -37
- pulumi_oci/databasemanagement/managed_databases_reset_database_parameter.py +91 -29
- pulumi_oci/databasemanagement/named_credential.py +635 -0
- pulumi_oci/databasemanagement/outputs.py +1896 -157
- pulumi_oci/dataintegration/__init__.py +3 -0
- pulumi_oci/dataintegration/_inputs.py +798 -0
- pulumi_oci/dataintegration/get_workspace_application_patch.py +391 -0
- pulumi_oci/dataintegration/get_workspace_application_patches.py +207 -0
- pulumi_oci/dataintegration/get_workspace_import_request.py +14 -1
- pulumi_oci/dataintegration/outputs.py +2844 -739
- pulumi_oci/dataintegration/workspace_application_patch.py +1026 -0
- pulumi_oci/dataintegration/workspace_import_request.py +49 -0
- pulumi_oci/generativeai/__init__.py +18 -0
- pulumi_oci/generativeai/_inputs.py +534 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +808 -0
- pulumi_oci/generativeai/endpoint.py +717 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +288 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +183 -0
- pulumi_oci/generativeai/get_endpoint.py +275 -0
- pulumi_oci/generativeai/get_endpoints.py +183 -0
- pulumi_oci/generativeai/get_model.py +353 -0
- pulumi_oci/generativeai/get_models.py +220 -0
- pulumi_oci/generativeai/model.py +858 -0
- pulumi_oci/generativeai/outputs.py +1721 -0
- pulumi_oci/loadbalancer/_inputs.py +12 -0
- pulumi_oci/loadbalancer/outputs.py +12 -0
- pulumi_oci/marketplace/get_publication.py +14 -1
- pulumi_oci/marketplace/outputs.py +11 -0
- pulumi_oci/marketplace/publication.py +28 -0
- pulumi_oci/ospgateway/_inputs.py +16 -0
- pulumi_oci/ospgateway/outputs.py +94 -19
- pulumi_oci/stackmonitoring/__init__.py +3 -0
- pulumi_oci/stackmonitoring/_inputs.py +143 -0
- pulumi_oci/stackmonitoring/get_process_set.py +236 -0
- pulumi_oci/stackmonitoring/get_process_sets.py +156 -0
- pulumi_oci/stackmonitoring/outputs.py +422 -0
- pulumi_oci/stackmonitoring/process_set.py +548 -0
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/RECORD +79 -58
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,288 @@
|
|
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 copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetDedicatedAiClusterResult',
|
15
|
+
'AwaitableGetDedicatedAiClusterResult',
|
16
|
+
'get_dedicated_ai_cluster',
|
17
|
+
'get_dedicated_ai_cluster_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetDedicatedAiClusterResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getDedicatedAiCluster.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, capacities=None, compartment_id=None, dedicated_ai_cluster_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, state=None, system_tags=None, time_created=None, time_updated=None, type=None, unit_count=None, unit_shape=None):
|
26
|
+
if capacities and not isinstance(capacities, list):
|
27
|
+
raise TypeError("Expected argument 'capacities' to be a list")
|
28
|
+
pulumi.set(__self__, "capacities", capacities)
|
29
|
+
if compartment_id and not isinstance(compartment_id, str):
|
30
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
31
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
32
|
+
if dedicated_ai_cluster_id and not isinstance(dedicated_ai_cluster_id, str):
|
33
|
+
raise TypeError("Expected argument 'dedicated_ai_cluster_id' to be a str")
|
34
|
+
pulumi.set(__self__, "dedicated_ai_cluster_id", dedicated_ai_cluster_id)
|
35
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
36
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
37
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
38
|
+
if description and not isinstance(description, str):
|
39
|
+
raise TypeError("Expected argument 'description' to be a str")
|
40
|
+
pulumi.set(__self__, "description", description)
|
41
|
+
if display_name and not isinstance(display_name, str):
|
42
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
45
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
46
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
51
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
52
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
53
|
+
if state and not isinstance(state, str):
|
54
|
+
raise TypeError("Expected argument 'state' to be a str")
|
55
|
+
pulumi.set(__self__, "state", state)
|
56
|
+
if system_tags and not isinstance(system_tags, dict):
|
57
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
58
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
59
|
+
if time_created and not isinstance(time_created, str):
|
60
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
61
|
+
pulumi.set(__self__, "time_created", time_created)
|
62
|
+
if time_updated and not isinstance(time_updated, str):
|
63
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
64
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
65
|
+
if type and not isinstance(type, str):
|
66
|
+
raise TypeError("Expected argument 'type' to be a str")
|
67
|
+
pulumi.set(__self__, "type", type)
|
68
|
+
if unit_count and not isinstance(unit_count, int):
|
69
|
+
raise TypeError("Expected argument 'unit_count' to be a int")
|
70
|
+
pulumi.set(__self__, "unit_count", unit_count)
|
71
|
+
if unit_shape and not isinstance(unit_shape, str):
|
72
|
+
raise TypeError("Expected argument 'unit_shape' to be a str")
|
73
|
+
pulumi.set(__self__, "unit_shape", unit_shape)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def capacities(self) -> Sequence['outputs.GetDedicatedAiClusterCapacityResult']:
|
78
|
+
"""
|
79
|
+
The total capacity for a dedicated AI cluster.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "capacities")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="compartmentId")
|
85
|
+
def compartment_id(self) -> str:
|
86
|
+
"""
|
87
|
+
The compartment OCID to create the dedicated AI cluster in.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "compartment_id")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="dedicatedAiClusterId")
|
93
|
+
def dedicated_ai_cluster_id(self) -> str:
|
94
|
+
return pulumi.get(self, "dedicated_ai_cluster_id")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="definedTags")
|
98
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
99
|
+
"""
|
100
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "defined_tags")
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter
|
106
|
+
def description(self) -> str:
|
107
|
+
"""
|
108
|
+
An optional description of the dedicated AI cluster.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "description")
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter(name="displayName")
|
114
|
+
def display_name(self) -> str:
|
115
|
+
"""
|
116
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "display_name")
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter(name="freeformTags")
|
122
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
123
|
+
"""
|
124
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "freeform_tags")
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter
|
130
|
+
def id(self) -> str:
|
131
|
+
"""
|
132
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
|
133
|
+
"""
|
134
|
+
return pulumi.get(self, "id")
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter(name="lifecycleDetails")
|
138
|
+
def lifecycle_details(self) -> str:
|
139
|
+
"""
|
140
|
+
A message describing the current state with detail that can provide actionable information.
|
141
|
+
"""
|
142
|
+
return pulumi.get(self, "lifecycle_details")
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter
|
146
|
+
def state(self) -> str:
|
147
|
+
"""
|
148
|
+
The current state of the dedicated AI cluster.
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "state")
|
151
|
+
|
152
|
+
@property
|
153
|
+
@pulumi.getter(name="systemTags")
|
154
|
+
def system_tags(self) -> Mapping[str, Any]:
|
155
|
+
"""
|
156
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "system_tags")
|
159
|
+
|
160
|
+
@property
|
161
|
+
@pulumi.getter(name="timeCreated")
|
162
|
+
def time_created(self) -> str:
|
163
|
+
"""
|
164
|
+
The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
|
165
|
+
"""
|
166
|
+
return pulumi.get(self, "time_created")
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="timeUpdated")
|
170
|
+
def time_updated(self) -> str:
|
171
|
+
"""
|
172
|
+
The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "time_updated")
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter
|
178
|
+
def type(self) -> str:
|
179
|
+
"""
|
180
|
+
The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "type")
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter(name="unitCount")
|
186
|
+
def unit_count(self) -> int:
|
187
|
+
"""
|
188
|
+
The number of dedicated units in this AI cluster.
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "unit_count")
|
191
|
+
|
192
|
+
@property
|
193
|
+
@pulumi.getter(name="unitShape")
|
194
|
+
def unit_shape(self) -> str:
|
195
|
+
"""
|
196
|
+
The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "unit_shape")
|
199
|
+
|
200
|
+
|
201
|
+
class AwaitableGetDedicatedAiClusterResult(GetDedicatedAiClusterResult):
|
202
|
+
# pylint: disable=using-constant-test
|
203
|
+
def __await__(self):
|
204
|
+
if False:
|
205
|
+
yield self
|
206
|
+
return GetDedicatedAiClusterResult(
|
207
|
+
capacities=self.capacities,
|
208
|
+
compartment_id=self.compartment_id,
|
209
|
+
dedicated_ai_cluster_id=self.dedicated_ai_cluster_id,
|
210
|
+
defined_tags=self.defined_tags,
|
211
|
+
description=self.description,
|
212
|
+
display_name=self.display_name,
|
213
|
+
freeform_tags=self.freeform_tags,
|
214
|
+
id=self.id,
|
215
|
+
lifecycle_details=self.lifecycle_details,
|
216
|
+
state=self.state,
|
217
|
+
system_tags=self.system_tags,
|
218
|
+
time_created=self.time_created,
|
219
|
+
time_updated=self.time_updated,
|
220
|
+
type=self.type,
|
221
|
+
unit_count=self.unit_count,
|
222
|
+
unit_shape=self.unit_shape)
|
223
|
+
|
224
|
+
|
225
|
+
def get_dedicated_ai_cluster(dedicated_ai_cluster_id: Optional[str] = None,
|
226
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDedicatedAiClusterResult:
|
227
|
+
"""
|
228
|
+
This data source provides details about a specific Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative Ai service.
|
229
|
+
|
230
|
+
Gets information about a dedicated AI cluster.
|
231
|
+
|
232
|
+
## Example Usage
|
233
|
+
|
234
|
+
```python
|
235
|
+
import pulumi
|
236
|
+
import pulumi_oci as oci
|
237
|
+
|
238
|
+
test_dedicated_ai_cluster = oci.GenerativeAi.get_dedicated_ai_cluster(dedicated_ai_cluster_id=oci_generative_ai_dedicated_ai_cluster["test_dedicated_ai_cluster"]["id"])
|
239
|
+
```
|
240
|
+
|
241
|
+
|
242
|
+
:param str dedicated_ai_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
|
243
|
+
"""
|
244
|
+
__args__ = dict()
|
245
|
+
__args__['dedicatedAiClusterId'] = dedicated_ai_cluster_id
|
246
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
247
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getDedicatedAiCluster:getDedicatedAiCluster', __args__, opts=opts, typ=GetDedicatedAiClusterResult).value
|
248
|
+
|
249
|
+
return AwaitableGetDedicatedAiClusterResult(
|
250
|
+
capacities=pulumi.get(__ret__, 'capacities'),
|
251
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
252
|
+
dedicated_ai_cluster_id=pulumi.get(__ret__, 'dedicated_ai_cluster_id'),
|
253
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
254
|
+
description=pulumi.get(__ret__, 'description'),
|
255
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
256
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
257
|
+
id=pulumi.get(__ret__, 'id'),
|
258
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
259
|
+
state=pulumi.get(__ret__, 'state'),
|
260
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
261
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
262
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
263
|
+
type=pulumi.get(__ret__, 'type'),
|
264
|
+
unit_count=pulumi.get(__ret__, 'unit_count'),
|
265
|
+
unit_shape=pulumi.get(__ret__, 'unit_shape'))
|
266
|
+
|
267
|
+
|
268
|
+
@_utilities.lift_output_func(get_dedicated_ai_cluster)
|
269
|
+
def get_dedicated_ai_cluster_output(dedicated_ai_cluster_id: Optional[pulumi.Input[str]] = None,
|
270
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDedicatedAiClusterResult]:
|
271
|
+
"""
|
272
|
+
This data source provides details about a specific Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative Ai service.
|
273
|
+
|
274
|
+
Gets information about a dedicated AI cluster.
|
275
|
+
|
276
|
+
## Example Usage
|
277
|
+
|
278
|
+
```python
|
279
|
+
import pulumi
|
280
|
+
import pulumi_oci as oci
|
281
|
+
|
282
|
+
test_dedicated_ai_cluster = oci.GenerativeAi.get_dedicated_ai_cluster(dedicated_ai_cluster_id=oci_generative_ai_dedicated_ai_cluster["test_dedicated_ai_cluster"]["id"])
|
283
|
+
```
|
284
|
+
|
285
|
+
|
286
|
+
:param str dedicated_ai_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
|
287
|
+
"""
|
288
|
+
...
|
@@ -0,0 +1,183 @@
|
|
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 copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'GetDedicatedAiClustersResult',
|
16
|
+
'AwaitableGetDedicatedAiClustersResult',
|
17
|
+
'get_dedicated_ai_clusters',
|
18
|
+
'get_dedicated_ai_clusters_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetDedicatedAiClustersResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getDedicatedAiClusters.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, dedicated_ai_cluster_collections=None, display_name=None, filters=None, id=None, state=None):
|
27
|
+
if compartment_id and not isinstance(compartment_id, str):
|
28
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
30
|
+
if dedicated_ai_cluster_collections and not isinstance(dedicated_ai_cluster_collections, list):
|
31
|
+
raise TypeError("Expected argument 'dedicated_ai_cluster_collections' to be a list")
|
32
|
+
pulumi.set(__self__, "dedicated_ai_cluster_collections", dedicated_ai_cluster_collections)
|
33
|
+
if display_name and not isinstance(display_name, str):
|
34
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
35
|
+
pulumi.set(__self__, "display_name", display_name)
|
36
|
+
if filters and not isinstance(filters, list):
|
37
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
38
|
+
pulumi.set(__self__, "filters", filters)
|
39
|
+
if id and not isinstance(id, str):
|
40
|
+
raise TypeError("Expected argument 'id' to be a str")
|
41
|
+
pulumi.set(__self__, "id", id)
|
42
|
+
if state and not isinstance(state, str):
|
43
|
+
raise TypeError("Expected argument 'state' to be a str")
|
44
|
+
pulumi.set(__self__, "state", state)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter(name="compartmentId")
|
48
|
+
def compartment_id(self) -> str:
|
49
|
+
"""
|
50
|
+
The compartment OCID to create the dedicated AI cluster in.
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "compartment_id")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="dedicatedAiClusterCollections")
|
56
|
+
def dedicated_ai_cluster_collections(self) -> Sequence['outputs.GetDedicatedAiClustersDedicatedAiClusterCollectionResult']:
|
57
|
+
"""
|
58
|
+
The list of dedicated_ai_cluster_collection.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "dedicated_ai_cluster_collections")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="displayName")
|
64
|
+
def display_name(self) -> Optional[str]:
|
65
|
+
"""
|
66
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "display_name")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def filters(self) -> Optional[Sequence['outputs.GetDedicatedAiClustersFilterResult']]:
|
73
|
+
return pulumi.get(self, "filters")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def id(self) -> Optional[str]:
|
78
|
+
"""
|
79
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "id")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def state(self) -> Optional[str]:
|
86
|
+
"""
|
87
|
+
The current state of the dedicated AI cluster.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "state")
|
90
|
+
|
91
|
+
|
92
|
+
class AwaitableGetDedicatedAiClustersResult(GetDedicatedAiClustersResult):
|
93
|
+
# pylint: disable=using-constant-test
|
94
|
+
def __await__(self):
|
95
|
+
if False:
|
96
|
+
yield self
|
97
|
+
return GetDedicatedAiClustersResult(
|
98
|
+
compartment_id=self.compartment_id,
|
99
|
+
dedicated_ai_cluster_collections=self.dedicated_ai_cluster_collections,
|
100
|
+
display_name=self.display_name,
|
101
|
+
filters=self.filters,
|
102
|
+
id=self.id,
|
103
|
+
state=self.state)
|
104
|
+
|
105
|
+
|
106
|
+
def get_dedicated_ai_clusters(compartment_id: Optional[str] = None,
|
107
|
+
display_name: Optional[str] = None,
|
108
|
+
filters: Optional[Sequence[pulumi.InputType['GetDedicatedAiClustersFilterArgs']]] = None,
|
109
|
+
id: Optional[str] = None,
|
110
|
+
state: Optional[str] = None,
|
111
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDedicatedAiClustersResult:
|
112
|
+
"""
|
113
|
+
This data source provides the list of Dedicated Ai Clusters in Oracle Cloud Infrastructure Generative Ai service.
|
114
|
+
|
115
|
+
Lists the dedicated AI clusters in a specific compartment.
|
116
|
+
|
117
|
+
## Example Usage
|
118
|
+
|
119
|
+
```python
|
120
|
+
import pulumi
|
121
|
+
import pulumi_oci as oci
|
122
|
+
|
123
|
+
test_dedicated_ai_clusters = oci.GenerativeAi.get_dedicated_ai_clusters(compartment_id=var["compartment_id"],
|
124
|
+
display_name=var["dedicated_ai_cluster_display_name"],
|
125
|
+
id=var["dedicated_ai_cluster_id"],
|
126
|
+
state=var["dedicated_ai_cluster_state"])
|
127
|
+
```
|
128
|
+
|
129
|
+
|
130
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
131
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
132
|
+
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
|
133
|
+
:param str state: A filter to return only the dedicated AI clusters that their lifecycle state matches the given lifecycle state.
|
134
|
+
"""
|
135
|
+
__args__ = dict()
|
136
|
+
__args__['compartmentId'] = compartment_id
|
137
|
+
__args__['displayName'] = display_name
|
138
|
+
__args__['filters'] = filters
|
139
|
+
__args__['id'] = id
|
140
|
+
__args__['state'] = state
|
141
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
142
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getDedicatedAiClusters:getDedicatedAiClusters', __args__, opts=opts, typ=GetDedicatedAiClustersResult).value
|
143
|
+
|
144
|
+
return AwaitableGetDedicatedAiClustersResult(
|
145
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
146
|
+
dedicated_ai_cluster_collections=pulumi.get(__ret__, 'dedicated_ai_cluster_collections'),
|
147
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
148
|
+
filters=pulumi.get(__ret__, 'filters'),
|
149
|
+
id=pulumi.get(__ret__, 'id'),
|
150
|
+
state=pulumi.get(__ret__, 'state'))
|
151
|
+
|
152
|
+
|
153
|
+
@_utilities.lift_output_func(get_dedicated_ai_clusters)
|
154
|
+
def get_dedicated_ai_clusters_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
155
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
156
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetDedicatedAiClustersFilterArgs']]]]] = None,
|
157
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
158
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
159
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDedicatedAiClustersResult]:
|
160
|
+
"""
|
161
|
+
This data source provides the list of Dedicated Ai Clusters in Oracle Cloud Infrastructure Generative Ai service.
|
162
|
+
|
163
|
+
Lists the dedicated AI clusters in a specific compartment.
|
164
|
+
|
165
|
+
## Example Usage
|
166
|
+
|
167
|
+
```python
|
168
|
+
import pulumi
|
169
|
+
import pulumi_oci as oci
|
170
|
+
|
171
|
+
test_dedicated_ai_clusters = oci.GenerativeAi.get_dedicated_ai_clusters(compartment_id=var["compartment_id"],
|
172
|
+
display_name=var["dedicated_ai_cluster_display_name"],
|
173
|
+
id=var["dedicated_ai_cluster_id"],
|
174
|
+
state=var["dedicated_ai_cluster_state"])
|
175
|
+
```
|
176
|
+
|
177
|
+
|
178
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
179
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
180
|
+
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
|
181
|
+
:param str state: A filter to return only the dedicated AI clusters that their lifecycle state matches the given lifecycle state.
|
182
|
+
"""
|
183
|
+
...
|