1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. DedicatedVmHost
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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDedicatedVmHost = new oci.core.DedicatedVmHost("test_dedicated_vm_host", {
        availabilityDomain: dedicatedVmHostAvailabilityDomain,
        compartmentId: compartmentId,
        dedicatedVmHostShape: dedicatedVmHostDedicatedVmHostShape,
        capacityConfig: dedicatedVmHostCapacityConfig,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: dedicatedVmHostDisplayName,
        faultDomain: dedicatedVmHostFaultDomain,
        freeformTags: {
            Department: "Finance",
        },
        isMemoryEncryptionEnabled: dedicatedVmHostIsMemoryEncryptionEnabled,
        placementConstraintDetails: {
            type: dedicatedVmHostPlacementConstraintDetailsType,
            computeBareMetalHostId: testComputeBareMetalHost.id,
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_dedicated_vm_host = oci.core.DedicatedVmHost("test_dedicated_vm_host",
        availability_domain=dedicated_vm_host_availability_domain,
        compartment_id=compartment_id,
        dedicated_vm_host_shape=dedicated_vm_host_dedicated_vm_host_shape,
        capacity_config=dedicated_vm_host_capacity_config,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=dedicated_vm_host_display_name,
        fault_domain=dedicated_vm_host_fault_domain,
        freeform_tags={
            "Department": "Finance",
        },
        is_memory_encryption_enabled=dedicated_vm_host_is_memory_encryption_enabled,
        placement_constraint_details={
            "type": dedicated_vm_host_placement_constraint_details_type,
            "compute_bare_metal_host_id": test_compute_bare_metal_host["id"],
        })
    
    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.NewDedicatedVmHost(ctx, "test_dedicated_vm_host", &core.DedicatedVmHostArgs{
    			AvailabilityDomain:   pulumi.Any(dedicatedVmHostAvailabilityDomain),
    			CompartmentId:        pulumi.Any(compartmentId),
    			DedicatedVmHostShape: pulumi.Any(dedicatedVmHostDedicatedVmHostShape),
    			CapacityConfig:       pulumi.Any(dedicatedVmHostCapacityConfig),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(dedicatedVmHostDisplayName),
    			FaultDomain: pulumi.Any(dedicatedVmHostFaultDomain),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			IsMemoryEncryptionEnabled: pulumi.Any(dedicatedVmHostIsMemoryEncryptionEnabled),
    			PlacementConstraintDetails: &core.DedicatedVmHostPlacementConstraintDetailsArgs{
    				Type:                   pulumi.Any(dedicatedVmHostPlacementConstraintDetailsType),
    				ComputeBareMetalHostId: pulumi.Any(testComputeBareMetalHost.Id),
    			},
    		})
    		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 testDedicatedVmHost = new Oci.Core.DedicatedVmHost("test_dedicated_vm_host", new()
        {
            AvailabilityDomain = dedicatedVmHostAvailabilityDomain,
            CompartmentId = compartmentId,
            DedicatedVmHostShape = dedicatedVmHostDedicatedVmHostShape,
            CapacityConfig = dedicatedVmHostCapacityConfig,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = dedicatedVmHostDisplayName,
            FaultDomain = dedicatedVmHostFaultDomain,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IsMemoryEncryptionEnabled = dedicatedVmHostIsMemoryEncryptionEnabled,
            PlacementConstraintDetails = new Oci.Core.Inputs.DedicatedVmHostPlacementConstraintDetailsArgs
            {
                Type = dedicatedVmHostPlacementConstraintDetailsType,
                ComputeBareMetalHostId = testComputeBareMetalHost.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.DedicatedVmHost;
    import com.pulumi.oci.Core.DedicatedVmHostArgs;
    import com.pulumi.oci.Core.inputs.DedicatedVmHostPlacementConstraintDetailsArgs;
    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) {
            var testDedicatedVmHost = new DedicatedVmHost("testDedicatedVmHost", DedicatedVmHostArgs.builder()
                .availabilityDomain(dedicatedVmHostAvailabilityDomain)
                .compartmentId(compartmentId)
                .dedicatedVmHostShape(dedicatedVmHostDedicatedVmHostShape)
                .capacityConfig(dedicatedVmHostCapacityConfig)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(dedicatedVmHostDisplayName)
                .faultDomain(dedicatedVmHostFaultDomain)
                .freeformTags(Map.of("Department", "Finance"))
                .isMemoryEncryptionEnabled(dedicatedVmHostIsMemoryEncryptionEnabled)
                .placementConstraintDetails(DedicatedVmHostPlacementConstraintDetailsArgs.builder()
                    .type(dedicatedVmHostPlacementConstraintDetailsType)
                    .computeBareMetalHostId(testComputeBareMetalHost.id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testDedicatedVmHost:
        type: oci:Core:DedicatedVmHost
        name: test_dedicated_vm_host
        properties:
          availabilityDomain: ${dedicatedVmHostAvailabilityDomain}
          compartmentId: ${compartmentId}
          dedicatedVmHostShape: ${dedicatedVmHostDedicatedVmHostShape}
          capacityConfig: ${dedicatedVmHostCapacityConfig}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${dedicatedVmHostDisplayName}
          faultDomain: ${dedicatedVmHostFaultDomain}
          freeformTags:
            Department: Finance
          isMemoryEncryptionEnabled: ${dedicatedVmHostIsMemoryEncryptionEnabled}
          placementConstraintDetails:
            type: ${dedicatedVmHostPlacementConstraintDetailsType}
            computeBareMetalHostId: ${testComputeBareMetalHost.id}
    

    Create DedicatedVmHost Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DedicatedVmHost(name: string, args: DedicatedVmHostArgs, opts?: CustomResourceOptions);
    @overload
    def DedicatedVmHost(resource_name: str,
                        args: DedicatedVmHostArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def DedicatedVmHost(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        availability_domain: Optional[str] = None,
                        compartment_id: Optional[str] = None,
                        dedicated_vm_host_shape: Optional[str] = None,
                        capacity_config: Optional[str] = None,
                        defined_tags: Optional[Mapping[str, str]] = None,
                        display_name: Optional[str] = None,
                        fault_domain: Optional[str] = None,
                        freeform_tags: Optional[Mapping[str, str]] = None,
                        is_memory_encryption_enabled: Optional[bool] = None,
                        placement_constraint_details: Optional[DedicatedVmHostPlacementConstraintDetailsArgs] = None)
    func NewDedicatedVmHost(ctx *Context, name string, args DedicatedVmHostArgs, opts ...ResourceOption) (*DedicatedVmHost, error)
    public DedicatedVmHost(string name, DedicatedVmHostArgs args, CustomResourceOptions? opts = null)
    public DedicatedVmHost(String name, DedicatedVmHostArgs args)
    public DedicatedVmHost(String name, DedicatedVmHostArgs args, CustomResourceOptions options)
    
    type: oci:Core:DedicatedVmHost
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DedicatedVmHostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DedicatedVmHostArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DedicatedVmHostArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DedicatedVmHostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DedicatedVmHostArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dedicatedVmHostResource = new Oci.Core.DedicatedVmHost("dedicatedVmHostResource", new()
    {
        AvailabilityDomain = "string",
        CompartmentId = "string",
        DedicatedVmHostShape = "string",
        CapacityConfig = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FaultDomain = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsMemoryEncryptionEnabled = false,
        PlacementConstraintDetails = new Oci.Core.Inputs.DedicatedVmHostPlacementConstraintDetailsArgs
        {
            Type = "string",
            ComputeBareMetalHostId = "string",
        },
    });
    
    example, err := core.NewDedicatedVmHost(ctx, "dedicatedVmHostResource", &core.DedicatedVmHostArgs{
    	AvailabilityDomain:   pulumi.String("string"),
    	CompartmentId:        pulumi.String("string"),
    	DedicatedVmHostShape: pulumi.String("string"),
    	CapacityConfig:       pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FaultDomain: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsMemoryEncryptionEnabled: pulumi.Bool(false),
    	PlacementConstraintDetails: &core.DedicatedVmHostPlacementConstraintDetailsArgs{
    		Type:                   pulumi.String("string"),
    		ComputeBareMetalHostId: pulumi.String("string"),
    	},
    })
    
    var dedicatedVmHostResource = new DedicatedVmHost("dedicatedVmHostResource", DedicatedVmHostArgs.builder()
        .availabilityDomain("string")
        .compartmentId("string")
        .dedicatedVmHostShape("string")
        .capacityConfig("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .faultDomain("string")
        .freeformTags(Map.of("string", "string"))
        .isMemoryEncryptionEnabled(false)
        .placementConstraintDetails(DedicatedVmHostPlacementConstraintDetailsArgs.builder()
            .type("string")
            .computeBareMetalHostId("string")
            .build())
        .build());
    
    dedicated_vm_host_resource = oci.core.DedicatedVmHost("dedicatedVmHostResource",
        availability_domain="string",
        compartment_id="string",
        dedicated_vm_host_shape="string",
        capacity_config="string",
        defined_tags={
            "string": "string",
        },
        display_name="string",
        fault_domain="string",
        freeform_tags={
            "string": "string",
        },
        is_memory_encryption_enabled=False,
        placement_constraint_details={
            "type": "string",
            "compute_bare_metal_host_id": "string",
        })
    
    const dedicatedVmHostResource = new oci.core.DedicatedVmHost("dedicatedVmHostResource", {
        availabilityDomain: "string",
        compartmentId: "string",
        dedicatedVmHostShape: "string",
        capacityConfig: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        faultDomain: "string",
        freeformTags: {
            string: "string",
        },
        isMemoryEncryptionEnabled: false,
        placementConstraintDetails: {
            type: "string",
            computeBareMetalHostId: "string",
        },
    });
    
    type: oci:Core:DedicatedVmHost
    properties:
        availabilityDomain: string
        capacityConfig: string
        compartmentId: string
        dedicatedVmHostShape: string
        definedTags:
            string: string
        displayName: string
        faultDomain: string
        freeformTags:
            string: string
        isMemoryEncryptionEnabled: false
        placementConstraintDetails:
            computeBareMetalHostId: string
            type: string
    

    DedicatedVmHost Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DedicatedVmHost resource accepts the following input properties:

    AvailabilityDomain string
    The availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DedicatedVmHostShape string
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
    CapacityConfig string
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API first to see the capacity configuration options.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FaultDomain string

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    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.
    PlacementConstraintDetails DedicatedVmHostPlacementConstraintDetails
    The details for providing placement constraints.
    AvailabilityDomain string
    The availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DedicatedVmHostShape string
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
    CapacityConfig string
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API first to see the capacity configuration options.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FaultDomain string

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    FreeformTags map[string]string
    (Updatable) 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"}
    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.
    PlacementConstraintDetails DedicatedVmHostPlacementConstraintDetailsArgs
    The details for providing placement constraints.
    availabilityDomain String
    The availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    compartmentId String
    (Updatable) The OCID of the compartment.
    dedicatedVmHostShape String
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
    capacityConfig String
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API first to see the capacity configuration options.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    faultDomain String

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    freeformTags Map<String,String>
    (Updatable) 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"}
    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.
    placementConstraintDetails DedicatedVmHostPlacementConstraintDetails
    The details for providing placement constraints.
    availabilityDomain string
    The availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    compartmentId string
    (Updatable) The OCID of the compartment.
    dedicatedVmHostShape string
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
    capacityConfig string
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API first to see the capacity configuration options.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    faultDomain string

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    freeformTags {[key: string]: string}
    (Updatable) 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"}
    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.
    placementConstraintDetails DedicatedVmHostPlacementConstraintDetails
    The details for providing placement constraints.
    availability_domain str
    The availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    compartment_id str
    (Updatable) The OCID of the compartment.
    dedicated_vm_host_shape str
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
    capacity_config str
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API first to see the capacity configuration options.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    fault_domain str

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    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.
    placement_constraint_details DedicatedVmHostPlacementConstraintDetailsArgs
    The details for providing placement constraints.
    availabilityDomain String
    The availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    compartmentId String
    (Updatable) The OCID of the compartment.
    dedicatedVmHostShape String
    The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
    capacityConfig String
    The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run ListDedicatedVmHostShapes API first to see the capacity configuration options.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    faultDomain String

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    freeformTags Map<String>
    (Updatable) 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"}
    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.
    placementConstraintDetails Property Map
    The details for providing placement constraints.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DedicatedVmHost resource produces the following output properties:

    CapacityBins List<DedicatedVmHostCapacityBin>
    A list of total and remaining CPU and memory per capacity bucket.
    ComputeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    Id string
    The provider-assigned unique ID for this managed resource.
    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
    The current state of the dedicated VM host.
    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.
    CapacityBins []DedicatedVmHostCapacityBin
    A list of total and remaining CPU and memory per capacity bucket.
    ComputeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    Id string
    The provider-assigned unique ID for this managed resource.
    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
    The current state of the dedicated VM host.
    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.
    capacityBins List<DedicatedVmHostCapacityBin>
    A list of total and remaining CPU and memory per capacity bucket.
    computeBareMetalHostId String
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    id String
    The provider-assigned unique ID for this managed resource.
    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
    The current state of the dedicated VM host.
    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.
    capacityBins DedicatedVmHostCapacityBin[]
    A list of total and remaining CPU and memory per capacity bucket.
    computeBareMetalHostId string
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    id string
    The provider-assigned unique ID for this managed resource.
    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
    The current state of the dedicated VM host.
    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.
    capacity_bins Sequence[DedicatedVmHostCapacityBin]
    A list of total and remaining CPU and memory per capacity bucket.
    compute_bare_metal_host_id str
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    id str
    The provider-assigned unique ID for this managed resource.
    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
    The current state of the dedicated VM host.
    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.
    capacityBins List<Property Map>
    A list of total and remaining CPU and memory per capacity bucket.
    computeBareMetalHostId String
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
    id String
    The provider-assigned unique ID for this managed resource.
    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
    The current state of the dedicated VM host.
    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.

    Look up Existing DedicatedVmHost Resource

    Get an existing DedicatedVmHost resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DedicatedVmHostState, opts?: CustomResourceOptions): DedicatedVmHost
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domain: Optional[str] = None,
            capacity_bins: Optional[Sequence[DedicatedVmHostCapacityBinArgs]] = None,
            capacity_config: Optional[str] = None,
            compartment_id: Optional[str] = None,
            compute_bare_metal_host_id: Optional[str] = None,
            dedicated_vm_host_shape: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            fault_domain: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_memory_encryption_enabled: Optional[bool] = None,
            placement_constraint_details: Optional[DedicatedVmHostPlacementConstraintDetailsArgs] = None,
            remaining_memory_in_gbs: Optional[float] = None,
            remaining_ocpus: Optional[float] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            total_memory_in_gbs: Optional[float] = None,
            total_ocpus: Optional[float] = None) -> DedicatedVmHost
    func GetDedicatedVmHost(ctx *Context, name string, id IDInput, state *DedicatedVmHostState, opts ...ResourceOption) (*DedicatedVmHost, error)
    public static DedicatedVmHost Get(string name, Input<string> id, DedicatedVmHostState? state, CustomResourceOptions? opts = null)
    public static DedicatedVmHost get(String name, Output<String> id, DedicatedVmHostState state, CustomResourceOptions options)
    resources:  _:    type: oci:Core:DedicatedVmHost    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityDomain string
    The availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    CapacityBins List<DedicatedVmHostCapacityBin>
    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 first to see the capacity configuration options.
    CompartmentId string
    (Updatable) 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 VM instances launched on the dedicated virtual machine host.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FaultDomain string

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    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.
    PlacementConstraintDetails DedicatedVmHostPlacementConstraintDetails
    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
    The current state of the dedicated VM host.
    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 availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    CapacityBins []DedicatedVmHostCapacityBinArgs
    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 first to see the capacity configuration options.
    CompartmentId string
    (Updatable) 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 VM instances launched on the dedicated virtual machine host.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FaultDomain string

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    FreeformTags map[string]string
    (Updatable) 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"}
    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.
    PlacementConstraintDetails DedicatedVmHostPlacementConstraintDetailsArgs
    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
    The current state of the dedicated VM host.
    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 availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    capacityBins List<DedicatedVmHostCapacityBin>
    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 first to see the capacity configuration options.
    compartmentId String
    (Updatable) 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 VM instances launched on the dedicated virtual machine host.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    faultDomain String

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    freeformTags Map<String,String>
    (Updatable) 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"}
    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.
    placementConstraintDetails DedicatedVmHostPlacementConstraintDetails
    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
    The current state of the dedicated VM host.
    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 availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    capacityBins DedicatedVmHostCapacityBin[]
    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 first to see the capacity configuration options.
    compartmentId string
    (Updatable) 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 VM instances launched on the dedicated virtual machine host.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    faultDomain string

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    freeformTags {[key: string]: string}
    (Updatable) 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"}
    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.
    placementConstraintDetails DedicatedVmHostPlacementConstraintDetails
    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
    The current state of the dedicated VM host.
    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 availability domain of the dedicated virtual machine host. Example: Uocm:PHX-AD-1
    capacity_bins Sequence[DedicatedVmHostCapacityBinArgs]
    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 first to see the capacity configuration options.
    compartment_id str
    (Updatable) 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 VM instances launched on the dedicated virtual machine host.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    fault_domain str

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    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.
    placement_constraint_details DedicatedVmHostPlacementConstraintDetailsArgs
    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
    The current state of the dedicated VM host.
    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 availability domain of the dedicated virtual machine host. 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 first to see the capacity configuration options.
    compartmentId String
    (Updatable) 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 VM instances launched on the dedicated virtual machine host.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    faultDomain String

    The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

    To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

    Example: FAULT-DOMAIN-1

    freeformTags Map<String>
    (Updatable) 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"}
    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.
    placementConstraintDetails 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
    The current state of the dedicated VM host.
    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.

    Supporting Types

    DedicatedVmHostCapacityBin, DedicatedVmHostCapacityBinArgs

    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.

    DedicatedVmHostPlacementConstraintDetails, DedicatedVmHostPlacementConstraintDetailsArgs

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    computeBareMetalHostId string
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compute_bare_metal_host_id str
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    computeBareMetalHostId String
    The OCID of the compute bare metal host. This is only available for dedicated capacity customers.

    Import

    DedicatedVmHosts can be imported using the id, e.g.

    $ pulumi import oci:Core/dedicatedVmHost:DedicatedVmHost test_dedicated_vm_host "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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