NodeGroup class

Represent a sole-tenant Node Group resource.

A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes. (== resource_for {$api_version}.nodeGroups ==)


NodeGroup.fromJson(Map _json)


autoscalingPolicy NodeGroupAutoscalingPolicy
Specifies how autoscaling should behave.
read / write
creationTimestamp String
Output Only Creation timestamp in RFC3339 text format.
read / write
description String
An optional description of this resource. Provide this property when you create the resource.
read / write
fingerprint String
read / write
fingerprintAsBytes List<int>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Output Only The unique identifier for the resource. This identifier is defined by the server.
read / write
kind String
Output Only The type of the resource. Always compute#nodeGroup for node group.
read / write
maintenancePolicy String
Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. Possible string values are: [...]
read / write
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.
read / write
nodeTemplate String
URL of the node template to create the node group from.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
Output Only Server-defined URL for the resource.
read / write
size int
Output Only The total number of nodes in the node group.
read / write
status String
Possible string values are: [...]
read / write
zone String
Output Only The name of the zone where the node group resides, such as us-central1-a.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]