NodeTemplate class

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.

Constructors

NodeTemplate({List<AcceleratorConfig>? accelerators, String? cpuOvercommitType, String? creationTimestamp, String? description, List<LocalDisk>? disks, String? id, String? kind, String? name, Map<String, String>? nodeAffinityLabels, String? nodeType, NodeTemplateNodeTypeFlexibility? nodeTypeFlexibility, String? region, String? selfLink, ServerBinding? serverBinding, String? status, String? statusMessage})
NodeTemplate.fromJson(Map json_)

Properties

accelerators List<AcceleratorConfig>?
getter/setter pair
cpuOvercommitType String?
CPU overcommit. Possible string values are:
getter/setter pair
creationTimestamp String?
Creation timestamp in RFC3339 text format.
getter/setter pair
description String?
An optional description of this resource.
getter/setter pair
disks List<LocalDisk>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier for the resource.
getter/setter pair
kind String?
The type of the resource.
getter/setter pair
name String?
The name of the resource, provided by the client when initially creating the resource.
getter/setter pair
nodeAffinityLabels Map<String, String>?
Labels to use for node affinity, which will be used in instance scheduling.
getter/setter pair
nodeType String?
The node type to use for nodes group that are created from this template.
getter/setter pair
nodeTypeFlexibility NodeTemplateNodeTypeFlexibility?
Do not use.
getter/setter pair
region String?
The name of the region where the node template resides, such as us-central1.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Server-defined URL for the resource.
getter/setter pair
serverBinding ServerBinding?
Sets the binding properties for the physical server.
getter/setter pair
status String?
The status of the node template.
getter/setter pair
statusMessage String?
An optional, human-readable explanation of the status.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited