Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Core.getComputeCapacityTopologyComputeHpcIslands
Explore with Pulumi AI
This data source provides the list of Compute Capacity Topology Compute Hpc Islands in Oracle Cloud Infrastructure Core service.
Lists compute HPC islands in the specified compute capacity topology.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testComputeCapacityTopologyComputeHpcIslands = oci.Core.getComputeCapacityTopologyComputeHpcIslands({
computeCapacityTopologyId: testComputeCapacityTopology.id,
availabilityDomain: computeCapacityTopologyComputeHpcIslandAvailabilityDomain,
compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_compute_capacity_topology_compute_hpc_islands = oci.Core.get_compute_capacity_topology_compute_hpc_islands(compute_capacity_topology_id=test_compute_capacity_topology["id"],
availability_domain=compute_capacity_topology_compute_hpc_island_availability_domain,
compartment_id=compartment_id)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetComputeCapacityTopologyComputeHpcIslands(ctx, &core.GetComputeCapacityTopologyComputeHpcIslandsArgs{
ComputeCapacityTopologyId: testComputeCapacityTopology.Id,
AvailabilityDomain: pulumi.StringRef(computeCapacityTopologyComputeHpcIslandAvailabilityDomain),
CompartmentId: pulumi.StringRef(compartmentId),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testComputeCapacityTopologyComputeHpcIslands = Oci.Core.GetComputeCapacityTopologyComputeHpcIslands.Invoke(new()
{
ComputeCapacityTopologyId = testComputeCapacityTopology.Id,
AvailabilityDomain = computeCapacityTopologyComputeHpcIslandAvailabilityDomain,
CompartmentId = compartmentId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetComputeCapacityTopologyComputeHpcIslandsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testComputeCapacityTopologyComputeHpcIslands = CoreFunctions.getComputeCapacityTopologyComputeHpcIslands(GetComputeCapacityTopologyComputeHpcIslandsArgs.builder()
.computeCapacityTopologyId(testComputeCapacityTopology.id())
.availabilityDomain(computeCapacityTopologyComputeHpcIslandAvailabilityDomain)
.compartmentId(compartmentId)
.build());
}
}
variables:
testComputeCapacityTopologyComputeHpcIslands:
fn::invoke:
Function: oci:Core:getComputeCapacityTopologyComputeHpcIslands
Arguments:
computeCapacityTopologyId: ${testComputeCapacityTopology.id}
availabilityDomain: ${computeCapacityTopologyComputeHpcIslandAvailabilityDomain}
compartmentId: ${compartmentId}
Using getComputeCapacityTopologyComputeHpcIslands
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getComputeCapacityTopologyComputeHpcIslands(args: GetComputeCapacityTopologyComputeHpcIslandsArgs, opts?: InvokeOptions): Promise<GetComputeCapacityTopologyComputeHpcIslandsResult>
function getComputeCapacityTopologyComputeHpcIslandsOutput(args: GetComputeCapacityTopologyComputeHpcIslandsOutputArgs, opts?: InvokeOptions): Output<GetComputeCapacityTopologyComputeHpcIslandsResult>
def get_compute_capacity_topology_compute_hpc_islands(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
compute_capacity_topology_id: Optional[str] = None,
filters: Optional[Sequence[_core.GetComputeCapacityTopologyComputeHpcIslandsFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetComputeCapacityTopologyComputeHpcIslandsResult
def get_compute_capacity_topology_compute_hpc_islands_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
compute_capacity_topology_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetComputeCapacityTopologyComputeHpcIslandsFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetComputeCapacityTopologyComputeHpcIslandsResult]
func GetComputeCapacityTopologyComputeHpcIslands(ctx *Context, args *GetComputeCapacityTopologyComputeHpcIslandsArgs, opts ...InvokeOption) (*GetComputeCapacityTopologyComputeHpcIslandsResult, error)
func GetComputeCapacityTopologyComputeHpcIslandsOutput(ctx *Context, args *GetComputeCapacityTopologyComputeHpcIslandsOutputArgs, opts ...InvokeOption) GetComputeCapacityTopologyComputeHpcIslandsResultOutput
> Note: This function is named GetComputeCapacityTopologyComputeHpcIslands
in the Go SDK.
public static class GetComputeCapacityTopologyComputeHpcIslands
{
public static Task<GetComputeCapacityTopologyComputeHpcIslandsResult> InvokeAsync(GetComputeCapacityTopologyComputeHpcIslandsArgs args, InvokeOptions? opts = null)
public static Output<GetComputeCapacityTopologyComputeHpcIslandsResult> Invoke(GetComputeCapacityTopologyComputeHpcIslandsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeCapacityTopologyComputeHpcIslandsResult> getComputeCapacityTopologyComputeHpcIslands(GetComputeCapacityTopologyComputeHpcIslandsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getComputeCapacityTopologyComputeHpcIslands:getComputeCapacityTopologyComputeHpcIslands
arguments:
# arguments dictionary
The following arguments are supported:
- Compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Filters
List<Get
Compute Capacity Topology Compute Hpc Islands Filter>
- Compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Filters
[]Get
Compute Capacity Topology Compute Hpc Islands Filter
- compute
Capacity StringTopology Id - The OCID of the compute capacity topology.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- filters
List<Get
Compute Capacity Topology Compute Hpc Islands Filter>
- compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment.
- filters
Get
Compute Capacity Topology Compute Hpc Islands Filter[]
- compute_
capacity_ strtopology_ id - The OCID of the compute capacity topology.
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment.
- filters
Sequence[core.
Get Compute Capacity Topology Compute Hpc Islands Filter]
- compute
Capacity StringTopology Id - The OCID of the compute capacity topology.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- filters List<Property Map>
getComputeCapacityTopologyComputeHpcIslands Result
The following output properties are available:
- Compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- Compute
Hpc List<GetIsland Collections Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection> - The list of compute_hpc_island_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Availability
Domain string - Compartment
Id string - Filters
List<Get
Compute Capacity Topology Compute Hpc Islands Filter>
- Compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- Compute
Hpc []GetIsland Collections Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection - The list of compute_hpc_island_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Availability
Domain string - Compartment
Id string - Filters
[]Get
Compute Capacity Topology Compute Hpc Islands Filter
- compute
Capacity StringTopology Id - The OCID of the compute capacity topology.
- compute
Hpc List<GetIsland Collections Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection> - The list of compute_hpc_island_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- availability
Domain String - compartment
Id String - filters
List<Get
Compute Capacity Topology Compute Hpc Islands Filter>
- compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- compute
Hpc GetIsland Collections Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection[] - The list of compute_hpc_island_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- availability
Domain string - compartment
Id string - filters
Get
Compute Capacity Topology Compute Hpc Islands Filter[]
- compute_
capacity_ strtopology_ id - The OCID of the compute capacity topology.
- compute_
hpc_ Sequence[core.island_ collections Get Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection] - The list of compute_hpc_island_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- availability_
domain str - compartment_
id str - filters
Sequence[core.
Get Compute Capacity Topology Compute Hpc Islands Filter]
- compute
Capacity StringTopology Id - The OCID of the compute capacity topology.
- compute
Hpc List<Property Map>Island Collections - The list of compute_hpc_island_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- availability
Domain String - compartment
Id String - filters List<Property Map>
Supporting Types
GetComputeCapacityTopologyComputeHpcIslandsComputeHpcIslandCollection
- Items
List<Get
Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection Item> - The list of compute HPC islands.
- Items
[]Get
Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection Item - The list of compute HPC islands.
- items
List<Get
Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection Item> - The list of compute HPC islands.
- items
Get
Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection Item[] - The list of compute HPC islands.
- items
Sequence[core.
Get Compute Capacity Topology Compute Hpc Islands Compute Hpc Island Collection Item] - The list of compute HPC islands.
- items List<Property Map>
- The list of compute HPC islands.
GetComputeCapacityTopologyComputeHpcIslandsComputeHpcIslandCollectionItem
- Compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- Id string
- The OCID of the compute HPC island.
- State string
- The current state of the compute HPC island.
- Time
Created string - The date and time that the compute HPC island was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string - The date and time that the compute HPC island was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Total
Compute stringBare Metal Host Count - The total number of compute bare metal hosts located in this compute HPC island.
- Compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- Id string
- The OCID of the compute HPC island.
- State string
- The current state of the compute HPC island.
- Time
Created string - The date and time that the compute HPC island was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string - The date and time that the compute HPC island was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Total
Compute stringBare Metal Host Count - The total number of compute bare metal hosts located in this compute HPC island.
- compute
Capacity StringTopology Id - The OCID of the compute capacity topology.
- id String
- The OCID of the compute HPC island.
- state String
- The current state of the compute HPC island.
- time
Created String - The date and time that the compute HPC island was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String - The date and time that the compute HPC island was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- total
Compute StringBare Metal Host Count - The total number of compute bare metal hosts located in this compute HPC island.
- compute
Capacity stringTopology Id - The OCID of the compute capacity topology.
- id string
- The OCID of the compute HPC island.
- state string
- The current state of the compute HPC island.
- time
Created string - The date and time that the compute HPC island was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated string - The date and time that the compute HPC island was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- total
Compute stringBare Metal Host Count - The total number of compute bare metal hosts located in this compute HPC island.
- compute_
capacity_ strtopology_ id - The OCID of the compute capacity topology.
- id str
- The OCID of the compute HPC island.
- state str
- The current state of the compute HPC island.
- time_
created str - The date and time that the compute HPC island was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time_
updated str - The date and time that the compute HPC island was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- total_
compute_ strbare_ metal_ host_ count - The total number of compute bare metal hosts located in this compute HPC island.
- compute
Capacity StringTopology Id - The OCID of the compute capacity topology.
- id String
- The OCID of the compute HPC island.
- state String
- The current state of the compute HPC island.
- time
Created String - The date and time that the compute HPC island was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String - The date and time that the compute HPC island was updated, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- total
Compute StringBare Metal Host Count - The total number of compute bare metal hosts located in this compute HPC island.
GetComputeCapacityTopologyComputeHpcIslandsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.