1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. getBfd
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.getBfd

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This data source can read the BFD configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetBfd.Invoke();
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iosxe.LookupBfd(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.iosxe.IosxeFunctions;
    import com.pulumi.iosxe.inputs.GetBfdArgs;
    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 = IosxeFunctions.getBfd();
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_bfd()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getBfd({});
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getBfd
          Arguments: {}
    

    Using getBfd

    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 getBfd(args: GetBfdArgs, opts?: InvokeOptions): Promise<GetBfdResult>
    function getBfdOutput(args: GetBfdOutputArgs, opts?: InvokeOptions): Output<GetBfdResult>
    def get_bfd(device: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetBfdResult
    def get_bfd_output(device: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetBfdResult]
    func LookupBfd(ctx *Context, args *LookupBfdArgs, opts ...InvokeOption) (*LookupBfdResult, error)
    func LookupBfdOutput(ctx *Context, args *LookupBfdOutputArgs, opts ...InvokeOption) LookupBfdResultOutput

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

    public static class GetBfd 
    {
        public static Task<GetBfdResult> InvokeAsync(GetBfdArgs args, InvokeOptions? opts = null)
        public static Output<GetBfdResult> Invoke(GetBfdInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBfdResult> getBfd(GetBfdArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getBfd:getBfd
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Device string
    A device name from the provider configuration.
    Device string
    A device name from the provider configuration.
    device String
    A device name from the provider configuration.
    device string
    A device name from the provider configuration.
    device str
    A device name from the provider configuration.
    device String
    A device name from the provider configuration.

    getBfd Result

    The following output properties are available:

    Id string
    The path of the retrieved object.
    Ipv4BothVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetBfdIpv4BothVrf>
    IPv4 Address Family with vrf
    Ipv4WithDstVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetBfdIpv4WithDstVrf>
    IPv4 Address Family with vrf
    Ipv4WithSrcVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetBfdIpv4WithSrcVrf>
    IPv4 Address Family with vrf
    Ipv4WithoutVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetBfdIpv4WithoutVrf>
    IPv4 Address Family with vrf
    Ipv6WithBothVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetBfdIpv6WithBothVrf>
    IPv6 Address Family with vrf
    Ipv6WithDstVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetBfdIpv6WithDstVrf>
    IPv6 Address Family with vrf
    Ipv6WithSrcVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetBfdIpv6WithSrcVrf>
    IPv6 Address Family with vrf
    Ipv6WithoutVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetBfdIpv6WithoutVrf>
    IPv6 Address Family with vrf
    SlowTimers int
    Value in ms to use for slow timers
    Device string
    A device name from the provider configuration.
    Id string
    The path of the retrieved object.
    Ipv4BothVrfs []GetBfdIpv4BothVrf
    IPv4 Address Family with vrf
    Ipv4WithDstVrfs []GetBfdIpv4WithDstVrf
    IPv4 Address Family with vrf
    Ipv4WithSrcVrfs []GetBfdIpv4WithSrcVrf
    IPv4 Address Family with vrf
    Ipv4WithoutVrfs []GetBfdIpv4WithoutVrf
    IPv4 Address Family with vrf
    Ipv6WithBothVrfs []GetBfdIpv6WithBothVrf
    IPv6 Address Family with vrf
    Ipv6WithDstVrfs []GetBfdIpv6WithDstVrf
    IPv6 Address Family with vrf
    Ipv6WithSrcVrfs []GetBfdIpv6WithSrcVrf
    IPv6 Address Family with vrf
    Ipv6WithoutVrfs []GetBfdIpv6WithoutVrf
    IPv6 Address Family with vrf
    SlowTimers int
    Value in ms to use for slow timers
    Device string
    A device name from the provider configuration.
    id String
    The path of the retrieved object.
    ipv4BothVrfs List<GetBfdIpv4BothVrf>
    IPv4 Address Family with vrf
    ipv4WithDstVrfs List<GetBfdIpv4WithDstVrf>
    IPv4 Address Family with vrf
    ipv4WithSrcVrfs List<GetBfdIpv4WithSrcVrf>
    IPv4 Address Family with vrf
    ipv4WithoutVrfs List<GetBfdIpv4WithoutVrf>
    IPv4 Address Family with vrf
    ipv6WithBothVrfs List<GetBfdIpv6WithBothVrf>
    IPv6 Address Family with vrf
    ipv6WithDstVrfs List<GetBfdIpv6WithDstVrf>
    IPv6 Address Family with vrf
    ipv6WithSrcVrfs List<GetBfdIpv6WithSrcVrf>
    IPv6 Address Family with vrf
    ipv6WithoutVrfs List<GetBfdIpv6WithoutVrf>
    IPv6 Address Family with vrf
    slowTimers Integer
    Value in ms to use for slow timers
    device String
    A device name from the provider configuration.
    id string
    The path of the retrieved object.
    ipv4BothVrfs GetBfdIpv4BothVrf[]
    IPv4 Address Family with vrf
    ipv4WithDstVrfs GetBfdIpv4WithDstVrf[]
    IPv4 Address Family with vrf
    ipv4WithSrcVrfs GetBfdIpv4WithSrcVrf[]
    IPv4 Address Family with vrf
    ipv4WithoutVrfs GetBfdIpv4WithoutVrf[]
    IPv4 Address Family with vrf
    ipv6WithBothVrfs GetBfdIpv6WithBothVrf[]
    IPv6 Address Family with vrf
    ipv6WithDstVrfs GetBfdIpv6WithDstVrf[]
    IPv6 Address Family with vrf
    ipv6WithSrcVrfs GetBfdIpv6WithSrcVrf[]
    IPv6 Address Family with vrf
    ipv6WithoutVrfs GetBfdIpv6WithoutVrf[]
    IPv6 Address Family with vrf
    slowTimers number
    Value in ms to use for slow timers
    device string
    A device name from the provider configuration.
    id str
    The path of the retrieved object.
    ipv4_both_vrfs Sequence[GetBfdIpv4BothVrf]
    IPv4 Address Family with vrf
    ipv4_with_dst_vrfs Sequence[GetBfdIpv4WithDstVrf]
    IPv4 Address Family with vrf
    ipv4_with_src_vrfs Sequence[GetBfdIpv4WithSrcVrf]
    IPv4 Address Family with vrf
    ipv4_without_vrfs Sequence[GetBfdIpv4WithoutVrf]
    IPv4 Address Family with vrf
    ipv6_with_both_vrfs Sequence[GetBfdIpv6WithBothVrf]
    IPv6 Address Family with vrf
    ipv6_with_dst_vrfs Sequence[GetBfdIpv6WithDstVrf]
    IPv6 Address Family with vrf
    ipv6_with_src_vrfs Sequence[GetBfdIpv6WithSrcVrf]
    IPv6 Address Family with vrf
    ipv6_without_vrfs Sequence[GetBfdIpv6WithoutVrf]
    IPv6 Address Family with vrf
    slow_timers int
    Value in ms to use for slow timers
    device str
    A device name from the provider configuration.
    id String
    The path of the retrieved object.
    ipv4BothVrfs List<Property Map>
    IPv4 Address Family with vrf
    ipv4WithDstVrfs List<Property Map>
    IPv4 Address Family with vrf
    ipv4WithSrcVrfs List<Property Map>
    IPv4 Address Family with vrf
    ipv4WithoutVrfs List<Property Map>
    IPv4 Address Family with vrf
    ipv6WithBothVrfs List<Property Map>
    IPv6 Address Family with vrf
    ipv6WithDstVrfs List<Property Map>
    IPv6 Address Family with vrf
    ipv6WithSrcVrfs List<Property Map>
    IPv6 Address Family with vrf
    ipv6WithoutVrfs List<Property Map>
    IPv6 Address Family with vrf
    slowTimers Number
    Value in ms to use for slow timers
    device String
    A device name from the provider configuration.

    Supporting Types

    GetBfdIpv4BothVrf

    DestIp string
    Destination IP prefix/len
    DstVrf string
    Destination VRF instance name
    SrcIp string
    Source IP prefix/len
    SrcVrf string
    source VRF instance name
    TemplateName string
    BFD template name
    DestIp string
    Destination IP prefix/len
    DstVrf string
    Destination VRF instance name
    SrcIp string
    Source IP prefix/len
    SrcVrf string
    source VRF instance name
    TemplateName string
    BFD template name
    destIp String
    Destination IP prefix/len
    dstVrf String
    Destination VRF instance name
    srcIp String
    Source IP prefix/len
    srcVrf String
    source VRF instance name
    templateName String
    BFD template name
    destIp string
    Destination IP prefix/len
    dstVrf string
    Destination VRF instance name
    srcIp string
    Source IP prefix/len
    srcVrf string
    source VRF instance name
    templateName string
    BFD template name
    dest_ip str
    Destination IP prefix/len
    dst_vrf str
    Destination VRF instance name
    src_ip str
    Source IP prefix/len
    src_vrf str
    source VRF instance name
    template_name str
    BFD template name
    destIp String
    Destination IP prefix/len
    dstVrf String
    Destination VRF instance name
    srcIp String
    Source IP prefix/len
    srcVrf String
    source VRF instance name
    templateName String
    BFD template name

    GetBfdIpv4WithDstVrf

    DestIp string
    Destination IP prefix/len
    DstVrf string
    Destination VRF instance name
    SrcIp string
    Source IP prefix/len
    TemplateName string
    BFD template name
    DestIp string
    Destination IP prefix/len
    DstVrf string
    Destination VRF instance name
    SrcIp string
    Source IP prefix/len
    TemplateName string
    BFD template name
    destIp String
    Destination IP prefix/len
    dstVrf String
    Destination VRF instance name
    srcIp String
    Source IP prefix/len
    templateName String
    BFD template name
    destIp string
    Destination IP prefix/len
    dstVrf string
    Destination VRF instance name
    srcIp string
    Source IP prefix/len
    templateName string
    BFD template name
    dest_ip str
    Destination IP prefix/len
    dst_vrf str
    Destination VRF instance name
    src_ip str
    Source IP prefix/len
    template_name str
    BFD template name
    destIp String
    Destination IP prefix/len
    dstVrf String
    Destination VRF instance name
    srcIp String
    Source IP prefix/len
    templateName String
    BFD template name

    GetBfdIpv4WithSrcVrf

    DestIp string
    Destination IP prefix/len
    SrcIp string
    Source IP prefix/len
    SrcVrf string
    source VRF instance name
    TemplateName string
    BFD template name
    DestIp string
    Destination IP prefix/len
    SrcIp string
    Source IP prefix/len
    SrcVrf string
    source VRF instance name
    TemplateName string
    BFD template name
    destIp String
    Destination IP prefix/len
    srcIp String
    Source IP prefix/len
    srcVrf String
    source VRF instance name
    templateName String
    BFD template name
    destIp string
    Destination IP prefix/len
    srcIp string
    Source IP prefix/len
    srcVrf string
    source VRF instance name
    templateName string
    BFD template name
    dest_ip str
    Destination IP prefix/len
    src_ip str
    Source IP prefix/len
    src_vrf str
    source VRF instance name
    template_name str
    BFD template name
    destIp String
    Destination IP prefix/len
    srcIp String
    Source IP prefix/len
    srcVrf String
    source VRF instance name
    templateName String
    BFD template name

    GetBfdIpv4WithoutVrf

    DestIp string
    Destination IP prefix/len
    SrcIp string
    Source IP prefix/len
    TemplateName string
    BFD template name
    DestIp string
    Destination IP prefix/len
    SrcIp string
    Source IP prefix/len
    TemplateName string
    BFD template name
    destIp String
    Destination IP prefix/len
    srcIp String
    Source IP prefix/len
    templateName String
    BFD template name
    destIp string
    Destination IP prefix/len
    srcIp string
    Source IP prefix/len
    templateName string
    BFD template name
    dest_ip str
    Destination IP prefix/len
    src_ip str
    Source IP prefix/len
    template_name str
    BFD template name
    destIp String
    Destination IP prefix/len
    srcIp String
    Source IP prefix/len
    templateName String
    BFD template name

    GetBfdIpv6WithBothVrf

    DestIpv6 string
    Destination IPv6 prefix/len
    DstVrf string
    Destination VRF instance name
    SrcIpv6 string
    Source IPv6 prefix/len
    SrcVrf string
    source VRF instance name
    TemplateName string
    BFD template name
    DestIpv6 string
    Destination IPv6 prefix/len
    DstVrf string
    Destination VRF instance name
    SrcIpv6 string
    Source IPv6 prefix/len
    SrcVrf string
    source VRF instance name
    TemplateName string
    BFD template name
    destIpv6 String
    Destination IPv6 prefix/len
    dstVrf String
    Destination VRF instance name
    srcIpv6 String
    Source IPv6 prefix/len
    srcVrf String
    source VRF instance name
    templateName String
    BFD template name
    destIpv6 string
    Destination IPv6 prefix/len
    dstVrf string
    Destination VRF instance name
    srcIpv6 string
    Source IPv6 prefix/len
    srcVrf string
    source VRF instance name
    templateName string
    BFD template name
    dest_ipv6 str
    Destination IPv6 prefix/len
    dst_vrf str
    Destination VRF instance name
    src_ipv6 str
    Source IPv6 prefix/len
    src_vrf str
    source VRF instance name
    template_name str
    BFD template name
    destIpv6 String
    Destination IPv6 prefix/len
    dstVrf String
    Destination VRF instance name
    srcIpv6 String
    Source IPv6 prefix/len
    srcVrf String
    source VRF instance name
    templateName String
    BFD template name

    GetBfdIpv6WithDstVrf

    DestIpv6 string
    Destination IPv6 prefix/len
    DstVrf string
    Destination VRF instance name
    SrcIpv6 string
    Source IPv6 prefix/len
    TemplateName string
    BFD template name
    DestIpv6 string
    Destination IPv6 prefix/len
    DstVrf string
    Destination VRF instance name
    SrcIpv6 string
    Source IPv6 prefix/len
    TemplateName string
    BFD template name
    destIpv6 String
    Destination IPv6 prefix/len
    dstVrf String
    Destination VRF instance name
    srcIpv6 String
    Source IPv6 prefix/len
    templateName String
    BFD template name
    destIpv6 string
    Destination IPv6 prefix/len
    dstVrf string
    Destination VRF instance name
    srcIpv6 string
    Source IPv6 prefix/len
    templateName string
    BFD template name
    dest_ipv6 str
    Destination IPv6 prefix/len
    dst_vrf str
    Destination VRF instance name
    src_ipv6 str
    Source IPv6 prefix/len
    template_name str
    BFD template name
    destIpv6 String
    Destination IPv6 prefix/len
    dstVrf String
    Destination VRF instance name
    srcIpv6 String
    Source IPv6 prefix/len
    templateName String
    BFD template name

    GetBfdIpv6WithSrcVrf

    DestIpv6 string
    Destination IPv6 prefix/len
    SrcIpv6 string
    Source IPv6 prefix/len
    SrcVrf string
    source VRF instance name
    TemplateName string
    BFD template name
    DestIpv6 string
    Destination IPv6 prefix/len
    SrcIpv6 string
    Source IPv6 prefix/len
    SrcVrf string
    source VRF instance name
    TemplateName string
    BFD template name
    destIpv6 String
    Destination IPv6 prefix/len
    srcIpv6 String
    Source IPv6 prefix/len
    srcVrf String
    source VRF instance name
    templateName String
    BFD template name
    destIpv6 string
    Destination IPv6 prefix/len
    srcIpv6 string
    Source IPv6 prefix/len
    srcVrf string
    source VRF instance name
    templateName string
    BFD template name
    dest_ipv6 str
    Destination IPv6 prefix/len
    src_ipv6 str
    Source IPv6 prefix/len
    src_vrf str
    source VRF instance name
    template_name str
    BFD template name
    destIpv6 String
    Destination IPv6 prefix/len
    srcIpv6 String
    Source IPv6 prefix/len
    srcVrf String
    source VRF instance name
    templateName String
    BFD template name

    GetBfdIpv6WithoutVrf

    DestIpv6 string
    Destination IPv6 prefix/len
    SrcIpv6 string
    Source IPv6 prefix/len
    TemplateName string
    BFD template name
    DestIpv6 string
    Destination IPv6 prefix/len
    SrcIpv6 string
    Source IPv6 prefix/len
    TemplateName string
    BFD template name
    destIpv6 String
    Destination IPv6 prefix/len
    srcIpv6 String
    Source IPv6 prefix/len
    templateName String
    BFD template name
    destIpv6 string
    Destination IPv6 prefix/len
    srcIpv6 string
    Source IPv6 prefix/len
    templateName string
    BFD template name
    dest_ipv6 str
    Destination IPv6 prefix/len
    src_ipv6 str
    Source IPv6 prefix/len
    template_name str
    BFD template name
    destIpv6 String
    Destination IPv6 prefix/len
    srcIpv6 String
    Source IPv6 prefix/len
    templateName String
    BFD template name

    Package Details

    Repository
    iosxe lbrlabs/pulumi-iosxe
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the iosxe Terraform Provider.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs