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",
});
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
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",
},
});
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"),
},
})
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
This property is required. string - The flavor of the dedicated host.
- Host
Pool Id 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.
- Container
Dedicated stringHost Id - Placement
Enabled bool - Enables/disables placement on the dedicated host.
- Timeouts
Container
Dedicated Host Timeouts
- Flavor
This property is required. string - The flavor of the dedicated host.
- Host
Pool Id 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.
- Container
Dedicated stringHost Id - Placement
Enabled bool - Enables/disables placement on the dedicated host.
- Timeouts
Container
Dedicated Host Timeouts Args
- flavor
This property is required. String - The flavor of the dedicated host.
- host
Pool Id 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.
- container
Dedicated StringHost Id - placement
Enabled Boolean - Enables/disables placement on the dedicated host.
- timeouts
Container
Dedicated Host Timeouts
- flavor
This property is required. string - The flavor of the dedicated host.
- host
Pool Id 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.
- container
Dedicated stringHost Id - placement
Enabled boolean - Enables/disables placement on the dedicated host.
- timeouts
Container
Dedicated Host Timeouts
- 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_ strhost_ id - placement_
enabled bool - Enables/disables placement on the dedicated host.
- timeouts
Container
Dedicated Host Timeouts Args
- flavor
This property is required. String - The flavor of the dedicated host.
- host
Pool Id 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.
- container
Dedicated StringHost Id - placement
Enabled 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:
- Host
Id string - (String) The unique identifier of the dedicated host.
- Id string
- The provider-assigned unique ID for this managed resource.
- Life
Cycles List<ContainerDedicated Host Life Cycle> - (List) A nested block describes the lifecycle state of the dedicated host.
- Resources
List<Container
Dedicated Host Resource> - (List) A nested block describes the resources of the dedicated host.
- Workers
List<Container
Dedicated Host Worker> - (List) A nested block describes the workers associated with this dedicated host.
- Host
Id string - (String) The unique identifier of the dedicated host.
- Id string
- The provider-assigned unique ID for this managed resource.
- Life
Cycles []ContainerDedicated Host Life Cycle - (List) A nested block describes the lifecycle state of the dedicated host.
- Resources
[]Container
Dedicated Host Resource - (List) A nested block describes the resources of the dedicated host.
- Workers
[]Container
Dedicated Host Worker - (List) A nested block describes the workers associated with this dedicated host.
- host
Id String - (String) The unique identifier of the dedicated host.
- id String
- The provider-assigned unique ID for this managed resource.
- life
Cycles List<ContainerDedicated Host Life Cycle> - (List) A nested block describes the lifecycle state of the dedicated host.
- resources
List<Container
Dedicated Host Resource> - (List) A nested block describes the resources of the dedicated host.
- workers
List<Container
Dedicated Host Worker> - (List) A nested block describes the workers associated with this dedicated host.
- host
Id string - (String) The unique identifier of the dedicated host.
- id string
- The provider-assigned unique ID for this managed resource.
- life
Cycles ContainerDedicated Host Life Cycle[] - (List) A nested block describes the lifecycle state of the dedicated host.
- resources
Container
Dedicated Host Resource[] - (List) A nested block describes the resources of the dedicated host.
- workers
Container
Dedicated Host Worker[] - (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[ContainerDedicated Host Life Cycle] - (List) A nested block describes the lifecycle state of the dedicated host.
- resources
Sequence[Container
Dedicated Host Resource] - (List) A nested block describes the resources of the dedicated host.
- workers
Sequence[Container
Dedicated Host Worker] - (List) A nested block describes the workers associated with this dedicated host.
- host
Id String - (String) The unique identifier of the dedicated host.
- id String
- The provider-assigned unique ID for this managed resource.
- life
Cycles 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.
- Container
Dedicated stringHost Id - Flavor string
- The flavor of the dedicated host.
- Host
Id string - (String) The unique identifier of the dedicated host.
- Host
Pool stringId - The id of the dedicated host pool the dedicated host is associated with.
- Life
Cycles List<ContainerDedicated Host Life Cycle> - (List) A nested block describes the lifecycle state of the dedicated host.
- Placement
Enabled bool - Enables/disables placement on the dedicated host.
- Resources
List<Container
Dedicated Host Resource> - (List) A nested block describes the resources of the dedicated host.
- Timeouts
Container
Dedicated Host Timeouts - Workers
List<Container
Dedicated Host Worker> - (List) A nested block describes the workers associated with this dedicated host.
- Zone string
- The zone of the dedicated host.
- Container
Dedicated stringHost Id - Flavor string
- The flavor of the dedicated host.
- Host
Id string - (String) The unique identifier of the dedicated host.
- Host
Pool stringId - The id of the dedicated host pool the dedicated host is associated with.
- Life
Cycles []ContainerDedicated Host Life Cycle Args - (List) A nested block describes the lifecycle state of the dedicated host.
- Placement
Enabled bool - Enables/disables placement on the dedicated host.
- Resources
[]Container
Dedicated Host Resource Args - (List) A nested block describes the resources of the dedicated host.
- Timeouts
Container
Dedicated Host Timeouts Args - Workers
[]Container
Dedicated Host Worker Args - (List) A nested block describes the workers associated with this dedicated host.
- Zone string
- The zone of the dedicated host.
- container
Dedicated StringHost Id - flavor String
- The flavor of the dedicated host.
- host
Id String - (String) The unique identifier of the dedicated host.
- host
Pool StringId - The id of the dedicated host pool the dedicated host is associated with.
- life
Cycles List<ContainerDedicated Host Life Cycle> - (List) A nested block describes the lifecycle state of the dedicated host.
- placement
Enabled Boolean - Enables/disables placement on the dedicated host.
- resources
List<Container
Dedicated Host Resource> - (List) A nested block describes the resources of the dedicated host.
- timeouts
Container
Dedicated Host Timeouts - workers
List<Container
Dedicated Host Worker> - (List) A nested block describes the workers associated with this dedicated host.
- zone String
- The zone of the dedicated host.
- container
Dedicated stringHost Id - flavor string
- The flavor of the dedicated host.
- host
Id string - (String) The unique identifier of the dedicated host.
- host
Pool stringId - The id of the dedicated host pool the dedicated host is associated with.
- life
Cycles ContainerDedicated Host Life Cycle[] - (List) A nested block describes the lifecycle state of the dedicated host.
- placement
Enabled boolean - Enables/disables placement on the dedicated host.
- resources
Container
Dedicated Host Resource[] - (List) A nested block describes the resources of the dedicated host.
- timeouts
Container
Dedicated Host Timeouts - workers
Container
Dedicated Host Worker[] - (List) A nested block describes the workers associated with this dedicated host.
- zone string
- The zone of the dedicated host.
- container_
dedicated_ strhost_ id - flavor str
- The flavor of the dedicated host.
- host_
id str - (String) The unique identifier of the dedicated host.
- host_
pool_ strid - The id of the dedicated host pool the dedicated host is associated with.
- life_
cycles Sequence[ContainerDedicated Host Life Cycle Args] - (List) A nested block describes the lifecycle state of the dedicated host.
- placement_
enabled bool - Enables/disables placement on the dedicated host.
- resources
Sequence[Container
Dedicated Host Resource Args] - (List) A nested block describes the resources of the dedicated host.
- timeouts
Container
Dedicated Host Timeouts Args - workers
Sequence[Container
Dedicated Host Worker Args] - (List) A nested block describes the workers associated with this dedicated host.
- zone str
- The zone of the dedicated host.
- container
Dedicated StringHost Id - flavor String
- The flavor of the dedicated host.
- host
Id String - (String) The unique identifier of the dedicated host.
- host
Pool StringId - The id of the dedicated host pool the dedicated host is associated with.
- life
Cycles List<Property Map> - (List) A nested block describes the lifecycle state of the dedicated host.
- placement
Enabled 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
- Actual
State This property is required. string - (String) The actual state of the dedicated host.
- Desired
State 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.
- Message
Date This property is required. string - (String) The date of the information message.
- Message
Details This property is required. string - (String) Additional details of the information message.
- Message
Details Date This property is required. string - (String) The date of the additional details.
- Actual
State This property is required. string - (String) The actual state of the dedicated host.
- Desired
State 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.
- Message
Date This property is required. string - (String) The date of the information message.
- Message
Details This property is required. string - (String) Additional details of the information message.
- Message
Details Date This property is required. string - (String) The date of the additional details.
- actual
State This property is required. String - (String) The actual state of the dedicated host.
- desired
State 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.
- message
Date This property is required. String - (String) The date of the information message.
- message
Details This property is required. String - (String) Additional details of the information message.
- message
Details Date This property is required. String - (String) The date of the additional details.
- actual
State This property is required. string - (String) The actual state of the dedicated host.
- desired
State 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.
- message
Date This property is required. string - (String) The date of the information message.
- message
Details This property is required. string - (String) Additional details of the information message.
- message
Details Date 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.
- actual
State This property is required. String - (String) The actual state of the dedicated host.
- desired
State 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.
- message
Date This property is required. String - (String) The date of the information message.
- message
Details This property is required. String - (String) Additional details of the information message.
- message
Details Date This property is required. String - (String) The date of the additional details.
ContainerDedicatedHostResource, ContainerDedicatedHostResourceArgs
- Capacities
This property is required. List<ContainerDedicated Host Resource Capacity> - (List) A nested block describes the capacity of the dedicated host.
Nested scheme for
capacity
: - Consumeds
This property is required. List<ContainerDedicated Host Resource Consumed> - (List) A nested block describes the consumed resources of the dedicated host.
Nested scheme for
capacity
:
- Capacities
This property is required. []ContainerDedicated Host Resource Capacity - (List) A nested block describes the capacity of the dedicated host.
Nested scheme for
capacity
: - Consumeds
This property is required. []ContainerDedicated Host Resource Consumed - (List) A nested block describes the consumed resources of the dedicated host.
Nested scheme for
capacity
:
- capacities
This property is required. List<ContainerDedicated Host Resource Capacity> - (List) A nested block describes the capacity of the dedicated host.
Nested scheme for
capacity
: - consumeds
This property is required. List<ContainerDedicated Host Resource Consumed> - (List) A nested block describes the consumed resources of the dedicated host.
Nested scheme for
capacity
:
- capacities
This property is required. ContainerDedicated Host Resource Capacity[] - (List) A nested block describes the capacity of the dedicated host.
Nested scheme for
capacity
: - consumeds
This property is required. ContainerDedicated Host Resource Consumed[] - (List) A nested block describes the consumed resources of the dedicated host.
Nested scheme for
capacity
:
- capacities
This property is required. Sequence[ContainerDedicated Host Resource Capacity] - (List) A nested block describes the capacity of the dedicated host.
Nested scheme for
capacity
: - consumeds
This property is required. Sequence[ContainerDedicated Host Resource Consumed] - (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
- Memory
Bytes 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.
- Memory
Bytes 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.
- memory
Bytes 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.
- memory
Bytes 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.
- memory
Bytes 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
- Memory
Bytes 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.
- Memory
Bytes 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.
- memory
Bytes 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.
- memory
Bytes 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.
- memory
Bytes 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
ContainerDedicatedHostWorker, ContainerDedicatedHostWorkerArgs
- Cluster
Id 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.
- Worker
Id This property is required. string - (String) The ID of the worker.
- Worker
Pool Id This property is required. string - (String) The ID of the worker pool the worker is associated with.
- Cluster
Id 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.
- Worker
Id This property is required. string - (String) The ID of the worker.
- Worker
Pool Id This property is required. string - (String) The ID of the worker pool the worker is associated with.
- cluster
Id 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.
- worker
Id This property is required. String - (String) The ID of the worker.
- worker
Pool Id This property is required. String - (String) The ID of the worker pool the worker is associated with.
- cluster
Id 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.
- worker
Id This property is required. string - (String) The ID of the worker.
- worker
Pool Id 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.
- cluster
Id 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.
- worker
Id This property is required. String - (String) The ID of the worker.
- worker
Pool Id 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
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.