// *** 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;

namespace Pulumi.AliCloud.SimpleApplicationServer.Outputs
{

    [OutputType]
    public sealed class GetServerFirewallRulesRuleResult
    {
        /// <summary>
        /// The ID of the firewall rule.
        /// </summary>
        public readonly string FirewallRuleId;
        /// <summary>
        /// The ID of the Firewall Rule. The value formats as `&lt;instance_id&gt;:&lt;firewall_rule_id&gt;`.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// Alibaba Cloud simple application server instance ID.
        /// </summary>
        public readonly string InstanceId;
        /// <summary>
        /// The port range of the firewall rule.
        /// </summary>
        public readonly string Port;
        /// <summary>
        /// The remarks of the firewall rule.
        /// </summary>
        public readonly string Remark;
        /// <summary>
        /// The transport layer protocol. Valid values: `Tcp`, `Udp`, `TcpAndUdp`.
        /// </summary>
        public readonly string RuleProtocol;

        [OutputConstructor]
        private GetServerFirewallRulesRuleResult(
            string firewallRuleId,

            string id,

            string instanceId,

            string port,

            string remark,

            string ruleProtocol)
        {
            FirewallRuleId = firewallRuleId;
            Id = id;
            InstanceId = instanceId;
            Port = port;
            Remark = remark;
            RuleProtocol = ruleProtocol;
        }
    }
}
