DedicatedHostArgs

data class DedicatedHostArgs(val actionOnMaintenance: Output<String>? = null, val autoPlacement: Output<String>? = null, val autoReleaseTime: Output<String>? = null, val autoRenew: Output<Boolean>? = null, val autoRenewPeriod: Output<Int>? = null, val cpuOverCommitRatio: Output<Double>? = null, val dedicatedHostClusterId: Output<String>? = null, val dedicatedHostName: Output<String>? = null, val dedicatedHostType: Output<String>? = null, val description: Output<String>? = null, val detailFee: Output<Boolean>? = null, val dryRun: Output<Boolean>? = null, val expiredTime: Output<String>? = null, val minQuantity: Output<Int>? = null, val networkAttributes: Output<List<DedicatedHostNetworkAttributeArgs>>? = null, val paymentType: Output<String>? = null, val resourceGroupId: Output<String>? = null, val saleCycle: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<DedicatedHostArgs>

Import

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

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

Constructors

Link copied to clipboard
constructor(actionOnMaintenance: Output<String>? = null, autoPlacement: Output<String>? = null, autoReleaseTime: Output<String>? = null, autoRenew: Output<Boolean>? = null, autoRenewPeriod: Output<Int>? = null, cpuOverCommitRatio: Output<Double>? = null, dedicatedHostClusterId: Output<String>? = null, dedicatedHostName: Output<String>? = null, dedicatedHostType: Output<String>? = null, description: Output<String>? = null, detailFee: Output<Boolean>? = null, dryRun: Output<Boolean>? = null, expiredTime: Output<String>? = null, minQuantity: Output<Int>? = null, networkAttributes: Output<List<DedicatedHostNetworkAttributeArgs>>? = null, paymentType: Output<String>? = null, resourceGroupId: Output<String>? = null, saleCycle: Output<String>? = null, tags: Output<Map<String, String>>? = null, zoneId: Output<String>? = null)

Properties

Link copied to clipboard
val actionOnMaintenance: Output<String>? = null

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>? = null

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>? = null

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>? = null

Specifies whether to automatically renew the subscription dedicated host.

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

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
val cpuOverCommitRatio: Output<Double>? = null

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

Link copied to clipboard
val dedicatedHostClusterId: Output<String>? = null

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

Link copied to clipboard
val dedicatedHostName: Output<String>? = null

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
val dedicatedHostType: Output<String>? = null

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>? = null

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>? = null

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>? = null

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

Link copied to clipboard
val expiredTime: Output<String>? = null

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 minQuantity: Output<Int>? = null

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>? = null

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

Link copied to clipboard
val resourceGroupId: Output<String>? = null

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

Link copied to clipboard
val saleCycle: Output<String>? = null

The unit of the subscription period of the dedicated host.

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

A mapping of tags to assign to the resource.

Link copied to clipboard
val zoneId: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): DedicatedHostArgs