<reponame>Kagashino/pulumi-tctest// *** 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.Tctest.Clb
{
    public static class ListenerRules
    {
        public static Task<ListenerRulesResult> InvokeAsync(ListenerRulesArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<ListenerRulesResult>("tctest:Clb/listenerRules:ListenerRules", args ?? new ListenerRulesArgs(), options.WithDefaults());

        public static Output<ListenerRulesResult> Invoke(ListenerRulesInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<ListenerRulesResult>("tctest:Clb/listenerRules:ListenerRules", args ?? new ListenerRulesInvokeArgs(), options.WithDefaults());
    }


    public sealed class ListenerRulesArgs : Pulumi.InvokeArgs
    {
        [Input("clbId", required: true)]
        public string ClbId { get; set; } = null!;

        [Input("domain")]
        public string? Domain { get; set; }

        [Input("listenerId", required: true)]
        public string ListenerId { get; set; } = null!;

        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        [Input("ruleId")]
        public string? RuleId { get; set; }

        [Input("scheduler")]
        public string? Scheduler { get; set; }

        [Input("url")]
        public string? Url { get; set; }

        public ListenerRulesArgs()
        {
        }
    }

    public sealed class ListenerRulesInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("clbId", required: true)]
        public Input<string> ClbId { get; set; } = null!;

        [Input("domain")]
        public Input<string>? Domain { get; set; }

        [Input("listenerId", required: true)]
        public Input<string> ListenerId { get; set; } = null!;

        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        [Input("ruleId")]
        public Input<string>? RuleId { get; set; }

        [Input("scheduler")]
        public Input<string>? Scheduler { get; set; }

        [Input("url")]
        public Input<string>? Url { get; set; }

        public ListenerRulesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class ListenerRulesResult
    {
        public readonly string ClbId;
        public readonly string? Domain;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string ListenerId;
        public readonly string? ResultOutputFile;
        public readonly string? RuleId;
        public readonly ImmutableArray<Outputs.ListenerRulesRuleListResult> RuleLists;
        public readonly string? Scheduler;
        public readonly string? Url;

        [OutputConstructor]
        private ListenerRulesResult(
            string clbId,

            string? domain,

            string id,

            string listenerId,

            string? resultOutputFile,

            string? ruleId,

            ImmutableArray<Outputs.ListenerRulesRuleListResult> ruleLists,

            string? scheduler,

            string? url)
        {
            ClbId = clbId;
            Domain = domain;
            Id = id;
            ListenerId = listenerId;
            ResultOutputFile = resultOutputFile;
            RuleId = ruleId;
            RuleLists = ruleLists;
            Scheduler = scheduler;
            Url = url;
        }
    }
}
