// *** 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.AliCloud.Log.Inputs
{

    public sealed class AlertScheduleArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Cron expression when type is Cron.
        /// </summary>
        [Input("cronExpression")]
        public Input<string>? CronExpression { get; set; }

        /// <summary>
        /// Day of week when type is Weekly, including 0,1,2,3,4,5,6, 0 for Sunday, 1 for Monday
        /// </summary>
        [Input("dayOfWeek")]
        public Input<int>? DayOfWeek { get; set; }

        [Input("delay")]
        public Input<int>? Delay { get; set; }

        /// <summary>
        /// Hour of day when type is Weekly/Daily.
        /// </summary>
        [Input("hour")]
        public Input<int>? Hour { get; set; }

        /// <summary>
        /// Execution interval. 60 seconds minimum, such as 60s, 1h. used when type is FixedRate.
        /// </summary>
        [Input("interval")]
        public Input<string>? Interval { get; set; }

        [Input("runImmediately")]
        public Input<bool>? RunImmediately { get; set; }

        /// <summary>
        /// Time zone for schedule.
        /// </summary>
        [Input("timeZone")]
        public Input<string>? TimeZone { get; set; }

        /// <summary>
        /// including FixedRate,Hourly,Daily,Weekly,Cron.
        /// </summary>
        [Input("type", required: true)]
        public Input<string> Type { get; set; } = null!;

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