Add mode enum and scale down controls for Compute AutoScaler (#3693) (#247)

* Add mode enum and scale down controls for Compute AutoScaler

* Add mode enum for Compute AutoScaler in the correct API block

* Add defaults for mode and default_from_api for scale down controls

* Add tests for scale_down_controls and set at_least_one_of for it

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2020-06-23 11:10:14 -07:00 committed by GitHub
commit 4944f92b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View file

@ -177,6 +177,11 @@ resources:
To do this, create an instance and time the startup process.
returned: success
type: int
mode:
description:
- Defines operating mode for this policy.
returned: success
type: str
cpuUtilization:
description:
- Defines the CPU utilization policy that allows the autoscaler to scale