DatabaseInstanceSettingsReadPoolAutoScaleConfig constructor

const DatabaseInstanceSettingsReadPoolAutoScaleConfig({
  1. Input<bool?>? disableScaleIn,
  2. Input<bool?>? enabled,
  3. Input<int?>? maxNodeCount,
  4. Input<int?>? minNodeCount,
  5. Input<int?>? scaleInCooldownSeconds,
  6. Input<int?>? scaleOutCooldownSeconds,
  7. Input<List<DatabaseInstanceSettingsReadPoolAutoScaleConfigTargetMetric>?>? targetMetrics,
})

Creates a new DatabaseInstanceSettingsReadPoolAutoScaleConfig. disableScaleIn True if auto scale in is disabled. enabled True if Read Pool Auto Scale is enabled. maxNodeCount Maximum number of nodes in the read pool. If set to lower than current node count, node count will be updated. minNodeCount Minimum number of nodes in the read pool. If set to higher than current node count, node count will be updated. scaleInCooldownSeconds The cooldown period for scale in operations. scaleOutCooldownSeconds The cooldown period for scale out operations. targetMetrics Target metrics for Read Pool Auto Scale. Must specify target_metrics.metric and target_metrics.target_value in subblock.

Implementation

const DatabaseInstanceSettingsReadPoolAutoScaleConfig({
  this.disableScaleIn,
  this.enabled,
  this.maxNodeCount,
  this.minNodeCount,
  this.scaleInCooldownSeconds,
  this.scaleOutCooldownSeconds,
  this.targetMetrics,
});