GoogleApi.Compute.V1.Model.AutoscalingPolicyScaleInControl (google_api_compute v0.41.0) View Source

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.

Attributes

  • maxScaledInReplicas (type: GoogleApi.Compute.V1.Model.FixedOrPercent.t, default: nil) - 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.
  • timeWindowSec (type: integer(), default: nil) - How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Compute.V1.Model.AutoscalingPolicyScaleInControl{
  maxScaledInReplicas: GoogleApi.Compute.V1.Model.FixedOrPercent.t() | nil,
  timeWindowSec: integer() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.