Class: Google::Cloud::Compute::V1::AutoscalingPolicyScaleInControl
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::AutoscalingPolicyScaleInControl
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
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.
Instance Attribute Summary collapse
-
#max_scaled_in_replicas ⇒ ::Google::Cloud::Compute::V1::FixedOrPercent
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
-
#time_window_sec ⇒ ::Integer
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
Instance Attribute Details
#max_scaled_in_replicas ⇒ ::Google::Cloud::Compute::V1::FixedOrPercent
Returns 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.
2485 2486 2487 2488 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2485 class AutoscalingPolicyScaleInControl include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_window_sec ⇒ ::Integer
Returns How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
2485 2486 2487 2488 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2485 class AutoscalingPolicyScaleInControl include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |