<reponame>piclemx/pulumi-nobl9// *** 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;

namespace Pulumi.Nobl9.Inputs
{

    public sealed class SloTimeWindowArgs : global::Pulumi.ResourceArgs
    {
        [Input("calendars")]
        private InputList<Inputs.SloTimeWindowCalendarArgs>? _calendars;

        /// <summary>
        /// Alert Policies attached to SLO
        /// </summary>
        public InputList<Inputs.SloTimeWindowCalendarArgs> Calendars
        {
            get => _calendars ?? (_calendars = new InputList<Inputs.SloTimeWindowCalendarArgs>());
            set => _calendars = value;
        }

        /// <summary>
        /// Count of the time unit
        /// </summary>
        [Input("count", required: true)]
        public Input<int> Count { get; set; } = null!;

        /// <summary>
        /// Is the window moving or not
        /// </summary>
        [Input("isRolling")]
        public Input<bool>? IsRolling { get; set; }

        [Input("period")]
        private InputMap<string>? _period;

        /// <summary>
        /// Period between start time and added count
        /// </summary>
        public InputMap<string> Period
        {
            get => _period ?? (_period = new InputMap<string>());
            set => _period = value;
        }

        /// <summary>
        /// Unit of time
        /// </summary>
        [Input("unit", required: true)]
        public Input<string> Unit { get; set; } = null!;

        public SloTimeWindowArgs()
        {
        }
        public static new SloTimeWindowArgs Empty => new SloTimeWindowArgs();
    }
}
