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

    [OutputType]
    public sealed class CustomDomainRouteConfig
    {
        /// <summary>
        /// The name of the Function Compute function that requests are routed to.
        /// </summary>
        public readonly string FunctionName;
        /// <summary>
        /// The requests of the specified HTTP methos are routed from. Valid method: GET, POST, DELETE, HEAD, PUT and PATCH. For example, "GET, HEAD" methods indicate that only requests from GET and HEAD methods are routed.
        /// </summary>
        public readonly ImmutableArray<string> Methods;
        /// <summary>
        /// The path that requests are routed from.
        /// </summary>
        public readonly string Path;
        /// <summary>
        /// The version or alias of the Function Compute service that requests are routed to. For example, qualifier v1 indicates that the requests are routed to the version 1 Function Compute service. For detail information about version and alias, please refer to the [developer guide](https://www.alibabacloud.com/help/doc-detail/96464.htm).
        /// </summary>
        public readonly string? Qualifier;
        public readonly string ServiceName;

        [OutputConstructor]
        private CustomDomainRouteConfig(
            string functionName,

            ImmutableArray<string> methods,

            string path,

            string? qualifier,

            string serviceName)
        {
            FunctionName = functionName;
            Methods = methods;
            Path = path;
            Qualifier = qualifier;
            ServiceName = serviceName;
        }
    }
}
