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

View Source

Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.

Attributes

  • autoscalingPolicies (type: %{optional(String.t) => GoogleApi.VMwareEngine.V1.Model.AutoscalingPolicy.t}, default: nil) - Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: Only contains 1-63 alphanumeric characters and hyphens Begins with an alphabetical character Ends with a non-hyphen character Not formatted as a UUID * Complies with RFC 1034 (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
  • coolDownPeriod (type: String.t, default: nil) - Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).
  • maxClusterNodeCount (type: integer(), default: nil) - Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.
  • minClusterNodeCount (type: integer(), default: nil) - Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMwareEngine.V1.Model.AutoscalingSettings{
  autoscalingPolicies:
    %{
      optional(String.t()) =>
        GoogleApi.VMwareEngine.V1.Model.AutoscalingPolicy.t()
    }
    | nil,
  coolDownPeriod: String.t() | nil,
  maxClusterNodeCount: integer() | nil,
  minClusterNodeCount: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.