<filename>sdk/dotnet/Tencentcloud/Scf/Outputs/FunctionAliasRoutingConfigAdditionalVersionMatch.cs// *** 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.Scf.Outputs
{

    [OutputType]
    public sealed class FunctionAliasRoutingConfigAdditionalVersionMatch
    {
        /// <summary>
        /// Rule requirements for range match:It should be described in an open or closed range, i.e., (a,b) or [a,b], where both a and b are integersRule requirements for exact match:Exact string match.
        /// </summary>
        public readonly string Expression;
        /// <summary>
        /// Matching rule key. When the API is called, pass in the key to route the request to the specified version based on the matching ruleHeader method:Enter invoke.headers.User for key and pass in RoutingKey:{User:value} when invoking a function through invoke for invocation based on rule matching.
        /// </summary>
        public readonly string Key;
        /// <summary>
        /// Match method. Valid values:range: Range matchexact: exact string match.
        /// </summary>
        public readonly string Method;
        /// <summary>
        /// Function version name.
        /// </summary>
        public readonly string Version;

        [OutputConstructor]
        private FunctionAliasRoutingConfigAdditionalVersionMatch(
            string expression,

            string key,

            string method,

            string version)
        {
            Expression = expression;
            Key = key;
            Method = method;
            Version = version;
        }
    }
}
