<gh_stars>0// *** 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.Dayu
{
    public static class L7RulesV2
    {
        public static Task<L7RulesV2Result> InvokeAsync(L7RulesV2Args args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<L7RulesV2Result>("tctest:Dayu/l7RulesV2:L7RulesV2", args ?? new L7RulesV2Args(), options.WithDefaults());

        public static Output<L7RulesV2Result> Invoke(L7RulesV2InvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<L7RulesV2Result>("tctest:Dayu/l7RulesV2:L7RulesV2", args ?? new L7RulesV2InvokeArgs(), options.WithDefaults());
    }


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

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

        [Input("ip")]
        public string? Ip { get; set; }

        [Input("limit")]
        public int? Limit { get; set; }

        [Input("offset")]
        public int? Offset { get; set; }

        [Input("protocol")]
        public string? Protocol { get; set; }

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

        public L7RulesV2Args()
        {
        }
    }

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

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

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

        [Input("limit")]
        public Input<int>? Limit { get; set; }

        [Input("offset")]
        public Input<int>? Offset { get; set; }

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

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

        public L7RulesV2InvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class L7RulesV2Result
    {
        public readonly string Business;
        public readonly string? Domain;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? Ip;
        public readonly int? Limit;
        public readonly ImmutableArray<Outputs.L7RulesV2ListResult> Lists;
        public readonly int? Offset;
        public readonly string? Protocol;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private L7RulesV2Result(
            string business,

            string? domain,

            string id,

            string? ip,

            int? limit,

            ImmutableArray<Outputs.L7RulesV2ListResult> lists,

            int? offset,

            string? protocol,

            string? resultOutputFile)
        {
            Business = business;
            Domain = domain;
            Id = id;
            Ip = ip;
            Limit = limit;
            Lists = lists;
            Offset = offset;
            Protocol = protocol;
            ResultOutputFile = resultOutputFile;
        }
    }
}
