InstanceFromTemplateAdvancedMachineFeaturesArgs

data class InstanceFromTemplateAdvancedMachineFeaturesArgs(val enableNestedVirtualization: Output<Boolean>? = null, val threadsPerCore: Output<Int>? = null, val visibleCoreCount: Output<Int>? = null) : ConvertibleToJava<InstanceFromTemplateAdvancedMachineFeaturesArgs>

Constructors

constructor(enableNestedVirtualization: Output<Boolean>? = null, threadsPerCore: Output<Int>? = null, visibleCoreCount: Output<Int>? = null)

Properties

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

Whether to enable nested virtualization or not.

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

The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.

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

The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance\'s nominal CPU count and the underlying platform\'s SMT width.

Functions

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