// *** 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.Vcd
{
    public static class GetNsxtIpsecVpnTunnel
    {
        public static Task<GetNsxtIpsecVpnTunnelResult> InvokeAsync(GetNsxtIpsecVpnTunnelArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetNsxtIpsecVpnTunnelResult>("vcd:index/getNsxtIpsecVpnTunnel:getNsxtIpsecVpnTunnel", args ?? new GetNsxtIpsecVpnTunnelArgs(), options.WithDefaults());

        public static Output<GetNsxtIpsecVpnTunnelResult> Invoke(GetNsxtIpsecVpnTunnelInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetNsxtIpsecVpnTunnelResult>("vcd:index/getNsxtIpsecVpnTunnel:getNsxtIpsecVpnTunnel", args ?? new GetNsxtIpsecVpnTunnelInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetNsxtIpsecVpnTunnelArgs : global::Pulumi.InvokeArgs
    {
        [Input("edgeGatewayId", required: true)]
        public string EdgeGatewayId { get; set; } = null!;

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

        [Input("org")]
        public string? Org { get; set; }

        [Input("vdc")]
        public string? Vdc { get; set; }

        public GetNsxtIpsecVpnTunnelArgs()
        {
        }
        public static new GetNsxtIpsecVpnTunnelArgs Empty => new GetNsxtIpsecVpnTunnelArgs();
    }

    public sealed class GetNsxtIpsecVpnTunnelInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("edgeGatewayId", required: true)]
        public Input<string> EdgeGatewayId { get; set; } = null!;

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

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

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

        public GetNsxtIpsecVpnTunnelInvokeArgs()
        {
        }
        public static new GetNsxtIpsecVpnTunnelInvokeArgs Empty => new GetNsxtIpsecVpnTunnelInvokeArgs();
    }


    [OutputType]
    public sealed class GetNsxtIpsecVpnTunnelResult
    {
        public readonly string Description;
        public readonly string EdgeGatewayId;
        public readonly bool Enabled;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string IkeFailReason;
        public readonly string IkeServiceStatus;
        public readonly string LocalIpAddress;
        public readonly ImmutableArray<string> LocalNetworks;
        public readonly bool Logging;
        public readonly string Name;
        public readonly string? Org;
        public readonly string PreSharedKey;
        public readonly string RemoteIpAddress;
        public readonly ImmutableArray<string> RemoteNetworks;
        public readonly string SecurityProfile;
        public readonly ImmutableArray<Outputs.GetNsxtIpsecVpnTunnelSecurityProfileCustomizationResult> SecurityProfileCustomizations;
        public readonly string Status;
        public readonly string? Vdc;

        [OutputConstructor]
        private GetNsxtIpsecVpnTunnelResult(
            string description,

            string edgeGatewayId,

            bool enabled,

            string id,

            string ikeFailReason,

            string ikeServiceStatus,

            string localIpAddress,

            ImmutableArray<string> localNetworks,

            bool logging,

            string name,

            string? org,

            string preSharedKey,

            string remoteIpAddress,

            ImmutableArray<string> remoteNetworks,

            string securityProfile,

            ImmutableArray<Outputs.GetNsxtIpsecVpnTunnelSecurityProfileCustomizationResult> securityProfileCustomizations,

            string status,

            string? vdc)
        {
            Description = description;
            EdgeGatewayId = edgeGatewayId;
            Enabled = enabled;
            Id = id;
            IkeFailReason = ikeFailReason;
            IkeServiceStatus = ikeServiceStatus;
            LocalIpAddress = localIpAddress;
            LocalNetworks = localNetworks;
            Logging = logging;
            Name = name;
            Org = org;
            PreSharedKey = preSharedKey;
            RemoteIpAddress = remoteIpAddress;
            RemoteNetworks = remoteNetworks;
            SecurityProfile = securityProfile;
            SecurityProfileCustomizations = securityProfileCustomizations;
            Status = status;
            Vdc = vdc;
        }
    }
}
