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",
},
});
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",
})
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
})
}
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" },
},
});
});
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());
}
}
resources:
dehHost:
type: opentelekomcloud:DehHostV1
properties:
autoPlacement: on
availabilityZone: eu-de-02
hostType: h1
tags:
muh: kuh
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 string
- The unique name of the resource.
- args DehHostV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args DehHostV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DehHostV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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: opentelekomcloud.DehHostV1AvailableInstanceCapacityArray{
&opentelekomcloud.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: &opentelekomcloud.DehHostV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Vcpus: pulumi.Float64(0),
})
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());
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)
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,
});
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
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:
- Availability
Zone string - The Availability Zone to which the Dedicated Host belongs.
- Host
Type string - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- Auto
Placement string - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - Available
Instance List<DehCapacities Host V1Available Instance Capacity> - The VM flavors placed on the Dedicated Host.
- Available
Memory double - The size of available memory for the Dedicated Host.
- Available
Vcpus double - The number of available vCPUs for the Dedicated Host.
- Cores double
- The number of host physical cores.
- Deh
Host stringV1Id - Host
Type stringName - The name of the Dedicated Host type.
- Instance
Total double - The number of the placed VMs.
- Instance
Uuids 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.
- Dictionary<string, string>
- Tags key/value pairs to associate with Host.
- Timeouts
Deh
Host V1Timeouts - Vcpus double
- The number of host vCPUs.
- Availability
Zone string - The Availability Zone to which the Dedicated Host belongs.
- Host
Type string - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- Auto
Placement string - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - Available
Instance []DehCapacities Host V1Available Instance Capacity Args - The VM flavors placed on the Dedicated Host.
- Available
Memory float64 - The size of available memory for the Dedicated Host.
- Available
Vcpus float64 - The number of available vCPUs for the Dedicated Host.
- Cores float64
- The number of host physical cores.
- Deh
Host stringV1Id - Host
Type stringName - The name of the Dedicated Host type.
- Instance
Total float64 - The number of the placed VMs.
- Instance
Uuids []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.
- map[string]string
- Tags key/value pairs to associate with Host.
- Timeouts
Deh
Host V1Timeouts Args - Vcpus float64
- The number of host vCPUs.
- availability
Zone String - The Availability Zone to which the Dedicated Host belongs.
- host
Type String - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- auto
Placement String - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - available
Instance List<DehCapacities Host V1Available Instance Capacity> - The VM flavors placed on the Dedicated Host.
- available
Memory Double - The size of available memory for the Dedicated Host.
- available
Vcpus Double - The number of available vCPUs for the Dedicated Host.
- cores Double
- The number of host physical cores.
- deh
Host StringV1Id - host
Type StringName - The name of the Dedicated Host type.
- instance
Total Double - The number of the placed VMs.
- instance
Uuids 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.
- Map<String,String>
- Tags key/value pairs to associate with Host.
- timeouts
Deh
Host V1Timeouts - vcpus Double
- The number of host vCPUs.
- availability
Zone string - The Availability Zone to which the Dedicated Host belongs.
- host
Type string - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- auto
Placement string - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - available
Instance DehCapacities Host V1Available Instance Capacity[] - The VM flavors placed on the Dedicated Host.
- available
Memory number - The size of available memory for the Dedicated Host.
- available
Vcpus number - The number of available vCPUs for the Dedicated Host.
- cores number
- The number of host physical cores.
- deh
Host stringV1Id - host
Type stringName - The name of the Dedicated Host type.
- instance
Total number - The number of the placed VMs.
- instance
Uuids 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.
- {[key: string]: string}
- Tags key/value pairs to associate with Host.
- timeouts
Deh
Host V1Timeouts - vcpus number
- The number of host vCPUs.
- availability_
zone str - The Availability Zone to which the Dedicated Host belongs.
- host_
type str - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- auto_
placement str - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - available_
instance_ Sequence[Dehcapacities Host V1Available Instance Capacity Args] - 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_ strv1_ id - host_
type_ strname - 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.
- Mapping[str, str]
- Tags key/value pairs to associate with Host.
- timeouts
Deh
Host V1Timeouts Args - vcpus float
- The number of host vCPUs.
- availability
Zone String - The Availability Zone to which the Dedicated Host belongs.
- host
Type String - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- auto
Placement String - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - available
Instance List<Property Map>Capacities - The VM flavors placed on the Dedicated Host.
- available
Memory Number - The size of available memory for the Dedicated Host.
- available
Vcpus Number - The number of available vCPUs for the Dedicated Host.
- cores Number
- The number of host physical cores.
- deh
Host StringV1Id - host
Type StringName - The name of the Dedicated Host type.
- instance
Total Number - The number of the placed VMs.
- instance
Uuids 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.
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Placement string - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - Availability
Zone string - The Availability Zone to which the Dedicated Host belongs.
- Available
Instance List<DehCapacities Host V1Available Instance Capacity> - The VM flavors placed on the Dedicated Host.
- Available
Memory double - The size of available memory for the Dedicated Host.
- Available
Vcpus double - The number of available vCPUs for the Dedicated Host.
- Cores double
- The number of host physical cores.
- Deh
Host stringV1Id - Host
Type string - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- Host
Type stringName - The name of the Dedicated Host type.
- Instance
Total double - The number of the placed VMs.
- Instance
Uuids 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.
- Dictionary<string, string>
- Tags key/value pairs to associate with Host.
- Timeouts
Deh
Host V1Timeouts - Vcpus double
- The number of host vCPUs.
- Auto
Placement string - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - Availability
Zone string - The Availability Zone to which the Dedicated Host belongs.
- Available
Instance []DehCapacities Host V1Available Instance Capacity Args - The VM flavors placed on the Dedicated Host.
- Available
Memory float64 - The size of available memory for the Dedicated Host.
- Available
Vcpus float64 - The number of available vCPUs for the Dedicated Host.
- Cores float64
- The number of host physical cores.
- Deh
Host stringV1Id - Host
Type string - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- Host
Type stringName - The name of the Dedicated Host type.
- Instance
Total float64 - The number of the placed VMs.
- Instance
Uuids []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.
- map[string]string
- Tags key/value pairs to associate with Host.
- Timeouts
Deh
Host V1Timeouts Args - Vcpus float64
- The number of host vCPUs.
- auto
Placement String - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - availability
Zone String - The Availability Zone to which the Dedicated Host belongs.
- available
Instance List<DehCapacities Host V1Available Instance Capacity> - The VM flavors placed on the Dedicated Host.
- available
Memory Double - The size of available memory for the Dedicated Host.
- available
Vcpus Double - The number of available vCPUs for the Dedicated Host.
- cores Double
- The number of host physical cores.
- deh
Host StringV1Id - host
Type String - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- host
Type StringName - The name of the Dedicated Host type.
- instance
Total Double - The number of the placed VMs.
- instance
Uuids 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.
- Map<String,String>
- Tags key/value pairs to associate with Host.
- timeouts
Deh
Host V1Timeouts - vcpus Double
- The number of host vCPUs.
- auto
Placement string - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - availability
Zone string - The Availability Zone to which the Dedicated Host belongs.
- available
Instance DehCapacities Host V1Available Instance Capacity[] - The VM flavors placed on the Dedicated Host.
- available
Memory number - The size of available memory for the Dedicated Host.
- available
Vcpus number - The number of available vCPUs for the Dedicated Host.
- cores number
- The number of host physical cores.
- deh
Host stringV1Id - host
Type string - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- host
Type stringName - The name of the Dedicated Host type.
- instance
Total number - The number of the placed VMs.
- instance
Uuids 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.
- {[key: string]: string}
- Tags key/value pairs to associate with Host.
- timeouts
Deh
Host V1Timeouts - 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_ Sequence[Dehcapacities Host V1Available Instance Capacity Args] - 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_ strv1_ id - host_
type str - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- host_
type_ strname - 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.
- Mapping[str, str]
- Tags key/value pairs to associate with Host.
- timeouts
Deh
Host V1Timeouts Args - vcpus float
- The number of host vCPUs.
- auto
Placement String - Allows a instance to be automatically placed onto the available Dedicated Hosts. The default value is
on
. - availability
Zone String - The Availability Zone to which the Dedicated Host belongs.
- available
Instance List<Property Map>Capacities - The VM flavors placed on the Dedicated Host.
- available
Memory Number - The size of available memory for the Dedicated Host.
- available
Vcpus Number - The number of available vCPUs for the Dedicated Host.
- cores Number
- The number of host physical cores.
- deh
Host StringV1Id - host
Type String - The Dedicated Host type.
Expected values are:
- in
eu-de
:c4
,s2-medium
,m3
,c3
ands2
. - in
eu-nl
:i3_pro
,i3
,m4
,s3
andc4
. - in
eu-ch2
:s3
.
- in
- host
Type StringName - The name of the Dedicated Host type.
- instance
Total Number - The number of the placed VMs.
- instance
Uuids 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.
- 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
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
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.