1. Packages
  2. Ibm Provider
  3. API Docs
  4. ContainerDedicatedHost
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.ContainerDedicatedHost

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a resource for managing a dedicated host. A dedicated host can be created or deleted. The only supported update is enabling or disabling the placement on the dedicated host. For more information about dedicated host, see Creating and managing dedicated hosts on VPC Gen 2 infrastructure.

    Example Usage

    In the following example, you can create a dedicated host:

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testDhost = new ibm.ContainerDedicatedHost("testDhost", {
        flavor: "bx2d.host.152x608",
        hostPoolId: "dh-abcdefgh1234567",
        placementEnabled: true,
        zone: "us-south-1",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test_dhost = ibm.ContainerDedicatedHost("testDhost",
        flavor="bx2d.host.152x608",
        host_pool_id="dh-abcdefgh1234567",
        placement_enabled=True,
        zone="us-south-1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewContainerDedicatedHost(ctx, "testDhost", &ibm.ContainerDedicatedHostArgs{
    			Flavor:           pulumi.String("bx2d.host.152x608"),
    			HostPoolId:       pulumi.String("dh-abcdefgh1234567"),
    			PlacementEnabled: pulumi.Bool(true),
    			Zone:             pulumi.String("us-south-1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var testDhost = new Ibm.ContainerDedicatedHost("testDhost", new()
        {
            Flavor = "bx2d.host.152x608",
            HostPoolId = "dh-abcdefgh1234567",
            PlacementEnabled = true,
            Zone = "us-south-1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.ContainerDedicatedHost;
    import com.pulumi.ibm.ContainerDedicatedHostArgs;
    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 testDhost = new ContainerDedicatedHost("testDhost", ContainerDedicatedHostArgs.builder()
                .flavor("bx2d.host.152x608")
                .hostPoolId("dh-abcdefgh1234567")
                .placementEnabled("true")
                .zone("us-south-1")
                .build());
    
        }
    }
    
    resources:
      testDhost:
        type: ibm:ContainerDedicatedHost
        properties:
          flavor: bx2d.host.152x608
          hostPoolId: dh-abcdefgh1234567
          placementEnabled: 'true'
          zone: us-south-1
    

    Create ContainerDedicatedHost Resource

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

    Constructor syntax

    new ContainerDedicatedHost(name: string, args: ContainerDedicatedHostArgs, opts?: CustomResourceOptions);
    @overload
    def ContainerDedicatedHost(resource_name: str,
                               args: ContainerDedicatedHostArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContainerDedicatedHost(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               flavor: Optional[str] = None,
                               host_pool_id: Optional[str] = None,
                               zone: Optional[str] = None,
                               container_dedicated_host_id: Optional[str] = None,
                               placement_enabled: Optional[bool] = None,
                               timeouts: Optional[ContainerDedicatedHostTimeoutsArgs] = None)
    func NewContainerDedicatedHost(ctx *Context, name string, args ContainerDedicatedHostArgs, opts ...ResourceOption) (*ContainerDedicatedHost, error)
    public ContainerDedicatedHost(string name, ContainerDedicatedHostArgs args, CustomResourceOptions? opts = null)
    public ContainerDedicatedHost(String name, ContainerDedicatedHostArgs args)
    public ContainerDedicatedHost(String name, ContainerDedicatedHostArgs args, CustomResourceOptions options)
    
    type: ibm:ContainerDedicatedHost
    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 ContainerDedicatedHostArgs
    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 ContainerDedicatedHostArgs
    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 ContainerDedicatedHostArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerDedicatedHostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerDedicatedHostArgs
    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 containerDedicatedHostResource = new Ibm.ContainerDedicatedHost("containerDedicatedHostResource", new()
    {
        Flavor = "string",
        HostPoolId = "string",
        Zone = "string",
        ContainerDedicatedHostId = "string",
        PlacementEnabled = false,
        Timeouts = new Ibm.Inputs.ContainerDedicatedHostTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := ibm.NewContainerDedicatedHost(ctx, "containerDedicatedHostResource", &ibm.ContainerDedicatedHostArgs{
    	Flavor:                   pulumi.String("string"),
    	HostPoolId:               pulumi.String("string"),
    	Zone:                     pulumi.String("string"),
    	ContainerDedicatedHostId: pulumi.String("string"),
    	PlacementEnabled:         pulumi.Bool(false),
    	Timeouts: &ibm.ContainerDedicatedHostTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var containerDedicatedHostResource = new ContainerDedicatedHost("containerDedicatedHostResource", ContainerDedicatedHostArgs.builder()
        .flavor("string")
        .hostPoolId("string")
        .zone("string")
        .containerDedicatedHostId("string")
        .placementEnabled(false)
        .timeouts(ContainerDedicatedHostTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    container_dedicated_host_resource = ibm.ContainerDedicatedHost("containerDedicatedHostResource",
        flavor="string",
        host_pool_id="string",
        zone="string",
        container_dedicated_host_id="string",
        placement_enabled=False,
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const containerDedicatedHostResource = new ibm.ContainerDedicatedHost("containerDedicatedHostResource", {
        flavor: "string",
        hostPoolId: "string",
        zone: "string",
        containerDedicatedHostId: "string",
        placementEnabled: false,
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: ibm:ContainerDedicatedHost
    properties:
        containerDedicatedHostId: string
        flavor: string
        hostPoolId: string
        placementEnabled: false
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        zone: string
    

    ContainerDedicatedHost 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 ContainerDedicatedHost resource accepts the following input properties:

    Flavor string
    The flavor of the dedicated host.
    HostPoolId string
    The id of the dedicated host pool the dedicated host is associated with.
    Zone string
    The zone of the dedicated host.
    ContainerDedicatedHostId string
    PlacementEnabled bool
    Enables/disables placement on the dedicated host.
    Timeouts ContainerDedicatedHostTimeouts
    Flavor string
    The flavor of the dedicated host.
    HostPoolId string
    The id of the dedicated host pool the dedicated host is associated with.
    Zone string
    The zone of the dedicated host.
    ContainerDedicatedHostId string
    PlacementEnabled bool
    Enables/disables placement on the dedicated host.
    Timeouts ContainerDedicatedHostTimeoutsArgs
    flavor String
    The flavor of the dedicated host.
    hostPoolId String
    The id of the dedicated host pool the dedicated host is associated with.
    zone String
    The zone of the dedicated host.
    containerDedicatedHostId String
    placementEnabled Boolean
    Enables/disables placement on the dedicated host.
    timeouts ContainerDedicatedHostTimeouts
    flavor string
    The flavor of the dedicated host.
    hostPoolId string
    The id of the dedicated host pool the dedicated host is associated with.
    zone string
    The zone of the dedicated host.
    containerDedicatedHostId string
    placementEnabled boolean
    Enables/disables placement on the dedicated host.
    timeouts ContainerDedicatedHostTimeouts
    flavor str
    The flavor of the dedicated host.
    host_pool_id str
    The id of the dedicated host pool the dedicated host is associated with.
    zone str
    The zone of the dedicated host.
    container_dedicated_host_id str
    placement_enabled bool
    Enables/disables placement on the dedicated host.
    timeouts ContainerDedicatedHostTimeoutsArgs
    flavor String
    The flavor of the dedicated host.
    hostPoolId String
    The id of the dedicated host pool the dedicated host is associated with.
    zone String
    The zone of the dedicated host.
    containerDedicatedHostId String
    placementEnabled Boolean
    Enables/disables placement on the dedicated host.
    timeouts Property Map

    Outputs

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

    HostId string
    (String) The unique identifier of the dedicated host.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifeCycles List<ContainerDedicatedHostLifeCycle>
    (List) A nested block describes the lifecycle state of the dedicated host.
    Resources List<ContainerDedicatedHostResource>
    (List) A nested block describes the resources of the dedicated host.
    Workers List<ContainerDedicatedHostWorker>
    (List) A nested block describes the workers associated with this dedicated host.
    HostId string
    (String) The unique identifier of the dedicated host.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifeCycles []ContainerDedicatedHostLifeCycle
    (List) A nested block describes the lifecycle state of the dedicated host.
    Resources []ContainerDedicatedHostResource
    (List) A nested block describes the resources of the dedicated host.
    Workers []ContainerDedicatedHostWorker
    (List) A nested block describes the workers associated with this dedicated host.
    hostId String
    (String) The unique identifier of the dedicated host.
    id String
    The provider-assigned unique ID for this managed resource.
    lifeCycles List<ContainerDedicatedHostLifeCycle>
    (List) A nested block describes the lifecycle state of the dedicated host.
    resources List<ContainerDedicatedHostResource>
    (List) A nested block describes the resources of the dedicated host.
    workers List<ContainerDedicatedHostWorker>
    (List) A nested block describes the workers associated with this dedicated host.
    hostId string
    (String) The unique identifier of the dedicated host.
    id string
    The provider-assigned unique ID for this managed resource.
    lifeCycles ContainerDedicatedHostLifeCycle[]
    (List) A nested block describes the lifecycle state of the dedicated host.
    resources ContainerDedicatedHostResource[]
    (List) A nested block describes the resources of the dedicated host.
    workers ContainerDedicatedHostWorker[]
    (List) A nested block describes the workers associated with this dedicated host.
    host_id str
    (String) The unique identifier of the dedicated host.
    id str
    The provider-assigned unique ID for this managed resource.
    life_cycles Sequence[ContainerDedicatedHostLifeCycle]
    (List) A nested block describes the lifecycle state of the dedicated host.
    resources Sequence[ContainerDedicatedHostResource]
    (List) A nested block describes the resources of the dedicated host.
    workers Sequence[ContainerDedicatedHostWorker]
    (List) A nested block describes the workers associated with this dedicated host.
    hostId String
    (String) The unique identifier of the dedicated host.
    id String
    The provider-assigned unique ID for this managed resource.
    lifeCycles List<Property Map>
    (List) A nested block describes the lifecycle state of the dedicated host.
    resources List<Property Map>
    (List) A nested block describes the resources of the dedicated host.
    workers List<Property Map>
    (List) A nested block describes the workers associated with this dedicated host.

    Look up Existing ContainerDedicatedHost Resource

    Get an existing ContainerDedicatedHost 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?: ContainerDedicatedHostState, opts?: CustomResourceOptions): ContainerDedicatedHost
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_dedicated_host_id: Optional[str] = None,
            flavor: Optional[str] = None,
            host_id: Optional[str] = None,
            host_pool_id: Optional[str] = None,
            life_cycles: Optional[Sequence[ContainerDedicatedHostLifeCycleArgs]] = None,
            placement_enabled: Optional[bool] = None,
            resources: Optional[Sequence[ContainerDedicatedHostResourceArgs]] = None,
            timeouts: Optional[ContainerDedicatedHostTimeoutsArgs] = None,
            workers: Optional[Sequence[ContainerDedicatedHostWorkerArgs]] = None,
            zone: Optional[str] = None) -> ContainerDedicatedHost
    func GetContainerDedicatedHost(ctx *Context, name string, id IDInput, state *ContainerDedicatedHostState, opts ...ResourceOption) (*ContainerDedicatedHost, error)
    public static ContainerDedicatedHost Get(string name, Input<string> id, ContainerDedicatedHostState? state, CustomResourceOptions? opts = null)
    public static ContainerDedicatedHost get(String name, Output<String> id, ContainerDedicatedHostState state, CustomResourceOptions options)
    resources:  _:    type: ibm:ContainerDedicatedHost    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:
    ContainerDedicatedHostId string
    Flavor string
    The flavor of the dedicated host.
    HostId string
    (String) The unique identifier of the dedicated host.
    HostPoolId string
    The id of the dedicated host pool the dedicated host is associated with.
    LifeCycles List<ContainerDedicatedHostLifeCycle>
    (List) A nested block describes the lifecycle state of the dedicated host.
    PlacementEnabled bool
    Enables/disables placement on the dedicated host.
    Resources List<ContainerDedicatedHostResource>
    (List) A nested block describes the resources of the dedicated host.
    Timeouts ContainerDedicatedHostTimeouts
    Workers List<ContainerDedicatedHostWorker>
    (List) A nested block describes the workers associated with this dedicated host.
    Zone string
    The zone of the dedicated host.
    ContainerDedicatedHostId string
    Flavor string
    The flavor of the dedicated host.
    HostId string
    (String) The unique identifier of the dedicated host.
    HostPoolId string
    The id of the dedicated host pool the dedicated host is associated with.
    LifeCycles []ContainerDedicatedHostLifeCycleArgs
    (List) A nested block describes the lifecycle state of the dedicated host.
    PlacementEnabled bool
    Enables/disables placement on the dedicated host.
    Resources []ContainerDedicatedHostResourceArgs
    (List) A nested block describes the resources of the dedicated host.
    Timeouts ContainerDedicatedHostTimeoutsArgs
    Workers []ContainerDedicatedHostWorkerArgs
    (List) A nested block describes the workers associated with this dedicated host.
    Zone string
    The zone of the dedicated host.
    containerDedicatedHostId String
    flavor String
    The flavor of the dedicated host.
    hostId String
    (String) The unique identifier of the dedicated host.
    hostPoolId String
    The id of the dedicated host pool the dedicated host is associated with.
    lifeCycles List<ContainerDedicatedHostLifeCycle>
    (List) A nested block describes the lifecycle state of the dedicated host.
    placementEnabled Boolean
    Enables/disables placement on the dedicated host.
    resources List<ContainerDedicatedHostResource>
    (List) A nested block describes the resources of the dedicated host.
    timeouts ContainerDedicatedHostTimeouts
    workers List<ContainerDedicatedHostWorker>
    (List) A nested block describes the workers associated with this dedicated host.
    zone String
    The zone of the dedicated host.
    containerDedicatedHostId string
    flavor string
    The flavor of the dedicated host.
    hostId string
    (String) The unique identifier of the dedicated host.
    hostPoolId string
    The id of the dedicated host pool the dedicated host is associated with.
    lifeCycles ContainerDedicatedHostLifeCycle[]
    (List) A nested block describes the lifecycle state of the dedicated host.
    placementEnabled boolean
    Enables/disables placement on the dedicated host.
    resources ContainerDedicatedHostResource[]
    (List) A nested block describes the resources of the dedicated host.
    timeouts ContainerDedicatedHostTimeouts
    workers ContainerDedicatedHostWorker[]
    (List) A nested block describes the workers associated with this dedicated host.
    zone string
    The zone of the dedicated host.
    container_dedicated_host_id str
    flavor str
    The flavor of the dedicated host.
    host_id str
    (String) The unique identifier of the dedicated host.
    host_pool_id str
    The id of the dedicated host pool the dedicated host is associated with.
    life_cycles Sequence[ContainerDedicatedHostLifeCycleArgs]
    (List) A nested block describes the lifecycle state of the dedicated host.
    placement_enabled bool
    Enables/disables placement on the dedicated host.
    resources Sequence[ContainerDedicatedHostResourceArgs]
    (List) A nested block describes the resources of the dedicated host.
    timeouts ContainerDedicatedHostTimeoutsArgs
    workers Sequence[ContainerDedicatedHostWorkerArgs]
    (List) A nested block describes the workers associated with this dedicated host.
    zone str
    The zone of the dedicated host.
    containerDedicatedHostId String
    flavor String
    The flavor of the dedicated host.
    hostId String
    (String) The unique identifier of the dedicated host.
    hostPoolId String
    The id of the dedicated host pool the dedicated host is associated with.
    lifeCycles List<Property Map>
    (List) A nested block describes the lifecycle state of the dedicated host.
    placementEnabled Boolean
    Enables/disables placement on the dedicated host.
    resources List<Property Map>
    (List) A nested block describes the resources of the dedicated host.
    timeouts Property Map
    workers List<Property Map>
    (List) A nested block describes the workers associated with this dedicated host.
    zone String
    The zone of the dedicated host.

    Supporting Types

    ContainerDedicatedHostLifeCycle, ContainerDedicatedHostLifeCycleArgs

    ActualState string
    (String) The actual state of the dedicated host.
    DesiredState string
    (String) The desired state of the dedicated host.
    Message string
    (String) Information message about the dedicated host's lifecycle.
    MessageDate string
    (String) The date of the information message.
    MessageDetails string
    (String) Additional details of the information message.
    MessageDetailsDate string
    (String) The date of the additional details.
    ActualState string
    (String) The actual state of the dedicated host.
    DesiredState string
    (String) The desired state of the dedicated host.
    Message string
    (String) Information message about the dedicated host's lifecycle.
    MessageDate string
    (String) The date of the information message.
    MessageDetails string
    (String) Additional details of the information message.
    MessageDetailsDate string
    (String) The date of the additional details.
    actualState String
    (String) The actual state of the dedicated host.
    desiredState String
    (String) The desired state of the dedicated host.
    message String
    (String) Information message about the dedicated host's lifecycle.
    messageDate String
    (String) The date of the information message.
    messageDetails String
    (String) Additional details of the information message.
    messageDetailsDate String
    (String) The date of the additional details.
    actualState string
    (String) The actual state of the dedicated host.
    desiredState string
    (String) The desired state of the dedicated host.
    message string
    (String) Information message about the dedicated host's lifecycle.
    messageDate string
    (String) The date of the information message.
    messageDetails string
    (String) Additional details of the information message.
    messageDetailsDate string
    (String) The date of the additional details.
    actual_state str
    (String) The actual state of the dedicated host.
    desired_state str
    (String) The desired state of the dedicated host.
    message str
    (String) Information message about the dedicated host's lifecycle.
    message_date str
    (String) The date of the information message.
    message_details str
    (String) Additional details of the information message.
    message_details_date str
    (String) The date of the additional details.
    actualState String
    (String) The actual state of the dedicated host.
    desiredState String
    (String) The desired state of the dedicated host.
    message String
    (String) Information message about the dedicated host's lifecycle.
    messageDate String
    (String) The date of the information message.
    messageDetails String
    (String) Additional details of the information message.
    messageDetailsDate String
    (String) The date of the additional details.

    ContainerDedicatedHostResource, ContainerDedicatedHostResourceArgs

    Capacities List<ContainerDedicatedHostResourceCapacity>
    (List) A nested block describes the capacity of the dedicated host. Nested scheme for capacity:
    Consumeds List<ContainerDedicatedHostResourceConsumed>
    (List) A nested block describes the consumed resources of the dedicated host. Nested scheme for capacity:
    Capacities []ContainerDedicatedHostResourceCapacity
    (List) A nested block describes the capacity of the dedicated host. Nested scheme for capacity:
    Consumeds []ContainerDedicatedHostResourceConsumed
    (List) A nested block describes the consumed resources of the dedicated host. Nested scheme for capacity:
    capacities List<ContainerDedicatedHostResourceCapacity>
    (List) A nested block describes the capacity of the dedicated host. Nested scheme for capacity:
    consumeds List<ContainerDedicatedHostResourceConsumed>
    (List) A nested block describes the consumed resources of the dedicated host. Nested scheme for capacity:
    capacities ContainerDedicatedHostResourceCapacity[]
    (List) A nested block describes the capacity of the dedicated host. Nested scheme for capacity:
    consumeds ContainerDedicatedHostResourceConsumed[]
    (List) A nested block describes the consumed resources of the dedicated host. Nested scheme for capacity:
    capacities Sequence[ContainerDedicatedHostResourceCapacity]
    (List) A nested block describes the capacity of the dedicated host. Nested scheme for capacity:
    consumeds Sequence[ContainerDedicatedHostResourceConsumed]
    (List) A nested block describes the consumed resources of the dedicated host. Nested scheme for capacity:
    capacities List<Property Map>
    (List) A nested block describes the capacity of the dedicated host. Nested scheme for capacity:
    consumeds List<Property Map>
    (List) A nested block describes the consumed resources of the dedicated host. Nested scheme for capacity:

    ContainerDedicatedHostResourceCapacity, ContainerDedicatedHostResourceCapacityArgs

    MemoryBytes double
    (Int) Consumed memory capacity of the dedicated host.
    Vcpu double
    (Int) Consumed VCPU capacity of the dedicated host.
    MemoryBytes float64
    (Int) Consumed memory capacity of the dedicated host.
    Vcpu float64
    (Int) Consumed VCPU capacity of the dedicated host.
    memoryBytes Double
    (Int) Consumed memory capacity of the dedicated host.
    vcpu Double
    (Int) Consumed VCPU capacity of the dedicated host.
    memoryBytes number
    (Int) Consumed memory capacity of the dedicated host.
    vcpu number
    (Int) Consumed VCPU capacity of the dedicated host.
    memory_bytes float
    (Int) Consumed memory capacity of the dedicated host.
    vcpu float
    (Int) Consumed VCPU capacity of the dedicated host.
    memoryBytes Number
    (Int) Consumed memory capacity of the dedicated host.
    vcpu Number
    (Int) Consumed VCPU capacity of the dedicated host.

    ContainerDedicatedHostResourceConsumed, ContainerDedicatedHostResourceConsumedArgs

    MemoryBytes double
    (Int) Consumed memory capacity of the dedicated host.
    Vcpu double
    (Int) Consumed VCPU capacity of the dedicated host.
    MemoryBytes float64
    (Int) Consumed memory capacity of the dedicated host.
    Vcpu float64
    (Int) Consumed VCPU capacity of the dedicated host.
    memoryBytes Double
    (Int) Consumed memory capacity of the dedicated host.
    vcpu Double
    (Int) Consumed VCPU capacity of the dedicated host.
    memoryBytes number
    (Int) Consumed memory capacity of the dedicated host.
    vcpu number
    (Int) Consumed VCPU capacity of the dedicated host.
    memory_bytes float
    (Int) Consumed memory capacity of the dedicated host.
    vcpu float
    (Int) Consumed VCPU capacity of the dedicated host.
    memoryBytes Number
    (Int) Consumed memory capacity of the dedicated host.
    vcpu Number
    (Int) Consumed VCPU capacity of the dedicated host.

    ContainerDedicatedHostTimeouts, ContainerDedicatedHostTimeoutsArgs

    Create string
    Delete string
    Read string
    Update string
    Create string
    Delete string
    Read string
    Update string
    create String
    delete String
    read String
    update String
    create string
    delete string
    read string
    update string
    create str
    delete str
    read str
    update str
    create String
    delete String
    read String
    update String

    ContainerDedicatedHostWorker, ContainerDedicatedHostWorkerArgs

    ClusterId string
    (String) The ID of the cluster the worker is associated with.
    Flavor string
    The flavor of the dedicated host.
    WorkerId string
    (String) The ID of the worker.
    WorkerPoolId string
    (String) The ID of the worker pool the worker is associated with.
    ClusterId string
    (String) The ID of the cluster the worker is associated with.
    Flavor string
    The flavor of the dedicated host.
    WorkerId string
    (String) The ID of the worker.
    WorkerPoolId string
    (String) The ID of the worker pool the worker is associated with.
    clusterId String
    (String) The ID of the cluster the worker is associated with.
    flavor String
    The flavor of the dedicated host.
    workerId String
    (String) The ID of the worker.
    workerPoolId String
    (String) The ID of the worker pool the worker is associated with.
    clusterId string
    (String) The ID of the cluster the worker is associated with.
    flavor string
    The flavor of the dedicated host.
    workerId string
    (String) The ID of the worker.
    workerPoolId string
    (String) The ID of the worker pool the worker is associated with.
    cluster_id str
    (String) The ID of the cluster the worker is associated with.
    flavor str
    The flavor of the dedicated host.
    worker_id str
    (String) The ID of the worker.
    worker_pool_id str
    (String) The ID of the worker pool the worker is associated with.
    clusterId String
    (String) The ID of the cluster the worker is associated with.
    flavor String
    The flavor of the dedicated host.
    workerId String
    (String) The ID of the worker.
    workerPoolId String
    (String) The ID of the worker pool the worker is associated with.

    Import

    The ibm_container_dedicated_host can be imported by using the dedicated host pool id and the dedicated host id in the following format: <dedicated host pool id>/<dedicated host id>.

    Example

    $ pulumi import ibm:index/containerDedicatedHost:ContainerDedicatedHost test_dhost dh-abcdefgh1234567/abcd12-dh-abcdefgh1234567-abcd123-acbd1234
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud