NodePoolAutoscalingResponse constructor
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.
Implementation
const NodePoolAutoscalingResponse({
required this.autoprovisioned,
required this.enabled,
required this.locationPolicy,
required this.maxNodeCount,
required this.minNodeCount,
required this.totalMaxNodeCount,
required this.totalMinNodeCount,
});