Enum NodeGroupAutoscalingPolicy.Mode (1.26.0)

public enum NodeGroupAutoscalingPolicy.Mode extends Enum<NodeGroupAutoscalingPolicy.Mode> implements ProtocolMessageEnum

The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.

Protobuf enum google.cloud.compute.v1.NodeGroupAutoscalingPolicy.Mode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
MODE_UNSPECIFIED

MODE_UNSPECIFIED = 371348091;

MODE_UNSPECIFIED_VALUE

MODE_UNSPECIFIED = 371348091;

OFF

Autoscaling is disabled.

OFF = 78159;

OFF_VALUE

Autoscaling is disabled.

OFF = 78159;

ON

Autocaling is fully enabled.

ON = 2527;

ONLY_SCALE_OUT

Autoscaling will only scale out and will not remove nodes.

ONLY_SCALE_OUT = 152713670;

ONLY_SCALE_OUT_VALUE

Autoscaling will only scale out and will not remove nodes.

ONLY_SCALE_OUT = 152713670;

ON_VALUE

Autocaling is fully enabled.

ON = 2527;

UNDEFINED_MODE

A value indicating that the enum field is not set.

UNDEFINED_MODE = 0;

UNDEFINED_MODE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_MODE = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()