// *** 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.Vpc
{
    public static class GetAcls
    {
        /// <summary>
        /// Use this data source to query VPC Network ACL information.
        /// </summary>
        public static Task<GetAclsResult> InvokeAsync(GetAclsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetAclsResult>("tencentcloud:Vpc/getAcls:getAcls", args ?? new GetAclsArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to query VPC Network ACL information.
        /// </summary>
        public static Output<GetAclsResult> Invoke(GetAclsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetAclsResult>("tencentcloud:Vpc/getAcls:getAcls", args ?? new GetAclsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetAclsArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// ID of the network ACL instance.
        /// </summary>
        [Input("id")]
        public string? Id { get; set; }

        /// <summary>
        /// Name of the network ACL.
        /// </summary>
        [Input("name")]
        public string? Name { get; set; }

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

        /// <summary>
        /// ID of the VPC instance.
        /// </summary>
        [Input("vpcId")]
        public string? VpcId { get; set; }

        public GetAclsArgs()
        {
        }
    }

    public sealed class GetAclsInvokeArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// ID of the network ACL instance.
        /// </summary>
        [Input("id")]
        public Input<string>? Id { get; set; }

        /// <summary>
        /// Name of the network ACL.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

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

        /// <summary>
        /// ID of the VPC instance.
        /// </summary>
        [Input("vpcId")]
        public Input<string>? VpcId { get; set; }

        public GetAclsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetAclsResult
    {
        /// <summary>
        /// The information list of the VPC. Each element contains the following attributes:
        /// </summary>
        public readonly ImmutableArray<Outputs.GetAclsAclListResult> AclLists;
        /// <summary>
        /// ID of the network ACL instance.
        /// </summary>
        public readonly string? Id;
        /// <summary>
        /// Name of the network ACL.
        /// </summary>
        public readonly string? Name;
        public readonly string? ResultOutputFile;
        /// <summary>
        /// ID of the VPC instance.
        /// </summary>
        public readonly string? VpcId;

        [OutputConstructor]
        private GetAclsResult(
            ImmutableArray<Outputs.GetAclsAclListResult> aclLists,

            string? id,

            string? name,

            string? resultOutputFile,

            string? vpcId)
        {
            AclLists = aclLists;
            Id = id;
            Name = name;
            ResultOutputFile = resultOutputFile;
            VpcId = vpcId;
        }
    }
}
