GoogleApi.VMwareEngine.V1.Model.AutoscalingPolicy (google_api_v_mware_engine v0.5.0)

View Source

Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization. The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds.

Attributes

  • consumedMemoryThresholds (type: GoogleApi.VMwareEngine.V1.Model.Thresholds.t, default: nil) - Optional. Utilization thresholds pertaining to amount of consumed memory.
  • cpuThresholds (type: GoogleApi.VMwareEngine.V1.Model.Thresholds.t, default: nil) - Optional. Utilization thresholds pertaining to CPU utilization.
  • grantedMemoryThresholds (type: GoogleApi.VMwareEngine.V1.Model.Thresholds.t, default: nil) - Optional. Utilization thresholds pertaining to amount of granted memory.
  • nodeTypeId (type: String.t, default: nil) - Required. The canonical identifier of the node type to add or remove. Corresponds to the NodeType.
  • scaleOutSize (type: integer(), default: nil) - Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.
  • storageThresholds (type: GoogleApi.VMwareEngine.V1.Model.Thresholds.t, default: nil) - Optional. Utilization thresholds pertaining to amount of consumed storage.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMwareEngine.V1.Model.AutoscalingPolicy{
  consumedMemoryThresholds:
    GoogleApi.VMwareEngine.V1.Model.Thresholds.t() | nil,
  cpuThresholds: GoogleApi.VMwareEngine.V1.Model.Thresholds.t() | nil,
  grantedMemoryThresholds: GoogleApi.VMwareEngine.V1.Model.Thresholds.t() | nil,
  nodeTypeId: String.t() | nil,
  scaleOutSize: integer() | nil,
  storageThresholds: GoogleApi.VMwareEngine.V1.Model.Thresholds.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.