<gh_stars>0// *** 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.Outputs
{

    [OutputType]
    public sealed class AlertSchedule
    {
        /// <summary>
        /// Cron expression when type is Cron.
        /// </summary>
        public readonly string? CronExpression;
        /// <summary>
        /// Day of week when type is Weekly, including 0,1,2,3,4,5,6, 0 for Sunday, 1 for Monday
        /// </summary>
        public readonly int? DayOfWeek;
        public readonly int? Delay;
        /// <summary>
        /// Hour of day when type is Weekly/Daily.
        /// </summary>
        public readonly int? Hour;
        /// <summary>
        /// Execution interval. 60 seconds minimum, such as 60s, 1h. used when type is FixedRate.
        /// </summary>
        public readonly string? Interval;
        public readonly bool? RunImmediately;
        /// <summary>
        /// Time zone for schedule.
        /// </summary>
        public readonly string? TimeZone;
        /// <summary>
        /// including FixedRate,Hourly,Daily,Weekly,Cron.
        /// </summary>
        public readonly string Type;

        [OutputConstructor]
        private AlertSchedule(
            string? cronExpression,

            int? dayOfWeek,

            int? delay,

            int? hour,

            string? interval,

            bool? runImmediately,

            string? timeZone,

            string type)
        {
            CronExpression = cronExpression;
            DayOfWeek = dayOfWeek;
            Delay = delay;
            Hour = hour;
            Interval = interval;
            RunImmediately = runImmediately;
            TimeZone = timeZone;
            Type = type;
        }
    }
}
