Class NodeGroupAutoscalingPolicy (1.3.0)

public sealed class NodeGroupAutoscalingPolicy : IMessage<NodeGroupAutoscalingPolicy>, IEquatable<NodeGroupAutoscalingPolicy>, IDeepCloneable<NodeGroupAutoscalingPolicy>, IBufferMessage, IMessage

Inheritance

Object > NodeGroupAutoscalingPolicy

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

NodeGroupAutoscalingPolicy()

public NodeGroupAutoscalingPolicy()

NodeGroupAutoscalingPolicy(NodeGroupAutoscalingPolicy)

public NodeGroupAutoscalingPolicy(NodeGroupAutoscalingPolicy other)
Parameter
NameDescription
otherNodeGroupAutoscalingPolicy

Properties

HasMaxNodes

public bool HasMaxNodes { get; }

Gets whether the "max_nodes" field is set

Property Value
TypeDescription
Boolean

HasMinNodes

public bool HasMinNodes { get; }

Gets whether the "min_nodes" field is set

Property Value
TypeDescription
Boolean

HasMode

public bool HasMode { get; }

Gets whether the "mode" field is set

Property Value
TypeDescription
Boolean

MaxNodes

public int MaxNodes { get; set; }

The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.

Property Value
TypeDescription
Int32

MinNodes

public int MinNodes { get; set; }

The minimum number of nodes that the group should have.

Property Value
TypeDescription
Int32

Mode

public string Mode { get; set; }

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.

Property Value
TypeDescription
String