Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getCiscoVpnInterfaceGreFeatureTemplate
Explore with Pulumi AI
This data source can read the Cisco VPN Interface GRE feature template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getCiscoVpnInterfaceGreFeatureTemplate({
id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_cisco_vpn_interface_gre_feature_template(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
package main
import (
"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sdwan.LookupCiscoVpnInterfaceGreFeatureTemplate(ctx, &sdwan.LookupCiscoVpnInterfaceGreFeatureTemplateArgs{
Id: pulumi.StringRef("f6b2c44c-693c-4763-b010-895aa3d236bd"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() =>
{
var example = Sdwan.GetCiscoVpnInterfaceGreFeatureTemplate.Invoke(new()
{
Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SdwanFunctions;
import com.pulumi.sdwan.inputs.GetCiscoVpnInterfaceGreFeatureTemplateArgs;
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 = SdwanFunctions.getCiscoVpnInterfaceGreFeatureTemplate(GetCiscoVpnInterfaceGreFeatureTemplateArgs.builder()
.id("f6b2c44c-693c-4763-b010-895aa3d236bd")
.build());
}
}
variables:
example:
fn::invoke:
Function: sdwan:getCiscoVpnInterfaceGreFeatureTemplate
Arguments:
id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getCiscoVpnInterfaceGreFeatureTemplate
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 getCiscoVpnInterfaceGreFeatureTemplate(args: GetCiscoVpnInterfaceGreFeatureTemplateArgs, opts?: InvokeOptions): Promise<GetCiscoVpnInterfaceGreFeatureTemplateResult>
function getCiscoVpnInterfaceGreFeatureTemplateOutput(args: GetCiscoVpnInterfaceGreFeatureTemplateOutputArgs, opts?: InvokeOptions): Output<GetCiscoVpnInterfaceGreFeatureTemplateResult>
def get_cisco_vpn_interface_gre_feature_template(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCiscoVpnInterfaceGreFeatureTemplateResult
def get_cisco_vpn_interface_gre_feature_template_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCiscoVpnInterfaceGreFeatureTemplateResult]
func LookupCiscoVpnInterfaceGreFeatureTemplate(ctx *Context, args *LookupCiscoVpnInterfaceGreFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoVpnInterfaceGreFeatureTemplateResult, error)
func LookupCiscoVpnInterfaceGreFeatureTemplateOutput(ctx *Context, args *LookupCiscoVpnInterfaceGreFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoVpnInterfaceGreFeatureTemplateResultOutput
> Note: This function is named LookupCiscoVpnInterfaceGreFeatureTemplate
in the Go SDK.
public static class GetCiscoVpnInterfaceGreFeatureTemplate
{
public static Task<GetCiscoVpnInterfaceGreFeatureTemplateResult> InvokeAsync(GetCiscoVpnInterfaceGreFeatureTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetCiscoVpnInterfaceGreFeatureTemplateResult> Invoke(GetCiscoVpnInterfaceGreFeatureTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCiscoVpnInterfaceGreFeatureTemplateResult> getCiscoVpnInterfaceGreFeatureTemplate(GetCiscoVpnInterfaceGreFeatureTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getCiscoVpnInterfaceGreFeatureTemplate:getCiscoVpnInterfaceGreFeatureTemplate
arguments:
# arguments dictionary
The following arguments are supported:
getCiscoVpnInterfaceGreFeatureTemplate Result
The following output properties are available:
- Access
Lists List<GetCisco Vpn Interface Gre Feature Template Access List> - Apply ACL
- Application string
- Enable Application Tunnel Type
- Application
Variable string - Variable name
- Clear
Dont boolFragment - Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
- Clear
Dont stringFragment Variable - Variable name
- Description string
- The description of the feature template
- Device
Types List<string> - List of supported device types
- Id string
- The id of the feature template
- Interface
Description string - Interface description
- Interface
Description stringVariable - Variable name
- Interface
Name string - Interface name: ge0/\n\n or ge0/\n\n.vlanid or irbbridgeid:1-63 or loopback\n\n or natpool-\n\n when present
- Interface
Name stringVariable - Variable name
- Ip
Address string - Assign IPv4 address
- Ip
Address stringVariable - Variable name
- Ip
Mtu int - Interface MTU \n\n, in bytes
- Ip
Mtu stringVariable - Variable name
- Name string
- The name of the feature template
- Rewrite
Rule string - Name of rewrite rule
- Rewrite
Rule stringVariable - Variable name
- Shutdown bool
- Administrative state
- Shutdown
Variable string - Variable name
- Tcp
Mss intAdjust - TCP MSS on SYN packets, in bytes
- Tcp
Mss stringAdjust Variable - Variable name
- Template
Type string - The template type
- Tracker
Variable string - Variable name
- Trackers List<string>
- Enable tracker for this interface
- Tunnel
Destination string - Tunnel destination IP Address
- Tunnel
Destination stringVariable - Variable name
- Tunnel
Route stringVia - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- Tunnel
Route stringVia Variable - Variable name
- Tunnel
Source string - Tunnel source IP Address
- Tunnel
Source stringInterface - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- Tunnel
Source stringInterface Variable - Variable name
- Tunnel
Source stringVariable - Variable name
- Version int
- The version of the feature template
- Access
Lists []GetCisco Vpn Interface Gre Feature Template Access List - Apply ACL
- Application string
- Enable Application Tunnel Type
- Application
Variable string - Variable name
- Clear
Dont boolFragment - Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
- Clear
Dont stringFragment Variable - Variable name
- Description string
- The description of the feature template
- Device
Types []string - List of supported device types
- Id string
- The id of the feature template
- Interface
Description string - Interface description
- Interface
Description stringVariable - Variable name
- Interface
Name string - Interface name: ge0/\n\n or ge0/\n\n.vlanid or irbbridgeid:1-63 or loopback\n\n or natpool-\n\n when present
- Interface
Name stringVariable - Variable name
- Ip
Address string - Assign IPv4 address
- Ip
Address stringVariable - Variable name
- Ip
Mtu int - Interface MTU \n\n, in bytes
- Ip
Mtu stringVariable - Variable name
- Name string
- The name of the feature template
- Rewrite
Rule string - Name of rewrite rule
- Rewrite
Rule stringVariable - Variable name
- Shutdown bool
- Administrative state
- Shutdown
Variable string - Variable name
- Tcp
Mss intAdjust - TCP MSS on SYN packets, in bytes
- Tcp
Mss stringAdjust Variable - Variable name
- Template
Type string - The template type
- Tracker
Variable string - Variable name
- Trackers []string
- Enable tracker for this interface
- Tunnel
Destination string - Tunnel destination IP Address
- Tunnel
Destination stringVariable - Variable name
- Tunnel
Route stringVia - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- Tunnel
Route stringVia Variable - Variable name
- Tunnel
Source string - Tunnel source IP Address
- Tunnel
Source stringInterface - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- Tunnel
Source stringInterface Variable - Variable name
- Tunnel
Source stringVariable - Variable name
- Version int
- The version of the feature template
- access
Lists List<GetCisco Vpn Interface Gre Feature Template Access List> - Apply ACL
- application String
- Enable Application Tunnel Type
- application
Variable String - Variable name
- clear
Dont BooleanFragment - Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
- clear
Dont StringFragment Variable - Variable name
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- id String
- The id of the feature template
- interface
Description String - Interface description
- interface
Description StringVariable - Variable name
- interface
Name String - Interface name: ge0/\n\n or ge0/\n\n.vlanid or irbbridgeid:1-63 or loopback\n\n or natpool-\n\n when present
- interface
Name StringVariable - Variable name
- ip
Address String - Assign IPv4 address
- ip
Address StringVariable - Variable name
- ip
Mtu Integer - Interface MTU \n\n, in bytes
- ip
Mtu StringVariable - Variable name
- name String
- The name of the feature template
- rewrite
Rule String - Name of rewrite rule
- rewrite
Rule StringVariable - Variable name
- shutdown Boolean
- Administrative state
- shutdown
Variable String - Variable name
- tcp
Mss IntegerAdjust - TCP MSS on SYN packets, in bytes
- tcp
Mss StringAdjust Variable - Variable name
- template
Type String - The template type
- tracker
Variable String - Variable name
- trackers List<String>
- Enable tracker for this interface
- tunnel
Destination String - Tunnel destination IP Address
- tunnel
Destination StringVariable - Variable name
- tunnel
Route StringVia - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- tunnel
Route StringVia Variable - Variable name
- tunnel
Source String - Tunnel source IP Address
- tunnel
Source StringInterface - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- tunnel
Source StringInterface Variable - Variable name
- tunnel
Source StringVariable - Variable name
- version Integer
- The version of the feature template
- access
Lists GetCisco Vpn Interface Gre Feature Template Access List[] - Apply ACL
- application string
- Enable Application Tunnel Type
- application
Variable string - Variable name
- clear
Dont booleanFragment - Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
- clear
Dont stringFragment Variable - Variable name
- description string
- The description of the feature template
- device
Types string[] - List of supported device types
- id string
- The id of the feature template
- interface
Description string - Interface description
- interface
Description stringVariable - Variable name
- interface
Name string - Interface name: ge0/\n\n or ge0/\n\n.vlanid or irbbridgeid:1-63 or loopback\n\n or natpool-\n\n when present
- interface
Name stringVariable - Variable name
- ip
Address string - Assign IPv4 address
- ip
Address stringVariable - Variable name
- ip
Mtu number - Interface MTU \n\n, in bytes
- ip
Mtu stringVariable - Variable name
- name string
- The name of the feature template
- rewrite
Rule string - Name of rewrite rule
- rewrite
Rule stringVariable - Variable name
- shutdown boolean
- Administrative state
- shutdown
Variable string - Variable name
- tcp
Mss numberAdjust - TCP MSS on SYN packets, in bytes
- tcp
Mss stringAdjust Variable - Variable name
- template
Type string - The template type
- tracker
Variable string - Variable name
- trackers string[]
- Enable tracker for this interface
- tunnel
Destination string - Tunnel destination IP Address
- tunnel
Destination stringVariable - Variable name
- tunnel
Route stringVia - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- tunnel
Route stringVia Variable - Variable name
- tunnel
Source string - Tunnel source IP Address
- tunnel
Source stringInterface - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- tunnel
Source stringInterface Variable - Variable name
- tunnel
Source stringVariable - Variable name
- version number
- The version of the feature template
- access_
lists Sequence[GetCisco Vpn Interface Gre Feature Template Access List] - Apply ACL
- application str
- Enable Application Tunnel Type
- application_
variable str - Variable name
- clear_
dont_ boolfragment - Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
- clear_
dont_ strfragment_ variable - Variable name
- description str
- The description of the feature template
- device_
types Sequence[str] - List of supported device types
- id str
- The id of the feature template
- interface_
description str - Interface description
- interface_
description_ strvariable - Variable name
- interface_
name str - Interface name: ge0/\n\n or ge0/\n\n.vlanid or irbbridgeid:1-63 or loopback\n\n or natpool-\n\n when present
- interface_
name_ strvariable - Variable name
- ip_
address str - Assign IPv4 address
- ip_
address_ strvariable - Variable name
- ip_
mtu int - Interface MTU \n\n, in bytes
- ip_
mtu_ strvariable - Variable name
- name str
- The name of the feature template
- rewrite_
rule str - Name of rewrite rule
- rewrite_
rule_ strvariable - Variable name
- shutdown bool
- Administrative state
- shutdown_
variable str - Variable name
- tcp_
mss_ intadjust - TCP MSS on SYN packets, in bytes
- tcp_
mss_ stradjust_ variable - Variable name
- template_
type str - The template type
- tracker_
variable str - Variable name
- trackers Sequence[str]
- Enable tracker for this interface
- tunnel_
destination str - Tunnel destination IP Address
- tunnel_
destination_ strvariable - Variable name
- tunnel_
route_ strvia - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- tunnel_
route_ strvia_ variable - Variable name
- tunnel_
source str - Tunnel source IP Address
- tunnel_
source_ strinterface - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- tunnel_
source_ strinterface_ variable - Variable name
- tunnel_
source_ strvariable - Variable name
- version int
- The version of the feature template
- access
Lists List<Property Map> - Apply ACL
- application String
- Enable Application Tunnel Type
- application
Variable String - Variable name
- clear
Dont BooleanFragment - Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
- clear
Dont StringFragment Variable - Variable name
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- id String
- The id of the feature template
- interface
Description String - Interface description
- interface
Description StringVariable - Variable name
- interface
Name String - Interface name: ge0/\n\n or ge0/\n\n.vlanid or irbbridgeid:1-63 or loopback\n\n or natpool-\n\n when present
- interface
Name StringVariable - Variable name
- ip
Address String - Assign IPv4 address
- ip
Address StringVariable - Variable name
- ip
Mtu Number - Interface MTU \n\n, in bytes
- ip
Mtu StringVariable - Variable name
- name String
- The name of the feature template
- rewrite
Rule String - Name of rewrite rule
- rewrite
Rule StringVariable - Variable name
- shutdown Boolean
- Administrative state
- shutdown
Variable String - Variable name
- tcp
Mss NumberAdjust - TCP MSS on SYN packets, in bytes
- tcp
Mss StringAdjust Variable - Variable name
- template
Type String - The template type
- tracker
Variable String - Variable name
- trackers List<String>
- Enable tracker for this interface
- tunnel
Destination String - Tunnel destination IP Address
- tunnel
Destination StringVariable - Variable name
- tunnel
Route StringVia - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- tunnel
Route StringVia Variable - Variable name
- tunnel
Source String - Tunnel source IP Address
- tunnel
Source StringInterface - \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
- tunnel
Source StringInterface Variable - Variable name
- tunnel
Source StringVariable - Variable name
- version Number
- The version of the feature template
Supporting Types
GetCiscoVpnInterfaceGreFeatureTemplateAccessList
- Acl
Name string - Name of access list
- Acl
Name stringVariable - Variable name
- Direction string
- Direction
- Optional bool
- Indicates if list item is considered optional.
- Acl
Name string - Name of access list
- Acl
Name stringVariable - Variable name
- Direction string
- Direction
- Optional bool
- Indicates if list item is considered optional.
- acl
Name String - Name of access list
- acl
Name StringVariable - Variable name
- direction String
- Direction
- optional Boolean
- Indicates if list item is considered optional.
- acl
Name string - Name of access list
- acl
Name stringVariable - Variable name
- direction string
- Direction
- optional boolean
- Indicates if list item is considered optional.
- acl_
name str - Name of access list
- acl_
name_ strvariable - Variable name
- direction str
- Direction
- optional bool
- Indicates if list item is considered optional.
- acl
Name String - Name of access list
- acl
Name StringVariable - Variable name
- direction String
- Direction
- optional Boolean
- Indicates if list item is considered optional.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.