1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getDedicatedVmHosts
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi

    This data source provides the list of Dedicated Vm Hosts in Oracle Cloud Infrastructure Core service.

    Returns the list of dedicated virtual machine hosts that match the specified criteria in the specified compartment.

    You can limit the list by specifying a dedicated virtual machine host display name. The list will include all the identically-named dedicated virtual machine hosts in the compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDedicatedVmHosts = oci.Core.getDedicatedVmHosts({
        compartmentId: compartmentId,
        availabilityDomain: dedicatedVmHostAvailabilityDomain,
        displayName: dedicatedVmHostDisplayName,
        instanceShapeName: dedicatedVmHostInstanceShapeName,
        isMemoryEncryptionEnabled: dedicatedVmHostIsMemoryEncryptionEnabled,
        remainingMemoryInGbsGreaterThanOrEqualTo: dedicatedVmHostRemainingMemoryInGbsGreaterThanOrEqualTo,
        remainingOcpusGreaterThanOrEqualTo: dedicatedVmHostRemainingOcpusGreaterThanOrEqualTo,
        state: dedicatedVmHostState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_dedicated_vm_hosts = oci.Core.get_dedicated_vm_hosts(compartment_id=compartment_id,
        availability_domain=dedicated_vm_host_availability_domain,
        display_name=dedicated_vm_host_display_name,
        instance_shape_name=dedicated_vm_host_instance_shape_name,
        is_memory_encryption_enabled=dedicated_vm_host_is_memory_encryption_enabled,
        remaining_memory_in_gbs_greater_than_or_equal_to=dedicated_vm_host_remaining_memory_in_gbs_greater_than_or_equal_to,
        remaining_ocpus_greater_than_or_equal_to=dedicated_vm_host_remaining_ocpus_greater_than_or_equal_to,
        state=dedicated_vm_host_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := core.GetDedicatedVmHosts(ctx, &core.GetDedicatedVmHostsArgs{
    			CompartmentId:                            compartmentId,
    			AvailabilityDomain:                       pulumi.StringRef(dedicatedVmHostAvailabilityDomain),
    			DisplayName:                              pulumi.StringRef(dedicatedVmHostDisplayName),
    			InstanceShapeName:                        pulumi.StringRef(dedicatedVmHostInstanceShapeName),
    			IsMemoryEncryptionEnabled:                pulumi.BoolRef(dedicatedVmHostIsMemoryEncryptionEnabled),
    			RemainingMemoryInGbsGreaterThanOrEqualTo: pulumi.Float64Ref(dedicatedVmHostRemainingMemoryInGbsGreaterThanOrEqualTo),
    			RemainingOcpusGreaterThanOrEqualTo:       pulumi.Float64Ref(dedicatedVmHostRemainingOcpusGreaterThanOrEqualTo),
    			State:                                    pulumi.StringRef(dedicatedVmHostState),
    		}, 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 testDedicatedVmHosts = Oci.Core.GetDedicatedVmHosts.Invoke(new()
        {
            CompartmentId = compartmentId,
            AvailabilityDomain = dedicatedVmHostAvailabilityDomain,
            DisplayName = dedicatedVmHostDisplayName,
            InstanceShapeName = dedicatedVmHostInstanceShapeName,
            IsMemoryEncryptionEnabled = dedicatedVmHostIsMemoryEncryptionEnabled,
            RemainingMemoryInGbsGreaterThanOrEqualTo = dedicatedVmHostRemainingMemoryInGbsGreaterThanOrEqualTo,
            RemainingOcpusGreaterThanOrEqualTo = dedicatedVmHostRemainingOcpusGreaterThanOrEqualTo,
            State = dedicatedVmHostState,
        });
    
    });
    
    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.GetDedicatedVmHostsArgs;
    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 testDedicatedVmHosts = CoreFunctions.getDedicatedVmHosts(GetDedicatedVmHostsArgs.builder()
                .compartmentId(compartmentId)
                .availabilityDomain(dedicatedVmHostAvailabilityDomain)
                .displayName(dedicatedVmHostDisplayName)
                .instanceShapeName(dedicatedVmHostInstanceShapeName)
                .isMemoryEncryptionEnabled(dedicatedVmHostIsMemoryEncryptionEnabled)
                .remainingMemoryInGbsGreaterThanOrEqualTo(dedicatedVmHostRemainingMemoryInGbsGreaterThanOrEqualTo)
                .remainingOcpusGreaterThanOrEqualTo(dedicatedVmHostRemainingOcpusGreaterThanOrEqualTo)
                .state(dedicatedVmHostState)
                .build());
    
        }
    }
    
    variables:
      testDedicatedVmHosts:
        fn::invoke:
          function: oci:Core:getDedicatedVmHosts
          arguments:
            compartmentId: ${compartmentId}
            availabilityDomain: ${dedicatedVmHostAvailabilityDomain}
            displayName: ${dedicatedVmHostDisplayName}
            instanceShapeName: ${dedicatedVmHostInstanceShapeName}
            isMemoryEncryptionEnabled: ${dedicatedVmHostIsMemoryEncryptionEnabled}
            remainingMemoryInGbsGreaterThanOrEqualTo: ${dedicatedVmHostRemainingMemoryInGbsGreaterThanOrEqualTo}
            remainingOcpusGreaterThanOrEqualTo: ${dedicatedVmHostRemainingOcpusGreaterThanOrEqualTo}
            state: ${dedicatedVmHostState}
    

    Using getDedicatedVmHosts

    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 getDedicatedVmHosts(args: GetDedicatedVmHostsArgs, opts?: InvokeOptions): Promise<GetDedicatedVmHostsResult>
    function getDedicatedVmHostsOutput(args: GetDedicatedVmHostsOutputArgs, opts?: InvokeOptions): Output<GetDedicatedVmHostsResult>
    def get_dedicated_vm_hosts(availability_domain: Optional[str] = None,
                               compartment_id: Optional[str] = None,
                               display_name: Optional[str] = None,
                               filters: Optional[Sequence[GetDedicatedVmHostsFilter]] = None,
                               instance_shape_name: Optional[str] = None,
                               is_memory_encryption_enabled: Optional[bool] = None,
                               remaining_memory_in_gbs_greater_than_or_equal_to: Optional[float] = None,
                               remaining_ocpus_greater_than_or_equal_to: Optional[float] = None,
                               state: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetDedicatedVmHostsResult
    def get_dedicated_vm_hosts_output(availability_domain: Optional[pulumi.Input[str]] = None,
                               compartment_id: Optional[pulumi.Input[str]] = None,
                               display_name: Optional[pulumi.Input[str]] = None,
                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDedicatedVmHostsFilterArgs]]]] = None,
                               instance_shape_name: Optional[pulumi.Input[str]] = None,
                               is_memory_encryption_enabled: Optional[pulumi.Input[bool]] = None,
                               remaining_memory_in_gbs_greater_than_or_equal_to: Optional[pulumi.Input[float]] = None,
                               remaining_ocpus_greater_than_or_equal_to: Optional[pulumi.Input[float]] = None,
                               state: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedVmHostsResult]
    func GetDedicatedVmHosts(ctx *Context, args *GetDedicatedVmHostsArgs, opts ...InvokeOption) (*GetDedicatedVmHostsResult, error)
    func GetDedicatedVmHostsOutput(ctx *Context, args *GetDedicatedVmHostsOutputArgs, opts ...InvokeOption) GetDedicatedVmHostsResultOutput

    > Note: This function is named GetDedicatedVmHosts in the Go SDK.

    public static class GetDedicatedVmHosts 
    {
        public static Task<GetDedicatedVmHostsResult> InvokeAsync(GetDedicatedVmHostsArgs args, InvokeOptions? opts = null)
        public static Output<GetDedicatedVmHostsResult> Invoke(GetDedicatedVmHostsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDedicatedVmHostsResult> getDedicatedVmHosts(GetDedicatedVmHostsArgs args, InvokeOptions options)
    public static Output<GetDedicatedVmHostsResult> getDedicatedVmHosts(GetDedicatedVmHostsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Core/getDedicatedVmHosts:getDedicatedVmHosts
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetDedicatedVmHostsFilter>
    InstanceShapeName string
    The name for the instance's shape.
    IsMemoryEncryptionEnabled bool
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    RemainingMemoryInGbsGreaterThanOrEqualTo double
    The remaining memory of the dedicated VM host, in GBs.
    RemainingOcpusGreaterThanOrEqualTo double
    The available OCPUs of the dedicated VM host.
    State string
    A filter to only return resources that match the given lifecycle state.
    CompartmentId string
    The OCID of the compartment.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetDedicatedVmHostsFilter
    InstanceShapeName string
    The name for the instance's shape.
    IsMemoryEncryptionEnabled bool
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    RemainingMemoryInGbsGreaterThanOrEqualTo float64
    The remaining memory of the dedicated VM host, in GBs.
    RemainingOcpusGreaterThanOrEqualTo float64
    The available OCPUs of the dedicated VM host.
    State string
    A filter to only return resources that match the given lifecycle state.
    compartmentId String
    The OCID of the compartment.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetDedicatedVmHostsFilter>
    instanceShapeName String
    The name for the instance's shape.
    isMemoryEncryptionEnabled Boolean
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    remainingMemoryInGbsGreaterThanOrEqualTo Double
    The remaining memory of the dedicated VM host, in GBs.
    remainingOcpusGreaterThanOrEqualTo Double
    The available OCPUs of the dedicated VM host.
    state String
    A filter to only return resources that match the given lifecycle state.
    compartmentId string
    The OCID of the compartment.
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetDedicatedVmHostsFilter[]
    instanceShapeName string
    The name for the instance's shape.
    isMemoryEncryptionEnabled boolean
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    remainingMemoryInGbsGreaterThanOrEqualTo number
    The remaining memory of the dedicated VM host, in GBs.
    remainingOcpusGreaterThanOrEqualTo number
    The available OCPUs of the dedicated VM host.
    state string
    A filter to only return resources that match the given lifecycle state.
    compartment_id str
    The OCID of the compartment.
    availability_domain str
    The name of the availability domain. Example: Uocm:PHX-AD-1
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[GetDedicatedVmHostsFilter]
    instance_shape_name str
    The name for the instance's shape.
    is_memory_encryption_enabled bool
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    remaining_memory_in_gbs_greater_than_or_equal_to float
    The remaining memory of the dedicated VM host, in GBs.
    remaining_ocpus_greater_than_or_equal_to float
    The available OCPUs of the dedicated VM host.
    state str
    A filter to only return resources that match the given lifecycle state.
    compartmentId String
    The OCID of the compartment.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    instanceShapeName String
    The name for the instance's shape.
    isMemoryEncryptionEnabled Boolean
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    remainingMemoryInGbsGreaterThanOrEqualTo Number
    The remaining memory of the dedicated VM host, in GBs.
    remainingOcpusGreaterThanOrEqualTo Number
    The available OCPUs of the dedicated VM host.
    state String
    A filter to only return resources that match the given lifecycle state.

    getDedicatedVmHosts Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the dedicated virtual machine host.
    DedicatedVmHosts List<GetDedicatedVmHostsDedicatedVmHost>
    The list of dedicated_vm_hosts.
    Id string
    The provider-assigned unique ID for this managed resource.
    AvailabilityDomain string
    The availability domain the dedicated virtual machine host is running in. Example: Uocm:PHX-AD-1
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters List<GetDedicatedVmHostsFilter>
    InstanceShapeName string
    IsMemoryEncryptionEnabled bool
    Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If true, only Confidential VMs can be launched. If false, Confidential VMs cannot be launched.
    RemainingMemoryInGbsGreaterThanOrEqualTo double
    RemainingOcpusGreaterThanOrEqualTo double
    State string
    The current state of the dedicated VM host.
    CompartmentId string
    The OCID of the compartment that contains the dedicated virtual machine host.
    DedicatedVmHosts []GetDedicatedVmHostsDedicatedVmHost
    The list of dedicated_vm_hosts.
    Id string
    The provider-assigned unique ID for this managed resource.
    AvailabilityDomain string
    The availability domain the dedicated virtual machine host is running in. Example: Uocm:PHX-AD-1
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters []GetDedicatedVmHostsFilter
    InstanceShapeName string
    IsMemoryEncryptionEnabled bool
    Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If true, only Confidential VMs can be launched. If false, Confidential VMs cannot be launched.
    RemainingMemoryInGbsGreaterThanOrEqualTo float64
    RemainingOcpusGreaterThanOrEqualTo float64
    State string
    The current state of the dedicated VM host.
    compartmentId String
    The OCID of the compartment that contains the dedicated virtual machine host.
    dedicatedVmHosts List<GetDedicatedVmHostsDedicatedVmHost>
    The list of dedicated_vm_hosts.
    id String
    The provider-assigned unique ID for this managed resource.
    availabilityDomain String
    The availability domain the dedicated virtual machine host is running in. Example: Uocm:PHX-AD-1
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<GetDedicatedVmHostsFilter>
    instanceShapeName String
    isMemoryEncryptionEnabled Boolean
    Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If true, only Confidential VMs can be launched. If false, Confidential VMs cannot be launched.
    remainingMemoryInGbsGreaterThanOrEqualTo Double
    remainingOcpusGreaterThanOrEqualTo Double
    state String
    The current state of the dedicated VM host.
    compartmentId string
    The OCID of the compartment that contains the dedicated virtual machine host.
    dedicatedVmHosts GetDedicatedVmHostsDedicatedVmHost[]
    The list of dedicated_vm_hosts.
    id string
    The provider-assigned unique ID for this managed resource.
    availabilityDomain string
    The availability domain the dedicated virtual machine host is running in. Example: Uocm:PHX-AD-1
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters GetDedicatedVmHostsFilter[]
    instanceShapeName string
    isMemoryEncryptionEnabled boolean
    Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If true, only Confidential VMs can be launched. If false, Confidential VMs cannot be launched.
    remainingMemoryInGbsGreaterThanOrEqualTo number
    remainingOcpusGreaterThanOrEqualTo number
    state string
    The current state of the dedicated VM host.
    compartment_id str
    The OCID of the compartment that contains the dedicated virtual machine host.
    dedicated_vm_hosts Sequence[GetDedicatedVmHostsDedicatedVmHost]
    The list of dedicated_vm_hosts.
    id str
    The provider-assigned unique ID for this managed resource.
    availability_domain str
    The availability domain the dedicated virtual machine host is running in. Example: Uocm:PHX-AD-1
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters Sequence[GetDedicatedVmHostsFilter]
    instance_shape_name str
    is_memory_encryption_enabled bool
    Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If true, only Confidential VMs can be launched. If false, Confidential VMs cannot be launched.
    remaining_memory_in_gbs_greater_than_or_equal_to float
    remaining_ocpus_greater_than_or_equal_to float
    state str
    The current state of the dedicated VM host.
    compartmentId String
    The OCID of the compartment that contains the dedicated virtual machine host.
    dedicatedVmHosts List<Property Map>
    The list of dedicated_vm_hosts.
    id String
    The provider-assigned unique ID for this managed resource.
    availabilityDomain String
    The availability domain the dedicated virtual machine host is running in. Example: Uocm:PHX-AD-1
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<Property Map>
    instanceShapeName String
    isMemoryEncryptionEnabled Boolean
    Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If true, only Confidential VMs can be launched. If false, Confidential VMs cannot be launched.
    remainingMemoryInGbsGreaterThanOrEqualTo Number
    remainingOcpusGreaterThanOrEqualTo Number
    state String
    The current state of the dedicated VM host.

    Supporting Types

    GetDedicatedVmHostsDedicatedVmHost

    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CapacityBins List<GetDedicatedVmHostsDedicatedVmHostCapacityBin>
    A list of total and remaining CPU and memory per capacity bucket.
    CapacityConfig string
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API to see details of this capacity configuration.
    CompartmentId string
    The OCID of the compartment.
    ComputeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    DedicatedVmHostShape string
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FaultDomain string
    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains.
    FreeformTags Dictionary<string, string>
    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. Example: {"Department": "Finance"}
    Id string
    The OCID of the dedicated VM host.
    IsMemoryEncryptionEnabled bool
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    PlacementConstraintDetails List<GetDedicatedVmHostsDedicatedVmHostPlacementConstraintDetail>
    The details for providing placement constraints.
    RemainingMemoryInGbs double
    The current available memory of the dedicated VM host, in GBs.
    RemainingOcpus double
    The current available OCPUs of the dedicated VM host.
    State string
    A filter to only return resources that match the given lifecycle state.
    TimeCreated string
    The date and time the dedicated VM host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TotalMemoryInGbs double
    The current total memory of the dedicated VM host, in GBs.
    TotalOcpus double
    The current total OCPUs of the dedicated VM host.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CapacityBins []GetDedicatedVmHostsDedicatedVmHostCapacityBin
    A list of total and remaining CPU and memory per capacity bucket.
    CapacityConfig string
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API to see details of this capacity configuration.
    CompartmentId string
    The OCID of the compartment.
    ComputeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    DedicatedVmHostShape string
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FaultDomain string
    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains.
    FreeformTags map[string]string
    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. Example: {"Department": "Finance"}
    Id string
    The OCID of the dedicated VM host.
    IsMemoryEncryptionEnabled bool
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    PlacementConstraintDetails []GetDedicatedVmHostsDedicatedVmHostPlacementConstraintDetail
    The details for providing placement constraints.
    RemainingMemoryInGbs float64
    The current available memory of the dedicated VM host, in GBs.
    RemainingOcpus float64
    The current available OCPUs of the dedicated VM host.
    State string
    A filter to only return resources that match the given lifecycle state.
    TimeCreated string
    The date and time the dedicated VM host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TotalMemoryInGbs float64
    The current total memory of the dedicated VM host, in GBs.
    TotalOcpus float64
    The current total OCPUs of the dedicated VM host.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    capacityBins List<GetDedicatedVmHostsDedicatedVmHostCapacityBin>
    A list of total and remaining CPU and memory per capacity bucket.
    capacityConfig String
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API to see details of this capacity configuration.
    compartmentId String
    The OCID of the compartment.
    computeBareMetalHostId String
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    dedicatedVmHostShape String
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    faultDomain String
    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains.
    freeformTags Map<String,String>
    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. Example: {"Department": "Finance"}
    id String
    The OCID of the dedicated VM host.
    isMemoryEncryptionEnabled Boolean
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    placementConstraintDetails List<GetDedicatedVmHostsDedicatedVmHostPlacementConstraintDetail>
    The details for providing placement constraints.
    remainingMemoryInGbs Double
    The current available memory of the dedicated VM host, in GBs.
    remainingOcpus Double
    The current available OCPUs of the dedicated VM host.
    state String
    A filter to only return resources that match the given lifecycle state.
    timeCreated String
    The date and time the dedicated VM host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    totalMemoryInGbs Double
    The current total memory of the dedicated VM host, in GBs.
    totalOcpus Double
    The current total OCPUs of the dedicated VM host.
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    capacityBins GetDedicatedVmHostsDedicatedVmHostCapacityBin[]
    A list of total and remaining CPU and memory per capacity bucket.
    capacityConfig string
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API to see details of this capacity configuration.
    compartmentId string
    The OCID of the compartment.
    computeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    dedicatedVmHostShape string
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    A filter to return only resources that match the given display name exactly.
    faultDomain string
    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains.
    freeformTags {[key: string]: string}
    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. Example: {"Department": "Finance"}
    id string
    The OCID of the dedicated VM host.
    isMemoryEncryptionEnabled boolean
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    placementConstraintDetails GetDedicatedVmHostsDedicatedVmHostPlacementConstraintDetail[]
    The details for providing placement constraints.
    remainingMemoryInGbs number
    The current available memory of the dedicated VM host, in GBs.
    remainingOcpus number
    The current available OCPUs of the dedicated VM host.
    state string
    A filter to only return resources that match the given lifecycle state.
    timeCreated string
    The date and time the dedicated VM host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    totalMemoryInGbs number
    The current total memory of the dedicated VM host, in GBs.
    totalOcpus number
    The current total OCPUs of the dedicated VM host.
    availability_domain str
    The name of the availability domain. Example: Uocm:PHX-AD-1
    capacity_bins Sequence[GetDedicatedVmHostsDedicatedVmHostCapacityBin]
    A list of total and remaining CPU and memory per capacity bucket.
    capacity_config str
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API to see details of this capacity configuration.
    compartment_id str
    The OCID of the compartment.
    compute_bare_metal_host_id str
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    dedicated_vm_host_shape str
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    A filter to return only resources that match the given display name exactly.
    fault_domain str
    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains.
    freeform_tags Mapping[str, str]
    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. Example: {"Department": "Finance"}
    id str
    The OCID of the dedicated VM host.
    is_memory_encryption_enabled bool
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    placement_constraint_details Sequence[GetDedicatedVmHostsDedicatedVmHostPlacementConstraintDetail]
    The details for providing placement constraints.
    remaining_memory_in_gbs float
    The current available memory of the dedicated VM host, in GBs.
    remaining_ocpus float
    The current available OCPUs of the dedicated VM host.
    state str
    A filter to only return resources that match the given lifecycle state.
    time_created str
    The date and time the dedicated VM host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    total_memory_in_gbs float
    The current total memory of the dedicated VM host, in GBs.
    total_ocpus float
    The current total OCPUs of the dedicated VM host.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    capacityBins List<Property Map>
    A list of total and remaining CPU and memory per capacity bucket.
    capacityConfig String
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API to see details of this capacity configuration.
    compartmentId String
    The OCID of the compartment.
    computeBareMetalHostId String
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    dedicatedVmHostShape String
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    faultDomain String
    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains.
    freeformTags Map<String>
    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. Example: {"Department": "Finance"}
    id String
    The OCID of the dedicated VM host.
    isMemoryEncryptionEnabled Boolean
    A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH.
    placementConstraintDetails List<Property Map>
    The details for providing placement constraints.
    remainingMemoryInGbs Number
    The current available memory of the dedicated VM host, in GBs.
    remainingOcpus Number
    The current available OCPUs of the dedicated VM host.
    state String
    A filter to only return resources that match the given lifecycle state.
    timeCreated String
    The date and time the dedicated VM host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    totalMemoryInGbs Number
    The current total memory of the dedicated VM host, in GBs.
    totalOcpus Number
    The current total OCPUs of the dedicated VM host.

    GetDedicatedVmHostsDedicatedVmHostCapacityBin

    CapacityIndex int
    Zero-based index for the corresponding capacity bucket.
    RemainingMemoryInGbs double
    The current available memory of the dedicated VM host, in GBs.
    RemainingOcpus double
    The current available OCPUs of the dedicated VM host.
    SupportedShapes List<string>
    List of VMI shapes supported on each capacity bucket.
    TotalMemoryInGbs double
    The current total memory of the dedicated VM host, in GBs.
    TotalOcpus double
    The current total OCPUs of the dedicated VM host.
    CapacityIndex int
    Zero-based index for the corresponding capacity bucket.
    RemainingMemoryInGbs float64
    The current available memory of the dedicated VM host, in GBs.
    RemainingOcpus float64
    The current available OCPUs of the dedicated VM host.
    SupportedShapes []string
    List of VMI shapes supported on each capacity bucket.
    TotalMemoryInGbs float64
    The current total memory of the dedicated VM host, in GBs.
    TotalOcpus float64
    The current total OCPUs of the dedicated VM host.
    capacityIndex Integer
    Zero-based index for the corresponding capacity bucket.
    remainingMemoryInGbs Double
    The current available memory of the dedicated VM host, in GBs.
    remainingOcpus Double
    The current available OCPUs of the dedicated VM host.
    supportedShapes List<String>
    List of VMI shapes supported on each capacity bucket.
    totalMemoryInGbs Double
    The current total memory of the dedicated VM host, in GBs.
    totalOcpus Double
    The current total OCPUs of the dedicated VM host.
    capacityIndex number
    Zero-based index for the corresponding capacity bucket.
    remainingMemoryInGbs number
    The current available memory of the dedicated VM host, in GBs.
    remainingOcpus number
    The current available OCPUs of the dedicated VM host.
    supportedShapes string[]
    List of VMI shapes supported on each capacity bucket.
    totalMemoryInGbs number
    The current total memory of the dedicated VM host, in GBs.
    totalOcpus number
    The current total OCPUs of the dedicated VM host.
    capacity_index int
    Zero-based index for the corresponding capacity bucket.
    remaining_memory_in_gbs float
    The current available memory of the dedicated VM host, in GBs.
    remaining_ocpus float
    The current available OCPUs of the dedicated VM host.
    supported_shapes Sequence[str]
    List of VMI shapes supported on each capacity bucket.
    total_memory_in_gbs float
    The current total memory of the dedicated VM host, in GBs.
    total_ocpus float
    The current total OCPUs of the dedicated VM host.
    capacityIndex Number
    Zero-based index for the corresponding capacity bucket.
    remainingMemoryInGbs Number
    The current available memory of the dedicated VM host, in GBs.
    remainingOcpus Number
    The current available OCPUs of the dedicated VM host.
    supportedShapes List<String>
    List of VMI shapes supported on each capacity bucket.
    totalMemoryInGbs Number
    The current total memory of the dedicated VM host, in GBs.
    totalOcpus Number
    The current total OCPUs of the dedicated VM host.

    GetDedicatedVmHostsDedicatedVmHostPlacementConstraintDetail

    ComputeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    Type string
    The type for the placement constraints. Use COMPUTE_BARE_METAL_HOST when specifying the compute bare metal host OCID. Use HOST_GROUP when specifying the compute host group OCID.
    ComputeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    Type string
    The type for the placement constraints. Use COMPUTE_BARE_METAL_HOST when specifying the compute bare metal host OCID. Use HOST_GROUP when specifying the compute host group OCID.
    computeBareMetalHostId String
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    type String
    The type for the placement constraints. Use COMPUTE_BARE_METAL_HOST when specifying the compute bare metal host OCID. Use HOST_GROUP when specifying the compute host group OCID.
    computeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    type string
    The type for the placement constraints. Use COMPUTE_BARE_METAL_HOST when specifying the compute bare metal host OCID. Use HOST_GROUP when specifying the compute host group OCID.
    compute_bare_metal_host_id str
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    type str
    The type for the placement constraints. Use COMPUTE_BARE_METAL_HOST when specifying the compute bare metal host OCID. Use HOST_GROUP when specifying the compute host group OCID.
    computeBareMetalHostId String
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    type String
    The type for the placement constraints. Use COMPUTE_BARE_METAL_HOST when specifying the compute bare metal host OCID. Use HOST_GROUP when specifying the compute host group OCID.

    GetDedicatedVmHostsFilter

    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 v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate