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

    [OutputType]
    public sealed class DdosPolicyV2Acl
    {
        /// <summary>
        /// Action, optional values: drop, transmit, forward.
        /// </summary>
        public readonly string Action;
        /// <summary>
        /// The destination port ends, and the value range is 0~65535.
        /// </summary>
        public readonly int DPortEnd;
        /// <summary>
        /// The destination port starts, and the value range is 0~65535.
        /// </summary>
        public readonly int DPortStart;
        /// <summary>
        /// Protocol type, desirable values tcp, udp, all.
        /// </summary>
        public readonly string ForwardProtocol;
        /// <summary>
        /// Policy priority, the lower the number, the higher the level, the higher the rule matches, taking a value of 1-1000.Note: This field may return null, indicating that a valid value could not be retrieved.
        /// </summary>
        public readonly int Priority;
        /// <summary>
        /// The source port ends, and the acceptable value ranges from 0 to 65535.
        /// </summary>
        public readonly int SPortEnd;
        /// <summary>
        /// The source port starts, and the value range is 0~65535.
        /// </summary>
        public readonly int SPortStart;

        [OutputConstructor]
        private DdosPolicyV2Acl(
            string action,

            int dPortEnd,

            int dPortStart,

            string forwardProtocol,

            int priority,

            int sPortEnd,

            int sPortStart)
        {
            Action = action;
            DPortEnd = dPortEnd;
            DPortStart = dPortStart;
            ForwardProtocol = forwardProtocol;
            Priority = priority;
            SPortEnd = sPortEnd;
            SPortStart = sPortStart;
        }
    }
}
