AdvancedMachineFeatures class
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
-
AdvancedMachineFeatures({Input<
bool> ? enableNestedVirtualization, Input<bool> ? enableUefiNetworking, Input<int> ? numaNodeCount, Input<AdvancedMachineFeaturesPerformanceMonitoringUnit> ? performanceMonitoringUnit, Input<int> ? threadsPerCore, Input<int> ? visibleCoreCount}) -
Creates a new AdvancedMachineFeatures.
enableNestedVirtualizationWhether to enable nested virtualization or not (default is false).enableUefiNetworkingWhether to enable UEFI networking for instance creation.numaNodeCountThe number of vNUMA nodes.performanceMonitoringUnitType of Performance Monitoring Unit requested on instance.threadsPerCoreThe 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.visibleCoreCountThe 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.const -
AdvancedMachineFeatures.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
enableNestedVirtualization
→ Input<
bool> ? -
Whether to enable nested virtualization or not (default is false).
final
-
enableUefiNetworking
→ Input<
bool> ? -
Whether to enable UEFI networking for instance creation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
numaNodeCount
→ Input<
int> ? -
The number of vNUMA nodes.
final
-
performanceMonitoringUnit
→ Input<
AdvancedMachineFeaturesPerformanceMonitoringUnit> ? -
Type of Performance Monitoring Unit requested on instance.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
threadsPerCore
→ Input<
int> ? -
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.
final
-
visibleCoreCount
→ Input<
int> ? -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited