1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getCiscoVpnInterfaceGreFeatureTemplate
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.getCiscoVpnInterfaceGreFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    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:

    Id string
    The id of the feature template
    Name string
    The name of the feature template
    Id string
    The id of the feature template
    Name string
    The name of the feature template
    id String
    The id of the feature template
    name String
    The name of the feature template
    id string
    The id of the feature template
    name string
    The name of the feature template
    id str
    The id of the feature template
    name str
    The name of the feature template
    id String
    The id of the feature template
    name String
    The name of the feature template

    getCiscoVpnInterfaceGreFeatureTemplate Result

    The following output properties are available:

    AccessLists List<GetCiscoVpnInterfaceGreFeatureTemplateAccessList>
    Apply ACL
    Application string
    Enable Application Tunnel Type
    ApplicationVariable string
    Variable name
    ClearDontFragment bool
    Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
    ClearDontFragmentVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types
    Id string
    The id of the feature template
    InterfaceDescription string
    Interface description
    InterfaceDescriptionVariable string
    Variable name
    InterfaceName 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
    InterfaceNameVariable string
    Variable name
    IpAddress string
    Assign IPv4 address
    IpAddressVariable string
    Variable name
    IpMtu int
    Interface MTU \n\n, in bytes
    IpMtuVariable string
    Variable name
    Name string
    The name of the feature template
    RewriteRule string
    Name of rewrite rule
    RewriteRuleVariable string
    Variable name
    Shutdown bool
    Administrative state
    ShutdownVariable string
    Variable name
    TcpMssAdjust int
    TCP MSS on SYN packets, in bytes
    TcpMssAdjustVariable string
    Variable name
    TemplateType string
    The template type
    TrackerVariable string
    Variable name
    Trackers List<string>
    Enable tracker for this interface
    TunnelDestination string
    Tunnel destination IP Address
    TunnelDestinationVariable string
    Variable name
    TunnelRouteVia string
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    TunnelRouteViaVariable string
    Variable name
    TunnelSource string
    Tunnel source IP Address
    TunnelSourceInterface string
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    TunnelSourceInterfaceVariable string
    Variable name
    TunnelSourceVariable string
    Variable name
    Version int
    The version of the feature template
    AccessLists []GetCiscoVpnInterfaceGreFeatureTemplateAccessList
    Apply ACL
    Application string
    Enable Application Tunnel Type
    ApplicationVariable string
    Variable name
    ClearDontFragment bool
    Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
    ClearDontFragmentVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types
    Id string
    The id of the feature template
    InterfaceDescription string
    Interface description
    InterfaceDescriptionVariable string
    Variable name
    InterfaceName 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
    InterfaceNameVariable string
    Variable name
    IpAddress string
    Assign IPv4 address
    IpAddressVariable string
    Variable name
    IpMtu int
    Interface MTU \n\n, in bytes
    IpMtuVariable string
    Variable name
    Name string
    The name of the feature template
    RewriteRule string
    Name of rewrite rule
    RewriteRuleVariable string
    Variable name
    Shutdown bool
    Administrative state
    ShutdownVariable string
    Variable name
    TcpMssAdjust int
    TCP MSS on SYN packets, in bytes
    TcpMssAdjustVariable string
    Variable name
    TemplateType string
    The template type
    TrackerVariable string
    Variable name
    Trackers []string
    Enable tracker for this interface
    TunnelDestination string
    Tunnel destination IP Address
    TunnelDestinationVariable string
    Variable name
    TunnelRouteVia string
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    TunnelRouteViaVariable string
    Variable name
    TunnelSource string
    Tunnel source IP Address
    TunnelSourceInterface string
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    TunnelSourceInterfaceVariable string
    Variable name
    TunnelSourceVariable string
    Variable name
    Version int
    The version of the feature template
    accessLists List<GetCiscoVpnInterfaceGreFeatureTemplateAccessList>
    Apply ACL
    application String
    Enable Application Tunnel Type
    applicationVariable String
    Variable name
    clearDontFragment Boolean
    Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
    clearDontFragmentVariable String
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types
    id String
    The id of the feature template
    interfaceDescription String
    Interface description
    interfaceDescriptionVariable String
    Variable name
    interfaceName 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
    interfaceNameVariable String
    Variable name
    ipAddress String
    Assign IPv4 address
    ipAddressVariable String
    Variable name
    ipMtu Integer
    Interface MTU \n\n, in bytes
    ipMtuVariable String
    Variable name
    name String
    The name of the feature template
    rewriteRule String
    Name of rewrite rule
    rewriteRuleVariable String
    Variable name
    shutdown Boolean
    Administrative state
    shutdownVariable String
    Variable name
    tcpMssAdjust Integer
    TCP MSS on SYN packets, in bytes
    tcpMssAdjustVariable String
    Variable name
    templateType String
    The template type
    trackerVariable String
    Variable name
    trackers List<String>
    Enable tracker for this interface
    tunnelDestination String
    Tunnel destination IP Address
    tunnelDestinationVariable String
    Variable name
    tunnelRouteVia String
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    tunnelRouteViaVariable String
    Variable name
    tunnelSource String
    Tunnel source IP Address
    tunnelSourceInterface String
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    tunnelSourceInterfaceVariable String
    Variable name
    tunnelSourceVariable String
    Variable name
    version Integer
    The version of the feature template
    accessLists GetCiscoVpnInterfaceGreFeatureTemplateAccessList[]
    Apply ACL
    application string
    Enable Application Tunnel Type
    applicationVariable string
    Variable name
    clearDontFragment boolean
    Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
    clearDontFragmentVariable string
    Variable name
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types
    id string
    The id of the feature template
    interfaceDescription string
    Interface description
    interfaceDescriptionVariable string
    Variable name
    interfaceName 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
    interfaceNameVariable string
    Variable name
    ipAddress string
    Assign IPv4 address
    ipAddressVariable string
    Variable name
    ipMtu number
    Interface MTU \n\n, in bytes
    ipMtuVariable string
    Variable name
    name string
    The name of the feature template
    rewriteRule string
    Name of rewrite rule
    rewriteRuleVariable string
    Variable name
    shutdown boolean
    Administrative state
    shutdownVariable string
    Variable name
    tcpMssAdjust number
    TCP MSS on SYN packets, in bytes
    tcpMssAdjustVariable string
    Variable name
    templateType string
    The template type
    trackerVariable string
    Variable name
    trackers string[]
    Enable tracker for this interface
    tunnelDestination string
    Tunnel destination IP Address
    tunnelDestinationVariable string
    Variable name
    tunnelRouteVia string
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    tunnelRouteViaVariable string
    Variable name
    tunnelSource string
    Tunnel source IP Address
    tunnelSourceInterface string
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    tunnelSourceInterfaceVariable string
    Variable name
    tunnelSourceVariable string
    Variable name
    version number
    The version of the feature template
    access_lists Sequence[GetCiscoVpnInterfaceGreFeatureTemplateAccessList]
    Apply ACL
    application str
    Enable Application Tunnel Type
    application_variable str
    Variable name
    clear_dont_fragment bool
    Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
    clear_dont_fragment_variable str
    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_variable str
    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_variable str
    Variable name
    ip_address str
    Assign IPv4 address
    ip_address_variable str
    Variable name
    ip_mtu int
    Interface MTU \n\n, in bytes
    ip_mtu_variable str
    Variable name
    name str
    The name of the feature template
    rewrite_rule str
    Name of rewrite rule
    rewrite_rule_variable str
    Variable name
    shutdown bool
    Administrative state
    shutdown_variable str
    Variable name
    tcp_mss_adjust int
    TCP MSS on SYN packets, in bytes
    tcp_mss_adjust_variable str
    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_variable str
    Variable name
    tunnel_route_via str
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    tunnel_route_via_variable str
    Variable name
    tunnel_source str
    Tunnel source IP Address
    tunnel_source_interface str
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    tunnel_source_interface_variable str
    Variable name
    tunnel_source_variable str
    Variable name
    version int
    The version of the feature template
    accessLists List<Property Map>
    Apply ACL
    application String
    Enable Application Tunnel Type
    applicationVariable String
    Variable name
    clearDontFragment Boolean
    Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
    clearDontFragmentVariable String
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types
    id String
    The id of the feature template
    interfaceDescription String
    Interface description
    interfaceDescriptionVariable String
    Variable name
    interfaceName 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
    interfaceNameVariable String
    Variable name
    ipAddress String
    Assign IPv4 address
    ipAddressVariable String
    Variable name
    ipMtu Number
    Interface MTU \n\n, in bytes
    ipMtuVariable String
    Variable name
    name String
    The name of the feature template
    rewriteRule String
    Name of rewrite rule
    rewriteRuleVariable String
    Variable name
    shutdown Boolean
    Administrative state
    shutdownVariable String
    Variable name
    tcpMssAdjust Number
    TCP MSS on SYN packets, in bytes
    tcpMssAdjustVariable String
    Variable name
    templateType String
    The template type
    trackerVariable String
    Variable name
    trackers List<String>
    Enable tracker for this interface
    tunnelDestination String
    Tunnel destination IP Address
    tunnelDestinationVariable String
    Variable name
    tunnelRouteVia String
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    tunnelRouteViaVariable String
    Variable name
    tunnelSource String
    Tunnel source IP Address
    tunnelSourceInterface String
    \n\n Interface name: ge0/\n\n or ge0/\n\n.vlanid
    tunnelSourceInterfaceVariable String
    Variable name
    tunnelSourceVariable String
    Variable name
    version Number
    The version of the feature template

    Supporting Types

    GetCiscoVpnInterfaceGreFeatureTemplateAccessList

    AclName string
    Name of access list
    AclNameVariable string
    Variable name
    Direction string
    Direction
    Optional bool
    Indicates if list item is considered optional.
    AclName string
    Name of access list
    AclNameVariable string
    Variable name
    Direction string
    Direction
    Optional bool
    Indicates if list item is considered optional.
    aclName String
    Name of access list
    aclNameVariable String
    Variable name
    direction String
    Direction
    optional Boolean
    Indicates if list item is considered optional.
    aclName string
    Name of access list
    aclNameVariable string
    Variable name
    direction string
    Direction
    optional boolean
    Indicates if list item is considered optional.
    acl_name str
    Name of access list
    acl_name_variable str
    Variable name
    direction str
    Direction
    optional bool
    Indicates if list item is considered optional.
    aclName String
    Name of access list
    aclNameVariable String
    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.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi