<reponame>Kagashino/pulumi-tctest<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 L4Rules
    {
        public static Task<L4RulesResult> InvokeAsync(L4RulesArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<L4RulesResult>("tctest:Dayu/l4Rules:L4Rules", args ?? new L4RulesArgs(), options.WithDefaults());

        public static Output<L4RulesResult> Invoke(L4RulesInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<L4RulesResult>("tctest:Dayu/l4Rules:L4Rules", args ?? new L4RulesInvokeArgs(), options.WithDefaults());
    }


    public sealed class L4RulesArgs : Pulumi.InvokeArgs
    {
        [Input("name")]
        public string? Name { get; set; }

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

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

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

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

        public L4RulesArgs()
        {
        }
    }

    public sealed class L4RulesInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("name")]
        public Input<string>? Name { get; set; }

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

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

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

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

        public L4RulesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class L4RulesResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.L4RulesListResult> Lists;
        public readonly string? Name;
        public readonly string ResourceId;
        public readonly string ResourceType;
        public readonly string? ResultOutputFile;
        public readonly string? RuleId;

        [OutputConstructor]
        private L4RulesResult(
            string id,

            ImmutableArray<Outputs.L4RulesListResult> lists,

            string? name,

            string resourceId,

            string resourceType,

            string? resultOutputFile,

            string? ruleId)
        {
            Id = id;
            Lists = lists;
            Name = name;
            ResourceId = resourceId;
            ResourceType = resourceType;
            ResultOutputFile = resultOutputFile;
            RuleId = ruleId;
        }
    }
}
