1. Packages
  2. Ibm Provider
  3. API Docs
  4. ContainerDedicatedHost
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.ContainerDedicatedHost

Explore with Pulumi AI

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  testDhost:
    type: ibm:ContainerDedicatedHost
    properties:
      flavor: bx2d.host.152x608
      hostPoolId: dh-abcdefgh1234567
      placementEnabled: 'true'
      zone: us-south-1
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. ContainerDedicatedHostArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ContainerDedicatedHostArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ContainerDedicatedHostArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
    },
});
Copy
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: &.ContainerDedicatedHostTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
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());
Copy
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",
    })
Copy
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",
    },
});
Copy
type: ibm:ContainerDedicatedHost
properties:
    containerDedicatedHostId: string
    flavor: string
    hostPoolId: string
    placementEnabled: false
    timeouts:
        create: string
        delete: string
        read: string
        update: string
    zone: string
Copy

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 This property is required. string
The flavor of the dedicated host.
HostPoolId This property is required. string
The id of the dedicated host pool the dedicated host is associated with.
Zone This property is required. string
The zone of the dedicated host.
ContainerDedicatedHostId string
PlacementEnabled bool
Enables/disables placement on the dedicated host.
Timeouts ContainerDedicatedHostTimeouts
Flavor This property is required. string
The flavor of the dedicated host.
HostPoolId This property is required. string
The id of the dedicated host pool the dedicated host is associated with.
Zone This property is required. string
The zone of the dedicated host.
ContainerDedicatedHostId string
PlacementEnabled bool
Enables/disables placement on the dedicated host.
Timeouts ContainerDedicatedHostTimeoutsArgs
flavor This property is required. String
The flavor of the dedicated host.
hostPoolId This property is required. String
The id of the dedicated host pool the dedicated host is associated with.
zone This property is required. String
The zone of the dedicated host.
containerDedicatedHostId String
placementEnabled Boolean
Enables/disables placement on the dedicated host.
timeouts ContainerDedicatedHostTimeouts
flavor This property is required. string
The flavor of the dedicated host.
hostPoolId This property is required. string
The id of the dedicated host pool the dedicated host is associated with.
zone This property is required. string
The zone of the dedicated host.
containerDedicatedHostId string
placementEnabled boolean
Enables/disables placement on the dedicated host.
timeouts ContainerDedicatedHostTimeouts
flavor This property is required. str
The flavor of the dedicated host.
host_pool_id This property is required. str
The id of the dedicated host pool the dedicated host is associated with.
zone This property is required. 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 This property is required. String
The flavor of the dedicated host.
hostPoolId This property is required. String
The id of the dedicated host pool the dedicated host is associated with.
zone This property is required. 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required. string
(String) The actual state of the dedicated host.
DesiredState This property is required. string
(String) The desired state of the dedicated host.
Message This property is required. string
(String) Information message about the dedicated host's lifecycle.
MessageDate This property is required. string
(String) The date of the information message.
MessageDetails This property is required. string
(String) Additional details of the information message.
MessageDetailsDate This property is required. string
(String) The date of the additional details.
ActualState This property is required. string
(String) The actual state of the dedicated host.
DesiredState This property is required. string
(String) The desired state of the dedicated host.
Message This property is required. string
(String) Information message about the dedicated host's lifecycle.
MessageDate This property is required. string
(String) The date of the information message.
MessageDetails This property is required. string
(String) Additional details of the information message.
MessageDetailsDate This property is required. string
(String) The date of the additional details.
actualState This property is required. String
(String) The actual state of the dedicated host.
desiredState This property is required. String
(String) The desired state of the dedicated host.
message This property is required. String
(String) Information message about the dedicated host's lifecycle.
messageDate This property is required. String
(String) The date of the information message.
messageDetails This property is required. String
(String) Additional details of the information message.
messageDetailsDate This property is required. String
(String) The date of the additional details.
actualState This property is required. string
(String) The actual state of the dedicated host.
desiredState This property is required. string
(String) The desired state of the dedicated host.
message This property is required. string
(String) Information message about the dedicated host's lifecycle.
messageDate This property is required. string
(String) The date of the information message.
messageDetails This property is required. string
(String) Additional details of the information message.
messageDetailsDate This property is required. string
(String) The date of the additional details.
actual_state This property is required. str
(String) The actual state of the dedicated host.
desired_state This property is required. str
(String) The desired state of the dedicated host.
message This property is required. str
(String) Information message about the dedicated host's lifecycle.
message_date This property is required. str
(String) The date of the information message.
message_details This property is required. str
(String) Additional details of the information message.
message_details_date This property is required. str
(String) The date of the additional details.
actualState This property is required. String
(String) The actual state of the dedicated host.
desiredState This property is required. String
(String) The desired state of the dedicated host.
message This property is required. String
(String) Information message about the dedicated host's lifecycle.
messageDate This property is required. String
(String) The date of the information message.
messageDetails This property is required. String
(String) Additional details of the information message.
messageDetailsDate This property is required. String
(String) The date of the additional details.

