1. Packages
  2. Panos Provider
  3. API Docs
  4. getGreTunnel
Viewing docs for panos 2.0.10
published on Thursday, Apr 9, 2026 by paloaltonetworks
Viewing docs for panos 2.0.10
published on Thursday, Apr 9, 2026 by paloaltonetworks

    Using getGreTunnel

    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 getGreTunnel(args: GetGreTunnelArgs, opts?: InvokeOptions): Promise<GetGreTunnelResult>
    function getGreTunnelOutput(args: GetGreTunnelOutputArgs, opts?: InvokeOptions): Output<GetGreTunnelResult>
    def get_gre_tunnel(copy_tos: Optional[bool] = None,
                       disabled: Optional[bool] = None,
                       erspan: Optional[bool] = None,
                       keep_alive: Optional[GetGreTunnelKeepAlive] = None,
                       local_address: Optional[GetGreTunnelLocalAddress] = None,
                       location: Optional[GetGreTunnelLocation] = None,
                       name: Optional[str] = None,
                       peer_address: Optional[GetGreTunnelPeerAddress] = None,
                       ttl: Optional[float] = None,
                       tunnel_interface: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetGreTunnelResult
    def get_gre_tunnel_output(copy_tos: Optional[pulumi.Input[bool]] = None,
                       disabled: Optional[pulumi.Input[bool]] = None,
                       erspan: Optional[pulumi.Input[bool]] = None,
                       keep_alive: Optional[pulumi.Input[GetGreTunnelKeepAliveArgs]] = None,
                       local_address: Optional[pulumi.Input[GetGreTunnelLocalAddressArgs]] = None,
                       location: Optional[pulumi.Input[GetGreTunnelLocationArgs]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       peer_address: Optional[pulumi.Input[GetGreTunnelPeerAddressArgs]] = None,
                       ttl: Optional[pulumi.Input[float]] = None,
                       tunnel_interface: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetGreTunnelResult]
    func LookupGreTunnel(ctx *Context, args *LookupGreTunnelArgs, opts ...InvokeOption) (*LookupGreTunnelResult, error)
    func LookupGreTunnelOutput(ctx *Context, args *LookupGreTunnelOutputArgs, opts ...InvokeOption) LookupGreTunnelResultOutput

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

    public static class GetGreTunnel 
    {
        public static Task<GetGreTunnelResult> InvokeAsync(GetGreTunnelArgs args, InvokeOptions? opts = null)
        public static Output<GetGreTunnelResult> Invoke(GetGreTunnelInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGreTunnelResult> getGreTunnel(GetGreTunnelArgs args, InvokeOptions options)
    public static Output<GetGreTunnelResult> getGreTunnel(GetGreTunnelArgs args, InvokeOptions options)
    
    fn::invoke:
      function: panos:index/getGreTunnel:getGreTunnel
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location GetGreTunnelLocation
    The location of this object.
    Name string
    CopyTos bool
    Copy IP TOS bits from inner packet to GRE packet
    Disabled bool
    Disable the GRE tunnel
    Erspan bool
    tap mode for ERSPAN
    KeepAlive GetGreTunnelKeepAlive
    LocalAddress GetGreTunnelLocalAddress
    PeerAddress GetGreTunnelPeerAddress
    Ttl double
    TTL
    TunnelInterface string
    to apply GRE tunnels to tunnel interface
    Location GetGreTunnelLocation
    The location of this object.
    Name string
    CopyTos bool
    Copy IP TOS bits from inner packet to GRE packet
    Disabled bool
    Disable the GRE tunnel
    Erspan bool
    tap mode for ERSPAN
    KeepAlive GetGreTunnelKeepAlive
    LocalAddress GetGreTunnelLocalAddress
    PeerAddress GetGreTunnelPeerAddress
    Ttl float64
    TTL
    TunnelInterface string
    to apply GRE tunnels to tunnel interface
    location GetGreTunnelLocation
    The location of this object.
    name String
    copyTos Boolean
    Copy IP TOS bits from inner packet to GRE packet
    disabled Boolean
    Disable the GRE tunnel
    erspan Boolean
    tap mode for ERSPAN
    keepAlive GetGreTunnelKeepAlive
    localAddress GetGreTunnelLocalAddress
    peerAddress GetGreTunnelPeerAddress
    ttl Double
    TTL
    tunnelInterface String
    to apply GRE tunnels to tunnel interface
    location GetGreTunnelLocation
    The location of this object.
    name string
    copyTos boolean
    Copy IP TOS bits from inner packet to GRE packet
    disabled boolean
    Disable the GRE tunnel
    erspan boolean
    tap mode for ERSPAN
    keepAlive GetGreTunnelKeepAlive
    localAddress GetGreTunnelLocalAddress
    peerAddress GetGreTunnelPeerAddress
    ttl number
    TTL
    tunnelInterface string
    to apply GRE tunnels to tunnel interface
    location GetGreTunnelLocation
    The location of this object.
    name str
    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 GetGreTunnelKeepAlive
    local_address GetGreTunnelLocalAddress
    peer_address GetGreTunnelPeerAddress
    ttl float
    TTL
    tunnel_interface str
    to apply GRE tunnels to tunnel interface
    location Property Map
    The location of this object.
    name String
    copyTos Boolean
    Copy IP TOS bits from inner packet to GRE packet
    disabled Boolean
    Disable the GRE tunnel
    erspan Boolean
    tap mode for ERSPAN
    keepAlive Property Map
    localAddress Property Map
    peerAddress Property Map
    ttl Number
    TTL
    tunnelInterface String
    to apply GRE tunnels to tunnel interface

    getGreTunnel Result

    The following output properties are available:

    CopyTos bool
    Copy IP TOS bits from inner packet to GRE packet
    Disabled bool
    Disable the GRE tunnel
    Erspan bool
    tap mode for ERSPAN
    Id string
    The provider-assigned unique ID for this managed resource.
    KeepAlive GetGreTunnelKeepAlive
    LocalAddress GetGreTunnelLocalAddress
    Location GetGreTunnelLocation
    The location of this object.
    Name string
    PeerAddress GetGreTunnelPeerAddress
    Ttl double
    TTL
    TunnelInterface string
    to apply GRE tunnels to tunnel interface
    CopyTos bool
    Copy IP TOS bits from inner packet to GRE packet
    Disabled bool
    Disable the GRE tunnel
    Erspan bool
    tap mode for ERSPAN
    Id string
    The provider-assigned unique ID for this managed resource.
    KeepAlive GetGreTunnelKeepAlive
    LocalAddress GetGreTunnelLocalAddress
    Location GetGreTunnelLocation
    The location of this object.
    Name string
    PeerAddress GetGreTunnelPeerAddress
    Ttl float64
    TTL
    TunnelInterface string
    to apply GRE tunnels to tunnel interface
    copyTos Boolean
    Copy IP TOS bits from inner packet to GRE packet
    disabled Boolean
    Disable the GRE tunnel
    erspan Boolean
    tap mode for ERSPAN
    id String
    The provider-assigned unique ID for this managed resource.
    keepAlive GetGreTunnelKeepAlive
    localAddress GetGreTunnelLocalAddress
    location GetGreTunnelLocation
    The location of this object.
    name String
    peerAddress GetGreTunnelPeerAddress
    ttl Double
    TTL
    tunnelInterface String
    to apply GRE tunnels to tunnel interface
    copyTos boolean
    Copy IP TOS bits from inner packet to GRE packet
    disabled boolean
    Disable the GRE tunnel
    erspan boolean
    tap mode for ERSPAN
    id string
    The provider-assigned unique ID for this managed resource.
    keepAlive GetGreTunnelKeepAlive
    localAddress GetGreTunnelLocalAddress
    location GetGreTunnelLocation
    The location of this object.
    name string
    peerAddress GetGreTunnelPeerAddress
    ttl number
    TTL
    tunnelInterface 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
    id str
    The provider-assigned unique ID for this managed resource.
    keep_alive GetGreTunnelKeepAlive
    local_address GetGreTunnelLocalAddress
    location GetGreTunnelLocation
    The location of this object.
    name str
    peer_address GetGreTunnelPeerAddress
    ttl float
    TTL
    tunnel_interface str
    to apply GRE tunnels to tunnel interface
    copyTos Boolean
    Copy IP TOS bits from inner packet to GRE packet
    disabled Boolean
    Disable the GRE tunnel
    erspan Boolean
    tap mode for ERSPAN
    id String
    The provider-assigned unique ID for this managed resource.
    keepAlive Property Map
    localAddress Property Map
    location Property Map
    The location of this object.
    name String
    peerAddress Property Map
    ttl Number
    TTL
    tunnelInterface String
    to apply GRE tunnels to tunnel interface

    Supporting Types

    GetGreTunnelKeepAlive

    Enable bool
    Enable tunnel monitoring on this tunnel
    HoldTimer double
    Hold timer
    Interval double
    Interval
    Retry double
    Retry
    Enable bool
    Enable tunnel monitoring on this tunnel
    HoldTimer float64
    Hold timer
    Interval float64
    Interval
    Retry float64
    Retry
    enable Boolean
    Enable tunnel monitoring on this tunnel
    holdTimer Double
    Hold timer
    interval Double
    Interval
    retry Double
    Retry
    enable boolean
    Enable tunnel monitoring on this tunnel
    holdTimer number
    Hold timer
    interval number
    Interval
    retry number
    Retry
    enable bool
    Enable tunnel monitoring on this tunnel
    hold_timer float
    Hold timer
    interval float
    Interval
    retry float
    Retry
    enable Boolean
    Enable tunnel monitoring on this tunnel
    holdTimer Number
    Hold timer
    interval Number
    Interval
    retry Number
    Retry

    GetGreTunnelLocalAddress

    FloatingIp 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
    FloatingIp 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
    floatingIp 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
    floatingIp 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
    floatingIp 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

    GetGreTunnelLocation

    Ngfw GetGreTunnelLocationNgfw
    Located in a specific NGFW device
    Template GetGreTunnelLocationTemplate
    Located in a specific template
    TemplateStack GetGreTunnelLocationTemplateStack
    Located in a specific template stack
    Ngfw GetGreTunnelLocationNgfw
    Located in a specific NGFW device
    Template GetGreTunnelLocationTemplate
    Located in a specific template
    TemplateStack GetGreTunnelLocationTemplateStack
    Located in a specific template stack
    ngfw GetGreTunnelLocationNgfw
    Located in a specific NGFW device
    template GetGreTunnelLocationTemplate
    Located in a specific template
    templateStack GetGreTunnelLocationTemplateStack
    Located in a specific template stack
    ngfw GetGreTunnelLocationNgfw
    Located in a specific NGFW device
    template GetGreTunnelLocationTemplate
    Located in a specific template
    templateStack GetGreTunnelLocationTemplateStack
    Located in a specific template stack
    ngfw GetGreTunnelLocationNgfw
    Located in a specific NGFW device
    template GetGreTunnelLocationTemplate
    Located in a specific template
    template_stack GetGreTunnelLocationTemplateStack
    Located in a specific template stack
    ngfw Property Map
    Located in a specific NGFW device
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template stack

    GetGreTunnelLocationNgfw

    NgfwDevice string
    The NGFW device
    NgfwDevice string
    The NGFW device
    ngfwDevice String
    The NGFW device
    ngfwDevice string
    The NGFW device
    ngfw_device str
    The NGFW device
    ngfwDevice String
    The NGFW device

    GetGreTunnelLocationTemplate

    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    ngfwDevice string
    The NGFW device
    panoramaDevice 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
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    GetGreTunnelLocationTemplateStack

    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template stack
    ngfwDevice string
    The NGFW device
    panoramaDevice 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
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    GetGreTunnelPeerAddress

    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 panos Terraform Provider.
    Viewing docs for panos 2.0.10
    published on Thursday, Apr 9, 2026 by paloaltonetworks
      Try Pulumi Cloud free. Your team will thank you.