Compute Engine v1 API - Class AdvancedMachineFeatures (3.0.0)

public sealed class AdvancedMachineFeatures : IMessage<AdvancedMachineFeatures>, IEquatable<AdvancedMachineFeatures>, IDeepCloneable<AdvancedMachineFeatures>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class AdvancedMachineFeatures.

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).

Inheritance

object > AdvancedMachineFeatures

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AdvancedMachineFeatures()

public AdvancedMachineFeatures()

AdvancedMachineFeatures(AdvancedMachineFeatures)

public AdvancedMachineFeatures(AdvancedMachineFeatures other)
Parameter
Name Description
other AdvancedMachineFeatures

Properties

EnableNestedVirtualization

public bool EnableNestedVirtualization { get; set; }

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

Property Value
Type Description
bool

EnableUefiNetworking

public bool EnableUefiNetworking { get; set; }

Whether to enable UEFI networking for instance creation.

Property Value
Type Description
bool

HasEnableNestedVirtualization

public bool HasEnableNestedVirtualization { get; }

Gets whether the "enable_nested_virtualization" field is set

Property Value
Type Description
bool

HasEnableUefiNetworking

public bool HasEnableUefiNetworking { get; }

Gets whether the "enable_uefi_networking" field is set

Property Value
Type Description
bool

HasPerformanceMonitoringUnit

public bool HasPerformanceMonitoringUnit { get; }

Gets whether the "performance_monitoring_unit" field is set

Property Value
Type Description
bool

HasThreadsPerCore

public bool HasThreadsPerCore { get; }

Gets whether the "threads_per_core" field is set

Property Value
Type Description
bool

HasTurboMode

public bool HasTurboMode { get; }

Gets whether the "turbo_mode" field is set

Property Value
Type Description
bool

HasVisibleCoreCount

public bool HasVisibleCoreCount { get; }

Gets whether the "visible_core_count" field is set

Property Value
Type Description
bool

PerformanceMonitoringUnit

public string PerformanceMonitoringUnit { get; set; }

Type of Performance Monitoring Unit requested on instance. Check the PerformanceMonitoringUnit enum for the list of possible values.

Property Value
Type Description
string

ThreadsPerCore

public int ThreadsPerCore { get; set; }

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.

Property Value
Type Description
int

TurboMode

public string TurboMode { get; set; }

Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode.

Property Value
Type Description
string

VisibleCoreCount

public int VisibleCoreCount { get; set; }

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.

Property Value
Type Description
int