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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This document provides reference documentation for the `AutoscalingPolicy.Types.Mode` enum within the Google Compute Engine v1 API, detailing available operating modes."],["The latest version of the documentation is 3.6.0, and the page lists versions of this documentation dating back to version 1.0.0, with the current context being version 2.15.0."],["The `AutoscalingPolicy.Types.Mode` enum defines four specific operating modes: `OFF`, `ON`, `ONLY_SCALE_OUT`, and `ONLY_UP`, in addition to `UndefinedMode` which is used when an enum field is not set."],["The `OFF` mode will not scale in or out, but keeps the size that would be recommended if it was enabled; `ON` mode will scale in and out according to the policy; and the `ONLY_SCALE_OUT` or `ONLY_UP` modes will only create new VM's, not reducing them."]]],[]]