1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeCapacityTopologyComputeHpcIslands
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Core.getComputeCapacityTopologyComputeHpcIslands

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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/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:

    ComputeCapacityTopologyId string
    The OCID of the compute capacity topology.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment.
    Filters List<GetComputeCapacityTopologyComputeHpcIslandsFilter>
    ComputeCapacityTopologyId string
    The OCID of the compute capacity topology.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment.
    Filters []GetComputeCapacityTopologyComputeHpcIslandsFilter
    computeCapacityTopologyId String
    The OCID of the compute capacity topology.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment.
    filters List<GetComputeCapacityTopologyComputeHpcIslandsFilter>
    computeCapacityTopologyId string
    The OCID of the compute capacity topology.
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId string
    The OCID of the compartment.
    filters GetComputeCapacityTopologyComputeHpcIslandsFilter[]
    compute_capacity_topology_id str
    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.GetComputeCapacityTopologyComputeHpcIslandsFilter]
    computeCapacityTopologyId String
    The OCID of the compute capacity topology.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment.
    filters List<Property Map>

    getComputeCapacityTopologyComputeHpcIslands Result

    The following output properties are available:

    ComputeCapacityTopologyId string
    The OCID of the compute capacity topology.
    ComputeHpcIslandCollections List<GetComputeCapacityTopologyComputeHpcIslandsComputeHpcIslandCollection>
    The list of compute_hpc_island_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AvailabilityDomain string
    CompartmentId string
    Filters List<GetComputeCapacityTopologyComputeHpcIslandsFilter>
    ComputeCapacityTopologyId string
    The OCID of the compute capacity topology.
    ComputeHpcIslandCollections []GetComputeCapacityTopologyComputeHpcIslandsComputeHpcIslandCollection
    The list of compute_hpc_island_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AvailabilityDomain string
    CompartmentId string
    Filters []GetComputeCapacityTopologyComputeHpcIslandsFilter
    computeCapacityTopologyId String
    The OCID of the compute capacity topology.
    computeHpcIslandCollections List<GetComputeCapacityTopologyComputeHpcIslandsComputeHpcIslandCollection>
    The list of compute_hpc_island_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    availabilityDomain String
    compartmentId String
    filters List<GetComputeCapacityTopologyComputeHpcIslandsFilter>
    computeCapacityTopologyId string
    The OCID of the compute capacity topology.
    computeHpcIslandCollections GetComputeCapacityTopologyComputeHpcIslandsComputeHpcIslandCollection[]
    The list of compute_hpc_island_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    availabilityDomain string
    compartmentId string
    filters GetComputeCapacityTopologyComputeHpcIslandsFilter[]
    computeCapacityTopologyId String
    The OCID of the compute capacity topology.
    computeHpcIslandCollections List<Property Map>
    The list of compute_hpc_island_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    availabilityDomain String
    compartmentId String
    filters List<Property Map>

    Supporting Types

    GetComputeCapacityTopologyComputeHpcIslandsComputeHpcIslandCollection

    items List<Property Map>
    The list of compute HPC islands.

    GetComputeCapacityTopologyComputeHpcIslandsComputeHpcIslandCollectionItem

    ComputeCapacityTopologyId string
    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.
    TimeCreated 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
    TimeUpdated 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
    TotalComputeBareMetalHostCount string
    The total number of compute bare metal hosts located in this compute HPC island.
    ComputeCapacityTopologyId string
    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.
    TimeCreated 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
    TimeUpdated 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
    TotalComputeBareMetalHostCount string
    The total number of compute bare metal hosts located in this compute HPC island.
    computeCapacityTopologyId String
    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.
    timeCreated 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
    timeUpdated 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
    totalComputeBareMetalHostCount String
    The total number of compute bare metal hosts located in this compute HPC island.
    computeCapacityTopologyId string
    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.
    timeCreated 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
    timeUpdated 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
    totalComputeBareMetalHostCount string
    The total number of compute bare metal hosts located in this compute HPC island.
    compute_capacity_topology_id str
    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_bare_metal_host_count str
    The total number of compute bare metal hosts located in this compute HPC island.
    computeCapacityTopologyId String
    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.
    timeCreated 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
    timeUpdated 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
    totalComputeBareMetalHostCount String
    The total number of compute bare metal hosts located in this compute HPC island.

    GetComputeCapacityTopologyComputeHpcIslandsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi