Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances.
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.
Sets the binding properties for the physical server. Valid values include: - [Default] RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.
[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING.
Check the Status enum for the list of possible values.
[[["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-08 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eNodeTemplate\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, detailing its use in defining properties for nodes in a node group.\u003c/p\u003e\n"],["\u003cp\u003eThe latest documented version for \u003ccode\u003eNodeTemplate\u003c/code\u003e is 3.6.0, with previous versions ranging from 1.0.0 to 3.5.0 available for review and use.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTemplate\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with properties including \u003ccode\u003eAccelerators\u003c/code\u003e, \u003ccode\u003eCpuOvercommitType\u003c/code\u003e, \u003ccode\u003eDisks\u003c/code\u003e, \u003ccode\u003eNodeType\u003c/code\u003e, and \u003ccode\u003eServerBinding\u003c/code\u003e, among others.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTemplate\u003c/code\u003e can be constructed via \u003ccode\u003eNodeTemplate()\u003c/code\u003e or \u003ccode\u003eNodeTemplate(NodeTemplate other)\u003c/code\u003e, and has methods inherited from \u003ccode\u003eObject\u003c/code\u003e such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTemplate\u003c/code\u003e resource supports various attributes and settings, such as CPU overcommit type, creation timestamp, description, node affinity labels, region, status, and server binding properties, as seen in the properties section.\u003c/p\u003e\n"]]],[],null,[]]