Compute Engine v1 API - Class NodeGroupAutoscalingPolicy (2.14.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
bool

HasMinNodes

public bool HasMinNodes { get; }

Gets whether the "min_nodes" field is set

Property Value
TypeDescription
bool

HasMode

public bool HasMode { get; }

Gets whether the "mode" field is set

Property Value
TypeDescription
bool

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
int

MinNodes

public int MinNodes { get; set; }

The minimum number of nodes that the group should have.

Property Value
TypeDescription
int

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