Get

Returns the specified node template

3 variables
18 variables

Returns the specified node template. Gets a list of available node templates by making a list() request

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your data across Google Cloud Platform services
  • View and manage your Google Compute Engine resources
  • View your Google Compute Engine resources

Input

This building block consumes 3 input parameters

  = Parameter name
  = Format

project STRING Required

Project ID for this request

region STRING Required

The name of the region for this request

nodeTemplate STRING Required

Name of the node template to return

Output

This building block provides 18 output parameters

  = Parameter name
  = Format

creationTimestamp STRING

[Output Only] Creation timestamp in RFC3339 text format

description STRING

An optional description of this resource. Provide this property when you create the resource

id INTEGER

[Output Only] The unique identifier for the resource. This identifier is defined by the server

kind STRING

[Output Only] The type of the resource. Always compute#nodeTemplate for node templates

name STRING

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

nodeAffinityLabels OBJECT

Labels to use for node affinity, which will be used in instance scheduling

nodeAffinityLabels.customKey.value STRING

Labels to use for node affinity, which will be used in instance scheduling

nodeType STRING

The node type to use for nodes group that are created from this template

nodeTypeFlexibility OBJECT

nodeTypeFlexibility.cpus STRING

nodeTypeFlexibility.localSsd STRING

nodeTypeFlexibility.memory STRING

region STRING

[Output Only] The name of the region where the node template resides, such as us-central1

selfLink STRING

[Output Only] Server-defined URL for the resource

serverBinding OBJECT

serverBinding.type ENUMERATION

status ENUMERATION

[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING

statusMessage STRING

[Output Only] An optional, human-readable explanation of the status