<reponame>Dwonczykj/gember_deploy// *** 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.Outputs
{

    [OutputType]
    public sealed class TmpTkeAlertPolicyAlertRule
    {
        /// <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>
        public readonly string? ClusterId;
        /// <summary>
        /// Alarm policy ID. Note: This field may return null, indicating that a valid value could not be retrieved.
        /// </summary>
        public readonly string? Id;
        /// <summary>
        /// Policy name.
        /// </summary>
        public readonly string Name;
        /// <summary>
        /// Alarm channels, which may be returned using null in the template.
        /// </summary>
        public readonly Outputs.TmpTkeAlertPolicyAlertRuleNotification? Notification;
        /// <summary>
        /// A list of rules.
        /// </summary>
        public readonly ImmutableArray<Outputs.TmpTkeAlertPolicyAlertRuleRule> Rules;
        /// <summary>
        /// If the alarm is sent from a template, the TemplateId is the template id.
        /// </summary>
        public readonly string? TemplateId;
        /// <summary>
        /// Last modified time.
        /// </summary>
        public readonly string? UpdatedAt;

        [OutputConstructor]
        private TmpTkeAlertPolicyAlertRule(
            string? clusterId,

            string? id,

            string name,

            Outputs.TmpTkeAlertPolicyAlertRuleNotification? notification,

            ImmutableArray<Outputs.TmpTkeAlertPolicyAlertRuleRule> rules,

            string? templateId,

            string? updatedAt)
        {
            ClusterId = clusterId;
            Id = id;
            Name = name;
            Notification = notification;
            Rules = rules;
            TemplateId = templateId;
            UpdatedAt = updatedAt;
        }
    }
}
