1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. DehHostV1
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.DehHostV1

Explore with Pulumi AI

Up-to-date reference of API arguments for DEH host you can get at documentation portal

Allocates a Dedicated Host to a tenant and set minimum required parameters for this Dedicated Host.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const dehHost = new opentelekomcloud.DehHostV1("dehHost", {
    autoPlacement: "on",
    availabilityZone: "eu-de-02",
    hostType: "h1",
    tags: {
        muh: "kuh",
    },
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

deh_host = opentelekomcloud.DehHostV1("dehHost",
    auto_placement="on",
    availability_zone="eu-de-02",
    host_type="h1",
    tags={
        "muh": "kuh",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opentelekomcloud.NewDehHostV1(ctx, "dehHost", &opentelekomcloud.DehHostV1Args{
			AutoPlacement:    pulumi.String("on"),
			AvailabilityZone: pulumi.String("eu-de-02"),
			HostType:         pulumi.String("h1"),
			Tags: pulumi.StringMap{
				"muh": pulumi.String("kuh"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var dehHost = new Opentelekomcloud.DehHostV1("dehHost", new()
    {
        AutoPlacement = "on",
        AvailabilityZone = "eu-de-02",
        HostType = "h1",
        Tags = 
        {
            { "muh", "kuh" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DehHostV1;
import com.pulumi.opentelekomcloud.DehHostV1Args;
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 dehHost = new DehHostV1("dehHost", DehHostV1Args.builder()
            .autoPlacement("on")
            .availabilityZone("eu-de-02")
            .hostType("h1")
            .tags(Map.of("muh", "kuh"))
            .build());

    }
}
Copy
resources:
  dehHost:
    type: opentelekomcloud:DehHostV1
    properties:
      autoPlacement: on
      availabilityZone: eu-de-02
      hostType: h1
      tags:
        muh: kuh
Copy

Create DehHostV1 Resource

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

Constructor syntax

new DehHostV1(name: string, args: DehHostV1Args, opts?: CustomResourceOptions);
@overload
def DehHostV1(resource_name: str,
              args: DehHostV1Args,
              opts: Optional[ResourceOptions] = None)

@overload
def DehHostV1(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              host_type: Optional[str] = None,
              availability_zone: Optional[str] = None,
              host_type_name: Optional[str] = None,
              memory: Optional[float] = None,
              available_vcpus: Optional[float] = None,
              cores: Optional[float] = None,
              deh_host_v1_id: Optional[str] = None,
              available_instance_capacities: Optional[Sequence[DehHostV1AvailableInstanceCapacityArgs]] = None,
              auto_placement: Optional[str] = None,
              instance_total: Optional[float] = None,
              instance_uuids: Optional[Sequence[str]] = None,
              available_memory: Optional[float] = None,
              name: Optional[str] = None,
              region: Optional[str] = None,
              sockets: Optional[float] = None,
              status: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None,
              timeouts: Optional[DehHostV1TimeoutsArgs] = None,
              vcpus: Optional[float] = None)
func NewDehHostV1(ctx *Context, name string, args DehHostV1Args, opts ...ResourceOption) (*DehHostV1, error)
public DehHostV1(string name, DehHostV1Args args, CustomResourceOptions? opts = null)
public DehHostV1(String name, DehHostV1Args args)
public DehHostV1(String name, DehHostV1Args args, CustomResourceOptions options)
type: opentelekomcloud:DehHostV1
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. DehHostV1Args
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. DehHostV1Args
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. DehHostV1Args
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. DehHostV1Args
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. DehHostV1Args
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 dehHostV1Resource = new Opentelekomcloud.DehHostV1("dehHostV1Resource", new()
{
    HostType = "string",
    AvailabilityZone = "string",
    HostTypeName = "string",
    Memory = 0,
    AvailableVcpus = 0,
    Cores = 0,
    DehHostV1Id = "string",
    AvailableInstanceCapacities = new[]
    {
        new Opentelekomcloud.Inputs.DehHostV1AvailableInstanceCapacityArgs
        {
            Flavor = "string",
        },
    },
    AutoPlacement = "string",
    InstanceTotal = 0,
    InstanceUuids = new[]
    {
        "string",
    },
    AvailableMemory = 0,
    Name = "string",
    Region = "string",
    Sockets = 0,
    Status = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Opentelekomcloud.Inputs.DehHostV1TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
    Vcpus = 0,
});
Copy
example, err := opentelekomcloud.NewDehHostV1(ctx, "dehHostV1Resource", &opentelekomcloud.DehHostV1Args{
HostType: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
HostTypeName: pulumi.String("string"),
Memory: pulumi.Float64(0),
AvailableVcpus: pulumi.Float64(0),
Cores: pulumi.Float64(0),
DehHostV1Id: pulumi.String("string"),
AvailableInstanceCapacities: .DehHostV1AvailableInstanceCapacityArray{
&.DehHostV1AvailableInstanceCapacityArgs{
Flavor: pulumi.String("string"),
},
},
AutoPlacement: pulumi.String("string"),
InstanceTotal: pulumi.Float64(0),
InstanceUuids: pulumi.StringArray{
pulumi.String("string"),
},
AvailableMemory: pulumi.Float64(0),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Sockets: pulumi.Float64(0),
Status: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &.DehHostV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Vcpus: pulumi.Float64(0),
})
Copy
var dehHostV1Resource = new DehHostV1("dehHostV1Resource", DehHostV1Args.builder()
    .hostType("string")
    .availabilityZone("string")
    .hostTypeName("string")
    .memory(0)
    .availableVcpus(0)
    .cores(0)
    .dehHostV1Id("string")
    .availableInstanceCapacities(DehHostV1AvailableInstanceCapacityArgs.builder()
        .flavor("string")
        .build())
    .autoPlacement("string")
    .instanceTotal(0)
    .instanceUuids("string")
    .availableMemory(0)
    .name("string")
    .region("string")
    .sockets(0)
    .status("string")
    .tags(Map.of("string", "string"))
    .timeouts(DehHostV1TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .vcpus(0)
    .build());
Copy
deh_host_v1_resource = opentelekomcloud.DehHostV1("dehHostV1Resource",
    host_type="string",
    availability_zone="string",
    host_type_name="string",
    memory=0,
    available_vcpus=0,
    cores=0,
    deh_host_v1_id="string",
    available_instance_capacities=[{
        "flavor": "string",
    }],
    auto_placement="string",
    instance_total=0,
    instance_uuids=["string"],
    available_memory=0,
    name="string",
    region="string",
    sockets=0,
    status="string",
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
    },
    vcpus=0)
Copy
const dehHostV1Resource = new opentelekomcloud.DehHostV1("dehHostV1Resource", {
    hostType: "string",
    availabilityZone: "string",
    hostTypeName: "string",
    memory: 0,
    availableVcpus: 0,
    cores: 0,
    dehHostV1Id: "string",
    availableInstanceCapacities: [{
        flavor: "string",
    }],
    autoPlacement: "string",
    instanceTotal: 0,
    instanceUuids: ["string"],
    availableMemory: 0,
    name: "string",
    region: "string",
    sockets: 0,
    status: "string",
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
    },
    vcpus: 0,
});
Copy
type: opentelekomcloud:DehHostV1
properties:
    autoPlacement: string
    availabilityZone: string
    availableInstanceCapacities:
        - flavor: string
    availableMemory: 0
    availableVcpus: 0
    cores: 0
    dehHostV1Id: string
    hostType: string
    hostTypeName: string
    instanceTotal: 0
    instanceUuids:
        - string
    memory: 0
    name: string
    region: string
    sockets: 0
    status: string
    tags:
        string: string
    timeouts:
        create: string
        delete: string
    vcpus: 0
Copy

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

AvailabilityZone This property is required. string
The Availability Zone to which the Dedicated Host belongs.
HostType This property is required. string
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
AutoPlacement string
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
AvailableInstanceCapacities List<DehHostV1AvailableInstanceCapacity>
The VM flavors placed on the Dedicated Host.
AvailableMemory double
The size of available memory for the Dedicated Host.
AvailableVcpus double
The number of available vCPUs for the Dedicated Host.
Cores double
The number of host physical cores.
DehHostV1Id string
HostTypeName string
The name of the Dedicated Host type.
InstanceTotal double
The number of the placed VMs.
InstanceUuids List<string>
The VMs started on the Dedicated Host.
Memory double
The size of host physical memory (MB).
Name string
The name of the Dedicated Host.
Region string
Sockets double
The number of host physical sockets.
Status string
Specifies the Dedicated Host status.
Tags Dictionary<string, string>
Tags key/value pairs to associate with Host.
Timeouts DehHostV1Timeouts
Vcpus double
The number of host vCPUs.
AvailabilityZone This property is required. string
The Availability Zone to which the Dedicated Host belongs.
HostType This property is required. string
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
AutoPlacement string
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
AvailableInstanceCapacities []DehHostV1AvailableInstanceCapacityArgs
The VM flavors placed on the Dedicated Host.
AvailableMemory float64
The size of available memory for the Dedicated Host.
AvailableVcpus float64
The number of available vCPUs for the Dedicated Host.
Cores float64
The number of host physical cores.
DehHostV1Id string
HostTypeName string
The name of the Dedicated Host type.
InstanceTotal float64
The number of the placed VMs.
InstanceUuids []string
The VMs started on the Dedicated Host.
Memory float64
The size of host physical memory (MB).
Name string
The name of the Dedicated Host.
Region string
Sockets float64
The number of host physical sockets.
Status string
Specifies the Dedicated Host status.
Tags map[string]string
Tags key/value pairs to associate with Host.
Timeouts DehHostV1TimeoutsArgs
Vcpus float64
The number of host vCPUs.
availabilityZone This property is required. String
The Availability Zone to which the Dedicated Host belongs.
hostType This property is required. String
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
autoPlacement String
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
availableInstanceCapacities List<DehHostV1AvailableInstanceCapacity>
The VM flavors placed on the Dedicated Host.
availableMemory Double
The size of available memory for the Dedicated Host.
availableVcpus Double
The number of available vCPUs for the Dedicated Host.
cores Double
The number of host physical cores.
dehHostV1Id String
hostTypeName String
The name of the Dedicated Host type.
instanceTotal Double
The number of the placed VMs.
instanceUuids List<String>
The VMs started on the Dedicated Host.
memory Double
The size of host physical memory (MB).
name String
The name of the Dedicated Host.
region String
sockets Double
The number of host physical sockets.
status String
Specifies the Dedicated Host status.
tags Map<String,String>
Tags key/value pairs to associate with Host.
timeouts DehHostV1Timeouts
vcpus Double
The number of host vCPUs.
availabilityZone This property is required. string
The Availability Zone to which the Dedicated Host belongs.
hostType This property is required. string
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
autoPlacement string
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
availableInstanceCapacities DehHostV1AvailableInstanceCapacity[]
The VM flavors placed on the Dedicated Host.
availableMemory number
The size of available memory for the Dedicated Host.
availableVcpus number
The number of available vCPUs for the Dedicated Host.
cores number
The number of host physical cores.
dehHostV1Id string
hostTypeName string
The name of the Dedicated Host type.
instanceTotal number
The number of the placed VMs.
instanceUuids string[]
The VMs started on the Dedicated Host.
memory number
The size of host physical memory (MB).
name string
The name of the Dedicated Host.
region string
sockets number
The number of host physical sockets.
status string
Specifies the Dedicated Host status.
tags {[key: string]: string}
Tags key/value pairs to associate with Host.
timeouts DehHostV1Timeouts
vcpus number
The number of host vCPUs.
availability_zone This property is required. str
The Availability Zone to which the Dedicated Host belongs.
host_type This property is required. str
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
auto_placement str
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
available_instance_capacities Sequence[DehHostV1AvailableInstanceCapacityArgs]
The VM flavors placed on the Dedicated Host.
available_memory float
The size of available memory for the Dedicated Host.
available_vcpus float
The number of available vCPUs for the Dedicated Host.
cores float
The number of host physical cores.
deh_host_v1_id str
host_type_name str
The name of the Dedicated Host type.
instance_total float
The number of the placed VMs.
instance_uuids Sequence[str]
The VMs started on the Dedicated Host.
memory float
The size of host physical memory (MB).
name str
The name of the Dedicated Host.
region str
sockets float
The number of host physical sockets.
status str
Specifies the Dedicated Host status.
tags Mapping[str, str]
Tags key/value pairs to associate with Host.
timeouts DehHostV1TimeoutsArgs
vcpus float
The number of host vCPUs.
availabilityZone This property is required. String
The Availability Zone to which the Dedicated Host belongs.
hostType This property is required. String
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
autoPlacement String
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
availableInstanceCapacities List<Property Map>
The VM flavors placed on the Dedicated Host.
availableMemory Number
The size of available memory for the Dedicated Host.
availableVcpus Number
The number of available vCPUs for the Dedicated Host.
cores Number
The number of host physical cores.
dehHostV1Id String
hostTypeName String
The name of the Dedicated Host type.
instanceTotal Number
The number of the placed VMs.
instanceUuids List<String>
The VMs started on the Dedicated Host.
memory Number
The size of host physical memory (MB).
name String
The name of the Dedicated Host.
region String
sockets Number
The number of host physical sockets.
status String
Specifies the Dedicated Host status.
tags Map<String>
Tags key/value pairs to associate with Host.
timeouts Property Map
vcpus Number
The number of host vCPUs.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing DehHostV1 Resource

Get an existing DehHostV1 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?: DehHostV1State, opts?: CustomResourceOptions): DehHostV1
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_placement: Optional[str] = None,
        availability_zone: Optional[str] = None,
        available_instance_capacities: Optional[Sequence[DehHostV1AvailableInstanceCapacityArgs]] = None,
        available_memory: Optional[float] = None,
        available_vcpus: Optional[float] = None,
        cores: Optional[float] = None,
        deh_host_v1_id: Optional[str] = None,
        host_type: Optional[str] = None,
        host_type_name: Optional[str] = None,
        instance_total: Optional[float] = None,
        instance_uuids: Optional[Sequence[str]] = None,
        memory: Optional[float] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        sockets: Optional[float] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        timeouts: Optional[DehHostV1TimeoutsArgs] = None,
        vcpus: Optional[float] = None) -> DehHostV1
func GetDehHostV1(ctx *Context, name string, id IDInput, state *DehHostV1State, opts ...ResourceOption) (*DehHostV1, error)
public static DehHostV1 Get(string name, Input<string> id, DehHostV1State? state, CustomResourceOptions? opts = null)
public static DehHostV1 get(String name, Output<String> id, DehHostV1State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:DehHostV1    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:
AutoPlacement string
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
AvailabilityZone string
The Availability Zone to which the Dedicated Host belongs.
AvailableInstanceCapacities List<DehHostV1AvailableInstanceCapacity>
The VM flavors placed on the Dedicated Host.
AvailableMemory double
The size of available memory for the Dedicated Host.
AvailableVcpus double
The number of available vCPUs for the Dedicated Host.
Cores double
The number of host physical cores.
DehHostV1Id string
HostType string
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
HostTypeName string
The name of the Dedicated Host type.
InstanceTotal double
The number of the placed VMs.
InstanceUuids List<string>
The VMs started on the Dedicated Host.
Memory double
The size of host physical memory (MB).
Name string
The name of the Dedicated Host.
Region string
Sockets double
The number of host physical sockets.
Status string
Specifies the Dedicated Host status.
Tags Dictionary<string, string>
Tags key/value pairs to associate with Host.
Timeouts DehHostV1Timeouts
Vcpus double
The number of host vCPUs.
AutoPlacement string
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
AvailabilityZone string
The Availability Zone to which the Dedicated Host belongs.
AvailableInstanceCapacities []DehHostV1AvailableInstanceCapacityArgs
The VM flavors placed on the Dedicated Host.
AvailableMemory float64
The size of available memory for the Dedicated Host.
AvailableVcpus float64
The number of available vCPUs for the Dedicated Host.
Cores float64
The number of host physical cores.
DehHostV1Id string
HostType string
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
HostTypeName string
The name of the Dedicated Host type.
InstanceTotal float64
The number of the placed VMs.
InstanceUuids []string
The VMs started on the Dedicated Host.
Memory float64
The size of host physical memory (MB).
Name string
The name of the Dedicated Host.
Region string
Sockets float64
The number of host physical sockets.
Status string
Specifies the Dedicated Host status.
Tags map[string]string
Tags key/value pairs to associate with Host.
Timeouts DehHostV1TimeoutsArgs
Vcpus float64
The number of host vCPUs.
autoPlacement String
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
availabilityZone String
The Availability Zone to which the Dedicated Host belongs.
availableInstanceCapacities List<DehHostV1AvailableInstanceCapacity>
The VM flavors placed on the Dedicated Host.
availableMemory Double
The size of available memory for the Dedicated Host.
availableVcpus Double
The number of available vCPUs for the Dedicated Host.
cores Double
The number of host physical cores.
dehHostV1Id String
hostType String
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
hostTypeName String
The name of the Dedicated Host type.
instanceTotal Double
The number of the placed VMs.
instanceUuids List<String>
The VMs started on the Dedicated Host.
memory Double
The size of host physical memory (MB).
name String
The name of the Dedicated Host.
region String
sockets Double
The number of host physical sockets.
status String
Specifies the Dedicated Host status.
tags Map<String,String>
Tags key/value pairs to associate with Host.
timeouts DehHostV1Timeouts
vcpus Double
The number of host vCPUs.
autoPlacement string
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
availabilityZone string
The Availability Zone to which the Dedicated Host belongs.
availableInstanceCapacities DehHostV1AvailableInstanceCapacity[]
The VM flavors placed on the Dedicated Host.
availableMemory number
The size of available memory for the Dedicated Host.
availableVcpus number
The number of available vCPUs for the Dedicated Host.
cores number
The number of host physical cores.
dehHostV1Id string
hostType string
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
hostTypeName string
The name of the Dedicated Host type.
instanceTotal number
The number of the placed VMs.
instanceUuids string[]
The VMs started on the Dedicated Host.
memory number
The size of host physical memory (MB).
name string
The name of the Dedicated Host.
region string
sockets number
The number of host physical sockets.
status string
Specifies the Dedicated Host status.
tags {[key: string]: string}
Tags key/value pairs to associate with Host.
timeouts DehHostV1Timeouts
vcpus number
The number of host vCPUs.
auto_placement str
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
availability_zone str
The Availability Zone to which the Dedicated Host belongs.
available_instance_capacities Sequence[DehHostV1AvailableInstanceCapacityArgs]
The VM flavors placed on the Dedicated Host.
available_memory float
The size of available memory for the Dedicated Host.
available_vcpus float
The number of available vCPUs for the Dedicated Host.
cores float
The number of host physical cores.
deh_host_v1_id str
host_type str
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
host_type_name str
The name of the Dedicated Host type.
instance_total float
The number of the placed VMs.
instance_uuids Sequence[str]
The VMs started on the Dedicated Host.
memory float
The size of host physical memory (MB).
name str
The name of the Dedicated Host.
region str
sockets float
The number of host physical sockets.
status str
Specifies the Dedicated Host status.
tags Mapping[str, str]
Tags key/value pairs to associate with Host.
timeouts DehHostV1TimeoutsArgs
vcpus float
The number of host vCPUs.
autoPlacement String
Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is on.
availabilityZone String
The Availability Zone to which the Dedicated Host belongs.
availableInstanceCapacities List<Property Map>
The VM flavors placed on the Dedicated Host.
availableMemory Number
The size of available memory for the Dedicated Host.
availableVcpus Number
The number of available vCPUs for the Dedicated Host.
cores Number
The number of host physical cores.
dehHostV1Id String
hostType String
The Dedicated Host type. Expected values are:

  • in eu-de: c4, s2-medium, m3, c3 and s2.
  • in eu-nl: i3_pro, i3, m4, s3 and c4.
  • in eu-ch2: s3.
hostTypeName String
The name of the Dedicated Host type.
instanceTotal Number
The number of the placed VMs.
instanceUuids List<String>
The VMs started on the Dedicated Host.
memory Number
The size of host physical memory (MB).
name String
The name of the Dedicated Host.
region String
sockets Number
The number of host physical sockets.
status String
Specifies the Dedicated Host status.
tags Map<String>
Tags key/value pairs to associate with Host.
timeouts Property Map
vcpus Number
The number of host vCPUs.

Supporting Types

DehHostV1AvailableInstanceCapacity
, DehHostV1AvailableInstanceCapacityArgs

Flavor string
Flavor string
flavor String
flavor string
flavor str
flavor String

DehHostV1Timeouts
, DehHostV1TimeoutsArgs

Create string
Delete string
Create string
Delete string
create String
delete String
create string
delete string
create str
delete str
create String
delete String

Import

DeH can be imported using the dedicated_host_id, e.g.

$ pulumi import opentelekomcloud:index/dehHostV1:DehHostV1 deh_host 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
Copy

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

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.