Skip to main content

node_templates

Overview

Namenode_templates
TypeResource
Idgoogle.compute.node_templates

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestringThe 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.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
nodeTypestringThe node type to use for nodes group that are created from this template.
selfLinkstring[Output Only] Server-defined URL for the resource.
kindstring[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.
nodeAffinityLabelsobjectLabels to use for node affinity, which will be used in instance scheduling.
cpuOvercommitTypestringCPU overcommit.
nodeTypeFlexibilityobject
statusMessagestring[Output Only] An optional, human-readable explanation of the status.
disksarray
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
acceleratorsarray
serverBindingobject
statusstring[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING.
regionstring[Output Only] The name of the region where the node template resides, such as us-central1.

Methods

NameAccessible byRequired ParamsDescription
aggregated_listSELECTprojectRetrieves an aggregated list of node templates.
getSELECTnodeTemplate, project, regionReturns the specified node template.
listSELECTproject, regionRetrieves a list of node templates available to the specified project.
insertINSERTproject, regionCreates a NodeTemplate resource in the specified project using the data included in the request.
deleteDELETEnodeTemplate, project, regionDeletes the specified NodeTemplate resource.
_aggregated_listEXECprojectRetrieves an aggregated list of node templates.