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-21 UTC."],[[["This page provides documentation for the `AutoscalingPolicy.Types.Mode` enum within the Google Cloud Compute Engine v1 API, covering versions from 1.0.0 to 3.6.0, with version 3.6.0 being the latest."],["The `AutoscalingPolicy.Types.Mode` enum defines the operating modes for an autoscaling policy, which include `OFF`, `ON`, and `ONLY_SCALE_OUT`, as well as `OnlyUp` and `UndefinedMode`."],["The `OFF` mode disables the autoscaler while retaining its configuration, `ON` enables full autoscaling activities, and `ONLY_SCALE_OUT` restricts the autoscaler to only adding VM instances."],["The `OnlyUp` mode will automatically add VMs according to the policy, but will not scale the MIG down, and the `UndefinedMode` indicates that the field has not been set."],["All of the versions listed lead to the documentation for the Google Cloud Compute Engine v1 API enum AutoscalingPolicy.Types.Mode."]]],[]]