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 latest version available for \u003ccode\u003eGoogle.Cloud.Compute.V1.NodeTemplate\u003c/code\u003e is 3.6.0, with a range of versions available from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTemplate\u003c/code\u003e is a resource representing a sole-tenant Node Template used to define properties for nodes in a node group, as explained in the document's reference to creating node groups and instances.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eNodeTemplate\u003c/code\u003e class allows you to specify properties such as \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, which are crucial for configuring sole-tenant nodes.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTemplate\u003c/code\u003e class provides detailed information on a node template, including its \u003ccode\u003eCreationTimestamp\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eKind\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eRegion\u003c/code\u003e, \u003ccode\u003eSelfLink\u003c/code\u003e, and \u003ccode\u003eStatus\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]