<reponame>Dwonczykj/gember_deploy// *** 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.Vpn
{
    public static class GetCustomerGateways
    {
        /// <summary>
        /// Use this data source to query detailed information of VPN customer gateways.
        /// </summary>
        public static Task<GetCustomerGatewaysResult> InvokeAsync(GetCustomerGatewaysArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetCustomerGatewaysResult>("tencentcloud:Vpn/getCustomerGateways:getCustomerGateways", args ?? new GetCustomerGatewaysArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to query detailed information of VPN customer gateways.
        /// </summary>
        public static Output<GetCustomerGatewaysResult> Invoke(GetCustomerGatewaysInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetCustomerGatewaysResult>("tencentcloud:Vpn/getCustomerGateways:getCustomerGateways", args ?? new GetCustomerGatewaysInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetCustomerGatewaysArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// ID of the VPN customer gateway.
        /// </summary>
        [Input("id")]
        public string? Id { get; set; }

        /// <summary>
        /// Name of the customer gateway. The length of character is limited to 1-60.
        /// </summary>
        [Input("name")]
        public string? Name { get; set; }

        /// <summary>
        /// Public ip address of the VPN customer gateway.
        /// </summary>
        [Input("publicIpAddress")]
        public string? PublicIpAddress { get; set; }

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

        [Input("tags")]
        private Dictionary<string, object>? _tags;

        /// <summary>
        /// Tags of the VPN customer gateway to be queried.
        /// </summary>
        public Dictionary<string, object> Tags
        {
            get => _tags ?? (_tags = new Dictionary<string, object>());
            set => _tags = value;
        }

        public GetCustomerGatewaysArgs()
        {
        }
    }

    public sealed class GetCustomerGatewaysInvokeArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// ID of the VPN customer gateway.
        /// </summary>
        [Input("id")]
        public Input<string>? Id { get; set; }

        /// <summary>
        /// Name of the customer gateway. The length of character is limited to 1-60.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        /// <summary>
        /// Public ip address of the VPN customer gateway.
        /// </summary>
        [Input("publicIpAddress")]
        public Input<string>? PublicIpAddress { get; set; }

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

        [Input("tags")]
        private InputMap<object>? _tags;

        /// <summary>
        /// Tags of the VPN customer gateway to be queried.
        /// </summary>
        public InputMap<object> Tags
        {
            get => _tags ?? (_tags = new InputMap<object>());
            set => _tags = value;
        }

        public GetCustomerGatewaysInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetCustomerGatewaysResult
    {
        /// <summary>
        /// Information list of the dedicated gateways.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetCustomerGatewaysGatewayListResult> GatewayLists;
        /// <summary>
        /// ID of the VPN customer gateway.
        /// </summary>
        public readonly string? Id;
        /// <summary>
        /// Name of the VPN customer gateway.
        /// </summary>
        public readonly string? Name;
        /// <summary>
        /// Public ip address of the VPN customer gateway.
        /// </summary>
        public readonly string? PublicIpAddress;
        public readonly string? ResultOutputFile;
        /// <summary>
        /// Tags of the VPN customer gateway.
        /// </summary>
        public readonly ImmutableDictionary<string, object>? Tags;

        [OutputConstructor]
        private GetCustomerGatewaysResult(
            ImmutableArray<Outputs.GetCustomerGatewaysGatewayListResult> gatewayLists,

            string? id,

            string? name,

            string? publicIpAddress,

            string? resultOutputFile,

            ImmutableDictionary<string, object>? tags)
        {
            GatewayLists = gatewayLists;
            Id = id;
            Name = name;
            PublicIpAddress = publicIpAddress;
            ResultOutputFile = resultOutputFile;
            Tags = tags;
        }
    }
}
