// *** 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 Lbrlabs.PulumiPackage.Ovh.IpLoadBalancing.Outputs
{

    [OutputType]
    public sealed class HttpRouteAction
    {
        /// <summary>
        /// HTTP status code for "redirect" and "reject" actions
        /// </summary>
        public readonly int? Status;
        /// <summary>
        /// Farm ID for "farm" action type or URL template for "redirect" action. You may use ${uri}, ${protocol}, ${host}, ${port} and ${path} variables in redirect target
        /// </summary>
        public readonly string? Target;
        /// <summary>
        /// Action to trigger if all the rules of this route matches
        /// </summary>
        public readonly string Type;

        [OutputConstructor]
        private HttpRouteAction(
            int? status,

            string? target,

            string type)
        {
            Status = status;
            Target = target;
            Type = type;
        }
    }
}
