// *** 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.Lighthouse
{
    public static class GetFirewallRulesTemplate
    {
        /// <summary>
        /// Use this data source to query detailed information of lighthouse firewall_rules_template
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var firewallRulesTemplate = Output.Create(Tencentcloud.Lighthouse.GetFirewallRulesTemplate.InvokeAsync());
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetFirewallRulesTemplateResult> InvokeAsync(GetFirewallRulesTemplateArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetFirewallRulesTemplateResult>("tencentcloud:Lighthouse/getFirewallRulesTemplate:getFirewallRulesTemplate", args ?? new GetFirewallRulesTemplateArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to query detailed information of lighthouse firewall_rules_template
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var firewallRulesTemplate = Output.Create(Tencentcloud.Lighthouse.GetFirewallRulesTemplate.InvokeAsync());
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetFirewallRulesTemplateResult> Invoke(GetFirewallRulesTemplateInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetFirewallRulesTemplateResult>("tencentcloud:Lighthouse/getFirewallRulesTemplate:getFirewallRulesTemplate", args ?? new GetFirewallRulesTemplateInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetFirewallRulesTemplateArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// Used to save results.
        /// </summary>
        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public GetFirewallRulesTemplateArgs()
        {
        }
    }

    public sealed class GetFirewallRulesTemplateInvokeArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// Used to save results.
        /// </summary>
        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public GetFirewallRulesTemplateInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetFirewallRulesTemplateResult
    {
        /// <summary>
        /// Firewall rule details list.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetFirewallRulesTemplateFirewallRuleSetResult> FirewallRuleSets;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private GetFirewallRulesTemplateResult(
            ImmutableArray<Outputs.GetFirewallRulesTemplateFirewallRuleSetResult> firewallRuleSets,

            string id,

            string? resultOutputFile)
        {
            FirewallRuleSets = firewallRuleSets;
            Id = id;
            ResultOutputFile = resultOutputFile;
        }
    }
}
