NodeGroupNodeRepairConfig constructor

const NodeGroupNodeRepairConfig({
  1. Input<bool?>? enabled,
  2. Input<int?>? maxParallelNodesRepairedCount,
  3. Input<int?>? maxParallelNodesRepairedPercentage,
  4. Input<int?>? maxUnhealthyNodeThresholdCount,
  5. Input<int?>? maxUnhealthyNodeThresholdPercentage,
  6. Input<List<NodeGroupNodeRepairConfigNodeRepairConfigOverride>?>? nodeRepairConfigOverrides,
})

Creates a new NodeGroupNodeRepairConfig. enabled Specifies whether to enable node auto repair for the node group. Node auto repair is disabled by default. Defaults to false. maxParallelNodesRepairedCount Maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes. Conflicts with maxParallelNodesRepairedPercentage. maxParallelNodesRepairedPercentage Maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes. Conflicts with maxParallelNodesRepairedCount. maxUnhealthyNodeThresholdCount Count threshold of unhealthy nodes, above which node auto repair actions will stop. Conflicts with maxUnhealthyNodeThresholdPercentage. maxUnhealthyNodeThresholdPercentage Percentage threshold of unhealthy nodes, above which node auto repair actions will stop. Conflicts with maxUnhealthyNodeThresholdCount. nodeRepairConfigOverrides Granular overrides for specific repair actions. See nodeRepairConfigOverrides below for details.

Implementation

const NodeGroupNodeRepairConfig({
  this.enabled,
  this.maxParallelNodesRepairedCount,
  this.maxParallelNodesRepairedPercentage,
  this.maxUnhealthyNodeThresholdCount,
  this.maxUnhealthyNodeThresholdPercentage,
  this.nodeRepairConfigOverrides,
});