Class NodeGroupAutoscalingPolicy (1.4.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
Name Description
other NodeGroupAutoscalingPolicy

Properties

HasMaxNodes

public bool HasMaxNodes { get; }

Gets whether the "max_nodes" field is set

Property Value
Type Description
Boolean

HasMinNodes

public bool HasMinNodes { get; }

Gets whether the "min_nodes" field is set

Property Value
Type Description
Boolean

HasMode

public bool HasMode { get; }

Gets whether the "mode" field is set

Property Value
Type Description
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
Type Description
Int32

MinNodes

public int MinNodes { get; set; }

The minimum number of nodes that the group should have.

Property Value
Type Description
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
Type Description
String