<filename>sdk/dotnet/Vpn/Connections.cs// *** 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.Vpn
{
    public static class Connections
    {
        public static Task<ConnectionsResult> InvokeAsync(ConnectionsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<ConnectionsResult>("tctest:Vpn/connections:Connections", args ?? new ConnectionsArgs(), options.WithDefaults());

        public static Output<ConnectionsResult> Invoke(ConnectionsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<ConnectionsResult>("tctest:Vpn/connections:Connections", args ?? new ConnectionsInvokeArgs(), options.WithDefaults());
    }


    public sealed class ConnectionsArgs : Pulumi.InvokeArgs
    {
        [Input("customerGatewayId")]
        public string? CustomerGatewayId { get; set; }

        [Input("id")]
        public string? Id { get; set; }

        [Input("name")]
        public string? Name { get; set; }

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

        [Input("tags")]
        private Dictionary<string, object>? _tags;
        public Dictionary<string, object> Tags
        {
            get => _tags ?? (_tags = new Dictionary<string, object>());
            set => _tags = value;
        }

        [Input("vpcId")]
        public string? VpcId { get; set; }

        [Input("vpnGatewayId")]
        public string? VpnGatewayId { get; set; }

        public ConnectionsArgs()
        {
        }
    }

    public sealed class ConnectionsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("customerGatewayId")]
        public Input<string>? CustomerGatewayId { get; set; }

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

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

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

        [Input("tags")]
        private InputMap<object>? _tags;
        public InputMap<object> Tags
        {
            get => _tags ?? (_tags = new InputMap<object>());
            set => _tags = value;
        }

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

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

        public ConnectionsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class ConnectionsResult
    {
        public readonly ImmutableArray<Outputs.ConnectionsConnectionListResult> ConnectionLists;
        public readonly string? CustomerGatewayId;
        public readonly string? Id;
        public readonly string? Name;
        public readonly string? ResultOutputFile;
        public readonly ImmutableDictionary<string, object>? Tags;
        public readonly string? VpcId;
        public readonly string? VpnGatewayId;

        [OutputConstructor]
        private ConnectionsResult(
            ImmutableArray<Outputs.ConnectionsConnectionListResult> connectionLists,

            string? customerGatewayId,

            string? id,

            string? name,

            string? resultOutputFile,

            ImmutableDictionary<string, object>? tags,

            string? vpcId,

            string? vpnGatewayId)
        {
            ConnectionLists = connectionLists;
            CustomerGatewayId = customerGatewayId;
            Id = id;
            Name = name;
            ResultOutputFile = resultOutputFile;
            Tags = tags;
            VpcId = vpcId;
            VpnGatewayId = vpnGatewayId;
        }
    }
}
