DedicatedHost

class DedicatedHost : KotlinCustomResource

Import

Ecs dedicated host can be imported using the id, e.g.

$ pulumi import alicloud:ecs/dedicatedHost:DedicatedHost default dh-2zedmxxxx

Properties

Link copied to clipboard

The policy used to migrate the instances from the dedicated host when the dedicated host fails or needs to be repaired online. Valid values: Migrate, Stop.

Link copied to clipboard
val autoPlacement: Output<String>?

Specifies whether to add the dedicated host to the resource pool for automatic deployment. If you do not specify the DedicatedHostId parameter when you create an instance on a dedicated host, Alibaba Cloud automatically selects a dedicated host from the resource pool to host the instance. Valid values: on, off. Default: on.

Link copied to clipboard
val autoReleaseTime: Output<String>

The automatic release time of the dedicated host. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.

Link copied to clipboard
val autoRenew: Output<Boolean>?

Specifies whether to automatically renew the subscription dedicated host.

Link copied to clipboard
val autoRenewPeriod: Output<Int>?

The auto-renewal period of the dedicated host. Unit: months. Valid values: 1, 2, 3, 6, and 12. takes effect and is required only when the AutoRenew parameter is set to true.

Link copied to clipboard

CPU oversold ratio. Only custom specifications g6s, c6s, r6s support setting the CPU oversold ratio.

Link copied to clipboard

The dedicated host cluster ID to which the dedicated host belongs.

Link copied to clipboard

The name of the dedicated host. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).

Link copied to clipboard

The type of the dedicated host. You can call the DescribeDedicatedHostTypes operation to obtain the most recent list of dedicated host types.

Link copied to clipboard
val description: Output<String>?

The description of the dedicated host. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

Link copied to clipboard
val detailFee: Output<Boolean>?

Specifies whether to return the billing details of the order when the billing method is changed from subscription to pay-as-you-go. Default: false.

Link copied to clipboard
val dryRun: Output<Boolean>?

Specifies whether to only validate the request. Default: false.

Link copied to clipboard
val expiredTime: Output<String>

The subscription period of the dedicated host. The Period parameter takes effect and is required only when the ChargeType parameter is set to PrePaid.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val minQuantity: Output<Int>?

Specify the minimum purchase quantity of a dedicated host.

Link copied to clipboard

dedicated host network parameters. contains the following attributes:

Link copied to clipboard
val paymentType: Output<String>

The billing method of the dedicated host. Valid values: PrePaid, PostPaid. Default: PostPaid.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

The ID of the resource group to which the dedicated host belongs.

Link copied to clipboard
val saleCycle: Output<String>

The unit of the subscription period of the dedicated host.

Link copied to clipboard
val status: Output<String>

The status of the dedicated host.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>

The zone ID of the dedicated host. This parameter is empty by default. If you do not specify this parameter, the system automatically selects a zone.