<reponame>Dwonczykj/gember_deploy<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.Gaap.Outputs
{

    [OutputType]
    public sealed class GetHttpRulesRuleResult
    {
        /// <summary>
        /// Timeout of the health check response.
        /// </summary>
        public readonly int ConnectTimeout;
        /// <summary>
        /// Forward domain of the layer7 listener to be queried.
        /// </summary>
        public readonly string Domain;
        /// <summary>
        /// Requested host which is forwarded to the realserver by the listener to be queried.
        /// </summary>
        public readonly string ForwardHost;
        /// <summary>
        /// Indicates whether health check is enable.
        /// </summary>
        public readonly bool HealthCheck;
        /// <summary>
        /// Method of the health check.
        /// </summary>
        public readonly string HealthCheckMethod;
        /// <summary>
        /// Path of health check.
        /// </summary>
        public readonly string HealthCheckPath;
        /// <summary>
        /// Return code of confirmed normal.
        /// </summary>
        public readonly ImmutableArray<int> HealthCheckStatusCodes;
        /// <summary>
        /// ID of the GAAP realserver.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// Interval of the health check.
        /// </summary>
        public readonly int Interval;
        /// <summary>
        /// ID of the layer7 listener to be queried.
        /// </summary>
        public readonly string ListenerId;
        /// <summary>
        /// Path of the forward rule to be queried.
        /// </summary>
        public readonly string Path;
        /// <summary>
        /// Type of the realserver.
        /// </summary>
        public readonly string RealserverType;
        /// <summary>
        /// An information list of GAAP realserver. Each element contains the following attributes:
        /// </summary>
        public readonly ImmutableArray<Outputs.GetHttpRulesRuleRealserverResult> Realservers;
        /// <summary>
        /// Scheduling policy of the forward rule.
        /// </summary>
        public readonly string Scheduler;
        /// <summary>
        /// ServerNameIndication (SNI).
        /// </summary>
        public readonly string Sni;
        /// <summary>
        /// ServerNameIndication (SNI) switch.
        /// </summary>
        public readonly string SniSwitch;

        [OutputConstructor]
        private GetHttpRulesRuleResult(
            int connectTimeout,

            string domain,

            string forwardHost,

            bool healthCheck,

            string healthCheckMethod,

            string healthCheckPath,

            ImmutableArray<int> healthCheckStatusCodes,

            string id,

            int interval,

            string listenerId,

            string path,

            string realserverType,

            ImmutableArray<Outputs.GetHttpRulesRuleRealserverResult> realservers,

            string scheduler,

            string sni,

            string sniSwitch)
        {
            ConnectTimeout = connectTimeout;
            Domain = domain;
            ForwardHost = forwardHost;
            HealthCheck = healthCheck;
            HealthCheckMethod = healthCheckMethod;
            HealthCheckPath = healthCheckPath;
            HealthCheckStatusCodes = healthCheckStatusCodes;
            Id = id;
            Interval = interval;
            ListenerId = listenerId;
            Path = path;
            RealserverType = realserverType;
            Realservers = realservers;
            Scheduler = scheduler;
            Sni = sni;
            SniSwitch = sniSwitch;
        }
    }
}
