<gh_stars>0// *** 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 zscaler.PulumiPackage.Zia.TrafficForwarding
{
    public static class GetTrafficForwardingGRETunnel
    {
        public static Task<GetTrafficForwardingGRETunnelResult> InvokeAsync(GetTrafficForwardingGRETunnelArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetTrafficForwardingGRETunnelResult>("zia:TrafficForwarding/getTrafficForwardingGRETunnel:getTrafficForwardingGRETunnel", args ?? new GetTrafficForwardingGRETunnelArgs(), options.WithDefaults());

        public static Output<GetTrafficForwardingGRETunnelResult> Invoke(GetTrafficForwardingGRETunnelInvokeArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetTrafficForwardingGRETunnelResult>("zia:TrafficForwarding/getTrafficForwardingGRETunnel:getTrafficForwardingGRETunnel", args ?? new GetTrafficForwardingGRETunnelInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetTrafficForwardingGRETunnelArgs : global::Pulumi.InvokeArgs
    {
        [Input("id")]
        public int? Id { get; set; }

        [Input("sourceIp")]
        public string? SourceIp { get; set; }

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

    public sealed class GetTrafficForwardingGRETunnelInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("id")]
        public Input<int>? Id { get; set; }

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

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


    [OutputType]
    public sealed class GetTrafficForwardingGRETunnelResult
    {
        public readonly string Comment;
        public readonly int? Id;
        public readonly string InternalIpRange;
        public readonly bool IpUnnumbered;
        public readonly int LastModificationTime;
        public readonly ImmutableArray<Outputs.GetTrafficForwardingGRETunnelLastModifiedByResult> LastModifiedBies;
        public readonly ImmutableArray<Outputs.GetTrafficForwardingGRETunnelManagedByResult> ManagedBies;
        public readonly ImmutableArray<Outputs.GetTrafficForwardingGRETunnelPrimaryDestVipResult> PrimaryDestVips;
        public readonly ImmutableArray<Outputs.GetTrafficForwardingGRETunnelSecondaryDestVipResult> SecondaryDestVips;
        public readonly string? SourceIp;
        public readonly bool WithinCountry;

        [OutputConstructor]
        private GetTrafficForwardingGRETunnelResult(
            string comment,

            int? id,

            string internalIpRange,

            bool ipUnnumbered,

            int lastModificationTime,

            ImmutableArray<Outputs.GetTrafficForwardingGRETunnelLastModifiedByResult> lastModifiedBies,

            ImmutableArray<Outputs.GetTrafficForwardingGRETunnelManagedByResult> managedBies,

            ImmutableArray<Outputs.GetTrafficForwardingGRETunnelPrimaryDestVipResult> primaryDestVips,

            ImmutableArray<Outputs.GetTrafficForwardingGRETunnelSecondaryDestVipResult> secondaryDestVips,

            string? sourceIp,

            bool withinCountry)
        {
            Comment = comment;
            Id = id;
            InternalIpRange = internalIpRange;
            IpUnnumbered = ipUnnumbered;
            LastModificationTime = lastModificationTime;
            LastModifiedBies = lastModifiedBies;
            ManagedBies = managedBies;
            PrimaryDestVips = primaryDestVips;
            SecondaryDestVips = secondaryDestVips;
            SourceIp = sourceIp;
            WithinCountry = withinCountry;
        }
    }
}
