Class AdvancedMachineFeatures (2.1.0)

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

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
Boolean

EnableUefiNetworking

public bool EnableUefiNetworking { get; set; }

Whether to enable UEFI networking for instance creation.

Property Value
TypeDescription
Boolean

HasEnableNestedVirtualization

public bool HasEnableNestedVirtualization { get; }

Gets whether the "enable_nested_virtualization" field is set

Property Value
TypeDescription
Boolean

HasEnableUefiNetworking

public bool HasEnableUefiNetworking { get; }

Gets whether the "enable_uefi_networking" field is set

Property Value
TypeDescription
Boolean

HasThreadsPerCore

public bool HasThreadsPerCore { get; }

Gets whether the "threads_per_core" field is set

Property Value
TypeDescription
Boolean

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
Int32