public sealed class AdvancedMachineFeatures : IMessage<AdvancedMachineFeatures>, IEquatable<AdvancedMachineFeatures>, IDeepCloneable<AdvancedMachineFeatures>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class AdvancedMachineFeatures.
Specifies options for controlling advanced machine features.
Optional. 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.
Optional. 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAdvancedMachineFeatures\u003c/code\u003e class in the Google Cloud Backup and DR Service v1 API allows control over advanced machine settings.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides properties to enable nested virtualization (\u003ccode\u003eEnableNestedVirtualization\u003c/code\u003e) and UEFI networking (\u003ccode\u003eEnableUefiNetworking\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eYou can configure the number of threads per core (\u003ccode\u003eThreadsPerCore\u003c/code\u003e) and the number of visible cores (\u003ccode\u003eVisibleCoreCount\u003c/code\u003e) for instances using this class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdvancedMachineFeatures\u003c/code\u003e class has multiple versions available, with the latest being version 2.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to support various functionalities.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service v1 API - Class AdvancedMachineFeatures (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures) \n\n public sealed class AdvancedMachineFeatures : IMessage\u003cAdvancedMachineFeatures\u003e, IEquatable\u003cAdvancedMachineFeatures\u003e, IDeepCloneable\u003cAdvancedMachineFeatures\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API class AdvancedMachineFeatures.\n\nSpecifies options for controlling advanced machine features. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AdvancedMachineFeatures \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AdvancedMachineFeatures](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdvancedMachineFeatures](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AdvancedMachineFeatures](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.AdvancedMachineFeatures), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### AdvancedMachineFeatures()\n\n public AdvancedMachineFeatures()\n\n### AdvancedMachineFeatures(AdvancedMachineFeatures)\n\n public AdvancedMachineFeatures(AdvancedMachineFeatures other)\n\nProperties\n----------\n\n### EnableNestedVirtualization\n\n public bool EnableNestedVirtualization { get; set; }\n\nOptional. Whether to enable nested virtualization or not (default is\nfalse).\n\n### EnableUefiNetworking\n\n public bool EnableUefiNetworking { get; set; }\n\nOptional. Whether to enable UEFI networking for instance creation.\n\n### HasEnableNestedVirtualization\n\n public bool HasEnableNestedVirtualization { get; }\n\nGets whether the \"enable_nested_virtualization\" field is set\n\n### HasEnableUefiNetworking\n\n public bool HasEnableUefiNetworking { get; }\n\nGets whether the \"enable_uefi_networking\" field is set\n\n### HasThreadsPerCore\n\n public bool HasThreadsPerCore { get; }\n\nGets whether the \"threads_per_core\" field is set\n\n### HasVisibleCoreCount\n\n public bool HasVisibleCoreCount { get; }\n\nGets whether the \"visible_core_count\" field is set\n\n### ThreadsPerCore\n\n public int ThreadsPerCore { get; set; }\n\nOptional. The number of threads per physical core. To disable simultaneous\nmultithreading (SMT) set this to 1. If unset, the maximum number\nof threads supported per core by the underlying processor is\nassumed.\n\n### VisibleCoreCount\n\n public int VisibleCoreCount { get; set; }\n\nOptional. The number of physical cores to expose to an instance. Multiply\nby the number of threads per core to compute the total number of virtual\nCPUs to expose to the instance. If unset, the number of cores is\ninferred from the instance's nominal CPU count and the underlying\nplatform's SMT width."]]