ContainerDedicatedHostResource
, ContainerDedicatedHostResourceArgs

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

ContainerDedicatedHostResourceCapacity
, ContainerDedicatedHostResourceCapacityArgs

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

ContainerDedicatedHostResourceConsumed
, ContainerDedicatedHostResourceConsumedArgs

MemoryBytes This property is required. double
(Int) Consumed memory capacity of the dedicated host.
Vcpu This property is required. double
(Int) Consumed VCPU capacity of the dedicated host.
MemoryBytes This property is required. float64
(Int) Consumed memory capacity of the dedicated host.
Vcpu This property is required. float64
(Int) Consumed VCPU capacity of the dedicated host.
memoryBytes This property is required. Double
(Int) Consumed memory capacity of the dedicated host.
vcpu This property is required. Double
(Int) Consumed VCPU capacity of the dedicated host.
memoryBytes This property is required. number
(Int) Consumed memory capacity of the dedicated host.
vcpu This property is required. number
(Int) Consumed VCPU capacity of the dedicated host.
memory_bytes This property is required. float
(Int) Consumed memory capacity of the dedicated host.
vcpu This property is required. float
(Int) Consumed VCPU capacity of the dedicated host.
memoryBytes This property is required. Number
(Int) Consumed memory capacity of the dedicated host.
vcpu This property is required. 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 This property is required. string
(String) The ID of the cluster the worker is associated with.
Flavor This property is required. string
The flavor of the dedicated host.
WorkerId This property is required. string
(String) The ID of the worker.
WorkerPoolId This property is required. string
(String) The ID of the worker pool the worker is associated with.
ClusterId This property is required. string
(String) The ID of the cluster the worker is associated with.
Flavor This property is required. string
The flavor of the dedicated host.
WorkerId This property is required. string
(String) The ID of the worker.
WorkerPoolId This property is required. string
(String) The ID of the worker pool the worker is associated with.
clusterId This property is required. String
(String) The ID of the cluster the worker is associated with.
flavor This property is required. String
The flavor of the dedicated host.
workerId This property is required. String
(String) The ID of the worker.
workerPoolId This property is required. String
(String) The ID of the worker pool the worker is associated with.
clusterId This property is required. string
(String) The ID of the cluster the worker is associated with.
flavor This property is required. string
The flavor of the dedicated host.
workerId This property is required. string
(String) The ID of the worker.
workerPoolId This property is required. string
(String) The ID of the worker pool the worker is associated with.
cluster_id This property is required. str
(String) The ID of the cluster the worker is associated with.
flavor This property is required. str
The flavor of the dedicated host.
worker_id This property is required. str
(String) The ID of the worker.
worker_pool_id This property is required. str
(String) The ID of the worker pool the worker is associated with.
clusterId This property is required. String
(String) The ID of the cluster the worker is associated with.
flavor This property is required. String
The flavor of the dedicated host.
workerId This property is required. String
(String) The ID of the worker.
workerPoolId This property is required. 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
Copy

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.