Compute Engine v1 API - Class AdvancedMachineFeatures (2.11.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
NameDescription
otherAdvancedMachineFeatures

Properties

EnableNestedVirtualization

public bool EnableNestedVirtualization { get; set; }

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

Property Value
TypeDescription
bool

EnableUefiNetworking

public bool EnableUefiNetworking { get; set; }

Whether to enable UEFI networking for instance creation.

Property Value
TypeDescription
bool

HasEnableNestedVirtualization

public bool HasEnableNestedVirtualization { get; }

Gets whether the "enable_nested_virtualization" field is set

Property Value
TypeDescription
bool

HasEnableUefiNetworking

public bool HasEnableUefiNetworking { get; }

Gets whether the "enable_uefi_networking" field is set

Property Value
TypeDescription
bool

HasThreadsPerCore

public bool HasThreadsPerCore { get; }

Gets whether the "threads_per_core" field is set

Property Value
TypeDescription
bool

HasVisibleCoreCount

public bool HasVisibleCoreCount { get; }

Gets whether the "visible_core_count" field is set

Property Value
TypeDescription
bool

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
TypeDescription
int

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
TypeDescription
int