1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getCiscoBfdFeatureTemplate
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.getCiscoBfdFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    This data source can read the Cisco BFD feature template.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getCiscoBfdFeatureTemplate({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_cisco_bfd_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.LookupCiscoBfdFeatureTemplate(ctx, &sdwan.LookupCiscoBfdFeatureTemplateArgs{
    			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.GetCiscoBfdFeatureTemplate.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.GetCiscoBfdFeatureTemplateArgs;
    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.getCiscoBfdFeatureTemplate(GetCiscoBfdFeatureTemplateArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getCiscoBfdFeatureTemplate
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getCiscoBfdFeatureTemplate

    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 getCiscoBfdFeatureTemplate(args: GetCiscoBfdFeatureTemplateArgs, opts?: InvokeOptions): Promise<GetCiscoBfdFeatureTemplateResult>
    function getCiscoBfdFeatureTemplateOutput(args: GetCiscoBfdFeatureTemplateOutputArgs, opts?: InvokeOptions): Output<GetCiscoBfdFeatureTemplateResult>
    def get_cisco_bfd_feature_template(id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetCiscoBfdFeatureTemplateResult
    def get_cisco_bfd_feature_template_output(id: Optional[pulumi.Input[str]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetCiscoBfdFeatureTemplateResult]
    func LookupCiscoBfdFeatureTemplate(ctx *Context, args *LookupCiscoBfdFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoBfdFeatureTemplateResult, error)
    func LookupCiscoBfdFeatureTemplateOutput(ctx *Context, args *LookupCiscoBfdFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoBfdFeatureTemplateResultOutput

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

    public static class GetCiscoBfdFeatureTemplate 
    {
        public static Task<GetCiscoBfdFeatureTemplateResult> InvokeAsync(GetCiscoBfdFeatureTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetCiscoBfdFeatureTemplateResult> Invoke(GetCiscoBfdFeatureTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCiscoBfdFeatureTemplateResult> getCiscoBfdFeatureTemplate(GetCiscoBfdFeatureTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getCiscoBfdFeatureTemplate:getCiscoBfdFeatureTemplate
      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

    getCiscoBfdFeatureTemplate Result

    The following output properties are available:

    Colors List<GetCiscoBfdFeatureTemplateColor>
    Set color that identifies the WAN transport tunnel
    DefaultDscp int
    Set default DSCP value for BFD packets
    DefaultDscpVariable 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
    Multiplier int
    Set the number of polling intervals used to determine tunnel SLA class
    MultiplierVariable string
    Variable name
    Name string
    The name of the feature template
    PollInterval int
    Set how often BFD polls tunnels to collect packet latency, loss, and statistics
    PollIntervalVariable string
    Variable name
    TemplateType string
    The template type
    Version int
    The version of the feature template
    Colors []GetCiscoBfdFeatureTemplateColor
    Set color that identifies the WAN transport tunnel
    DefaultDscp int
    Set default DSCP value for BFD packets
    DefaultDscpVariable 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
    Multiplier int
    Set the number of polling intervals used to determine tunnel SLA class
    MultiplierVariable string
    Variable name
    Name string
    The name of the feature template
    PollInterval int
    Set how often BFD polls tunnels to collect packet latency, loss, and statistics
    PollIntervalVariable string
    Variable name
    TemplateType string
    The template type
    Version int
    The version of the feature template
    colors List<GetCiscoBfdFeatureTemplateColor>
    Set color that identifies the WAN transport tunnel
    defaultDscp Integer
    Set default DSCP value for BFD packets
    defaultDscpVariable 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
    multiplier Integer
    Set the number of polling intervals used to determine tunnel SLA class
    multiplierVariable String
    Variable name
    name String
    The name of the feature template
    pollInterval Integer
    Set how often BFD polls tunnels to collect packet latency, loss, and statistics
    pollIntervalVariable String
    Variable name
    templateType String
    The template type
    version Integer
    The version of the feature template
    colors GetCiscoBfdFeatureTemplateColor[]
    Set color that identifies the WAN transport tunnel
    defaultDscp number
    Set default DSCP value for BFD packets
    defaultDscpVariable 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
    multiplier number
    Set the number of polling intervals used to determine tunnel SLA class
    multiplierVariable string
    Variable name
    name string
    The name of the feature template
    pollInterval number
    Set how often BFD polls tunnels to collect packet latency, loss, and statistics
    pollIntervalVariable string
    Variable name
    templateType string
    The template type
    version number
    The version of the feature template
    colors Sequence[GetCiscoBfdFeatureTemplateColor]
    Set color that identifies the WAN transport tunnel
    default_dscp int
    Set default DSCP value for BFD packets
    default_dscp_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
    multiplier int
    Set the number of polling intervals used to determine tunnel SLA class
    multiplier_variable str
    Variable name
    name str
    The name of the feature template
    poll_interval int
    Set how often BFD polls tunnels to collect packet latency, loss, and statistics
    poll_interval_variable str
    Variable name
    template_type str
    The template type
    version int
    The version of the feature template
    colors List<Property Map>
    Set color that identifies the WAN transport tunnel
    defaultDscp Number
    Set default DSCP value for BFD packets
    defaultDscpVariable 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
    multiplier Number
    Set the number of polling intervals used to determine tunnel SLA class
    multiplierVariable String
    Variable name
    name String
    The name of the feature template
    pollInterval Number
    Set how often BFD polls tunnels to collect packet latency, loss, and statistics
    pollIntervalVariable String
    Variable name
    templateType String
    The template type
    version Number
    The version of the feature template

    Supporting Types

    GetCiscoBfdFeatureTemplateColor

    Color string
    Set color that identifies the WAN transport tunnel
    ColorVariable string
    Variable name
    Dscp int
    Set BFD Default DSCP value for tloc color
    DscpVariable string
    Variable name
    HelloInterval int
    Set how often BFD sends Hello packets
    HelloIntervalVariable string
    Variable name
    Multiplier int
    Set how many Hello packet intervals to wait before declaring that a tunnel has failed
    MultiplierVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    PmtuDiscovery bool
    Control automatic path MTU discovery
    PmtuDiscoveryVariable string
    Variable name
    Color string
    Set color that identifies the WAN transport tunnel
    ColorVariable string
    Variable name
    Dscp int
    Set BFD Default DSCP value for tloc color
    DscpVariable string
    Variable name
    HelloInterval int
    Set how often BFD sends Hello packets
    HelloIntervalVariable string
    Variable name
    Multiplier int
    Set how many Hello packet intervals to wait before declaring that a tunnel has failed
    MultiplierVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    PmtuDiscovery bool
    Control automatic path MTU discovery
    PmtuDiscoveryVariable string
    Variable name
    color String
    Set color that identifies the WAN transport tunnel
    colorVariable String
    Variable name
    dscp Integer
    Set BFD Default DSCP value for tloc color
    dscpVariable String
    Variable name
    helloInterval Integer
    Set how often BFD sends Hello packets
    helloIntervalVariable String
    Variable name
    multiplier Integer
    Set how many Hello packet intervals to wait before declaring that a tunnel has failed
    multiplierVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    pmtuDiscovery Boolean
    Control automatic path MTU discovery
    pmtuDiscoveryVariable String
    Variable name
    color string
    Set color that identifies the WAN transport tunnel
    colorVariable string
    Variable name
    dscp number
    Set BFD Default DSCP value for tloc color
    dscpVariable string
    Variable name
    helloInterval number
    Set how often BFD sends Hello packets
    helloIntervalVariable string
    Variable name
    multiplier number
    Set how many Hello packet intervals to wait before declaring that a tunnel has failed
    multiplierVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    pmtuDiscovery boolean
    Control automatic path MTU discovery
    pmtuDiscoveryVariable string
    Variable name
    color str
    Set color that identifies the WAN transport tunnel
    color_variable str
    Variable name
    dscp int
    Set BFD Default DSCP value for tloc color
    dscp_variable str
    Variable name
    hello_interval int
    Set how often BFD sends Hello packets
    hello_interval_variable str
    Variable name
    multiplier int
    Set how many Hello packet intervals to wait before declaring that a tunnel has failed
    multiplier_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    pmtu_discovery bool
    Control automatic path MTU discovery
    pmtu_discovery_variable str
    Variable name
    color String
    Set color that identifies the WAN transport tunnel
    colorVariable String
    Variable name
    dscp Number
    Set BFD Default DSCP value for tloc color
    dscpVariable String
    Variable name
    helloInterval Number
    Set how often BFD sends Hello packets
    helloIntervalVariable String
    Variable name
    multiplier Number
    Set how many Hello packet intervals to wait before declaring that a tunnel has failed
    multiplierVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    pmtuDiscovery Boolean
    Control automatic path MTU discovery
    pmtuDiscoveryVariable String
    Variable name

    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.1.3 published on Tuesday, Sep 24, 2024 by Pulumi