Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler
zia.getTrafficForwardingGRETunnel
Explore with Pulumi AI
The zia_traffic_forwarding_gre_tunnel data source to get information about provisioned GRE tunnel information created in the Zscaler Internet Access portal.
Example Usage
Retrieve GRE Tunnel By Source IP
data "zia_traffic_forwarding_gre_tunnel" "example" {
source_ip = "1.1.1.1"
}
Retrieve GRE Tunnel By ID
data "zia_traffic_forwarding_gre_tunnel" "example" {
id = 1419395
}
Using getTrafficForwardingGRETunnel
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 getTrafficForwardingGRETunnel(args: GetTrafficForwardingGRETunnelArgs, opts?: InvokeOptions): Promise<GetTrafficForwardingGRETunnelResult>
function getTrafficForwardingGRETunnelOutput(args: GetTrafficForwardingGRETunnelOutputArgs, opts?: InvokeOptions): Output<GetTrafficForwardingGRETunnelResult>
def get_traffic_forwarding_gre_tunnel(id: Optional[int] = None,
source_ip: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTrafficForwardingGRETunnelResult
def get_traffic_forwarding_gre_tunnel_output(id: Optional[pulumi.Input[int]] = None,
source_ip: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTrafficForwardingGRETunnelResult]
func LookupTrafficForwardingGRETunnel(ctx *Context, args *LookupTrafficForwardingGRETunnelArgs, opts ...InvokeOption) (*LookupTrafficForwardingGRETunnelResult, error)
func LookupTrafficForwardingGRETunnelOutput(ctx *Context, args *LookupTrafficForwardingGRETunnelOutputArgs, opts ...InvokeOption) LookupTrafficForwardingGRETunnelResultOutput
> Note: This function is named LookupTrafficForwardingGRETunnel
in the Go SDK.
public static class GetTrafficForwardingGRETunnel
{
public static Task<GetTrafficForwardingGRETunnelResult> InvokeAsync(GetTrafficForwardingGRETunnelArgs args, InvokeOptions? opts = null)
public static Output<GetTrafficForwardingGRETunnelResult> Invoke(GetTrafficForwardingGRETunnelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTrafficForwardingGRETunnelResult> getTrafficForwardingGRETunnel(GetTrafficForwardingGRETunnelArgs args, InvokeOptions options)
public static Output<GetTrafficForwardingGRETunnelResult> getTrafficForwardingGRETunnel(GetTrafficForwardingGRETunnelArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getTrafficForwardingGRETunnel:getTrafficForwardingGRETunnel
arguments:
# arguments dictionary
The following arguments are supported:
getTrafficForwardingGRETunnel Result
The following output properties are available:
- Comment string
- (String) Additional information about this GRE tunnel
- Internal
Ip stringRange - (String) The start of the internal IP address in /29 CIDR range. Automatically set by the provider if
ip_unnumbered
is set tofalse
. - Ip
Unnumbered bool - (Boolean) This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true gre_tun_ip and gre_tun_id are set to null
- Last
Modification intTime - Last
Modified List<zscaler.Bies Pulumi Package. Zia. Outputs. Get Traffic Forwarding GRETunnel Last Modified By> - Managed
Bies List<zscaler.Pulumi Package. Zia. Outputs. Get Traffic Forwarding GRETunnel Managed By> - Primary
Dest List<zscaler.Vips Pulumi Package. Zia. Outputs. Get Traffic Forwarding GRETunnel Primary Dest Vip> - **` (List) The primary destination data center and virtual IP address (VIP) of the GRE tunnel.
- Secondary
Dest List<zscaler.Vips Pulumi Package. Zia. Outputs. Get Traffic Forwarding GRETunnel Secondary Dest Vip> - (List) The secondary destination data center and virtual IP address (VIP) of the GRE tunnel.
- Within
Country bool - (Boolean) Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address
- Id int
- (Number) Unique identifer of the GRE virtual IP address (VIP)
- Source
Ip string
- Comment string
- (String) Additional information about this GRE tunnel
- Internal
Ip stringRange - (String) The start of the internal IP address in /29 CIDR range. Automatically set by the provider if
ip_unnumbered
is set tofalse
. - Ip
Unnumbered bool - (Boolean) This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true gre_tun_ip and gre_tun_id are set to null
- Last
Modification intTime - Last
Modified []GetBies Traffic Forwarding GRETunnel Last Modified By - Managed
Bies []GetTraffic Forwarding GRETunnel Managed By - Primary
Dest []GetVips Traffic Forwarding GRETunnel Primary Dest Vip - **` (List) The primary destination data center and virtual IP address (VIP) of the GRE tunnel.
- Secondary
Dest []GetVips Traffic Forwarding GRETunnel Secondary Dest Vip - (List) The secondary destination data center and virtual IP address (VIP) of the GRE tunnel.
- Within
Country bool - (Boolean) Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address
- Id int
- (Number) Unique identifer of the GRE virtual IP address (VIP)
- Source
Ip string
- comment String
- (String) Additional information about this GRE tunnel
- internal
Ip StringRange - (String) The start of the internal IP address in /29 CIDR range. Automatically set by the provider if
ip_unnumbered
is set tofalse
. - ip
Unnumbered Boolean - (Boolean) This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true gre_tun_ip and gre_tun_id are set to null
- last
Modification IntegerTime - last
Modified List<GetBies Traffic Forwarding GRETunnel Last Modified By> - managed
Bies List<GetTraffic Forwarding GRETunnel Managed By> - primary
Dest List<GetVips Traffic Forwarding GRETunnel Primary Dest Vip> - **` (List) The primary destination data center and virtual IP address (VIP) of the GRE tunnel.
- secondary
Dest List<GetVips Traffic Forwarding GRETunnel Secondary Dest Vip> - (List) The secondary destination data center and virtual IP address (VIP) of the GRE tunnel.
- within
Country Boolean - (Boolean) Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address
- id Integer
- (Number) Unique identifer of the GRE virtual IP address (VIP)
- source
Ip String
- comment string
- (String) Additional information about this GRE tunnel
- internal
Ip stringRange - (String) The start of the internal IP address in /29 CIDR range. Automatically set by the provider if
ip_unnumbered
is set tofalse
. - ip
Unnumbered boolean - (Boolean) This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true gre_tun_ip and gre_tun_id are set to null
- last
Modification numberTime - last
Modified GetBies Traffic Forwarding GRETunnel Last Modified By[] - managed
Bies GetTraffic Forwarding GRETunnel Managed By[] - primary
Dest GetVips Traffic Forwarding GRETunnel Primary Dest Vip[] - **` (List) The primary destination data center and virtual IP address (VIP) of the GRE tunnel.
- secondary
Dest GetVips Traffic Forwarding GRETunnel Secondary Dest Vip[] - (List) The secondary destination data center and virtual IP address (VIP) of the GRE tunnel.
- within
Country boolean - (Boolean) Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address
- id number
- (Number) Unique identifer of the GRE virtual IP address (VIP)
- source
Ip string
- comment str
- (String) Additional information about this GRE tunnel
- internal_
ip_ strrange - (String) The start of the internal IP address in /29 CIDR range. Automatically set by the provider if
ip_unnumbered
is set tofalse
. - ip_
unnumbered bool - (Boolean) This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true gre_tun_ip and gre_tun_id are set to null
- last_
modification_ inttime - last_
modified_ Sequence[Getbies Traffic Forwarding GRETunnel Last Modified By] - managed_
bies Sequence[GetTraffic Forwarding GRETunnel Managed By] - primary_
dest_ Sequence[Getvips Traffic Forwarding GRETunnel Primary Dest Vip] - **` (List) The primary destination data center and virtual IP address (VIP) of the GRE tunnel.
- secondary_
dest_ Sequence[Getvips Traffic Forwarding GRETunnel Secondary Dest Vip] - (List) The secondary destination data center and virtual IP address (VIP) of the GRE tunnel.
- within_
country bool - (Boolean) Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address
- id int
- (Number) Unique identifer of the GRE virtual IP address (VIP)
- source_
ip str
- comment String
- (String) Additional information about this GRE tunnel
- internal
Ip StringRange - (String) The start of the internal IP address in /29 CIDR range. Automatically set by the provider if
ip_unnumbered
is set tofalse
. - ip
Unnumbered Boolean - (Boolean) This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true gre_tun_ip and gre_tun_id are set to null
- last
Modification NumberTime - last
Modified List<Property Map>Bies - managed
Bies List<Property Map> - primary
Dest List<Property Map>Vips - **` (List) The primary destination data center and virtual IP address (VIP) of the GRE tunnel.
- secondary
Dest List<Property Map>Vips - (List) The secondary destination data center and virtual IP address (VIP) of the GRE tunnel.
- within
Country Boolean - (Boolean) Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address
- id Number
- (Number) Unique identifer of the GRE virtual IP address (VIP)
- source
Ip String
Supporting Types
GetTrafficForwardingGRETunnelLastModifiedBy
GetTrafficForwardingGRETunnelManagedBy
GetTrafficForwardingGRETunnelPrimaryDestVip
- City string
- Country
Code string - (String) When within_country is enabled, you must set this to the country code.
- Datacenter string
- Id int
- Unique identifier of the static IP address that is associated to a GRE tunnel
- Latitude int
- Longitude int
- Private
Service boolEdge - Region string
- Virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- City string
- Country
Code string - (String) When within_country is enabled, you must set this to the country code.
- Datacenter string
- Id int
- Unique identifier of the static IP address that is associated to a GRE tunnel
- Latitude int
- Longitude int
- Private
Service boolEdge - Region string
- Virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- city String
- country
Code String - (String) When within_country is enabled, you must set this to the country code.
- datacenter String
- id Integer
- Unique identifier of the static IP address that is associated to a GRE tunnel
- latitude Integer
- longitude Integer
- private
Service BooleanEdge - region String
- virtual
Ip String - (String) GRE cluster virtual IP address (VIP)
- city string
- country
Code string - (String) When within_country is enabled, you must set this to the country code.
- datacenter string
- id number
- Unique identifier of the static IP address that is associated to a GRE tunnel
- latitude number
- longitude number
- private
Service booleanEdge - region string
- virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- city str
- country_
code str - (String) When within_country is enabled, you must set this to the country code.
- datacenter str
- id int
- Unique identifier of the static IP address that is associated to a GRE tunnel
- latitude int
- longitude int
- private_
service_ booledge - region str
- virtual_
ip str - (String) GRE cluster virtual IP address (VIP)
- city String
- country
Code String - (String) When within_country is enabled, you must set this to the country code.
- datacenter String
- id Number
- Unique identifier of the static IP address that is associated to a GRE tunnel
- latitude Number
- longitude Number
- private
Service BooleanEdge - region String
- virtual
Ip String - (String) GRE cluster virtual IP address (VIP)
GetTrafficForwardingGRETunnelSecondaryDestVip
- City string
- Country
Code string - (String) When within_country is enabled, you must set this to the country code.
- Datacenter string
- Id int
- Unique identifier of the static IP address that is associated to a GRE tunnel
- Latitude int
- Longitude int
- Private
Service boolEdge - Region string
- Virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- City string
- Country
Code string - (String) When within_country is enabled, you must set this to the country code.
- Datacenter string
- Id int
- Unique identifier of the static IP address that is associated to a GRE tunnel
- Latitude int
- Longitude int
- Private
Service boolEdge - Region string
- Virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- city String
- country
Code String - (String) When within_country is enabled, you must set this to the country code.
- datacenter String
- id Integer
- Unique identifier of the static IP address that is associated to a GRE tunnel
- latitude Integer
- longitude Integer
- private
Service BooleanEdge - region String
- virtual
Ip String - (String) GRE cluster virtual IP address (VIP)
- city string
- country
Code string - (String) When within_country is enabled, you must set this to the country code.
- datacenter string
- id number
- Unique identifier of the static IP address that is associated to a GRE tunnel
- latitude number
- longitude number
- private
Service booleanEdge - region string
- virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- city str
- country_
code str - (String) When within_country is enabled, you must set this to the country code.
- datacenter str
- id int
- Unique identifier of the static IP address that is associated to a GRE tunnel
- latitude int
- longitude int
- private_
service_ booledge - region str
- virtual_
ip str - (String) GRE cluster virtual IP address (VIP)
- city String
- country
Code String - (String) When within_country is enabled, you must set this to the country code.
- datacenter String
- id Number
- Unique identifier of the static IP address that is associated to a GRE tunnel
- latitude Number
- longitude Number
- private
Service BooleanEdge - region String
- virtual
Ip String - (String) GRE cluster virtual IP address (VIP)
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.