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 for Google Cloud Compute.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNodeTemplate\u003c/code\u003e class, which is used to represent a sole-tenant Node Template resource, includes a range of properties such as \u003ccode\u003eAccelerators\u003c/code\u003e, \u003ccode\u003eCpuOvercommitType\u003c/code\u003e, \u003ccode\u003eCreationTimestamp\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, and \u003ccode\u003eDisks\u003c/code\u003e, amongst many other properties.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is 3.6.0, and it includes a version history going back to version 1.0.0, which can be accessed via the links provided.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodeTemplate\u003c/code\u003e instances can be created using the default constructor \u003ccode\u003eNodeTemplate()\u003c/code\u003e or by providing another \u003ccode\u003eNodeTemplate\u003c/code\u003e as a parameter in the constructor \u003ccode\u003eNodeTemplate(NodeTemplate other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also details the properties of \u003ccode\u003eNodeTemplate\u003c/code\u003e, such as \u003ccode\u003eNodeAffinityLabels\u003c/code\u003e, \u003ccode\u003eNodeType\u003c/code\u003e, \u003ccode\u003eNodeTypeFlexibility\u003c/code\u003e, and more, including output-only fields like \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eKind\u003c/code\u003e, \u003ccode\u003eRegion\u003c/code\u003e, and \u003ccode\u003eSelfLink\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]