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\u003eThe \u003ccode\u003eNodeTemplate\u003c/code\u003e class defines properties for nodes in a node group, allowing for the creation of customized sole-tenant node configurations.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version available for \u003ccode\u003eGoogle.Cloud.Compute.V1.NodeTemplate\u003c/code\u003e, with a wide range of previous versions also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTemplate\u003c/code\u003e instances can be created with various attributes such as CPU overcommit type, creation timestamp, description, and disks.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports node affinity labels, node type specification, and server binding options to fine-tune node group behavior.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eNodeTemplate\u003c/code\u003e has properties to represent its status, region, and a unique identifier.\u003c/p\u003e\n"]]],[],null,[]]