1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getTrafficForwardingGRETunnelInfo
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

zia.getTrafficForwardingGRETunnelInfo

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

    The zia_traffic_forwarding_gre_tunnel_info data source to get information about provisioned GRE tunnel information created in the Zscaler Internet Access portal.

    Example Usage

    # ZIA Traffic Forwarding - GRE tunnel
    data "zia_traffic_forwarding_gre_tunnel_info" "example" {
      ip_address = "1.1.1.1"
    }
    

    Using getTrafficForwardingGRETunnelInfo

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTrafficForwardingGRETunnelInfo(args: GetTrafficForwardingGRETunnelInfoArgs, opts?: InvokeOptions): Promise<GetTrafficForwardingGRETunnelInfoResult>
    function getTrafficForwardingGRETunnelInfoOutput(args: GetTrafficForwardingGRETunnelInfoOutputArgs, opts?: InvokeOptions): Output<GetTrafficForwardingGRETunnelInfoResult>
    def get_traffic_forwarding_gre_tunnel_info(gre_enabled: Optional[bool] = None,
                                               ip_address: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetTrafficForwardingGRETunnelInfoResult
    def get_traffic_forwarding_gre_tunnel_info_output(gre_enabled: Optional[pulumi.Input[bool]] = None,
                                               ip_address: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetTrafficForwardingGRETunnelInfoResult]
    func GetTrafficForwardingGRETunnelInfo(ctx *Context, args *GetTrafficForwardingGRETunnelInfoArgs, opts ...InvokeOption) (*GetTrafficForwardingGRETunnelInfoResult, error)
    func GetTrafficForwardingGRETunnelInfoOutput(ctx *Context, args *GetTrafficForwardingGRETunnelInfoOutputArgs, opts ...InvokeOption) GetTrafficForwardingGRETunnelInfoResultOutput

    > Note: This function is named GetTrafficForwardingGRETunnelInfo in the Go SDK.

    public static class GetTrafficForwardingGRETunnelInfo 
    {
        public static Task<GetTrafficForwardingGRETunnelInfoResult> InvokeAsync(GetTrafficForwardingGRETunnelInfoArgs args, InvokeOptions? opts = null)
        public static Output<GetTrafficForwardingGRETunnelInfoResult> Invoke(GetTrafficForwardingGRETunnelInfoInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrafficForwardingGRETunnelInfoResult> getTrafficForwardingGRETunnelInfo(GetTrafficForwardingGRETunnelInfoArgs args, InvokeOptions options)
    public static Output<GetTrafficForwardingGRETunnelInfoResult> getTrafficForwardingGRETunnelInfo(GetTrafficForwardingGRETunnelInfoArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getTrafficForwardingGRETunnelInfo:getTrafficForwardingGRETunnelInfo
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GreEnabled bool

    Displays only ip addresses with GRE tunnel enabled

    NOTE ip_address is the public IP address (Static IP) associated with the GRE Tunnel

    IpAddress string
    Filter based on an IP address range.
    GreEnabled bool

    Displays only ip addresses with GRE tunnel enabled

    NOTE ip_address is the public IP address (Static IP) associated with the GRE Tunnel

    IpAddress string
    Filter based on an IP address range.
    greEnabled Boolean

    Displays only ip addresses with GRE tunnel enabled

    NOTE ip_address is the public IP address (Static IP) associated with the GRE Tunnel

    ipAddress String
    Filter based on an IP address range.
    greEnabled boolean

    Displays only ip addresses with GRE tunnel enabled

    NOTE ip_address is the public IP address (Static IP) associated with the GRE Tunnel

    ipAddress string
    Filter based on an IP address range.
    gre_enabled bool

    Displays only ip addresses with GRE tunnel enabled

    NOTE ip_address is the public IP address (Static IP) associated with the GRE Tunnel

    ip_address str
    Filter based on an IP address range.
    greEnabled Boolean

    Displays only ip addresses with GRE tunnel enabled

    NOTE ip_address is the public IP address (Static IP) associated with the GRE Tunnel

    ipAddress String
    Filter based on an IP address range.

    getTrafficForwardingGRETunnelInfo Result

    The following output properties are available:

    GreRangePrimary string
    (String)
    GreRangeSecondary string
    (String)
    GreTunnelIp string
    (String) The start of the internal IP address in /29 CIDR range
    Id string
    The provider-assigned unique ID for this managed resource.
    PrimaryGw string
    (String)
    SecondaryGw string
    (String)
    TunId int
    (Number)
    GreEnabled bool
    IpAddress string
    GreRangePrimary string
    (String)
    GreRangeSecondary string
    (String)
    GreTunnelIp string
    (String) The start of the internal IP address in /29 CIDR range
    Id string
    The provider-assigned unique ID for this managed resource.
    PrimaryGw string
    (String)
    SecondaryGw string
    (String)
    TunId int
    (Number)
    GreEnabled bool
    IpAddress string
    greRangePrimary String
    (String)
    greRangeSecondary String
    (String)
    greTunnelIp String
    (String) The start of the internal IP address in /29 CIDR range
    id String
    The provider-assigned unique ID for this managed resource.
    primaryGw String
    (String)
    secondaryGw String
    (String)
    tunId Integer
    (Number)
    greEnabled Boolean
    ipAddress String
    greRangePrimary string
    (String)
    greRangeSecondary string
    (String)
    greTunnelIp string
    (String) The start of the internal IP address in /29 CIDR range
    id string
    The provider-assigned unique ID for this managed resource.
    primaryGw string
    (String)
    secondaryGw string
    (String)
    tunId number
    (Number)
    greEnabled boolean
    ipAddress string
    gre_range_primary str
    (String)
    gre_range_secondary str
    (String)
    gre_tunnel_ip str
    (String) The start of the internal IP address in /29 CIDR range
    id str
    The provider-assigned unique ID for this managed resource.
    primary_gw str
    (String)
    secondary_gw str
    (String)
    tun_id int
    (Number)
    gre_enabled bool
    ip_address str
    greRangePrimary String
    (String)
    greRangeSecondary String
    (String)
    greTunnelIp String
    (String) The start of the internal IP address in /29 CIDR range
    id String
    The provider-assigned unique ID for this managed resource.
    primaryGw String
    (String)
    secondaryGw String
    (String)
    tunId Number
    (Number)
    greEnabled Boolean
    ipAddress String

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler