Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getCiscoBfdFeatureTemplate
Explore with Pulumi AI
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:
getCiscoBfdFeatureTemplate Result
The following output properties are available:
- Colors
List<Get
Cisco Bfd Feature Template Color> - Set color that identifies the WAN transport tunnel
- Default
Dscp int - Set default DSCP value for BFD packets
- Default
Dscp stringVariable - 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
- Multiplier int
- Set the number of polling intervals used to determine tunnel SLA class
- Multiplier
Variable string - Variable name
- Name string
- The name of the feature template
- Poll
Interval int - Set how often BFD polls tunnels to collect packet latency, loss, and statistics
- Poll
Interval stringVariable - Variable name
- Template
Type string - The template type
- Version int
- The version of the feature template
- Colors
[]Get
Cisco Bfd Feature Template Color - Set color that identifies the WAN transport tunnel
- Default
Dscp int - Set default DSCP value for BFD packets
- Default
Dscp stringVariable - 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
- Multiplier int
- Set the number of polling intervals used to determine tunnel SLA class
- Multiplier
Variable string - Variable name
- Name string
- The name of the feature template
- Poll
Interval int - Set how often BFD polls tunnels to collect packet latency, loss, and statistics
- Poll
Interval stringVariable - Variable name
- Template
Type string - The template type
- Version int
- The version of the feature template
- colors
List<Get
Cisco Bfd Feature Template Color> - Set color that identifies the WAN transport tunnel
- default
Dscp Integer - Set default DSCP value for BFD packets
- default
Dscp StringVariable - 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
- multiplier Integer
- Set the number of polling intervals used to determine tunnel SLA class
- multiplier
Variable String - Variable name
- name String
- The name of the feature template
- poll
Interval Integer - Set how often BFD polls tunnels to collect packet latency, loss, and statistics
- poll
Interval StringVariable - Variable name
- template
Type String - The template type
- version Integer
- The version of the feature template
- colors
Get
Cisco Bfd Feature Template Color[] - Set color that identifies the WAN transport tunnel
- default
Dscp number - Set default DSCP value for BFD packets
- default
Dscp stringVariable - 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
- multiplier number
- Set the number of polling intervals used to determine tunnel SLA class
- multiplier
Variable string - Variable name
- name string
- The name of the feature template
- poll
Interval number - Set how often BFD polls tunnels to collect packet latency, loss, and statistics
- poll
Interval stringVariable - Variable name
- template
Type string - The template type
- version number
- The version of the feature template
- colors
Sequence[Get
Cisco Bfd Feature Template Color] - Set color that identifies the WAN transport tunnel
- default_
dscp int - Set default DSCP value for BFD packets
- default_
dscp_ strvariable - 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_ strvariable - 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
- default
Dscp Number - Set default DSCP value for BFD packets
- default
Dscp StringVariable - 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
- multiplier Number
- Set the number of polling intervals used to determine tunnel SLA class
- multiplier
Variable String - Variable name
- name String
- The name of the feature template
- poll
Interval Number - Set how often BFD polls tunnels to collect packet latency, loss, and statistics
- poll
Interval StringVariable - Variable name
- template
Type 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
- Color
Variable string - Variable name
- Dscp int
- Set BFD Default DSCP value for tloc color
- Dscp
Variable string - Variable name
- Hello
Interval int - Set how often BFD sends Hello packets
- Hello
Interval stringVariable - Variable name
- Multiplier int
- Set how many Hello packet intervals to wait before declaring that a tunnel has failed
- Multiplier
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Pmtu
Discovery bool - Control automatic path MTU discovery
- Pmtu
Discovery stringVariable - Variable name
- Color string
- Set color that identifies the WAN transport tunnel
- Color
Variable string - Variable name
- Dscp int
- Set BFD Default DSCP value for tloc color
- Dscp
Variable string - Variable name
- Hello
Interval int - Set how often BFD sends Hello packets
- Hello
Interval stringVariable - Variable name
- Multiplier int
- Set how many Hello packet intervals to wait before declaring that a tunnel has failed
- Multiplier
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Pmtu
Discovery bool - Control automatic path MTU discovery
- Pmtu
Discovery stringVariable - Variable name
- color String
- Set color that identifies the WAN transport tunnel
- color
Variable String - Variable name
- dscp Integer
- Set BFD Default DSCP value for tloc color
- dscp
Variable String - Variable name
- hello
Interval Integer - Set how often BFD sends Hello packets
- hello
Interval StringVariable - Variable name
- multiplier Integer
- Set how many Hello packet intervals to wait before declaring that a tunnel has failed
- multiplier
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- pmtu
Discovery Boolean - Control automatic path MTU discovery
- pmtu
Discovery StringVariable - Variable name
- color string
- Set color that identifies the WAN transport tunnel
- color
Variable string - Variable name
- dscp number
- Set BFD Default DSCP value for tloc color
- dscp
Variable string - Variable name
- hello
Interval number - Set how often BFD sends Hello packets
- hello
Interval stringVariable - Variable name
- multiplier number
- Set how many Hello packet intervals to wait before declaring that a tunnel has failed
- multiplier
Variable string - Variable name
- optional boolean
- Indicates if list item is considered optional.
- pmtu
Discovery boolean - Control automatic path MTU discovery
- pmtu
Discovery stringVariable - 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_ strvariable - 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_ strvariable - Variable name
- color String
- Set color that identifies the WAN transport tunnel
- color
Variable String - Variable name
- dscp Number
- Set BFD Default DSCP value for tloc color
- dscp
Variable String - Variable name
- hello
Interval Number - Set how often BFD sends Hello packets
- hello
Interval StringVariable - Variable name
- multiplier Number
- Set how many Hello packet intervals to wait before declaring that a tunnel has failed
- multiplier
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- pmtu
Discovery Boolean - Control automatic path MTU discovery
- pmtu
Discovery StringVariable - Variable name
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.