<reponame>lbrlabs/pulumi-ovh// *** 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 HttpRouteRule
    {
        /// <summary>
        /// Name of the field to match like "protocol" or "host" "/ipLoadbalancing/{serviceName}/route/availableRules" for a list of available rules
        /// </summary>
        public readonly string? Field;
        /// <summary>
        /// Matching operator. Not all operators are available for all fields. See "availableRules"
        /// </summary>
        public readonly string? Match;
        /// <summary>
        /// Invert the matching operator effect
        /// </summary>
        public readonly bool? Negate;
        /// <summary>
        /// Value to match against this match. Interpretation if this field depends on the match and field
        /// </summary>
        public readonly string? Pattern;
        /// <summary>
        /// Id of your rule
        /// </summary>
        public readonly int? RuleId;
        /// <summary>
        /// Name of sub-field, if applicable. This may be a Cookie or Header name for instance
        /// </summary>
        public readonly string? SubField;

        [OutputConstructor]
        private HttpRouteRule(
            string? field,

            string? match,

            bool? negate,

            string? pattern,

            int? ruleId,

            string? subField)
        {
            Field = field;
            Match = match;
            Negate = negate;
            Pattern = pattern;
            RuleId = ruleId;
            SubField = subField;
        }
    }
}
