// *** 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 TmpTkeAlertPolicyAlertRuleArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// If the alarm policy is derived from the CRD resource definition of the user cluster, the ClusterId is the cluster ID to which it belongs.
        /// </summary>
        [Input("clusterId")]
        public Input<string>? ClusterId { get; set; }

        /// <summary>
        /// Alarm policy ID. Note: This field may return null, indicating that a valid value could not be retrieved.
        /// </summary>
        [Input("id")]
        public Input<string>? Id { get; set; }

        /// <summary>
        /// Policy name.
        /// </summary>
        [Input("name", required: true)]
        public Input<string> Name { get; set; } = null!;

        /// <summary>
        /// Alarm channels, which may be returned using null in the template.
        /// </summary>
        [Input("notification")]
        public Input<Inputs.TmpTkeAlertPolicyAlertRuleNotificationArgs>? Notification { get; set; }

        [Input("rules", required: true)]
        private InputList<Inputs.TmpTkeAlertPolicyAlertRuleRuleArgs>? _rules;

        /// <summary>
        /// A list of rules.
        /// </summary>
        public InputList<Inputs.TmpTkeAlertPolicyAlertRuleRuleArgs> Rules
        {
            get => _rules ?? (_rules = new InputList<Inputs.TmpTkeAlertPolicyAlertRuleRuleArgs>());
            set => _rules = value;
        }

        /// <summary>
        /// If the alarm is sent from a template, the TemplateId is the template id.
        /// </summary>
        [Input("templateId")]
        public Input<string>? TemplateId { get; set; }

        /// <summary>
        /// Last modified time.
        /// </summary>
        [Input("updatedAt")]
        public Input<string>? UpdatedAt { get; set; }

        public TmpTkeAlertPolicyAlertRuleArgs()
        {
        }
    }
}
