// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace luxifer.Scaleway.Outputs
{

    [OutputType]
    public sealed class K8sClusterAutoUpgrade
    {
        /// <summary>
        /// Set to `true` to enable Kubernetes patch version auto upgrades.
        /// &gt; **Important:** When enabling auto upgrades, the `version` field take a minor version like x.y (ie 1.18).
        /// </summary>
        public readonly bool Enable;
        /// <summary>
        /// The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).
        /// </summary>
        public readonly string MaintenanceWindowDay;
        /// <summary>
        /// The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).
        /// </summary>
        public readonly int MaintenanceWindowStartHour;

        [OutputConstructor]
        private K8sClusterAutoUpgrade(
            bool enable,

            string maintenanceWindowDay,

            int maintenanceWindowStartHour)
        {
            Enable = enable;
            MaintenanceWindowDay = maintenanceWindowDay;
            MaintenanceWindowStartHour = maintenanceWindowStartHour;
        }
    }
}
