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\u003eThis document provides reference information for the \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, detailing its functionality for managing scale-in operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class is 3.6.0, with the document listing all available versions from 1.0.0 to the current release.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e enables configuring gradual scale-in behavior, allowing for throttling of abrupt scale-in recommendations by specifying parameters.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class include \u003ccode\u003eMaxScaledInReplicas\u003c/code\u003e, which sets the maximum number or percentage of VMs to be removed, and \u003ccode\u003eTimeWindowSec\u003c/code\u003e, which dictates the time window for computing scale-in recommendations.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e which is consistent with its functionalities.\u003c/p\u003e\n"]]],[],null,[]]