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

HasMinNodes

public bool HasMinNodes { get; }

Gets whether the "min_nodes" field is set

Property Value
Type Description
bool

HasMode

public bool HasMode { get; }

Gets whether the "mode" field is set

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

MinNodes

public int MinNodes { get; set; }

The minimum number of nodes that the group should have.

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