InstanceGroupManager class

Represents a Managed Instance Group resource.

An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups.

For zonal Managed Instance Group, use the instanceGroupManagers resource.

For regional Managed Instance Group, use the regionInstanceGroupManagers resource. (== resource_for {$api_version}.instanceGroupManagers ==) (== resource_for {$api_version}.regionInstanceGroupManagers ==)

Constructors

InstanceGroupManager()
InstanceGroupManager.fromJson(Map _json)

Properties

autoHealingPolicies List<InstanceGroupManagerAutoHealingPolicy>
The autohealing policy for this managed instance group. You can specify only one value.
read / write
baseInstanceName String
The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
read / write
creationTimestamp String
Output Only The creation timestamp for this managed instance group in RFC3339 text format.
read / write
currentActions InstanceGroupManagerActionsSummary
Output Only The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
read / write
description String
An optional description of this resource. Provide this property when you create the resource.
read / write
distributionPolicy DistributionPolicy
Policy specifying intended distribution of instances in regional managed instance group.
read / write
fingerprint String
Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. [...]
read / write
fingerprintAsBytes List<int>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Output Only A unique identifier for this resource type. The server generates this identifier.
read / write
instanceGroup String
Output Only The URL of the Instance Group resource.
read / write
instanceTemplate String
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group.
read / write
kind String
Output Only The resource type, which is always compute#instanceGroupManager for managed instance groups.
read / write
name String
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
read / write
namedPorts List<NamedPort>
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
read / write
region String
Output Only The URL of the region where the managed instance group resides (for regional resources).
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
Output Only The URL for this managed instance group. The server defines this URL.
read / write
status InstanceGroupManagerStatus
Output Only The status of this managed instance group.
read / write
targetPools List<String>
The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
read / write
targetSize int
The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
read / write
updatePolicy InstanceGroupManagerUpdatePolicy
The update policy for this managed instance group.
read / write
versions List<InstanceGroupManagerVersion>
Specifies the instance templates used by this managed instance group to create instances. [...]
read / write
zone String
Output Only The URL of the zone where the managed instance group is located (for zonal resources).
read / write

Methods

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

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited