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

    [OutputType]
    public sealed class WebhookTriggerTrigger
    {
        /// <summary>
        /// trigger rule.
        /// </summary>
        public readonly string Condition;
        /// <summary>
        /// trigger description.
        /// </summary>
        public readonly string? Description;
        /// <summary>
        /// enable trigger.
        /// </summary>
        public readonly bool Enabled;
        /// <summary>
        /// trigger action.
        /// </summary>
        public readonly ImmutableArray<string> EventTypes;
        /// <summary>
        /// ID of the resource.
        /// </summary>
        public readonly int? Id;
        /// <summary>
        /// trigger name.
        /// </summary>
        public readonly string Name;
        /// <summary>
        /// the namespace Id to which the trigger belongs.
        /// </summary>
        public readonly int? NamespaceId;
        /// <summary>
        /// trigger target.
        /// </summary>
        public readonly ImmutableArray<Outputs.WebhookTriggerTriggerTarget> Targets;

        [OutputConstructor]
        private WebhookTriggerTrigger(
            string condition,

            string? description,

            bool enabled,

            ImmutableArray<string> eventTypes,

            int? id,

            string name,

            int? namespaceId,

            ImmutableArray<Outputs.WebhookTriggerTriggerTarget> targets)
        {
            Condition = condition;
            Description = description;
            Enabled = enabled;
            EventTypes = eventTypes;
            Id = id;
            Name = name;
            NamespaceId = namespaceId;
            Targets = targets;
        }
    }
}
