Reference documentation and code samples for the Compute Engine v1 API enum AutoscalingPolicy.Types.Mode.
Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler"
[[["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\u003eAutoscalingPolicy.Types.Mode\u003c/code\u003e is 3.6.0, with a range of previous versions from 1.0.0 to 3.5.0 accessible as well.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutoscalingPolicy.Types.Mode\u003c/code\u003e is an enum within the Google Cloud Compute Engine v1 API, specifically found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis enum defines the operational modes for autoscaling policies, which include \u003ccode\u003eOFF\u003c/code\u003e, \u003ccode\u003eONLY_SCALE_OUT\u003c/code\u003e, \u003ccode\u003eON\u003c/code\u003e, and \u003ccode\u003eOnlyUp\u003c/code\u003e, plus \u003ccode\u003eUndefinedMode\u003c/code\u003e for unset values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOFF\u003c/code\u003e mode disables autoscaling while keeping the configuration, \u003ccode\u003eONLY_SCALE_OUT\u003c/code\u003e only allows adding VM instances, and \u003ccode\u003eON\u003c/code\u003e enables full autoscaling behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOnlyUp\u003c/code\u003e mode shares the same functionality as \u003ccode\u003eONLY_SCALE_OUT\u003c/code\u003e where it will automatically create VMs, but will not scale the MIG in.\u003c/p\u003e\n"]]],[],null,[]]