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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e is 3.6.0, with a range of versions available from 1.0.0 up to that point.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class, part of the Compute Engine v1 API, is designed to configure throttled scale-in operations for managed instance groups (MIGs).\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, suggesting support for message handling, comparison, deep cloning, and buffering.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e include \u003ccode\u003eMaxScaledInReplicas\u003c/code\u003e, which controls the maximum number of VMs that can be removed at once, and \u003ccode\u003eTimeWindowSec\u003c/code\u003e, which determines the lookback period for calculating scale-in recommendations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHasTimeWindowSec\u003c/code\u003e property is included to indicate if the "time_window_sec" field is set, and this class provides public constructors for both default initialization and creating a copy of an existing \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]