<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.EventBridge.Outputs
{

    [OutputType]
    public sealed class GetRulesRuleResult
    {
        /// <summary>
        /// The description of rule.
        /// </summary>
        public readonly string Description;
        /// <summary>
        /// The name of event bus.
        /// </summary>
        public readonly string EventBusName;
        /// <summary>
        /// The pattern to match interested events.
        /// </summary>
        public readonly string FilterPattern;
        /// <summary>
        /// The ID of the Rule.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// The name of rule.
        /// </summary>
        public readonly string RuleName;
        /// <summary>
        /// Rule status, either Enable or Disable.
        /// </summary>
        public readonly string Status;
        /// <summary>
        /// The target for rule.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetRulesRuleTargetResult> Targets;

        [OutputConstructor]
        private GetRulesRuleResult(
            string description,

            string eventBusName,

            string filterPattern,

            string id,

            string ruleName,

            string status,

            ImmutableArray<Outputs.GetRulesRuleTargetResult> targets)
        {
            Description = description;
            EventBusName = eventBusName;
            FilterPattern = filterPattern;
            Id = id;
            RuleName = ruleName;
            Status = status;
            Targets = targets;
        }
    }
}
