Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::NodeGroupAutoscalingPolicy (v1.7.1)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::NodeGroupAutoscalingPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_nodes

def max_nodes() -> ::Integer
Returns
  • (::Integer) — The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.

#max_nodes=

def max_nodes=(value) -> ::Integer
Parameter
  • value (::Integer) — The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
Returns
  • (::Integer) — The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.

#min_nodes

def min_nodes() -> ::Integer
Returns
  • (::Integer) — The minimum number of nodes that the group should have.

#min_nodes=

def min_nodes=(value) -> ::Integer
Parameter
  • value (::Integer) — The minimum number of nodes that the group should have.
Returns
  • (::Integer) — The minimum number of nodes that the group should have.

#mode

def mode() -> ::String
Returns
  • (::String) — The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.

#mode=

def mode=(value) -> ::String
Parameter
  • value (::String) — The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.
Returns
  • (::String) — The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values.