AdvancedMachineFeaturesComputeV1 constructor
const
AdvancedMachineFeaturesComputeV1({})
Creates a new AdvancedMachineFeaturesComputeV1.
enableNestedVirtualization Whether to enable nested virtualization or not (default is false).
enableUefiNetworking Whether to enable UEFI networking for instance creation.
threadsPerCore 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.
visibleCoreCount 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.
Implementation
const AdvancedMachineFeaturesComputeV1({
this.enableNestedVirtualization,
this.enableUefiNetworking,
this.threadsPerCore,
this.visibleCoreCount,
});