Class RegionInstanceGroupManagerUpdatePolicy
Inheritance
System.Object
RegionInstanceGroupManagerUpdatePolicy
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class RegionInstanceGroupManagerUpdatePolicy
Fields
View Source
InstanceRedistributionType
- The instance redistribution policy for regional managed instance groups. Valid values are:
"PROACTIVE", "NONE". If PROACTIVE (default), the group attempts to maintain an even distribution of VM instances across zones in the region. If NONE, proactive redistribution is disabled.
Declaration
public readonly string InstanceRedistributionType
Field Value
| Type |
Description |
| System.String |
|
View Source
MaxSurgeFixed
, The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with max_surge_percent. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of max_unavailable_fixed or max_surge_fixed must be greater than 0.
Declaration
public readonly int? MaxSurgeFixed
Field Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
View Source
MaxSurgePercent
, The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with max_surge_fixed. Percent value is only allowed for regional managed instance groups with size at least 10.
Declaration
public readonly int? MaxSurgePercent
Field Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
View Source
MaxUnavailableFixed
, The maximum number of instances that can be unavailable during the update process. Conflicts with max_unavailable_percent. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of max_unavailable_fixed or max_surge_fixed must be greater than 0.
Declaration
public readonly int? MaxUnavailableFixed
Field Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
View Source
MaxUnavailablePercent
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with max_unavailable_fixed. Percent value is only allowed for regional managed instance groups with size at least 10.
Declaration
public readonly int? MaxUnavailablePercent
Field Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
View Source
MinimalAction
- 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.
Declaration
public readonly string MinimalAction
Field Value
| Type |
Description |
| System.String |
|
View Source
MinReadySec
, Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
Declaration
public readonly int? MinReadySec
Field Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
View Source
Type
- 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).
Declaration
public readonly string Type
Field Value
| Type |
Description |
| System.String |
|