NodePoolScalingConfigArgs

data class NodePoolScalingConfigArgs(val eipBandwidth: Output<Int>? = null, val eipInternetChargeType: Output<String>? = null, val enable: Output<Boolean>? = null, val isBondEip: Output<Boolean>? = null, val maxSize: Output<Int>? = null, val minSize: Output<Int>? = null, val type: Output<String>? = null) : ConvertibleToJava<NodePoolScalingConfigArgs>

Constructors

Link copied to clipboard
constructor(eipBandwidth: Output<Int>? = null, eipInternetChargeType: Output<String>? = null, enable: Output<Boolean>? = null, isBondEip: Output<Boolean>? = null, maxSize: Output<Int>? = null, minSize: Output<Int>? = null, type: Output<String>? = null)

Properties

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

Peak EIP bandwidth. Its valid value range 1~500 in Mbps. It works if is_bond_eip=true. Default to 5.

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

EIP billing type. PayByBandwidth: Charged at fixed bandwidth. PayByTraffic: Billed as used traffic. Default: PayByBandwidth. It works if is_bond_eip=true, conflict with internet_charge_type. EIP and public network IP can only choose one.

Link copied to clipboard
val enable: Output<Boolean>? = null

Whether to enable automatic scaling. Value:

Link copied to clipboard
val isBondEip: Output<Boolean>? = null

Whether to bind EIP for an instance. Default: false.

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

Max number of instances in a auto scaling group, its valid value range 0~1000. max_size has to be greater than min_size.

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

Min number of instances in a auto scaling group, its valid value range 0~1000.

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

Instance classification, not required. Vaild value: cpu, gpu, gpushare and spot. Default: cpu. The actual instance type is determined by instance_types.

Functions

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