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.
Files changed (100) hide show
  1. pulumi_oci/__init__.py +144 -0
  2. pulumi_oci/containerengine/_inputs.py +9 -9
  3. pulumi_oci/containerengine/outputs.py +18 -22
  4. pulumi_oci/core/__init__.py +9 -0
  5. pulumi_oci/core/_inputs.py +196 -0
  6. pulumi_oci/core/compute_gpu_memory_cluster.py +706 -0
  7. pulumi_oci/core/compute_gpu_memory_fabric.py +667 -0
  8. pulumi_oci/core/get_compute_gpu_memory_cluster.py +281 -0
  9. pulumi_oci/core/get_compute_gpu_memory_cluster_instances.py +144 -0
  10. pulumi_oci/core/get_compute_gpu_memory_clusters.py +232 -0
  11. pulumi_oci/core/get_compute_gpu_memory_fabric.py +309 -0
  12. pulumi_oci/core/get_compute_gpu_memory_fabrics.py +289 -0
  13. pulumi_oci/core/get_compute_host.py +393 -0
  14. pulumi_oci/core/get_compute_hosts.py +254 -0
  15. pulumi_oci/core/outputs.py +847 -0
  16. pulumi_oci/database/__init__.py +2 -0
  17. pulumi_oci/database/_inputs.py +2211 -24
  18. pulumi_oci/database/autonomous_container_database.py +305 -52
  19. pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
  20. pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
  21. pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
  22. pulumi_oci/database/get_autonomous_container_database.py +103 -2
  23. pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
  24. pulumi_oci/database/get_autonomous_container_databases.py +1 -1
  25. pulumi_oci/database/get_maintenance_run.py +15 -1
  26. pulumi_oci/database/maintenance_run.py +28 -0
  27. pulumi_oci/database/outputs.py +2747 -225
  28. pulumi_oci/goldengate/_inputs.py +128 -0
  29. pulumi_oci/goldengate/deployment.py +103 -0
  30. pulumi_oci/goldengate/deployment_backup.py +28 -0
  31. pulumi_oci/goldengate/get_deployment.py +43 -1
  32. pulumi_oci/goldengate/get_deployment_backup.py +15 -1
  33. pulumi_oci/goldengate/outputs.py +289 -0
  34. pulumi_oci/identity/_inputs.py +9 -49
  35. pulumi_oci/identity/domains_app.py +34 -0
  36. pulumi_oci/identity/get_domains_app.py +12 -1
  37. pulumi_oci/identity/outputs.py +20 -47
  38. pulumi_oci/osmanagementhub/__init__.py +18 -0
  39. pulumi_oci/osmanagementhub/_inputs.py +677 -12
  40. pulumi_oci/osmanagementhub/event.py +8 -0
  41. pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
  42. pulumi_oci/osmanagementhub/get_event.py +2 -0
  43. pulumi_oci/osmanagementhub/get_events.py +2 -0
  44. pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
  45. pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
  46. pulumi_oci/osmanagementhub/get_management_station.py +116 -4
  47. pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
  48. pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
  49. pulumi_oci/osmanagementhub/get_profile.py +32 -4
  50. pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
  51. pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
  52. pulumi_oci/osmanagementhub/get_profiles.py +63 -3
  53. pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
  54. pulumi_oci/osmanagementhub/get_software_package.py +2 -2
  55. pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
  56. pulumi_oci/osmanagementhub/get_software_source.py +89 -5
  57. pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
  58. pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
  59. pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
  60. pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
  61. pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
  62. pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
  63. pulumi_oci/osmanagementhub/managed_instance.py +56 -0
  64. pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
  65. pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
  66. pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
  67. pulumi_oci/osmanagementhub/management_station.py +251 -4
  68. pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
  69. pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
  70. pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
  71. pulumi_oci/osmanagementhub/outputs.py +1349 -50
  72. pulumi_oci/osmanagementhub/profile.py +70 -14
  73. pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
  74. pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
  75. pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
  76. pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
  77. pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
  78. pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
  79. pulumi_oci/osmanagementhub/software_source.py +365 -26
  80. pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
  81. pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
  82. pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
  83. pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
  84. pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
  85. pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -0
  86. pulumi_oci/pulumi-plugin.json +1 -1
  87. pulumi_oci/sch/_inputs.py +24 -24
  88. pulumi_oci/sch/connector.py +46 -18
  89. pulumi_oci/sch/get_service_connector.py +16 -8
  90. pulumi_oci/sch/outputs.py +53 -50
  91. pulumi_oci/stackmonitoring/_inputs.py +191 -0
  92. pulumi_oci/stackmonitoring/config.py +307 -23
  93. pulumi_oci/stackmonitoring/get_config.py +90 -5
  94. pulumi_oci/stackmonitoring/get_maintenance_window.py +43 -1
  95. pulumi_oci/stackmonitoring/maintenance_window.py +136 -2
  96. pulumi_oci/stackmonitoring/outputs.py +448 -3
  97. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/METADATA +2 -2
  98. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/RECORD +100 -71
  99. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/WHEEL +1 -1
  100. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,393 @@
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
+ 'GetComputeHostResult',
19
+ 'AwaitableGetComputeHostResult',
20
+ 'get_compute_host',
21
+ 'get_compute_host_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetComputeHostResult:
26
+ """
27
+ A collection of values returned by getComputeHost.
28
+ """
29
+ def __init__(__self__, additional_data=None, availability_domain=None, capacity_reservation_id=None, compartment_id=None, compute_host_id=None, defined_tags=None, display_name=None, fault_domain=None, freeform_tags=None, gpu_memory_fabric_id=None, health=None, hpc_island_id=None, id=None, impacted_component_details=None, instance_id=None, lifecycle_details=None, local_block_id=None, network_block_id=None, shape=None, state=None, time_created=None, time_updated=None):
30
+ if additional_data and not isinstance(additional_data, str):
31
+ raise TypeError("Expected argument 'additional_data' to be a str")
32
+ pulumi.set(__self__, "additional_data", additional_data)
33
+ if availability_domain and not isinstance(availability_domain, str):
34
+ raise TypeError("Expected argument 'availability_domain' to be a str")
35
+ pulumi.set(__self__, "availability_domain", availability_domain)
36
+ if capacity_reservation_id and not isinstance(capacity_reservation_id, str):
37
+ raise TypeError("Expected argument 'capacity_reservation_id' to be a str")
38
+ pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id)
39
+ if compartment_id and not isinstance(compartment_id, str):
40
+ raise TypeError("Expected argument 'compartment_id' to be a str")
41
+ pulumi.set(__self__, "compartment_id", compartment_id)
42
+ if compute_host_id and not isinstance(compute_host_id, str):
43
+ raise TypeError("Expected argument 'compute_host_id' to be a str")
44
+ pulumi.set(__self__, "compute_host_id", compute_host_id)
45
+ if defined_tags and not isinstance(defined_tags, dict):
46
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
47
+ pulumi.set(__self__, "defined_tags", defined_tags)
48
+ if display_name and not isinstance(display_name, str):
49
+ raise TypeError("Expected argument 'display_name' to be a str")
50
+ pulumi.set(__self__, "display_name", display_name)
51
+ if fault_domain and not isinstance(fault_domain, str):
52
+ raise TypeError("Expected argument 'fault_domain' to be a str")
53
+ pulumi.set(__self__, "fault_domain", fault_domain)
54
+ if freeform_tags and not isinstance(freeform_tags, dict):
55
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
56
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
57
+ if gpu_memory_fabric_id and not isinstance(gpu_memory_fabric_id, str):
58
+ raise TypeError("Expected argument 'gpu_memory_fabric_id' to be a str")
59
+ pulumi.set(__self__, "gpu_memory_fabric_id", gpu_memory_fabric_id)
60
+ if health and not isinstance(health, str):
61
+ raise TypeError("Expected argument 'health' to be a str")
62
+ pulumi.set(__self__, "health", health)
63
+ if hpc_island_id and not isinstance(hpc_island_id, str):
64
+ raise TypeError("Expected argument 'hpc_island_id' to be a str")
65
+ pulumi.set(__self__, "hpc_island_id", hpc_island_id)
66
+ if id and not isinstance(id, str):
67
+ raise TypeError("Expected argument 'id' to be a str")
68
+ pulumi.set(__self__, "id", id)
69
+ if impacted_component_details and not isinstance(impacted_component_details, str):
70
+ raise TypeError("Expected argument 'impacted_component_details' to be a str")
71
+ pulumi.set(__self__, "impacted_component_details", impacted_component_details)
72
+ if instance_id and not isinstance(instance_id, str):
73
+ raise TypeError("Expected argument 'instance_id' to be a str")
74
+ pulumi.set(__self__, "instance_id", instance_id)
75
+ if lifecycle_details and not isinstance(lifecycle_details, dict):
76
+ raise TypeError("Expected argument 'lifecycle_details' to be a dict")
77
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
78
+ if local_block_id and not isinstance(local_block_id, str):
79
+ raise TypeError("Expected argument 'local_block_id' to be a str")
80
+ pulumi.set(__self__, "local_block_id", local_block_id)
81
+ if network_block_id and not isinstance(network_block_id, str):
82
+ raise TypeError("Expected argument 'network_block_id' to be a str")
83
+ pulumi.set(__self__, "network_block_id", network_block_id)
84
+ if shape and not isinstance(shape, str):
85
+ raise TypeError("Expected argument 'shape' to be a str")
86
+ pulumi.set(__self__, "shape", shape)
87
+ if state and not isinstance(state, str):
88
+ raise TypeError("Expected argument 'state' to be a str")
89
+ pulumi.set(__self__, "state", state)
90
+ if time_created and not isinstance(time_created, str):
91
+ raise TypeError("Expected argument 'time_created' to be a str")
92
+ pulumi.set(__self__, "time_created", time_created)
93
+ if time_updated and not isinstance(time_updated, str):
94
+ raise TypeError("Expected argument 'time_updated' to be a str")
95
+ pulumi.set(__self__, "time_updated", time_updated)
96
+
97
+ @property
98
+ @pulumi.getter(name="additionalData")
99
+ def additional_data(self) -> str:
100
+ """
101
+ Additional data that can be exposed to the customer. Will include raw fault codes for strategic customers
102
+ """
103
+ return pulumi.get(self, "additional_data")
104
+
105
+ @property
106
+ @pulumi.getter(name="availabilityDomain")
107
+ def availability_domain(self) -> str:
108
+ """
109
+ The availability domain of the compute host. Example: `Uocm:US-CHICAGO-1-AD-2`
110
+ """
111
+ return pulumi.get(self, "availability_domain")
112
+
113
+ @property
114
+ @pulumi.getter(name="capacityReservationId")
115
+ def capacity_reservation_id(self) -> str:
116
+ """
117
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Capacity Reserver that is currently on host
118
+ """
119
+ return pulumi.get(self, "capacity_reservation_id")
120
+
121
+ @property
122
+ @pulumi.getter(name="compartmentId")
123
+ def compartment_id(self) -> str:
124
+ """
125
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root compartment.
126
+ """
127
+ return pulumi.get(self, "compartment_id")
128
+
129
+ @property
130
+ @pulumi.getter(name="computeHostId")
131
+ def compute_host_id(self) -> str:
132
+ return pulumi.get(self, "compute_host_id")
133
+
134
+ @property
135
+ @pulumi.getter(name="definedTags")
136
+ def defined_tags(self) -> Mapping[str, str]:
137
+ """
138
+ 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"}`
139
+ """
140
+ return pulumi.get(self, "defined_tags")
141
+
142
+ @property
143
+ @pulumi.getter(name="displayName")
144
+ def display_name(self) -> str:
145
+ """
146
+ A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
147
+ """
148
+ return pulumi.get(self, "display_name")
149
+
150
+ @property
151
+ @pulumi.getter(name="faultDomain")
152
+ def fault_domain(self) -> str:
153
+ """
154
+ A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
155
+ """
156
+ return pulumi.get(self, "fault_domain")
157
+
158
+ @property
159
+ @pulumi.getter(name="freeformTags")
160
+ def freeform_tags(self) -> Mapping[str, str]:
161
+ """
162
+ 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"}`
163
+ """
164
+ return pulumi.get(self, "freeform_tags")
165
+
166
+ @property
167
+ @pulumi.getter(name="gpuMemoryFabricId")
168
+ def gpu_memory_fabric_id(self) -> str:
169
+ """
170
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique GPU Memory Fabric
171
+ """
172
+ return pulumi.get(self, "gpu_memory_fabric_id")
173
+
174
+ @property
175
+ @pulumi.getter
176
+ def health(self) -> str:
177
+ """
178
+ The heathy state of the host
179
+ """
180
+ return pulumi.get(self, "health")
181
+
182
+ @property
183
+ @pulumi.getter(name="hpcIslandId")
184
+ def hpc_island_id(self) -> str:
185
+ """
186
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique HPC Island
187
+ """
188
+ return pulumi.get(self, "hpc_island_id")
189
+
190
+ @property
191
+ @pulumi.getter
192
+ def id(self) -> str:
193
+ """
194
+ The provider-assigned unique ID for this managed resource.
195
+ """
196
+ return pulumi.get(self, "id")
197
+
198
+ @property
199
+ @pulumi.getter(name="impactedComponentDetails")
200
+ def impacted_component_details(self) -> str:
201
+ """
202
+ A list that contains impacted components related to an unhealthy host. An impacted component will be a free-form structure of key values pairs that will provide more or less details based on data tiering
203
+ """
204
+ return pulumi.get(self, "impacted_component_details")
205
+
206
+ @property
207
+ @pulumi.getter(name="instanceId")
208
+ def instance_id(self) -> str:
209
+ """
210
+ The public [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Virtual Machine or Bare Metal instance
211
+ """
212
+ return pulumi.get(self, "instance_id")
213
+
214
+ @property
215
+ @pulumi.getter(name="lifecycleDetails")
216
+ def lifecycle_details(self) -> Mapping[str, str]:
217
+ """
218
+ A free-form description detailing why the host is in its current state.
219
+ """
220
+ return pulumi.get(self, "lifecycle_details")
221
+
222
+ @property
223
+ @pulumi.getter(name="localBlockId")
224
+ def local_block_id(self) -> str:
225
+ """
226
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Local Block
227
+ """
228
+ return pulumi.get(self, "local_block_id")
229
+
230
+ @property
231
+ @pulumi.getter(name="networkBlockId")
232
+ def network_block_id(self) -> str:
233
+ """
234
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Network Block
235
+ """
236
+ return pulumi.get(self, "network_block_id")
237
+
238
+ @property
239
+ @pulumi.getter
240
+ def shape(self) -> str:
241
+ """
242
+ The shape of host
243
+ """
244
+ return pulumi.get(self, "shape")
245
+
246
+ @property
247
+ @pulumi.getter
248
+ def state(self) -> str:
249
+ """
250
+ The lifecycle state of the host
251
+ """
252
+ return pulumi.get(self, "state")
253
+
254
+ @property
255
+ @pulumi.getter(name="timeCreated")
256
+ def time_created(self) -> str:
257
+ """
258
+ The date and time that the compute host record was created, in the format defined by [RFC3339](https://tools .ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
259
+ """
260
+ return pulumi.get(self, "time_created")
261
+
262
+ @property
263
+ @pulumi.getter(name="timeUpdated")
264
+ def time_updated(self) -> str:
265
+ """
266
+ The date and time that the compute host record was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
267
+ """
268
+ return pulumi.get(self, "time_updated")
269
+
270
+
271
+ class AwaitableGetComputeHostResult(GetComputeHostResult):
272
+ # pylint: disable=using-constant-test
273
+ def __await__(self):
274
+ if False:
275
+ yield self
276
+ return GetComputeHostResult(
277
+ additional_data=self.additional_data,
278
+ availability_domain=self.availability_domain,
279
+ capacity_reservation_id=self.capacity_reservation_id,
280
+ compartment_id=self.compartment_id,
281
+ compute_host_id=self.compute_host_id,
282
+ defined_tags=self.defined_tags,
283
+ display_name=self.display_name,
284
+ fault_domain=self.fault_domain,
285
+ freeform_tags=self.freeform_tags,
286
+ gpu_memory_fabric_id=self.gpu_memory_fabric_id,
287
+ health=self.health,
288
+ hpc_island_id=self.hpc_island_id,
289
+ id=self.id,
290
+ impacted_component_details=self.impacted_component_details,
291
+ instance_id=self.instance_id,
292
+ lifecycle_details=self.lifecycle_details,
293
+ local_block_id=self.local_block_id,
294
+ network_block_id=self.network_block_id,
295
+ shape=self.shape,
296
+ state=self.state,
297
+ time_created=self.time_created,
298
+ time_updated=self.time_updated)
299
+
300
+
301
+ def get_compute_host(compute_host_id: Optional[str] = None,
302
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeHostResult:
303
+ """
304
+ This data source provides details about a specific Compute Host resource in Oracle Cloud Infrastructure Core service.
305
+
306
+ Gets information about the specified compute host
307
+
308
+ ## Example Usage
309
+
310
+ ```python
311
+ import pulumi
312
+ import pulumi_oci as oci
313
+
314
+ test_compute_host = oci.Core.get_compute_host(compute_host_id=test_compute_host_oci_core_compute_host["id"])
315
+ ```
316
+
317
+
318
+ :param str compute_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host.
319
+ """
320
+ __args__ = dict()
321
+ __args__['computeHostId'] = compute_host_id
322
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
323
+ __ret__ = pulumi.runtime.invoke('oci:Core/getComputeHost:getComputeHost', __args__, opts=opts, typ=GetComputeHostResult).value
324
+
325
+ return AwaitableGetComputeHostResult(
326
+ additional_data=pulumi.get(__ret__, 'additional_data'),
327
+ availability_domain=pulumi.get(__ret__, 'availability_domain'),
328
+ capacity_reservation_id=pulumi.get(__ret__, 'capacity_reservation_id'),
329
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
330
+ compute_host_id=pulumi.get(__ret__, 'compute_host_id'),
331
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
332
+ display_name=pulumi.get(__ret__, 'display_name'),
333
+ fault_domain=pulumi.get(__ret__, 'fault_domain'),
334
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
335
+ gpu_memory_fabric_id=pulumi.get(__ret__, 'gpu_memory_fabric_id'),
336
+ health=pulumi.get(__ret__, 'health'),
337
+ hpc_island_id=pulumi.get(__ret__, 'hpc_island_id'),
338
+ id=pulumi.get(__ret__, 'id'),
339
+ impacted_component_details=pulumi.get(__ret__, 'impacted_component_details'),
340
+ instance_id=pulumi.get(__ret__, 'instance_id'),
341
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
342
+ local_block_id=pulumi.get(__ret__, 'local_block_id'),
343
+ network_block_id=pulumi.get(__ret__, 'network_block_id'),
344
+ shape=pulumi.get(__ret__, 'shape'),
345
+ state=pulumi.get(__ret__, 'state'),
346
+ time_created=pulumi.get(__ret__, 'time_created'),
347
+ time_updated=pulumi.get(__ret__, 'time_updated'))
348
+ def get_compute_host_output(compute_host_id: Optional[pulumi.Input[str]] = None,
349
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeHostResult]:
350
+ """
351
+ This data source provides details about a specific Compute Host resource in Oracle Cloud Infrastructure Core service.
352
+
353
+ Gets information about the specified compute host
354
+
355
+ ## Example Usage
356
+
357
+ ```python
358
+ import pulumi
359
+ import pulumi_oci as oci
360
+
361
+ test_compute_host = oci.Core.get_compute_host(compute_host_id=test_compute_host_oci_core_compute_host["id"])
362
+ ```
363
+
364
+
365
+ :param str compute_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host.
366
+ """
367
+ __args__ = dict()
368
+ __args__['computeHostId'] = compute_host_id
369
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
370
+ __ret__ = pulumi.runtime.invoke_output('oci:Core/getComputeHost:getComputeHost', __args__, opts=opts, typ=GetComputeHostResult)
371
+ return __ret__.apply(lambda __response__: GetComputeHostResult(
372
+ additional_data=pulumi.get(__response__, 'additional_data'),
373
+ availability_domain=pulumi.get(__response__, 'availability_domain'),
374
+ capacity_reservation_id=pulumi.get(__response__, 'capacity_reservation_id'),
375
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
376
+ compute_host_id=pulumi.get(__response__, 'compute_host_id'),
377
+ defined_tags=pulumi.get(__response__, 'defined_tags'),
378
+ display_name=pulumi.get(__response__, 'display_name'),
379
+ fault_domain=pulumi.get(__response__, 'fault_domain'),
380
+ freeform_tags=pulumi.get(__response__, 'freeform_tags'),
381
+ gpu_memory_fabric_id=pulumi.get(__response__, 'gpu_memory_fabric_id'),
382
+ health=pulumi.get(__response__, 'health'),
383
+ hpc_island_id=pulumi.get(__response__, 'hpc_island_id'),
384
+ id=pulumi.get(__response__, 'id'),
385
+ impacted_component_details=pulumi.get(__response__, 'impacted_component_details'),
386
+ instance_id=pulumi.get(__response__, 'instance_id'),
387
+ lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
388
+ local_block_id=pulumi.get(__response__, 'local_block_id'),
389
+ network_block_id=pulumi.get(__response__, 'network_block_id'),
390
+ shape=pulumi.get(__response__, 'shape'),
391
+ state=pulumi.get(__response__, 'state'),
392
+ time_created=pulumi.get(__response__, 'time_created'),
393
+ time_updated=pulumi.get(__response__, 'time_updated')))
@@ -0,0 +1,254 @@
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
+ 'GetComputeHostsResult',
21
+ 'AwaitableGetComputeHostsResult',
22
+ 'get_compute_hosts',
23
+ 'get_compute_hosts_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetComputeHostsResult:
28
+ """
29
+ A collection of values returned by getComputeHosts.
30
+ """
31
+ def __init__(__self__, availability_domain=None, compartment_id=None, compute_host_collections=None, compute_host_health=None, compute_host_lifecycle_state=None, display_name=None, filters=None, id=None, network_resource_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_host_collections and not isinstance(compute_host_collections, list):
39
+ raise TypeError("Expected argument 'compute_host_collections' to be a list")
40
+ pulumi.set(__self__, "compute_host_collections", compute_host_collections)
41
+ if compute_host_health and not isinstance(compute_host_health, str):
42
+ raise TypeError("Expected argument 'compute_host_health' to be a str")
43
+ pulumi.set(__self__, "compute_host_health", compute_host_health)
44
+ if compute_host_lifecycle_state and not isinstance(compute_host_lifecycle_state, str):
45
+ raise TypeError("Expected argument 'compute_host_lifecycle_state' to be a str")
46
+ pulumi.set(__self__, "compute_host_lifecycle_state", compute_host_lifecycle_state)
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
+ if network_resource_id and not isinstance(network_resource_id, str):
57
+ raise TypeError("Expected argument 'network_resource_id' to be a str")
58
+ pulumi.set(__self__, "network_resource_id", network_resource_id)
59
+
60
+ @property
61
+ @pulumi.getter(name="availabilityDomain")
62
+ def availability_domain(self) -> Optional[str]:
63
+ """
64
+ The availability domain of the compute host. Example: `Uocm:US-CHICAGO-1-AD-2`
65
+ """
66
+ return pulumi.get(self, "availability_domain")
67
+
68
+ @property
69
+ @pulumi.getter(name="compartmentId")
70
+ def compartment_id(self) -> str:
71
+ """
72
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root compartment.
73
+ """
74
+ return pulumi.get(self, "compartment_id")
75
+
76
+ @property
77
+ @pulumi.getter(name="computeHostCollections")
78
+ def compute_host_collections(self) -> Sequence['outputs.GetComputeHostsComputeHostCollectionResult']:
79
+ """
80
+ The list of compute_host_collection.
81
+ """
82
+ return pulumi.get(self, "compute_host_collections")
83
+
84
+ @property
85
+ @pulumi.getter(name="computeHostHealth")
86
+ def compute_host_health(self) -> Optional[str]:
87
+ return pulumi.get(self, "compute_host_health")
88
+
89
+ @property
90
+ @pulumi.getter(name="computeHostLifecycleState")
91
+ def compute_host_lifecycle_state(self) -> Optional[str]:
92
+ return pulumi.get(self, "compute_host_lifecycle_state")
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.GetComputeHostsFilterResult']]:
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
+ @property
116
+ @pulumi.getter(name="networkResourceId")
117
+ def network_resource_id(self) -> Optional[str]:
118
+ return pulumi.get(self, "network_resource_id")
119
+
120
+
121
+ class AwaitableGetComputeHostsResult(GetComputeHostsResult):
122
+ # pylint: disable=using-constant-test
123
+ def __await__(self):
124
+ if False:
125
+ yield self
126
+ return GetComputeHostsResult(
127
+ availability_domain=self.availability_domain,
128
+ compartment_id=self.compartment_id,
129
+ compute_host_collections=self.compute_host_collections,
130
+ compute_host_health=self.compute_host_health,
131
+ compute_host_lifecycle_state=self.compute_host_lifecycle_state,
132
+ display_name=self.display_name,
133
+ filters=self.filters,
134
+ id=self.id,
135
+ network_resource_id=self.network_resource_id)
136
+
137
+
138
+ def get_compute_hosts(availability_domain: Optional[str] = None,
139
+ compartment_id: Optional[str] = None,
140
+ compute_host_health: Optional[str] = None,
141
+ compute_host_lifecycle_state: Optional[str] = None,
142
+ display_name: Optional[str] = None,
143
+ filters: Optional[Sequence[Union['GetComputeHostsFilterArgs', 'GetComputeHostsFilterArgsDict']]] = None,
144
+ network_resource_id: Optional[str] = None,
145
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeHostsResult:
146
+ """
147
+ This data source provides the list of Compute Hosts in Oracle Cloud Infrastructure Core service.
148
+
149
+ Generates a list of summary host details
150
+
151
+ ## Example Usage
152
+
153
+ ```python
154
+ import pulumi
155
+ import pulumi_oci as oci
156
+
157
+ test_compute_hosts = oci.Core.get_compute_hosts(compartment_id=compartment_id,
158
+ availability_domain=compute_host_availability_domain,
159
+ compute_host_health=compute_host_compute_host_health,
160
+ compute_host_lifecycle_state=compute_host_compute_host_lifecycle_state,
161
+ display_name=compute_host_display_name,
162
+ network_resource_id=test_resource["id"])
163
+ ```
164
+
165
+
166
+ :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1`
167
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
168
+ :param str compute_host_health: A filter to return only ComputeHostSummary resources that match the given Compute Host health State OCID exactly.
169
+ :param str compute_host_lifecycle_state: A filter to return only ComputeHostSummary resources that match the given Compute Host lifecycle State OCID exactly.
170
+ :param str display_name: A filter to return only resources that match the given display name exactly.
171
+ :param str network_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host network resoruce.
172
+ * Customer-unique HPC island ID
173
+ * Customer-unique network block ID
174
+ * Customer-unique local block ID
175
+ """
176
+ __args__ = dict()
177
+ __args__['availabilityDomain'] = availability_domain
178
+ __args__['compartmentId'] = compartment_id
179
+ __args__['computeHostHealth'] = compute_host_health
180
+ __args__['computeHostLifecycleState'] = compute_host_lifecycle_state
181
+ __args__['displayName'] = display_name
182
+ __args__['filters'] = filters
183
+ __args__['networkResourceId'] = network_resource_id
184
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
185
+ __ret__ = pulumi.runtime.invoke('oci:Core/getComputeHosts:getComputeHosts', __args__, opts=opts, typ=GetComputeHostsResult).value
186
+
187
+ return AwaitableGetComputeHostsResult(
188
+ availability_domain=pulumi.get(__ret__, 'availability_domain'),
189
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
190
+ compute_host_collections=pulumi.get(__ret__, 'compute_host_collections'),
191
+ compute_host_health=pulumi.get(__ret__, 'compute_host_health'),
192
+ compute_host_lifecycle_state=pulumi.get(__ret__, 'compute_host_lifecycle_state'),
193
+ display_name=pulumi.get(__ret__, 'display_name'),
194
+ filters=pulumi.get(__ret__, 'filters'),
195
+ id=pulumi.get(__ret__, 'id'),
196
+ network_resource_id=pulumi.get(__ret__, 'network_resource_id'))
197
+ def get_compute_hosts_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None,
198
+ compartment_id: Optional[pulumi.Input[str]] = None,
199
+ compute_host_health: Optional[pulumi.Input[Optional[str]]] = None,
200
+ compute_host_lifecycle_state: Optional[pulumi.Input[Optional[str]]] = None,
201
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
202
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetComputeHostsFilterArgs', 'GetComputeHostsFilterArgsDict']]]]] = None,
203
+ network_resource_id: Optional[pulumi.Input[Optional[str]]] = None,
204
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeHostsResult]:
205
+ """
206
+ This data source provides the list of Compute Hosts in Oracle Cloud Infrastructure Core service.
207
+
208
+ Generates a list of summary host details
209
+
210
+ ## Example Usage
211
+
212
+ ```python
213
+ import pulumi
214
+ import pulumi_oci as oci
215
+
216
+ test_compute_hosts = oci.Core.get_compute_hosts(compartment_id=compartment_id,
217
+ availability_domain=compute_host_availability_domain,
218
+ compute_host_health=compute_host_compute_host_health,
219
+ compute_host_lifecycle_state=compute_host_compute_host_lifecycle_state,
220
+ display_name=compute_host_display_name,
221
+ network_resource_id=test_resource["id"])
222
+ ```
223
+
224
+
225
+ :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1`
226
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
227
+ :param str compute_host_health: A filter to return only ComputeHostSummary resources that match the given Compute Host health State OCID exactly.
228
+ :param str compute_host_lifecycle_state: A filter to return only ComputeHostSummary resources that match the given Compute Host lifecycle State OCID exactly.
229
+ :param str display_name: A filter to return only resources that match the given display name exactly.
230
+ :param str network_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host network resoruce.
231
+ * Customer-unique HPC island ID
232
+ * Customer-unique network block ID
233
+ * Customer-unique local block ID
234
+ """
235
+ __args__ = dict()
236
+ __args__['availabilityDomain'] = availability_domain
237
+ __args__['compartmentId'] = compartment_id
238
+ __args__['computeHostHealth'] = compute_host_health
239
+ __args__['computeHostLifecycleState'] = compute_host_lifecycle_state
240
+ __args__['displayName'] = display_name
241
+ __args__['filters'] = filters
242
+ __args__['networkResourceId'] = network_resource_id
243
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
244
+ __ret__ = pulumi.runtime.invoke_output('oci:Core/getComputeHosts:getComputeHosts', __args__, opts=opts, typ=GetComputeHostsResult)
245
+ return __ret__.apply(lambda __response__: GetComputeHostsResult(
246
+ availability_domain=pulumi.get(__response__, 'availability_domain'),
247
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
248
+ compute_host_collections=pulumi.get(__response__, 'compute_host_collections'),
249
+ compute_host_health=pulumi.get(__response__, 'compute_host_health'),
250
+ compute_host_lifecycle_state=pulumi.get(__response__, 'compute_host_lifecycle_state'),
251
+ display_name=pulumi.get(__response__, 'display_name'),
252
+ filters=pulumi.get(__response__, 'filters'),
253
+ id=pulumi.get(__response__, 'id'),
254
+ network_resource_id=pulumi.get(__response__, 'network_resource_id')))