zia.getTrafficForwardingGRETunnelInfo
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const example = zia.getTrafficForwardingGRETunnelInfo({
    ipAddress: "1.1.1.1",
});
import pulumi
import pulumi_zia as zia
example = zia.get_traffic_forwarding_gre_tunnel_info(ip_address="1.1.1.1")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zia/sdk/go/zia"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := zia.GetTrafficForwardingGRETunnelInfo(ctx, &zia.GetTrafficForwardingGRETunnelInfoArgs{
			IpAddress: pulumi.StringRef("1.1.1.1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zia = Pulumi.Zia;
return await Deployment.RunAsync(() => 
{
    var example = Zia.GetTrafficForwardingGRETunnelInfo.Invoke(new()
    {
        IpAddress = "1.1.1.1",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.ZiaFunctions;
import com.pulumi.zia.inputs.GetTrafficForwardingGRETunnelInfoArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = ZiaFunctions.getTrafficForwardingGRETunnelInfo(GetTrafficForwardingGRETunnelInfoArgs.builder()
            .ipAddress("1.1.1.1")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      Function: zia:getTrafficForwardingGRETunnelInfo
      Arguments:
        ipAddress: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: zia:index/getTrafficForwardingGRETunnelInfo:getTrafficForwardingGRETunnelInfo
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Gre
Enabled bool Displays only ip addresses with GRE tunnel enabled
NOTE
ip_addressis the public IP address (Static IP) associated with the GRE Tunnel- Ip
Address string - Filter based on an IP address range.
 
- Gre
Enabled bool Displays only ip addresses with GRE tunnel enabled
NOTE
ip_addressis the public IP address (Static IP) associated with the GRE Tunnel- Ip
Address string - Filter based on an IP address range.
 
- gre
Enabled Boolean Displays only ip addresses with GRE tunnel enabled
NOTE
ip_addressis the public IP address (Static IP) associated with the GRE Tunnel- ip
Address String - Filter based on an IP address range.
 
- gre
Enabled boolean Displays only ip addresses with GRE tunnel enabled
NOTE
ip_addressis the public IP address (Static IP) associated with the GRE Tunnel- ip
Address string - Filter based on an IP address range.
 
- gre_
enabled bool Displays only ip addresses with GRE tunnel enabled
NOTE
ip_addressis the public IP address (Static IP) associated with the GRE Tunnel- ip_
address str - Filter based on an IP address range.
 
- gre
Enabled Boolean Displays only ip addresses with GRE tunnel enabled
NOTE
ip_addressis the public IP address (Static IP) associated with the GRE Tunnel- ip
Address String - Filter based on an IP address range.
 
getTrafficForwardingGRETunnelInfo Result
The following output properties are available:
- Gre
Range stringPrimary  - (String)
 - Gre
Range stringSecondary  - (String)
 - Gre
Tunnel stringIp  - (String) The start of the internal IP address in /29 CIDR range
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Primary
Gw string - (String)
 - Secondary
Gw string - (String)
 - Tun
Id int - (Number)
 - Gre
Enabled bool - Ip
Address string 
- Gre
Range stringPrimary  - (String)
 - Gre
Range stringSecondary  - (String)
 - Gre
Tunnel stringIp  - (String) The start of the internal IP address in /29 CIDR range
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Primary
Gw string - (String)
 - Secondary
Gw string - (String)
 - Tun
Id int - (Number)
 - Gre
Enabled bool - Ip
Address string 
- gre
Range StringPrimary  - (String)
 - gre
Range StringSecondary  - (String)
 - gre
Tunnel StringIp  - (String) The start of the internal IP address in /29 CIDR range
 - id String
 - The provider-assigned unique ID for this managed resource.
 - primary
Gw String - (String)
 - secondary
Gw String - (String)
 - tun
Id Integer - (Number)
 - gre
Enabled Boolean - ip
Address String 
- gre
Range stringPrimary  - (String)
 - gre
Range stringSecondary  - (String)
 - gre
Tunnel stringIp  - (String) The start of the internal IP address in /29 CIDR range
 - id string
 - The provider-assigned unique ID for this managed resource.
 - primary
Gw string - (String)
 - secondary
Gw string - (String)
 - tun
Id number - (Number)
 - gre
Enabled boolean - ip
Address string 
- gre_
range_ strprimary  - (String)
 - gre_
range_ strsecondary  - (String)
 - gre_
tunnel_ strip  - (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 
- gre
Range StringPrimary  - (String)
 - gre
Range StringSecondary  - (String)
 - gre
Tunnel StringIp  - (String) The start of the internal IP address in /29 CIDR range
 - id String
 - The provider-assigned unique ID for this managed resource.
 - primary
Gw String - (String)
 - secondary
Gw String - (String)
 - tun
Id Number - (Number)
 - gre
Enabled Boolean - ip
Address String 
Package Details
- Repository
 - zia zscaler/pulumi-zia
 - License
 - MIT
 - Notes
 - This Pulumi package is based on the 
ziaTerraform Provider.