// *** 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 DdosPolicyV2DdosSpeedLimitConfig
    {
        /// <summary>
        /// Bandwidth bps.
        /// </summary>
        public readonly int Bandwidth;
        /// <summary>
        /// List of port ranges, up to 8, multiple; Separated, the range is represented with -; this port range must be filled in; fill in the style 1:0-65535, style 2:80; 443; 1000-2000.
        /// </summary>
        public readonly string DstPortList;
        /// <summary>
        /// Speed limit mode, take the value [1 (speed limit based on source IP),2 (speed limit based on destination port)].
        /// </summary>
        public readonly int Mode;
        /// <summary>
        /// Packet rate pps.
        /// </summary>
        public readonly int PacketRate;
        /// <summary>
        /// IP protocol numbers, take the value[ ALL (all protocols),TCP (tcp protocol),UDP (udp protocol),SMP (smp protocol),1; 2-100 (custom protocol number range, up to 8)].
        /// </summary>
        public readonly string ProtocolList;

        [OutputConstructor]
        private DdosPolicyV2DdosSpeedLimitConfig(
            int bandwidth,

            string dstPortList,

            int mode,

            int packetRate,

            string protocolList)
        {
            Bandwidth = bandwidth;
            DstPortList = dstPortList;
            Mode = mode;
            PacketRate = packetRate;
            ProtocolList = protocolList;
        }
    }
}
