published on Tuesday, Apr 28, 2026 by paloaltonetworks
published on Tuesday, Apr 28, 2026 by paloaltonetworks
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as panos from "@pulumi/panos";
const ethif1 = new panos.EthernetInterface("ethif_1", {
location: {
ngfw: {},
},
name: "ethernet1/2",
layer3: {
ips: [{
name: "4.4.4.4/24",
}],
},
});
const tunnelif1 = new panos.TunnelInterface("tunnelif_1", {
location: {
ngfw: {},
},
name: "tunnel.2",
});
const greFull = new panos.GreTunnel("gre_full", {
location: {
ngfw: {},
},
name: "gre-tunnel-full",
tunnelInterface: tunnelif1.name,
copyTos: true,
disabled: false,
ttl: 200,
keepAlive: {
enable: true,
interval: 30,
retry: 4,
holdTimer: 15,
},
localAddress: {
"interface": ethif1.name,
ip: ethif1.layer3.apply(layer3 => layer3?.ips?.[0]?.name),
},
peerAddress: {
ip: "5.5.5.5",
},
});
const ethif2 = new panos.EthernetInterface("ethif_2", {
location: {
ngfw: {},
},
name: "ethernet1/3",
layer3: {
ips: [{
name: "8.8.8.8/24",
}],
},
});
const greFloatingIp = new panos.GreTunnel("gre_floating_ip", {
location: {
ngfw: {},
},
name: "gre-tunnel-floating-ip",
localAddress: {
"interface": ethif2.name,
floatingIp: "6.6.6.6",
},
peerAddress: {
ip: "7.7.7.7",
},
});
import pulumi
import pulumi_panos as panos
ethif1 = panos.EthernetInterface("ethif_1",
location={
"ngfw": {},
},
name="ethernet1/2",
layer3={
"ips": [{
"name": "4.4.4.4/24",
}],
})
tunnelif1 = panos.TunnelInterface("tunnelif_1",
location={
"ngfw": {},
},
name="tunnel.2")
gre_full = panos.GreTunnel("gre_full",
location={
"ngfw": {},
},
name="gre-tunnel-full",
tunnel_interface=tunnelif1.name,
copy_tos=True,
disabled=False,
ttl=200,
keep_alive={
"enable": True,
"interval": 30,
"retry": 4,
"hold_timer": 15,
},
local_address={
"interface": ethif1.name,
"ip": ethif1.layer3.ips[0].name,
},
peer_address={
"ip": "5.5.5.5",
})
ethif2 = panos.EthernetInterface("ethif_2",
location={
"ngfw": {},
},
name="ethernet1/3",
layer3={
"ips": [{
"name": "8.8.8.8/24",
}],
})
gre_floating_ip = panos.GreTunnel("gre_floating_ip",
location={
"ngfw": {},
},
name="gre-tunnel-floating-ip",
local_address={
"interface": ethif2.name,
"floating_ip": "6.6.6.6",
},
peer_address={
"ip": "7.7.7.7",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/panos/v2/panos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ethif1, err := panos.NewEthernetInterface(ctx, "ethif_1", &panos.EthernetInterfaceArgs{
Location: &panos.EthernetInterfaceLocationArgs{
Ngfw: &panos.EthernetInterfaceLocationNgfwArgs{},
},
Name: pulumi.String("ethernet1/2"),
Layer3: &panos.EthernetInterfaceLayer3Args{
Ips: panos.EthernetInterfaceLayer3IpArray{
&panos.EthernetInterfaceLayer3IpArgs{
Name: pulumi.String("4.4.4.4/24"),
},
},
},
})
if err != nil {
return err
}
tunnelif1, err := panos.NewTunnelInterface(ctx, "tunnelif_1", &panos.TunnelInterfaceArgs{
Location: &panos.TunnelInterfaceLocationArgs{
Ngfw: &panos.TunnelInterfaceLocationNgfwArgs{},
},
Name: pulumi.String("tunnel.2"),
})
if err != nil {
return err
}
_, err = panos.NewGreTunnel(ctx, "gre_full", &panos.GreTunnelArgs{
Location: &panos.GreTunnelLocationArgs{
Ngfw: &panos.GreTunnelLocationNgfwArgs{},
},
Name: pulumi.String("gre-tunnel-full"),
TunnelInterface: tunnelif1.Name,
CopyTos: pulumi.Bool(true),
Disabled: pulumi.Bool(false),
Ttl: pulumi.Float64(200),
KeepAlive: &panos.GreTunnelKeepAliveArgs{
Enable: pulumi.Bool(true),
Interval: pulumi.Float64(30),
Retry: pulumi.Float64(4),
HoldTimer: pulumi.Float64(15),
},
LocalAddress: &panos.GreTunnelLocalAddressArgs{
Interface: ethif1.Name,
Ip: ethif1.Layer3.ApplyT(func(layer3 panos.EthernetInterfaceLayer3) (*string, error) {
return &layer3.Ips[0].Name, nil
}).(pulumi.StringPtrOutput),
},
PeerAddress: &panos.GreTunnelPeerAddressArgs{
Ip: pulumi.String("5.5.5.5"),
},
})
if err != nil {
return err
}
ethif2, err := panos.NewEthernetInterface(ctx, "ethif_2", &panos.EthernetInterfaceArgs{
Location: &panos.EthernetInterfaceLocationArgs{
Ngfw: &panos.EthernetInterfaceLocationNgfwArgs{},
},
Name: pulumi.String("ethernet1/3"),
Layer3: &panos.EthernetInterfaceLayer3Args{
Ips: panos.EthernetInterfaceLayer3IpArray{
&panos.EthernetInterfaceLayer3IpArgs{
Name: pulumi.String("8.8.8.8/24"),
},
},
},
})
if err != nil {
return err
}
_, err = panos.NewGreTunnel(ctx, "gre_floating_ip", &panos.GreTunnelArgs{
Location: &panos.GreTunnelLocationArgs{
Ngfw: &panos.GreTunnelLocationNgfwArgs{},
},
Name: pulumi.String("gre-tunnel-floating-ip"),
LocalAddress: &panos.GreTunnelLocalAddressArgs{
Interface: ethif2.Name,
FloatingIp: pulumi.String("6.6.6.6"),
},
PeerAddress: &panos.GreTunnelPeerAddressArgs{
Ip: pulumi.String("7.7.7.7"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Panos = Pulumi.Panos;
return await Deployment.RunAsync(() =>
{
var ethif1 = new Panos.EthernetInterface("ethif_1", new()
{
Location = new Panos.Inputs.EthernetInterfaceLocationArgs
{
Ngfw = null,
},
Name = "ethernet1/2",
Layer3 = new Panos.Inputs.EthernetInterfaceLayer3Args
{
Ips = new[]
{
new Panos.Inputs.EthernetInterfaceLayer3IpArgs
{
Name = "4.4.4.4/24",
},
},
},
});
var tunnelif1 = new Panos.TunnelInterface("tunnelif_1", new()
{
Location = new Panos.Inputs.TunnelInterfaceLocationArgs
{
Ngfw = null,
},
Name = "tunnel.2",
});
var greFull = new Panos.GreTunnel("gre_full", new()
{
Location = new Panos.Inputs.GreTunnelLocationArgs
{
Ngfw = null,
},
Name = "gre-tunnel-full",
TunnelInterface = tunnelif1.Name,
CopyTos = true,
Disabled = false,
Ttl = 200,
KeepAlive = new Panos.Inputs.GreTunnelKeepAliveArgs
{
Enable = true,
Interval = 30,
Retry = 4,
HoldTimer = 15,
},
LocalAddress = new Panos.Inputs.GreTunnelLocalAddressArgs
{
Interface = ethif1.Name,
Ip = ethif1.Layer3.Apply(layer3 => layer3?.Ips[0]?.Name),
},
PeerAddress = new Panos.Inputs.GreTunnelPeerAddressArgs
{
Ip = "5.5.5.5",
},
});
var ethif2 = new Panos.EthernetInterface("ethif_2", new()
{
Location = new Panos.Inputs.EthernetInterfaceLocationArgs
{
Ngfw = null,
},
Name = "ethernet1/3",
Layer3 = new Panos.Inputs.EthernetInterfaceLayer3Args
{
Ips = new[]
{
new Panos.Inputs.EthernetInterfaceLayer3IpArgs
{
Name = "8.8.8.8/24",
},
},
},
});
var greFloatingIp = new Panos.GreTunnel("gre_floating_ip", new()
{
Location = new Panos.Inputs.GreTunnelLocationArgs
{
Ngfw = null,
},
Name = "gre-tunnel-floating-ip",
LocalAddress = new Panos.Inputs.GreTunnelLocalAddressArgs
{
Interface = ethif2.Name,
FloatingIp = "6.6.6.6",
},
PeerAddress = new Panos.Inputs.GreTunnelPeerAddressArgs
{
Ip = "7.7.7.7",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.panos.EthernetInterface;
import com.pulumi.panos.EthernetInterfaceArgs;
import com.pulumi.panos.inputs.EthernetInterfaceLocationArgs;
import com.pulumi.panos.inputs.EthernetInterfaceLocationNgfwArgs;
import com.pulumi.panos.inputs.EthernetInterfaceLayer3Args;
import com.pulumi.panos.TunnelInterface;
import com.pulumi.panos.TunnelInterfaceArgs;
import com.pulumi.panos.inputs.TunnelInterfaceLocationArgs;
import com.pulumi.panos.inputs.TunnelInterfaceLocationNgfwArgs;
import com.pulumi.panos.GreTunnel;
import com.pulumi.panos.GreTunnelArgs;
import com.pulumi.panos.inputs.GreTunnelLocationArgs;
import com.pulumi.panos.inputs.GreTunnelLocationNgfwArgs;
import com.pulumi.panos.inputs.GreTunnelKeepAliveArgs;
import com.pulumi.panos.inputs.GreTunnelLocalAddressArgs;
import com.pulumi.panos.inputs.GreTunnelPeerAddressArgs;
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) {
var ethif1 = new EthernetInterface("ethif1", EthernetInterfaceArgs.builder()
.location(EthernetInterfaceLocationArgs.builder()
.ngfw(EthernetInterfaceLocationNgfwArgs.builder()
.build())
.build())
.name("ethernet1/2")
.layer3(EthernetInterfaceLayer3Args.builder()
.ips(EthernetInterfaceLayer3IpArgs.builder()
.name("4.4.4.4/24")
.build())
.build())
.build());
var tunnelif1 = new TunnelInterface("tunnelif1", TunnelInterfaceArgs.builder()
.location(TunnelInterfaceLocationArgs.builder()
.ngfw(TunnelInterfaceLocationNgfwArgs.builder()
.build())
.build())
.name("tunnel.2")
.build());
var greFull = new GreTunnel("greFull", GreTunnelArgs.builder()
.location(GreTunnelLocationArgs.builder()
.ngfw(GreTunnelLocationNgfwArgs.builder()
.build())
.build())
.name("gre-tunnel-full")
.tunnelInterface(tunnelif1.name())
.copyTos(true)
.disabled(false)
.ttl(200.0)
.keepAlive(GreTunnelKeepAliveArgs.builder()
.enable(true)
.interval(30.0)
.retry(4.0)
.holdTimer(15.0)
.build())
.localAddress(GreTunnelLocalAddressArgs.builder()
.interface_(ethif1.name())
.ip(ethif1.layer3().applyValue(_layer3 -> _layer3.ips()[0].name()))
.build())
.peerAddress(GreTunnelPeerAddressArgs.builder()
.ip("5.5.5.5")
.build())
.build());
var ethif2 = new EthernetInterface("ethif2", EthernetInterfaceArgs.builder()
.location(EthernetInterfaceLocationArgs.builder()
.ngfw(EthernetInterfaceLocationNgfwArgs.builder()
.build())
.build())
.name("ethernet1/3")
.layer3(EthernetInterfaceLayer3Args.builder()
.ips(EthernetInterfaceLayer3IpArgs.builder()
.name("8.8.8.8/24")
.build())
.build())
.build());
var greFloatingIp = new GreTunnel("greFloatingIp", GreTunnelArgs.builder()
.location(GreTunnelLocationArgs.builder()
.ngfw(GreTunnelLocationNgfwArgs.builder()
.build())
.build())
.name("gre-tunnel-floating-ip")
.localAddress(GreTunnelLocalAddressArgs.builder()
.interface_(ethif2.name())
.floatingIp("6.6.6.6")
.build())
.peerAddress(GreTunnelPeerAddressArgs.builder()
.ip("7.7.7.7")
.build())
.build());
}
}
resources:
ethif1:
type: panos:EthernetInterface
name: ethif_1
properties:
location:
ngfw: {}
name: ethernet1/2
layer3:
ips:
- name: 4.4.4.4/24
tunnelif1:
type: panos:TunnelInterface
name: tunnelif_1
properties:
location:
ngfw: {}
name: tunnel.2
greFull:
type: panos:GreTunnel
name: gre_full
properties:
location:
ngfw: {}
name: gre-tunnel-full
tunnelInterface: ${tunnelif1.name}
copyTos: true
disabled: false
ttl: 200
keepAlive:
enable: true
interval: 30
retry: 4
holdTimer: 15
localAddress:
interface: ${ethif1.name}
ip: ${ethif1.layer3.ips[0].name}
peerAddress:
ip: 5.5.5.5
ethif2:
type: panos:EthernetInterface
name: ethif_2
properties:
location:
ngfw: {}
name: ethernet1/3
layer3:
ips:
- name: 8.8.8.8/24
greFloatingIp:
type: panos:GreTunnel
name: gre_floating_ip
properties:
location:
ngfw: {}
name: gre-tunnel-floating-ip
localAddress:
interface: ${ethif2.name}
floatingIp: 6.6.6.6
peerAddress:
ip: 7.7.7.7
Create GreTunnel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GreTunnel(name: string, args: GreTunnelArgs, opts?: CustomResourceOptions);@overload
def GreTunnel(resource_name: str,
args: GreTunnelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GreTunnel(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[GreTunnelLocationArgs] = None,
copy_tos: Optional[bool] = None,
disabled: Optional[bool] = None,
erspan: Optional[bool] = None,
keep_alive: Optional[GreTunnelKeepAliveArgs] = None,
local_address: Optional[GreTunnelLocalAddressArgs] = None,
name: Optional[str] = None,
peer_address: Optional[GreTunnelPeerAddressArgs] = None,
ttl: Optional[float] = None,
tunnel_interface: Optional[str] = None)func NewGreTunnel(ctx *Context, name string, args GreTunnelArgs, opts ...ResourceOption) (*GreTunnel, error)public GreTunnel(string name, GreTunnelArgs args, CustomResourceOptions? opts = null)
public GreTunnel(String name, GreTunnelArgs args)
public GreTunnel(String name, GreTunnelArgs args, CustomResourceOptions options)
type: panos:GreTunnel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GreTunnelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GreTunnelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GreTunnelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GreTunnelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GreTunnelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var greTunnelResource = new Panos.GreTunnel("greTunnelResource", new()
{
Location = new Panos.Inputs.GreTunnelLocationArgs
{
Ngfw = new Panos.Inputs.GreTunnelLocationNgfwArgs
{
NgfwDevice = "string",
},
Template = new Panos.Inputs.GreTunnelLocationTemplateArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
TemplateStack = new Panos.Inputs.GreTunnelLocationTemplateStackArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
},
CopyTos = false,
Disabled = false,
Erspan = false,
KeepAlive = new Panos.Inputs.GreTunnelKeepAliveArgs
{
Enable = false,
HoldTimer = 0,
Interval = 0,
Retry = 0,
},
LocalAddress = new Panos.Inputs.GreTunnelLocalAddressArgs
{
FloatingIp = "string",
Interface = "string",
Ip = "string",
},
Name = "string",
PeerAddress = new Panos.Inputs.GreTunnelPeerAddressArgs
{
Ip = "string",
},
Ttl = 0,
TunnelInterface = "string",
});
example, err := panos.NewGreTunnel(ctx, "greTunnelResource", &panos.GreTunnelArgs{
Location: &panos.GreTunnelLocationArgs{
Ngfw: &panos.GreTunnelLocationNgfwArgs{
NgfwDevice: pulumi.String("string"),
},
Template: &panos.GreTunnelLocationTemplateArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
TemplateStack: &panos.GreTunnelLocationTemplateStackArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
},
CopyTos: pulumi.Bool(false),
Disabled: pulumi.Bool(false),
Erspan: pulumi.Bool(false),
KeepAlive: &panos.GreTunnelKeepAliveArgs{
Enable: pulumi.Bool(false),
HoldTimer: pulumi.Float64(0),
Interval: pulumi.Float64(0),
Retry: pulumi.Float64(0),
},
LocalAddress: &panos.GreTunnelLocalAddressArgs{
FloatingIp: pulumi.String("string"),
Interface: pulumi.String("string"),
Ip: pulumi.String("string"),
},
Name: pulumi.String("string"),
PeerAddress: &panos.GreTunnelPeerAddressArgs{
Ip: pulumi.String("string"),
},
Ttl: pulumi.Float64(0),
TunnelInterface: pulumi.String("string"),
})
var greTunnelResource = new GreTunnel("greTunnelResource", GreTunnelArgs.builder()
.location(GreTunnelLocationArgs.builder()
.ngfw(GreTunnelLocationNgfwArgs.builder()
.ngfwDevice("string")
.build())
.template(GreTunnelLocationTemplateArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.templateStack(GreTunnelLocationTemplateStackArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.build())
.copyTos(false)
.disabled(false)
.erspan(false)
.keepAlive(GreTunnelKeepAliveArgs.builder()
.enable(false)
.holdTimer(0.0)
.interval(0.0)
.retry(0.0)
.build())
.localAddress(GreTunnelLocalAddressArgs.builder()
.floatingIp("string")
.interface_("string")
.ip("string")
.build())
.name("string")
.peerAddress(GreTunnelPeerAddressArgs.builder()
.ip("string")
.build())
.ttl(0.0)
.tunnelInterface("string")
.build());
gre_tunnel_resource = panos.GreTunnel("greTunnelResource",
location={
"ngfw": {
"ngfw_device": "string",
},
"template": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
"template_stack": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
},
copy_tos=False,
disabled=False,
erspan=False,
keep_alive={
"enable": False,
"hold_timer": float(0),
"interval": float(0),
"retry": float(0),
},
local_address={
"floating_ip": "string",
"interface": "string",
"ip": "string",
},
name="string",
peer_address={
"ip": "string",
},
ttl=float(0),
tunnel_interface="string")
const greTunnelResource = new panos.GreTunnel("greTunnelResource", {
location: {
ngfw: {
ngfwDevice: "string",
},
template: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
templateStack: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
},
copyTos: false,
disabled: false,
erspan: false,
keepAlive: {
enable: false,
holdTimer: 0,
interval: 0,
retry: 0,
},
localAddress: {
floatingIp: "string",
"interface": "string",
ip: "string",
},
name: "string",
peerAddress: {
ip: "string",
},
ttl: 0,
tunnelInterface: "string",
});
type: panos:GreTunnel
properties:
copyTos: false
disabled: false
erspan: false
keepAlive:
enable: false
holdTimer: 0
interval: 0
retry: 0
localAddress:
floatingIp: string
interface: string
ip: string
location:
ngfw:
ngfwDevice: string
template:
name: string
ngfwDevice: string
panoramaDevice: string
templateStack:
name: string
ngfwDevice: string
panoramaDevice: string
name: string
peerAddress:
ip: string
ttl: 0
tunnelInterface: string
GreTunnel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GreTunnel resource accepts the following input properties:
- Location
Gre
Tunnel Location - The location of this object.
- Copy
Tos bool - Copy IP TOS bits from inner packet to GRE packet
- Disabled bool
- Disable the GRE tunnel
- Erspan bool
- tap mode for ERSPAN
- Keep
Alive GreTunnel Keep Alive - Local
Address GreTunnel Local Address - Name string
- Peer
Address GreTunnel Peer Address - Ttl double
- TTL
- Tunnel
Interface string - to apply GRE tunnels to tunnel interface
- Location
Gre
Tunnel Location Args - The location of this object.
- Copy
Tos bool - Copy IP TOS bits from inner packet to GRE packet
- Disabled bool
- Disable the GRE tunnel
- Erspan bool
- tap mode for ERSPAN
- Keep
Alive GreTunnel Keep Alive Args - Local
Address GreTunnel Local Address Args - Name string
- Peer
Address GreTunnel Peer Address Args - Ttl float64
- TTL
- Tunnel
Interface string - to apply GRE tunnels to tunnel interface
- location
Gre
Tunnel Location - The location of this object.
- copy
Tos Boolean - Copy IP TOS bits from inner packet to GRE packet
- disabled Boolean
- Disable the GRE tunnel
- erspan Boolean
- tap mode for ERSPAN
- keep
Alive GreTunnel Keep Alive - local
Address GreTunnel Local Address - name String
- peer
Address GreTunnel Peer Address - ttl Double
- TTL
- tunnel
Interface String - to apply GRE tunnels to tunnel interface
- location
Gre
Tunnel Location - The location of this object.
- copy
Tos boolean - Copy IP TOS bits from inner packet to GRE packet
- disabled boolean
- Disable the GRE tunnel
- erspan boolean
- tap mode for ERSPAN
- keep
Alive GreTunnel Keep Alive - local
Address GreTunnel Local Address - name string
- peer
Address GreTunnel Peer Address - ttl number
- TTL
- tunnel
Interface string - to apply GRE tunnels to tunnel interface
- location
Gre
Tunnel Location Args - The location of this object.
- copy_
tos bool - Copy IP TOS bits from inner packet to GRE packet
- disabled bool
- Disable the GRE tunnel
- erspan bool
- tap mode for ERSPAN
- keep_
alive GreTunnel Keep Alive Args - local_
address GreTunnel Local Address Args - name str
- peer_
address GreTunnel Peer Address Args - ttl float
- TTL
- tunnel_
interface str - to apply GRE tunnels to tunnel interface
- location Property Map
- The location of this object.
- copy
Tos Boolean - Copy IP TOS bits from inner packet to GRE packet
- disabled Boolean
- Disable the GRE tunnel
- erspan Boolean
- tap mode for ERSPAN
- keep
Alive Property Map - local
Address Property Map - name String
- peer
Address Property Map - ttl Number
- TTL
- tunnel
Interface String - to apply GRE tunnels to tunnel interface
Outputs
All input properties are implicitly available as output properties. Additionally, the GreTunnel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GreTunnel Resource
Get an existing GreTunnel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GreTunnelState, opts?: CustomResourceOptions): GreTunnel@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
copy_tos: Optional[bool] = None,
disabled: Optional[bool] = None,
erspan: Optional[bool] = None,
keep_alive: Optional[GreTunnelKeepAliveArgs] = None,
local_address: Optional[GreTunnelLocalAddressArgs] = None,
location: Optional[GreTunnelLocationArgs] = None,
name: Optional[str] = None,
peer_address: Optional[GreTunnelPeerAddressArgs] = None,
ttl: Optional[float] = None,
tunnel_interface: Optional[str] = None) -> GreTunnelfunc GetGreTunnel(ctx *Context, name string, id IDInput, state *GreTunnelState, opts ...ResourceOption) (*GreTunnel, error)public static GreTunnel Get(string name, Input<string> id, GreTunnelState? state, CustomResourceOptions? opts = null)public static GreTunnel get(String name, Output<String> id, GreTunnelState state, CustomResourceOptions options)resources: _: type: panos:GreTunnel get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Copy
Tos bool - Copy IP TOS bits from inner packet to GRE packet
- Disabled bool
- Disable the GRE tunnel
- Erspan bool
- tap mode for ERSPAN
- Keep
Alive GreTunnel Keep Alive - Local
Address GreTunnel Local Address - Location
Gre
Tunnel Location - The location of this object.
- Name string
- Peer
Address GreTunnel Peer Address - Ttl double
- TTL
- Tunnel
Interface string - to apply GRE tunnels to tunnel interface
- Copy
Tos bool - Copy IP TOS bits from inner packet to GRE packet
- Disabled bool
- Disable the GRE tunnel
- Erspan bool
- tap mode for ERSPAN
- Keep
Alive GreTunnel Keep Alive Args - Local
Address GreTunnel Local Address Args - Location
Gre
Tunnel Location Args - The location of this object.
- Name string
- Peer
Address GreTunnel Peer Address Args - Ttl float64
- TTL
- Tunnel
Interface string - to apply GRE tunnels to tunnel interface
- copy
Tos Boolean - Copy IP TOS bits from inner packet to GRE packet
- disabled Boolean
- Disable the GRE tunnel
- erspan Boolean
- tap mode for ERSPAN
- keep
Alive GreTunnel Keep Alive - local
Address GreTunnel Local Address - location
Gre
Tunnel Location - The location of this object.
- name String
- peer
Address GreTunnel Peer Address - ttl Double
- TTL
- tunnel
Interface String - to apply GRE tunnels to tunnel interface
- copy
Tos boolean - Copy IP TOS bits from inner packet to GRE packet
- disabled boolean
- Disable the GRE tunnel
- erspan boolean
- tap mode for ERSPAN
- keep
Alive GreTunnel Keep Alive - local
Address GreTunnel Local Address - location
Gre
Tunnel Location - The location of this object.
- name string
- peer
Address GreTunnel Peer Address - ttl number
- TTL
- tunnel
Interface string - to apply GRE tunnels to tunnel interface
- copy_
tos bool - Copy IP TOS bits from inner packet to GRE packet
- disabled bool
- Disable the GRE tunnel
- erspan bool
- tap mode for ERSPAN
- keep_
alive GreTunnel Keep Alive Args - local_
address GreTunnel Local Address Args - location
Gre
Tunnel Location Args - The location of this object.
- name str
- peer_
address GreTunnel Peer Address Args - ttl float
- TTL
- tunnel_
interface str - to apply GRE tunnels to tunnel interface
- copy
Tos Boolean - Copy IP TOS bits from inner packet to GRE packet
- disabled Boolean
- Disable the GRE tunnel
- erspan Boolean
- tap mode for ERSPAN
- keep
Alive Property Map - local
Address Property Map - location Property Map
- The location of this object.
- name String
- peer
Address Property Map - ttl Number
- TTL
- tunnel
Interface String - to apply GRE tunnels to tunnel interface
Supporting Types
GreTunnelKeepAlive, GreTunnelKeepAliveArgs
- enable bool
- Enable tunnel monitoring on this tunnel
- hold_
timer float - Hold timer
- interval float
- Interval
- retry float
- Retry
GreTunnelLocalAddress, GreTunnelLocalAddressArgs
- Floating
Ip string - Floating IP address in HA Active-Active configuration
- Interface string
- Interface to terminate tunnel
- Ip string
- specify exact IP address if interface has multiple addresses
- Floating
Ip string - Floating IP address in HA Active-Active configuration
- Interface string
- Interface to terminate tunnel
- Ip string
- specify exact IP address if interface has multiple addresses
- floating
Ip String - Floating IP address in HA Active-Active configuration
- interface_ String
- Interface to terminate tunnel
- ip String
- specify exact IP address if interface has multiple addresses
- floating
Ip string - Floating IP address in HA Active-Active configuration
- interface string
- Interface to terminate tunnel
- ip string
- specify exact IP address if interface has multiple addresses
- floating_
ip str - Floating IP address in HA Active-Active configuration
- interface str
- Interface to terminate tunnel
- ip str
- specify exact IP address if interface has multiple addresses
- floating
Ip String - Floating IP address in HA Active-Active configuration
- interface String
- Interface to terminate tunnel
- ip String
- specify exact IP address if interface has multiple addresses
GreTunnelLocation, GreTunnelLocationArgs
- Ngfw
Gre
Tunnel Location Ngfw - Located in a specific NGFW device
- Template
Gre
Tunnel Location Template - Located in a specific template
- Template
Stack GreTunnel Location Template Stack - Located in a specific template stack
- Ngfw
Gre
Tunnel Location Ngfw - Located in a specific NGFW device
- Template
Gre
Tunnel Location Template - Located in a specific template
- Template
Stack GreTunnel Location Template Stack - Located in a specific template stack
- ngfw
Gre
Tunnel Location Ngfw - Located in a specific NGFW device
- template
Gre
Tunnel Location Template - Located in a specific template
- template
Stack GreTunnel Location Template Stack - Located in a specific template stack
- ngfw
Gre
Tunnel Location Ngfw - Located in a specific NGFW device
- template
Gre
Tunnel Location Template - Located in a specific template
- template
Stack GreTunnel Location Template Stack - Located in a specific template stack
- ngfw
Gre
Tunnel Location Ngfw - Located in a specific NGFW device
- template
Gre
Tunnel Location Template - Located in a specific template
- template_
stack GreTunnel Location Template Stack - Located in a specific template stack
- ngfw Property Map
- Located in a specific NGFW device
- template Property Map
- Located in a specific template
- template
Stack Property Map - Located in a specific template stack
GreTunnelLocationNgfw, GreTunnelLocationNgfwArgs
- Ngfw
Device string - The NGFW device
- Ngfw
Device string - The NGFW device
- ngfw
Device String - The NGFW device
- ngfw
Device string - The NGFW device
- ngfw_
device str - The NGFW device
- ngfw
Device String - The NGFW device
GreTunnelLocationTemplate, GreTunnelLocationTemplateArgs
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
GreTunnelLocationTemplateStack, GreTunnelLocationTemplateStackArgs
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template stack
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template stack
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
GreTunnelPeerAddress, GreTunnelPeerAddressArgs
- Ip string
- Peer IP address
- Ip string
- Peer IP address
- ip String
- Peer IP address
- ip string
- Peer IP address
- ip str
- Peer IP address
- ip String
- Peer IP address
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panosTerraform Provider.
published on Tuesday, Apr 28, 2026 by paloaltonetworks
