// *** 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 TencentCloudIAC.PulumiPackage.Tencentcloud.Monitor.Inputs
{

    public sealed class TmpTkeAlertPolicyAlertRuleNotificationArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// If Type is alertmanager, the field is required. Note: This field may return null, indicating that a valid value could not be retrieved..
        /// </summary>
        [Input("alertManager")]
        public Input<Inputs.TmpTkeAlertPolicyAlertRuleNotificationAlertManagerArgs>? AlertManager { get; set; }

        /// <summary>
        /// Whether it is enabled.
        /// </summary>
        [Input("enabled", required: true)]
        public Input<bool> Enabled { get; set; } = null!;

        [Input("notifyWays")]
        private InputList<string>? _notifyWays;

        /// <summary>
        /// Alarm notification method. At present, there are SMS, EMAIL, CALL, WECHAT methods.
        /// </summary>
        public InputList<string> NotifyWays
        {
            get => _notifyWays ?? (_notifyWays = new InputList<string>());
            set => _notifyWays = value;
        }

        /// <summary>
        /// Telephone alerts reach notifications.
        /// </summary>
        [Input("phoneArriveNotice")]
        public Input<bool>? PhoneArriveNotice { get; set; }

        /// <summary>
        /// Effective end timeTelephone alarm wheel interval. Units: Seconds.
        /// </summary>
        [Input("phoneCircleInterval")]
        public Input<int>? PhoneCircleInterval { get; set; }

        /// <summary>
        /// PhoneCircleTimes.
        /// </summary>
        [Input("phoneCircleTimes")]
        public Input<int>? PhoneCircleTimes { get; set; }

        /// <summary>
        /// Telephone alarm wheel intervals. Units: Seconds.
        /// </summary>
        [Input("phoneInnerInterval")]
        public Input<int>? PhoneInnerInterval { get; set; }

        [Input("phoneNotifyOrders")]
        private InputList<int>? _phoneNotifyOrders;

        /// <summary>
        /// Telephone alarm sequence.
        /// </summary>
        public InputList<int> PhoneNotifyOrders
        {
            get => _phoneNotifyOrders ?? (_phoneNotifyOrders = new InputList<int>());
            set => _phoneNotifyOrders = value;
        }

        [Input("receiverGroups")]
        private InputList<string>? _receiverGroups;

        /// <summary>
        /// Alert Receiving Group (User Group).
        /// </summary>
        public InputList<string> ReceiverGroups
        {
            get => _receiverGroups ?? (_receiverGroups = new InputList<string>());
            set => _receiverGroups = value;
        }

        /// <summary>
        /// Convergence time.
        /// </summary>
        [Input("repeatInterval")]
        public Input<string>? RepeatInterval { get; set; }

        /// <summary>
        /// Effective end time.
        /// </summary>
        [Input("timeRangeEnd")]
        public Input<string>? TimeRangeEnd { get; set; }

        /// <summary>
        /// The time from which it takes effect.
        /// </summary>
        [Input("timeRangeStart")]
        public Input<string>? TimeRangeStart { get; set; }

        /// <summary>
        /// The channel type, which defaults to amp, supports the following `amp`, `webhook`, `alertmanager`.
        /// </summary>
        [Input("type", required: true)]
        public Input<string> Type { get; set; } = null!;

        /// <summary>
        /// If Type is webhook, the field is required. Note: This field may return null, indicating that a valid value could not be retrieved.
        /// </summary>
        [Input("webHook")]
        public Input<string>? WebHook { get; set; }

        public TmpTkeAlertPolicyAlertRuleNotificationArgs()
        {
        }
    }
}
