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

    [OutputType]
    public sealed class NetworkACLTemplateInboundRule
    {
        /// <summary>
        /// Inbound traffic destination ports. Allowed values are a comma separated
        /// list of ports, e.g., `20,22,23`, port range, e.g., `1023-1040` or word `any`.
        /// </summary>
        public readonly string DstPort;
        /// <summary>
        /// Inbound traffic protocol. One of `IP`, `TCP`, `UDP`.
        /// </summary>
        public readonly string Protocol;
        public readonly int? SequenceNumber;
        public readonly string? SourceType;
        /// <summary>
        /// Inbound traffic source ports. Allowed values are a comma separated list
        /// of ports, e.g., `20,22,23`, port range, e.g., `1023-1040` or word `any`.
        /// </summary>
        public readonly string SrcPort;
        /// <summary>
        /// Inbound traffic source IP subnet in CIDR format.
        /// </summary>
        public readonly string? Subnet;
        /// <summary>
        /// Inbound traffic source IP subnets in CIDR format.
        /// </summary>
        public readonly ImmutableArray<string> Subnets;

        [OutputConstructor]
        private NetworkACLTemplateInboundRule(
            string dstPort,

            string protocol,

            int? sequenceNumber,

            string? sourceType,

            string srcPort,

            string? subnet,

            ImmutableArray<string> subnets)
        {
            DstPort = dstPort;
            Protocol = protocol;
            SequenceNumber = sequenceNumber;
            SourceType = sourceType;
            SrcPort = srcPort;
            Subnet = subnet;
            Subnets = subnets;
        }
    }
}
