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 document provides reference documentation for the \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, detailing its purpose in throttling scale-in operations for Managed Instance Groups (MIGs).\u003c/p\u003e\n"],["\u003cp\u003eIt lists various versions of the API, ranging from version 1.0.0 to 3.6.0, with 3.6.0 as the latest release, with links to each of them.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class allows users to configure a slower scale-in process for MIGs by setting parameters such as \u003ccode\u003eMaxScaledInReplicas\u003c/code\u003e and \u003ccode\u003eTimeWindowSec\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and is located in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties \u003ccode\u003eHasTimeWindowSec\u003c/code\u003e, \u003ccode\u003eMaxScaledInReplicas\u003c/code\u003e and \u003ccode\u003eTimeWindowSec\u003c/code\u003e, \u003ccode\u003eMaxScaledInReplicas\u003c/code\u003e defining the maximum number of VMs that can be deleted at once, and \u003ccode\u003eTimeWindowSec\u003c/code\u003e indicating how far back autoscaling looks for computing recommendations.\u003c/p\u003e\n"]]],[],null,[]]