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

    [OutputType]
    public sealed class ListenerXForwardedFor
    {
        public readonly bool? RetriveClientIp;
        /// <summary>
        /// Whether to use the XForwardedFor header to obtain the ID of the SLB instance. Default to false.
        /// </summary>
        public readonly bool? RetriveSlbId;
        /// <summary>
        /// Whether to use the XForwardedFor_SLBIP header to obtain the public IP address of the SLB instance. Default to false.
        /// </summary>
        public readonly bool? RetriveSlbIp;
        /// <summary>
        /// Whether to use the XForwardedFor_proto header to obtain the protocol used by the listener. Default to false.
        /// </summary>
        public readonly bool? RetriveSlbProto;

        [OutputConstructor]
        private ListenerXForwardedFor(
            bool? retriveClientIp,

            bool? retriveSlbId,

            bool? retriveSlbIp,

            bool? retriveSlbProto)
        {
            RetriveClientIp = retriveClientIp;
            RetriveSlbId = retriveSlbId;
            RetriveSlbIp = retriveSlbIp;
            RetriveSlbProto = retriveSlbProto;
        }
    }
}
