InstanceGroup class

Represents an Instance Group resource.

Instance Groups can be used to configure a target forload balancing.

Instance groups can either be managed or unmanaged.

To create managed instance groups, use the instanceGroupManager orregionInstanceGroupManager resource instead.

Use zonal unmanaged instance groups if you need to applyload balancing to groups of heterogeneous instances or if you need to manage the instances yourself.

You cannot create regional unmanaged instance groups.

For more information, readInstance groups.

Constructors

InstanceGroup({String? creationTimestamp, String? description, String? fingerprint, String? id, String? kind, String? name, List<NamedPort>? namedPorts, String? network, String? region, String? selfLink, int? size, String? subnetwork, String? zone})
InstanceGroup.fromJson(Map json_)

Properties

creationTimestamp String?
The creation timestamp for this instance group inRFC3339 text format.
getter/setter pair
description String?
An optional description of this resource.
getter/setter pair
fingerprint String?
The fingerprint of the named ports.
getter/setter pair
fingerprintAsBytes List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
A unique identifier for this instance group, generated by the server.
getter/setter pair
kind String?
The resource type, which is alwayscompute#instanceGroup for instance groups.
getter/setter pair
name String?
The name of the instance group.
getter/setter pair
namedPorts List<NamedPort>?
Assigns a name to a port number.
getter/setter pair
network String?
The URL of the network to which all instances in the instance group belong.
getter/setter pair
region String?
The URL of theregion where the instance group is located (for regional resources).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
The URL for this instance group.
getter/setter pair
size int?
The total number of instances in the instance group.
getter/setter pair
subnetwork String?
The URL of the subnetwork to which all instances in the instance group belong.
getter/setter pair
zone String?
The URL of thezone where the instance group is located (for zonal resources).
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