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).
Implements
IMessage<AdvancedMachineFeatures>, IEquatable<AdvancedMachineFeatures>, IDeepCloneable<AdvancedMachineFeatures>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
Boolean |
EnableUefiNetworking
public bool EnableUefiNetworking { get; set; }
Whether to enable UEFI networking for instance creation.
Property Value | |
---|---|
Type | Description |
Boolean |
HasEnableNestedVirtualization
public bool HasEnableNestedVirtualization { get; }
Gets whether the "enable_nested_virtualization" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasEnableUefiNetworking
public bool HasEnableUefiNetworking { get; }
Gets whether the "enable_uefi_networking" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasThreadsPerCore
public bool HasThreadsPerCore { get; }
Gets whether the "threads_per_core" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int32 |