InstanceGroupManagerUpdatePolicy class


InstanceGroupManagerUpdatePolicy.fromJson(Map _json)


hashCode int
The hash code for this object. [...]
read-only, inherited
instanceRedistributionType String
The instance redistribution policy for regional managed instance groups. Valid values are: [...]
read / write
maxSurge FixedOrPercent
The maximum number of instances that can be created above the specified targetSize during the update process. By default, a fixed value of 1 is used. This value can be either a fixed number or a percentage if the instance group has 10 or more instances. If you set a percentage, the number of instances will be rounded up if necessary. [...]
read / write
maxUnavailable FixedOrPercent
The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: [...]
read / write
minimalAction String
Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action. Possible string values are: [...]
read / write
replacementMethod String
What action should be used to replace instances. See minimal_action.REPLACE Possible string values are: [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). Possible string values are: [...]
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. [...]