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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-31 UTC."],[[["This webpage provides documentation for the `NodeTemplate` class within the `Google.Cloud.Compute.V1` namespace, detailing its use in defining properties for nodes in a node group for Google Cloud Compute."],["The `NodeTemplate` class, which is used to represent a sole-tenant Node Template resource, includes a range of properties such as `Accelerators`, `CpuOvercommitType`, `CreationTimestamp`, `Description`, and `Disks`, amongst many other properties."],["The 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."],["`NodeTemplate` instances can be created using the default constructor `NodeTemplate()` or by providing another `NodeTemplate` as a parameter in the constructor `NodeTemplate(NodeTemplate other)`."],["The documentation also details the properties of `NodeTemplate`, such as `NodeAffinityLabels`, `NodeType`, `NodeTypeFlexibility`, and more, including output-only fields like `Id`, `Kind`, `Region`, and `SelfLink`."]]],[]]