public sealed class AutoscalingPolicyScaleInControl : IMessage<AutoscalingPolicyScaleInControl>, IEquatable<AutoscalingPolicyScaleInControl>, IDeepCloneable<AutoscalingPolicyScaleInControl>, IBufferMessage, IMessage
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 \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class allows configuration for a gradual reduction in the number of VMs, even when the Autoscaler suggests a rapid scale-in for a Managed Instance Group (MIG).\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is found in the Google.Cloud.Compute.V1.dll assembly, and is designed to throttle scale-in operations as per parameters defined within its configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, and other available versions range from 1.0.0 to 3.5.0, accessible via their respective links, with the latest version being the most current one available.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eMaxScaledInReplicas\u003c/code\u003e, defining the maximum allowable reduction of VMs, and \u003ccode\u003eTimeWindowSec\u003c/code\u003e, setting the time frame for computing scale-in recommendations, as well as a check for \u003ccode\u003eHasTimeWindowSec\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e to provide functionality for message handling, comparison, deep cloning, and buffer message operations.\u003c/p\u003e\n"]]],[],null,[]]