Compute Engine v1 API - Class AutoscalingPolicyScaleInControl (3.1.0)

public sealed class AutoscalingPolicyScaleInControl : IMessage<AutoscalingPolicyScaleInControl>, IEquatable<AutoscalingPolicyScaleInControl>, IDeepCloneable<AutoscalingPolicyScaleInControl>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class AutoscalingPolicyScaleInControl.

Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.

Inheritance

object > AutoscalingPolicyScaleInControl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AutoscalingPolicyScaleInControl()

public AutoscalingPolicyScaleInControl()

AutoscalingPolicyScaleInControl(AutoscalingPolicyScaleInControl)

public AutoscalingPolicyScaleInControl(AutoscalingPolicyScaleInControl other)
Parameter
Name Description
other AutoscalingPolicyScaleInControl

Properties

HasTimeWindowSec

public bool HasTimeWindowSec { get; }

Gets whether the "time_window_sec" field is set

Property Value
Type Description
bool

MaxScaledInReplicas

public FixedOrPercent MaxScaledInReplicas { get; set; }

Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.

Property Value
Type Description
FixedOrPercent

TimeWindowSec

public int TimeWindowSec { get; set; }

How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.

Property Value
Type Description
int