pulumi-oci 2.27.0a1742279484__py3-none-any.whl → 2.28.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 +144 -0
- pulumi_oci/containerengine/_inputs.py +9 -9
- pulumi_oci/containerengine/outputs.py +18 -22
- pulumi_oci/core/__init__.py +9 -0
- pulumi_oci/core/_inputs.py +196 -0
- pulumi_oci/core/compute_gpu_memory_cluster.py +706 -0
- pulumi_oci/core/compute_gpu_memory_fabric.py +667 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster.py +281 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster_instances.py +144 -0
- pulumi_oci/core/get_compute_gpu_memory_clusters.py +232 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +309 -0
- pulumi_oci/core/get_compute_gpu_memory_fabrics.py +289 -0
- pulumi_oci/core/get_compute_host.py +393 -0
- pulumi_oci/core/get_compute_hosts.py +254 -0
- pulumi_oci/core/outputs.py +847 -0
- pulumi_oci/database/__init__.py +2 -0
- pulumi_oci/database/_inputs.py +2211 -24
- pulumi_oci/database/autonomous_container_database.py +305 -52
- pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
- pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
- pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
- pulumi_oci/database/get_autonomous_container_database.py +103 -2
- pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
- pulumi_oci/database/get_autonomous_container_databases.py +1 -1
- pulumi_oci/database/get_maintenance_run.py +15 -1
- pulumi_oci/database/maintenance_run.py +28 -0
- pulumi_oci/database/outputs.py +2747 -225
- pulumi_oci/goldengate/_inputs.py +128 -0
- pulumi_oci/goldengate/deployment.py +103 -0
- pulumi_oci/goldengate/deployment_backup.py +28 -0
- pulumi_oci/goldengate/get_deployment.py +43 -1
- pulumi_oci/goldengate/get_deployment_backup.py +15 -1
- pulumi_oci/goldengate/outputs.py +289 -0
- pulumi_oci/identity/_inputs.py +9 -49
- pulumi_oci/identity/domains_app.py +34 -0
- pulumi_oci/identity/get_domains_app.py +12 -1
- pulumi_oci/identity/outputs.py +20 -47
- pulumi_oci/osmanagementhub/__init__.py +18 -0
- pulumi_oci/osmanagementhub/_inputs.py +677 -12
- pulumi_oci/osmanagementhub/event.py +8 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
- pulumi_oci/osmanagementhub/get_event.py +2 -0
- pulumi_oci/osmanagementhub/get_events.py +2 -0
- pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
- pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
- pulumi_oci/osmanagementhub/get_management_station.py +116 -4
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
- pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
- pulumi_oci/osmanagementhub/get_profile.py +32 -4
- pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
- pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
- pulumi_oci/osmanagementhub/get_profiles.py +63 -3
- pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
- pulumi_oci/osmanagementhub/get_software_package.py +2 -2
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source.py +89 -5
- pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
- pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
- pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance.py +56 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
- pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
- pulumi_oci/osmanagementhub/management_station.py +251 -4
- pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
- pulumi_oci/osmanagementhub/outputs.py +1349 -50
- pulumi_oci/osmanagementhub/profile.py +70 -14
- pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
- pulumi_oci/osmanagementhub/software_source.py +365 -26
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
- pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
- pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
- pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/sch/_inputs.py +24 -24
- pulumi_oci/sch/connector.py +46 -18
- pulumi_oci/sch/get_service_connector.py +16 -8
- pulumi_oci/sch/outputs.py +53 -50
- pulumi_oci/stackmonitoring/_inputs.py +191 -0
- pulumi_oci/stackmonitoring/config.py +307 -23
- pulumi_oci/stackmonitoring/get_config.py +90 -5
- pulumi_oci/stackmonitoring/get_maintenance_window.py +43 -1
- pulumi_oci/stackmonitoring/maintenance_window.py +136 -2
- pulumi_oci/stackmonitoring/outputs.py +448 -3
- {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/METADATA +2 -2
- {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/RECORD +100 -71
- {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,281 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetComputeGpuMemoryClusterResult',
|
19
|
+
'AwaitableGetComputeGpuMemoryClusterResult',
|
20
|
+
'get_compute_gpu_memory_cluster',
|
21
|
+
'get_compute_gpu_memory_cluster_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetComputeGpuMemoryClusterResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getComputeGpuMemoryCluster.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, compute_cluster_id=None, compute_gpu_memory_cluster_id=None, defined_tags=None, display_name=None, freeform_tags=None, gpu_memory_fabric_id=None, id=None, instance_configuration_id=None, size=None, state=None, system_tags=None, time_created=None):
|
30
|
+
if availability_domain and not isinstance(availability_domain, str):
|
31
|
+
raise TypeError("Expected argument 'availability_domain' to be a str")
|
32
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
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 compute_cluster_id and not isinstance(compute_cluster_id, str):
|
37
|
+
raise TypeError("Expected argument 'compute_cluster_id' to be a str")
|
38
|
+
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
39
|
+
if compute_gpu_memory_cluster_id and not isinstance(compute_gpu_memory_cluster_id, str):
|
40
|
+
raise TypeError("Expected argument 'compute_gpu_memory_cluster_id' to be a str")
|
41
|
+
pulumi.set(__self__, "compute_gpu_memory_cluster_id", compute_gpu_memory_cluster_id)
|
42
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
43
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
44
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
45
|
+
if display_name and not isinstance(display_name, str):
|
46
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
47
|
+
pulumi.set(__self__, "display_name", display_name)
|
48
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
49
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
50
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
51
|
+
if gpu_memory_fabric_id and not isinstance(gpu_memory_fabric_id, str):
|
52
|
+
raise TypeError("Expected argument 'gpu_memory_fabric_id' to be a str")
|
53
|
+
pulumi.set(__self__, "gpu_memory_fabric_id", gpu_memory_fabric_id)
|
54
|
+
if id and not isinstance(id, str):
|
55
|
+
raise TypeError("Expected argument 'id' to be a str")
|
56
|
+
pulumi.set(__self__, "id", id)
|
57
|
+
if instance_configuration_id and not isinstance(instance_configuration_id, str):
|
58
|
+
raise TypeError("Expected argument 'instance_configuration_id' to be a str")
|
59
|
+
pulumi.set(__self__, "instance_configuration_id", instance_configuration_id)
|
60
|
+
if size and not isinstance(size, str):
|
61
|
+
raise TypeError("Expected argument 'size' to be a str")
|
62
|
+
pulumi.set(__self__, "size", size)
|
63
|
+
if state and not isinstance(state, str):
|
64
|
+
raise TypeError("Expected argument 'state' to be a str")
|
65
|
+
pulumi.set(__self__, "state", state)
|
66
|
+
if system_tags and not isinstance(system_tags, dict):
|
67
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
68
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
69
|
+
if time_created and not isinstance(time_created, str):
|
70
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
71
|
+
pulumi.set(__self__, "time_created", time_created)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="availabilityDomain")
|
75
|
+
def availability_domain(self) -> str:
|
76
|
+
"""
|
77
|
+
The availability domain of the GPU memory cluster.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "availability_domain")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="compartmentId")
|
83
|
+
def compartment_id(self) -> str:
|
84
|
+
"""
|
85
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute GPU memory cluster.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "compartment_id")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="computeClusterId")
|
91
|
+
def compute_cluster_id(self) -> str:
|
92
|
+
"""
|
93
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "compute_cluster_id")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="computeGpuMemoryClusterId")
|
99
|
+
def compute_gpu_memory_cluster_id(self) -> str:
|
100
|
+
return pulumi.get(self, "compute_gpu_memory_cluster_id")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="definedTags")
|
104
|
+
def defined_tags(self) -> Mapping[str, str]:
|
105
|
+
"""
|
106
|
+
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"}`
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "defined_tags")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="displayName")
|
112
|
+
def display_name(self) -> str:
|
113
|
+
"""
|
114
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "display_name")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="freeformTags")
|
120
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
121
|
+
"""
|
122
|
+
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"}`
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "freeform_tags")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="gpuMemoryFabricId")
|
128
|
+
def gpu_memory_fabric_id(self) -> str:
|
129
|
+
"""
|
130
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the GPU memory fabric.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "gpu_memory_fabric_id")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter
|
136
|
+
def id(self) -> str:
|
137
|
+
"""
|
138
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique GPU memory cluster
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "id")
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="instanceConfigurationId")
|
144
|
+
def instance_configuration_id(self) -> str:
|
145
|
+
"""
|
146
|
+
The OCID of the Instance Configuration used to source launch details for this instance.
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "instance_configuration_id")
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter
|
152
|
+
def size(self) -> str:
|
153
|
+
"""
|
154
|
+
The number of instances currently running in the GpuMemoryCluster
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "size")
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter
|
160
|
+
def state(self) -> str:
|
161
|
+
"""
|
162
|
+
The lifecycle state of the GPU memory cluster
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "state")
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="systemTags")
|
168
|
+
def system_tags(self) -> Mapping[str, str]:
|
169
|
+
"""
|
170
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "system_tags")
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="timeCreated")
|
176
|
+
def time_created(self) -> str:
|
177
|
+
"""
|
178
|
+
The date and time the GPU memory cluster was created. Example: `2016-09-15T21:10:29.600Z`
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "time_created")
|
181
|
+
|
182
|
+
|
183
|
+
class AwaitableGetComputeGpuMemoryClusterResult(GetComputeGpuMemoryClusterResult):
|
184
|
+
# pylint: disable=using-constant-test
|
185
|
+
def __await__(self):
|
186
|
+
if False:
|
187
|
+
yield self
|
188
|
+
return GetComputeGpuMemoryClusterResult(
|
189
|
+
availability_domain=self.availability_domain,
|
190
|
+
compartment_id=self.compartment_id,
|
191
|
+
compute_cluster_id=self.compute_cluster_id,
|
192
|
+
compute_gpu_memory_cluster_id=self.compute_gpu_memory_cluster_id,
|
193
|
+
defined_tags=self.defined_tags,
|
194
|
+
display_name=self.display_name,
|
195
|
+
freeform_tags=self.freeform_tags,
|
196
|
+
gpu_memory_fabric_id=self.gpu_memory_fabric_id,
|
197
|
+
id=self.id,
|
198
|
+
instance_configuration_id=self.instance_configuration_id,
|
199
|
+
size=self.size,
|
200
|
+
state=self.state,
|
201
|
+
system_tags=self.system_tags,
|
202
|
+
time_created=self.time_created)
|
203
|
+
|
204
|
+
|
205
|
+
def get_compute_gpu_memory_cluster(compute_gpu_memory_cluster_id: Optional[str] = None,
|
206
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeGpuMemoryClusterResult:
|
207
|
+
"""
|
208
|
+
This data source provides details about a specific Compute Gpu Memory Cluster resource in Oracle Cloud Infrastructure Core service.
|
209
|
+
|
210
|
+
Gets information about the specified compute GPU memory cluster
|
211
|
+
|
212
|
+
## Example Usage
|
213
|
+
|
214
|
+
```python
|
215
|
+
import pulumi
|
216
|
+
import pulumi_oci as oci
|
217
|
+
|
218
|
+
test_compute_gpu_memory_cluster = oci.Core.get_compute_gpu_memory_cluster(compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster_oci_core_compute_gpu_memory_cluster["id"])
|
219
|
+
```
|
220
|
+
|
221
|
+
|
222
|
+
:param str compute_gpu_memory_cluster_id: The OCID of the compute GPU memory cluster.
|
223
|
+
"""
|
224
|
+
__args__ = dict()
|
225
|
+
__args__['computeGpuMemoryClusterId'] = compute_gpu_memory_cluster_id
|
226
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
227
|
+
__ret__ = pulumi.runtime.invoke('oci:Core/getComputeGpuMemoryCluster:getComputeGpuMemoryCluster', __args__, opts=opts, typ=GetComputeGpuMemoryClusterResult).value
|
228
|
+
|
229
|
+
return AwaitableGetComputeGpuMemoryClusterResult(
|
230
|
+
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
231
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
232
|
+
compute_cluster_id=pulumi.get(__ret__, 'compute_cluster_id'),
|
233
|
+
compute_gpu_memory_cluster_id=pulumi.get(__ret__, 'compute_gpu_memory_cluster_id'),
|
234
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
235
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
236
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
237
|
+
gpu_memory_fabric_id=pulumi.get(__ret__, 'gpu_memory_fabric_id'),
|
238
|
+
id=pulumi.get(__ret__, 'id'),
|
239
|
+
instance_configuration_id=pulumi.get(__ret__, 'instance_configuration_id'),
|
240
|
+
size=pulumi.get(__ret__, 'size'),
|
241
|
+
state=pulumi.get(__ret__, 'state'),
|
242
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
243
|
+
time_created=pulumi.get(__ret__, 'time_created'))
|
244
|
+
def get_compute_gpu_memory_cluster_output(compute_gpu_memory_cluster_id: Optional[pulumi.Input[str]] = None,
|
245
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeGpuMemoryClusterResult]:
|
246
|
+
"""
|
247
|
+
This data source provides details about a specific Compute Gpu Memory Cluster resource in Oracle Cloud Infrastructure Core service.
|
248
|
+
|
249
|
+
Gets information about the specified compute GPU memory cluster
|
250
|
+
|
251
|
+
## Example Usage
|
252
|
+
|
253
|
+
```python
|
254
|
+
import pulumi
|
255
|
+
import pulumi_oci as oci
|
256
|
+
|
257
|
+
test_compute_gpu_memory_cluster = oci.Core.get_compute_gpu_memory_cluster(compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster_oci_core_compute_gpu_memory_cluster["id"])
|
258
|
+
```
|
259
|
+
|
260
|
+
|
261
|
+
:param str compute_gpu_memory_cluster_id: The OCID of the compute GPU memory cluster.
|
262
|
+
"""
|
263
|
+
__args__ = dict()
|
264
|
+
__args__['computeGpuMemoryClusterId'] = compute_gpu_memory_cluster_id
|
265
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
266
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Core/getComputeGpuMemoryCluster:getComputeGpuMemoryCluster', __args__, opts=opts, typ=GetComputeGpuMemoryClusterResult)
|
267
|
+
return __ret__.apply(lambda __response__: GetComputeGpuMemoryClusterResult(
|
268
|
+
availability_domain=pulumi.get(__response__, 'availability_domain'),
|
269
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
270
|
+
compute_cluster_id=pulumi.get(__response__, 'compute_cluster_id'),
|
271
|
+
compute_gpu_memory_cluster_id=pulumi.get(__response__, 'compute_gpu_memory_cluster_id'),
|
272
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
273
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
274
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
275
|
+
gpu_memory_fabric_id=pulumi.get(__response__, 'gpu_memory_fabric_id'),
|
276
|
+
id=pulumi.get(__response__, 'id'),
|
277
|
+
instance_configuration_id=pulumi.get(__response__, 'instance_configuration_id'),
|
278
|
+
size=pulumi.get(__response__, 'size'),
|
279
|
+
state=pulumi.get(__response__, 'state'),
|
280
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
281
|
+
time_created=pulumi.get(__response__, 'time_created')))
|
@@ -0,0 +1,144 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetComputeGpuMemoryClusterInstancesResult',
|
21
|
+
'AwaitableGetComputeGpuMemoryClusterInstancesResult',
|
22
|
+
'get_compute_gpu_memory_cluster_instances',
|
23
|
+
'get_compute_gpu_memory_cluster_instances_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetComputeGpuMemoryClusterInstancesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getComputeGpuMemoryClusterInstances.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compute_gpu_memory_cluster_id=None, compute_gpu_memory_cluster_instance_collections=None, filters=None, id=None):
|
32
|
+
if compute_gpu_memory_cluster_id and not isinstance(compute_gpu_memory_cluster_id, str):
|
33
|
+
raise TypeError("Expected argument 'compute_gpu_memory_cluster_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compute_gpu_memory_cluster_id", compute_gpu_memory_cluster_id)
|
35
|
+
if compute_gpu_memory_cluster_instance_collections and not isinstance(compute_gpu_memory_cluster_instance_collections, list):
|
36
|
+
raise TypeError("Expected argument 'compute_gpu_memory_cluster_instance_collections' to be a list")
|
37
|
+
pulumi.set(__self__, "compute_gpu_memory_cluster_instance_collections", compute_gpu_memory_cluster_instance_collections)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="computeGpuMemoryClusterId")
|
47
|
+
def compute_gpu_memory_cluster_id(self) -> str:
|
48
|
+
return pulumi.get(self, "compute_gpu_memory_cluster_id")
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter(name="computeGpuMemoryClusterInstanceCollections")
|
52
|
+
def compute_gpu_memory_cluster_instance_collections(self) -> Sequence['outputs.GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollectionResult']:
|
53
|
+
"""
|
54
|
+
The list of compute_gpu_memory_cluster_instance_collection.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "compute_gpu_memory_cluster_instance_collections")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def filters(self) -> Optional[Sequence['outputs.GetComputeGpuMemoryClusterInstancesFilterResult']]:
|
61
|
+
return pulumi.get(self, "filters")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def id(self) -> str:
|
66
|
+
"""
|
67
|
+
The provider-assigned unique ID for this managed resource.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "id")
|
70
|
+
|
71
|
+
|
72
|
+
class AwaitableGetComputeGpuMemoryClusterInstancesResult(GetComputeGpuMemoryClusterInstancesResult):
|
73
|
+
# pylint: disable=using-constant-test
|
74
|
+
def __await__(self):
|
75
|
+
if False:
|
76
|
+
yield self
|
77
|
+
return GetComputeGpuMemoryClusterInstancesResult(
|
78
|
+
compute_gpu_memory_cluster_id=self.compute_gpu_memory_cluster_id,
|
79
|
+
compute_gpu_memory_cluster_instance_collections=self.compute_gpu_memory_cluster_instance_collections,
|
80
|
+
filters=self.filters,
|
81
|
+
id=self.id)
|
82
|
+
|
83
|
+
|
84
|
+
def get_compute_gpu_memory_cluster_instances(compute_gpu_memory_cluster_id: Optional[str] = None,
|
85
|
+
filters: Optional[Sequence[Union['GetComputeGpuMemoryClusterInstancesFilterArgs', 'GetComputeGpuMemoryClusterInstancesFilterArgsDict']]] = None,
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeGpuMemoryClusterInstancesResult:
|
87
|
+
"""
|
88
|
+
This data source provides the list of Compute Gpu Memory Cluster Instances in Oracle Cloud Infrastructure Core service.
|
89
|
+
|
90
|
+
List all of the GPU memory cluster instances.
|
91
|
+
|
92
|
+
## Example Usage
|
93
|
+
|
94
|
+
```python
|
95
|
+
import pulumi
|
96
|
+
import pulumi_oci as oci
|
97
|
+
|
98
|
+
test_compute_gpu_memory_cluster_instances = oci.Core.get_compute_gpu_memory_cluster_instances(compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster["id"])
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
:param str compute_gpu_memory_cluster_id: The OCID of the compute GPU memory cluster.
|
103
|
+
"""
|
104
|
+
__args__ = dict()
|
105
|
+
__args__['computeGpuMemoryClusterId'] = compute_gpu_memory_cluster_id
|
106
|
+
__args__['filters'] = filters
|
107
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
108
|
+
__ret__ = pulumi.runtime.invoke('oci:Core/getComputeGpuMemoryClusterInstances:getComputeGpuMemoryClusterInstances', __args__, opts=opts, typ=GetComputeGpuMemoryClusterInstancesResult).value
|
109
|
+
|
110
|
+
return AwaitableGetComputeGpuMemoryClusterInstancesResult(
|
111
|
+
compute_gpu_memory_cluster_id=pulumi.get(__ret__, 'compute_gpu_memory_cluster_id'),
|
112
|
+
compute_gpu_memory_cluster_instance_collections=pulumi.get(__ret__, 'compute_gpu_memory_cluster_instance_collections'),
|
113
|
+
filters=pulumi.get(__ret__, 'filters'),
|
114
|
+
id=pulumi.get(__ret__, 'id'))
|
115
|
+
def get_compute_gpu_memory_cluster_instances_output(compute_gpu_memory_cluster_id: Optional[pulumi.Input[str]] = None,
|
116
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetComputeGpuMemoryClusterInstancesFilterArgs', 'GetComputeGpuMemoryClusterInstancesFilterArgsDict']]]]] = None,
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeGpuMemoryClusterInstancesResult]:
|
118
|
+
"""
|
119
|
+
This data source provides the list of Compute Gpu Memory Cluster Instances in Oracle Cloud Infrastructure Core service.
|
120
|
+
|
121
|
+
List all of the GPU memory cluster instances.
|
122
|
+
|
123
|
+
## Example Usage
|
124
|
+
|
125
|
+
```python
|
126
|
+
import pulumi
|
127
|
+
import pulumi_oci as oci
|
128
|
+
|
129
|
+
test_compute_gpu_memory_cluster_instances = oci.Core.get_compute_gpu_memory_cluster_instances(compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster["id"])
|
130
|
+
```
|
131
|
+
|
132
|
+
|
133
|
+
:param str compute_gpu_memory_cluster_id: The OCID of the compute GPU memory cluster.
|
134
|
+
"""
|
135
|
+
__args__ = dict()
|
136
|
+
__args__['computeGpuMemoryClusterId'] = compute_gpu_memory_cluster_id
|
137
|
+
__args__['filters'] = filters
|
138
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
139
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Core/getComputeGpuMemoryClusterInstances:getComputeGpuMemoryClusterInstances', __args__, opts=opts, typ=GetComputeGpuMemoryClusterInstancesResult)
|
140
|
+
return __ret__.apply(lambda __response__: GetComputeGpuMemoryClusterInstancesResult(
|
141
|
+
compute_gpu_memory_cluster_id=pulumi.get(__response__, 'compute_gpu_memory_cluster_id'),
|
142
|
+
compute_gpu_memory_cluster_instance_collections=pulumi.get(__response__, 'compute_gpu_memory_cluster_instance_collections'),
|
143
|
+
filters=pulumi.get(__response__, 'filters'),
|
144
|
+
id=pulumi.get(__response__, 'id')))
|
@@ -0,0 +1,232 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetComputeGpuMemoryClustersResult',
|
21
|
+
'AwaitableGetComputeGpuMemoryClustersResult',
|
22
|
+
'get_compute_gpu_memory_clusters',
|
23
|
+
'get_compute_gpu_memory_clusters_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetComputeGpuMemoryClustersResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getComputeGpuMemoryClusters.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, compute_cluster_id=None, compute_gpu_memory_cluster_collections=None, compute_gpu_memory_cluster_id=None, display_name=None, filters=None, id=None):
|
32
|
+
if availability_domain and not isinstance(availability_domain, str):
|
33
|
+
raise TypeError("Expected argument 'availability_domain' to be a str")
|
34
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
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 compute_cluster_id and not isinstance(compute_cluster_id, str):
|
39
|
+
raise TypeError("Expected argument 'compute_cluster_id' to be a str")
|
40
|
+
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
41
|
+
if compute_gpu_memory_cluster_collections and not isinstance(compute_gpu_memory_cluster_collections, list):
|
42
|
+
raise TypeError("Expected argument 'compute_gpu_memory_cluster_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "compute_gpu_memory_cluster_collections", compute_gpu_memory_cluster_collections)
|
44
|
+
if compute_gpu_memory_cluster_id and not isinstance(compute_gpu_memory_cluster_id, str):
|
45
|
+
raise TypeError("Expected argument 'compute_gpu_memory_cluster_id' to be a str")
|
46
|
+
pulumi.set(__self__, "compute_gpu_memory_cluster_id", compute_gpu_memory_cluster_id)
|
47
|
+
if display_name and not isinstance(display_name, str):
|
48
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
49
|
+
pulumi.set(__self__, "display_name", display_name)
|
50
|
+
if filters and not isinstance(filters, list):
|
51
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
52
|
+
pulumi.set(__self__, "filters", filters)
|
53
|
+
if id and not isinstance(id, str):
|
54
|
+
raise TypeError("Expected argument 'id' to be a str")
|
55
|
+
pulumi.set(__self__, "id", id)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="availabilityDomain")
|
59
|
+
def availability_domain(self) -> Optional[str]:
|
60
|
+
"""
|
61
|
+
The availability domain of the GPU memory cluster.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "availability_domain")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="compartmentId")
|
67
|
+
def compartment_id(self) -> str:
|
68
|
+
"""
|
69
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute GPU memory cluster.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "compartment_id")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="computeClusterId")
|
75
|
+
def compute_cluster_id(self) -> Optional[str]:
|
76
|
+
"""
|
77
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "compute_cluster_id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="computeGpuMemoryClusterCollections")
|
83
|
+
def compute_gpu_memory_cluster_collections(self) -> Sequence['outputs.GetComputeGpuMemoryClustersComputeGpuMemoryClusterCollectionResult']:
|
84
|
+
"""
|
85
|
+
The list of compute_gpu_memory_cluster_collection.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "compute_gpu_memory_cluster_collections")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="computeGpuMemoryClusterId")
|
91
|
+
def compute_gpu_memory_cluster_id(self) -> Optional[str]:
|
92
|
+
return pulumi.get(self, "compute_gpu_memory_cluster_id")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="displayName")
|
96
|
+
def display_name(self) -> Optional[str]:
|
97
|
+
"""
|
98
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "display_name")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter
|
104
|
+
def filters(self) -> Optional[Sequence['outputs.GetComputeGpuMemoryClustersFilterResult']]:
|
105
|
+
return pulumi.get(self, "filters")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def id(self) -> str:
|
110
|
+
"""
|
111
|
+
The provider-assigned unique ID for this managed resource.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "id")
|
114
|
+
|
115
|
+
|
116
|
+
class AwaitableGetComputeGpuMemoryClustersResult(GetComputeGpuMemoryClustersResult):
|
117
|
+
# pylint: disable=using-constant-test
|
118
|
+
def __await__(self):
|
119
|
+
if False:
|
120
|
+
yield self
|
121
|
+
return GetComputeGpuMemoryClustersResult(
|
122
|
+
availability_domain=self.availability_domain,
|
123
|
+
compartment_id=self.compartment_id,
|
124
|
+
compute_cluster_id=self.compute_cluster_id,
|
125
|
+
compute_gpu_memory_cluster_collections=self.compute_gpu_memory_cluster_collections,
|
126
|
+
compute_gpu_memory_cluster_id=self.compute_gpu_memory_cluster_id,
|
127
|
+
display_name=self.display_name,
|
128
|
+
filters=self.filters,
|
129
|
+
id=self.id)
|
130
|
+
|
131
|
+
|
132
|
+
def get_compute_gpu_memory_clusters(availability_domain: Optional[str] = None,
|
133
|
+
compartment_id: Optional[str] = None,
|
134
|
+
compute_cluster_id: Optional[str] = None,
|
135
|
+
compute_gpu_memory_cluster_id: Optional[str] = None,
|
136
|
+
display_name: Optional[str] = None,
|
137
|
+
filters: Optional[Sequence[Union['GetComputeGpuMemoryClustersFilterArgs', 'GetComputeGpuMemoryClustersFilterArgsDict']]] = None,
|
138
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeGpuMemoryClustersResult:
|
139
|
+
"""
|
140
|
+
This data source provides the list of Compute Gpu Memory Clusters in Oracle Cloud Infrastructure Core service.
|
141
|
+
|
142
|
+
List all of the compute GPU memory clusters.
|
143
|
+
|
144
|
+
## Example Usage
|
145
|
+
|
146
|
+
```python
|
147
|
+
import pulumi
|
148
|
+
import pulumi_oci as oci
|
149
|
+
|
150
|
+
test_compute_gpu_memory_clusters = oci.Core.get_compute_gpu_memory_clusters(compartment_id=compartment_id,
|
151
|
+
availability_domain=compute_gpu_memory_cluster_availability_domain,
|
152
|
+
compute_cluster_id=test_compute_cluster["id"],
|
153
|
+
compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster["id"],
|
154
|
+
display_name=compute_gpu_memory_cluster_display_name)
|
155
|
+
```
|
156
|
+
|
157
|
+
|
158
|
+
:param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1`
|
159
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
160
|
+
:param str compute_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. A [compute cluster](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group.
|
161
|
+
:param str compute_gpu_memory_cluster_id: A filter to return only the listings that matches the given GPU memory cluster id.
|
162
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
163
|
+
"""
|
164
|
+
__args__ = dict()
|
165
|
+
__args__['availabilityDomain'] = availability_domain
|
166
|
+
__args__['compartmentId'] = compartment_id
|
167
|
+
__args__['computeClusterId'] = compute_cluster_id
|
168
|
+
__args__['computeGpuMemoryClusterId'] = compute_gpu_memory_cluster_id
|
169
|
+
__args__['displayName'] = display_name
|
170
|
+
__args__['filters'] = filters
|
171
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
172
|
+
__ret__ = pulumi.runtime.invoke('oci:Core/getComputeGpuMemoryClusters:getComputeGpuMemoryClusters', __args__, opts=opts, typ=GetComputeGpuMemoryClustersResult).value
|
173
|
+
|
174
|
+
return AwaitableGetComputeGpuMemoryClustersResult(
|
175
|
+
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
176
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
177
|
+
compute_cluster_id=pulumi.get(__ret__, 'compute_cluster_id'),
|
178
|
+
compute_gpu_memory_cluster_collections=pulumi.get(__ret__, 'compute_gpu_memory_cluster_collections'),
|
179
|
+
compute_gpu_memory_cluster_id=pulumi.get(__ret__, 'compute_gpu_memory_cluster_id'),
|
180
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
181
|
+
filters=pulumi.get(__ret__, 'filters'),
|
182
|
+
id=pulumi.get(__ret__, 'id'))
|
183
|
+
def get_compute_gpu_memory_clusters_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None,
|
184
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
185
|
+
compute_cluster_id: Optional[pulumi.Input[Optional[str]]] = None,
|
186
|
+
compute_gpu_memory_cluster_id: Optional[pulumi.Input[Optional[str]]] = None,
|
187
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
188
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetComputeGpuMemoryClustersFilterArgs', 'GetComputeGpuMemoryClustersFilterArgsDict']]]]] = None,
|
189
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeGpuMemoryClustersResult]:
|
190
|
+
"""
|
191
|
+
This data source provides the list of Compute Gpu Memory Clusters in Oracle Cloud Infrastructure Core service.
|
192
|
+
|
193
|
+
List all of the compute GPU memory clusters.
|
194
|
+
|
195
|
+
## Example Usage
|
196
|
+
|
197
|
+
```python
|
198
|
+
import pulumi
|
199
|
+
import pulumi_oci as oci
|
200
|
+
|
201
|
+
test_compute_gpu_memory_clusters = oci.Core.get_compute_gpu_memory_clusters(compartment_id=compartment_id,
|
202
|
+
availability_domain=compute_gpu_memory_cluster_availability_domain,
|
203
|
+
compute_cluster_id=test_compute_cluster["id"],
|
204
|
+
compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster["id"],
|
205
|
+
display_name=compute_gpu_memory_cluster_display_name)
|
206
|
+
```
|
207
|
+
|
208
|
+
|
209
|
+
:param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1`
|
210
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
211
|
+
:param str compute_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. A [compute cluster](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group.
|
212
|
+
:param str compute_gpu_memory_cluster_id: A filter to return only the listings that matches the given GPU memory cluster id.
|
213
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
214
|
+
"""
|
215
|
+
__args__ = dict()
|
216
|
+
__args__['availabilityDomain'] = availability_domain
|
217
|
+
__args__['compartmentId'] = compartment_id
|
218
|
+
__args__['computeClusterId'] = compute_cluster_id
|
219
|
+
__args__['computeGpuMemoryClusterId'] = compute_gpu_memory_cluster_id
|
220
|
+
__args__['displayName'] = display_name
|
221
|
+
__args__['filters'] = filters
|
222
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
223
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Core/getComputeGpuMemoryClusters:getComputeGpuMemoryClusters', __args__, opts=opts, typ=GetComputeGpuMemoryClustersResult)
|
224
|
+
return __ret__.apply(lambda __response__: GetComputeGpuMemoryClustersResult(
|
225
|
+
availability_domain=pulumi.get(__response__, 'availability_domain'),
|
226
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
227
|
+
compute_cluster_id=pulumi.get(__response__, 'compute_cluster_id'),
|
228
|
+
compute_gpu_memory_cluster_collections=pulumi.get(__response__, 'compute_gpu_memory_cluster_collections'),
|
229
|
+
compute_gpu_memory_cluster_id=pulumi.get(__response__, 'compute_gpu_memory_cluster_id'),
|
230
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
231
|
+
filters=pulumi.get(__response__, 'filters'),
|
232
|
+
id=pulumi.get(__response__, 'id')))
|