ClusterNodePoolNodeConfigHostMaintenancePolicy constructor

const ClusterNodePoolNodeConfigHostMaintenancePolicy({
  1. required Input<String> maintenanceInterval,
  2. Input<ClusterNodePoolNodeConfigHostMaintenancePolicyOpportunisticMaintenanceStrategy?>? opportunisticMaintenanceStrategy,
})

Creates a new ClusterNodePoolNodeConfigHostMaintenancePolicy. maintenanceInterval Specifies the frequency of planned maintenance events. Possible values are MAINTENANCE_INTERVAL_UNSPECIFIED, AS_NEEDED, and PERIODIC. opportunisticMaintenanceStrategy Strategy that will trigger maintenance on behalf of the customer. Structure is documented below.

Implementation

const ClusterNodePoolNodeConfigHostMaintenancePolicy({
  required this.maintenanceInterval,
  this.opportunisticMaintenanceStrategy,
});