<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;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Lighthouse.Outputs
{

    [OutputType]
    public sealed class FirewallRuleFirewallRule
    {
        /// <summary>
        /// Valid values are ACCEPT, DROP. Default value is ACCEPT.
        /// </summary>
        public readonly string? Action;
        /// <summary>
        /// IP range or IP (mutually exclusive). Default value is 0.0.0.0/0, which indicates all sources.
        /// </summary>
        public readonly string? CidrBlock;
        /// <summary>
        /// Firewall rule description.
        /// </summary>
        public readonly string? FirewallRuleDescription;
        /// <summary>
        /// Port. Valid values are ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign.
        /// </summary>
        public readonly string? Port;
        /// <summary>
        /// Protocol. Valid values are TCP, UDP, ICMP, ALL.
        /// </summary>
        public readonly string Protocol;

        [OutputConstructor]
        private FirewallRuleFirewallRule(
            string? action,

            string? cidrBlock,

            string? firewallRuleDescription,

            string? port,

            string protocol)
        {
            Action = action;
            CidrBlock = cidrBlock;
            FirewallRuleDescription = firewallRuleDescription;
            Port = port;
            Protocol = protocol;
        }
    }
}
