AdvancedMachineFeaturesArgs

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

Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).

Constructors

Link copied to clipboard
fun AdvancedMachineFeaturesArgs(enableNestedVirtualization: Output<Boolean>? = null, enableUefiNetworking: Output<Boolean>? = null, threadsPerCore: Output<Int>? = null, visibleCoreCount: Output<Int>? = null)

Functions

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

Properties

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

Whether to enable nested virtualization or not (default is false).

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

Whether to enable UEFI networking for instance creation.

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.