public sealed class ServerNetworkTemplate : IMessage<ServerNetworkTemplate>, IEquatable<ServerNetworkTemplate>, IDeepCloneable<ServerNetworkTemplate>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class ServerNetworkTemplate.
Output only. Template's unique name. The full resource name follows the
pattern:
projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
Generally, the {server_network_template} follows the syntax of
"bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
[[["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 latest version of the \u003ccode\u003eServerNetworkTemplate\u003c/code\u003e is 1.7.0, with versions back to 1.0.0 available for reference in the documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServerNetworkTemplate\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.BareMetalSolution.V2\u003c/code\u003e namespace, serving as a network template in the Bare Metal Solution v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eServerNetworkTemplate\u003c/code\u003e 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, demonstrating its functionality.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServerNetworkTemplate\u003c/code\u003e includes properties like \u003ccode\u003eApplicableInstanceTypes\u003c/code\u003e, \u003ccode\u003eLogicalInterfaces\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eServerNetworkTemplateName\u003c/code\u003e for configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServerNetworkTemplate\u003c/code\u003e class includes two constructors, \u003ccode\u003eServerNetworkTemplate()\u003c/code\u003e for creating a new instance and \u003ccode\u003eServerNetworkTemplate(ServerNetworkTemplate other)\u003c/code\u003e to create a copy of another \u003ccode\u003eServerNetworkTemplate\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Bare Metal Solution v2 API - Class ServerNetworkTemplate (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.6.0/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.5.0/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.4.0/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.3.0/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.2.0/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.1.0/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.0.0/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate) \n\n public sealed class ServerNetworkTemplate : IMessage\u003cServerNetworkTemplate\u003e, IEquatable\u003cServerNetworkTemplate\u003e, IDeepCloneable\u003cServerNetworkTemplate\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Bare Metal Solution v2 API class ServerNetworkTemplate.\n\nNetwork template. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServerNetworkTemplate \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ServerNetworkTemplate](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServerNetworkTemplate](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServerNetworkTemplate](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate), [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.BareMetalSolution.V2](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.BareMetalSolution.V2.dll\n\nConstructors\n------------\n\n### ServerNetworkTemplate()\n\n public ServerNetworkTemplate()\n\n### ServerNetworkTemplate(ServerNetworkTemplate)\n\n public ServerNetworkTemplate(ServerNetworkTemplate other)\n\nProperties\n----------\n\n### ApplicableInstanceTypes\n\n public RepeatedField\u003cstring\u003e ApplicableInstanceTypes { get; }\n\nInstance types this template is applicable to.\n\n### LogicalInterfaces\n\n public RepeatedField\u003cServerNetworkTemplate.Types.LogicalInterface\u003e LogicalInterfaces { get; }\n\nLogical interfaces.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. Template's unique name. The full resource name follows the\npattern:\n`projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`\nGenerally, the {server_network_template} follows the syntax of\n\"bond\\\u003cinterface_type_index\\\u003e\\\u003cbond_mode\\\u003e\" or \"nic\\\u003cinterface_type_index\\\u003e\".\n\n### ServerNetworkTemplateName\n\n public ServerNetworkTemplateName ServerNetworkTemplateName { get; set; }\n\n[ServerNetworkTemplateName](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplateName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.ServerNetworkTemplate#Google_Cloud_BareMetalSolution_V2_ServerNetworkTemplate_Name) resource name property."]]