NodePoolAutoscalingResponse class

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Constructors

NodePoolAutoscalingResponse({required Input<bool> autoprovisioned, required Input<bool> enabled, required Input<String> locationPolicy, required Input<int> maxNodeCount, required Input<int> minNodeCount, required Input<int> totalMaxNodeCount, required Input<int> totalMinNodeCount})
Creates a new NodePoolAutoscalingResponse. autoprovisioned Can this node pool be deleted automatically. enabled Is autoscaling enabled for this node pool. locationPolicy Location policy used when scaling up a nodepool. maxNodeCount Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster. minNodeCount Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count. totalMaxNodeCount Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the node_count fields. totalMinNodeCount Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_node_count fields are mutually exclusive with the *_node_count fields.
const
NodePoolAutoscalingResponse.fromMap(Map<String, dynamic> map)
factory

Properties

autoprovisioned → Input<bool>
Can this node pool be deleted automatically.
final
enabled → Input<bool>
Is autoscaling enabled for this node pool.
final
hashCode → int
The hash code for this object.
no setterinherited
locationPolicy → Input<String>
Location policy used when scaling up a nodepool.
final
maxNodeCount → Input<int>
Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
final
minNodeCount → Input<int>
Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalMaxNodeCount → Input<int>
Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
final
totalMinNodeCount → Input<int>
Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited