Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getBfd
Explore with Pulumi AI
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.
- Ipv4Both
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Bfd Ipv4Both Vrf> - IPv4 Address Family with vrf
- Ipv4With
Dst List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Outputs. Get Bfd Ipv4With Dst Vrf> - IPv4 Address Family with vrf
- Ipv4With
Src List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Outputs. Get Bfd Ipv4With Src Vrf> - IPv4 Address Family with vrf
- Ipv4Without
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Bfd Ipv4Without Vrf> - IPv4 Address Family with vrf
- Ipv6With
Both List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Outputs. Get Bfd Ipv6With Both Vrf> - IPv6 Address Family with vrf
- Ipv6With
Dst List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Outputs. Get Bfd Ipv6With Dst Vrf> - IPv6 Address Family with vrf
- Ipv6With
Src List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Outputs. Get Bfd Ipv6With Src Vrf> - IPv6 Address Family with vrf
- Ipv6Without
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Bfd Ipv6Without Vrf> - IPv6 Address Family with vrf
- Slow
Timers 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.
- Ipv4Both
Vrfs []GetBfd Ipv4Both Vrf - IPv4 Address Family with vrf
- Ipv4With
Dst []GetVrfs Bfd Ipv4With Dst Vrf - IPv4 Address Family with vrf
- Ipv4With
Src []GetVrfs Bfd Ipv4With Src Vrf - IPv4 Address Family with vrf
- Ipv4Without
Vrfs []GetBfd Ipv4Without Vrf - IPv4 Address Family with vrf
- Ipv6With
Both []GetVrfs Bfd Ipv6With Both Vrf - IPv6 Address Family with vrf
- Ipv6With
Dst []GetVrfs Bfd Ipv6With Dst Vrf - IPv6 Address Family with vrf
- Ipv6With
Src []GetVrfs Bfd Ipv6With Src Vrf - IPv6 Address Family with vrf
- Ipv6Without
Vrfs []GetBfd Ipv6Without Vrf - IPv6 Address Family with vrf
- Slow
Timers 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.
- ipv4Both
Vrfs List<GetBfd Ipv4Both Vrf> - IPv4 Address Family with vrf
- ipv4With
Dst List<GetVrfs Bfd Ipv4With Dst Vrf> - IPv4 Address Family with vrf
- ipv4With
Src List<GetVrfs Bfd Ipv4With Src Vrf> - IPv4 Address Family with vrf
- ipv4Without
Vrfs List<GetBfd Ipv4Without Vrf> - IPv4 Address Family with vrf
- ipv6With
Both List<GetVrfs Bfd Ipv6With Both Vrf> - IPv6 Address Family with vrf
- ipv6With
Dst List<GetVrfs Bfd Ipv6With Dst Vrf> - IPv6 Address Family with vrf
- ipv6With
Src List<GetVrfs Bfd Ipv6With Src Vrf> - IPv6 Address Family with vrf
- ipv6Without
Vrfs List<GetBfd Ipv6Without Vrf> - IPv6 Address Family with vrf
- slow
Timers 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.
- ipv4Both
Vrfs GetBfd Ipv4Both Vrf[] - IPv4 Address Family with vrf
- ipv4With
Dst GetVrfs Bfd Ipv4With Dst Vrf[] - IPv4 Address Family with vrf
- ipv4With
Src GetVrfs Bfd Ipv4With Src Vrf[] - IPv4 Address Family with vrf
- ipv4Without
Vrfs GetBfd Ipv4Without Vrf[] - IPv4 Address Family with vrf
- ipv6With
Both GetVrfs Bfd Ipv6With Both Vrf[] - IPv6 Address Family with vrf
- ipv6With
Dst GetVrfs Bfd Ipv6With Dst Vrf[] - IPv6 Address Family with vrf
- ipv6With
Src GetVrfs Bfd Ipv6With Src Vrf[] - IPv6 Address Family with vrf
- ipv6Without
Vrfs GetBfd Ipv6Without Vrf[] - IPv6 Address Family with vrf
- slow
Timers 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_ Sequence[Getvrfs Bfd Ipv4Both Vrf] - IPv4 Address Family with vrf
- ipv4_
with_ Sequence[Getdst_ vrfs Bfd Ipv4With Dst Vrf] - IPv4 Address Family with vrf
- ipv4_
with_ Sequence[Getsrc_ vrfs Bfd Ipv4With Src Vrf] - IPv4 Address Family with vrf
- ipv4_
without_ Sequence[Getvrfs Bfd Ipv4Without Vrf] - IPv4 Address Family with vrf
- ipv6_
with_ Sequence[Getboth_ vrfs Bfd Ipv6With Both Vrf] - IPv6 Address Family with vrf
- ipv6_
with_ Sequence[Getdst_ vrfs Bfd Ipv6With Dst Vrf] - IPv6 Address Family with vrf
- ipv6_
with_ Sequence[Getsrc_ vrfs Bfd Ipv6With Src Vrf] - IPv6 Address Family with vrf
- ipv6_
without_ Sequence[Getvrfs Bfd Ipv6Without Vrf] - 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.
- ipv4Both
Vrfs List<Property Map> - IPv4 Address Family with vrf
- ipv4With
Dst List<Property Map>Vrfs - IPv4 Address Family with vrf
- ipv4With
Src List<Property Map>Vrfs - IPv4 Address Family with vrf
- ipv4Without
Vrfs List<Property Map> - IPv4 Address Family with vrf
- ipv6With
Both List<Property Map>Vrfs - IPv6 Address Family with vrf
- ipv6With
Dst List<Property Map>Vrfs - IPv6 Address Family with vrf
- ipv6With
Src List<Property Map>Vrfs - IPv6 Address Family with vrf
- ipv6Without
Vrfs List<Property Map> - IPv6 Address Family with vrf
- slow
Timers Number - Value in ms to use for slow timers
- device String
- A device name from the provider configuration.
Supporting Types
GetBfdIpv4BothVrf
- Dest
Ip string - Destination IP prefix/len
- Dst
Vrf string - Destination VRF instance name
- Src
Ip string - Source IP prefix/len
- Src
Vrf string - source VRF instance name
- Template
Name string - BFD template name
- Dest
Ip string - Destination IP prefix/len
- Dst
Vrf string - Destination VRF instance name
- Src
Ip string - Source IP prefix/len
- Src
Vrf string - source VRF instance name
- Template
Name string - BFD template name
- dest
Ip String - Destination IP prefix/len
- dst
Vrf String - Destination VRF instance name
- src
Ip String - Source IP prefix/len
- src
Vrf String - source VRF instance name
- template
Name String - BFD template name
- dest
Ip string - Destination IP prefix/len
- dst
Vrf string - Destination VRF instance name
- src
Ip string - Source IP prefix/len
- src
Vrf string - source VRF instance name
- template
Name 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
- dest
Ip String - Destination IP prefix/len
- dst
Vrf String - Destination VRF instance name
- src
Ip String - Source IP prefix/len
- src
Vrf String - source VRF instance name
- template
Name String - BFD template name
GetBfdIpv4WithDstVrf
- Dest
Ip string - Destination IP prefix/len
- Dst
Vrf string - Destination VRF instance name
- Src
Ip string - Source IP prefix/len
- Template
Name string - BFD template name
- Dest
Ip string - Destination IP prefix/len
- Dst
Vrf string - Destination VRF instance name
- Src
Ip string - Source IP prefix/len
- Template
Name string - BFD template name
- dest
Ip String - Destination IP prefix/len
- dst
Vrf String - Destination VRF instance name
- src
Ip String - Source IP prefix/len
- template
Name String - BFD template name
- dest
Ip string - Destination IP prefix/len
- dst
Vrf string - Destination VRF instance name
- src
Ip string - Source IP prefix/len
- template
Name 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
- dest
Ip String - Destination IP prefix/len
- dst
Vrf String - Destination VRF instance name
- src
Ip String - Source IP prefix/len
- template
Name String - BFD template name
GetBfdIpv4WithSrcVrf
- Dest
Ip string - Destination IP prefix/len
- Src
Ip string - Source IP prefix/len
- Src
Vrf string - source VRF instance name
- Template
Name string - BFD template name
- Dest
Ip string - Destination IP prefix/len
- Src
Ip string - Source IP prefix/len
- Src
Vrf string - source VRF instance name
- Template
Name string - BFD template name
- dest
Ip String - Destination IP prefix/len
- src
Ip String - Source IP prefix/len
- src
Vrf String - source VRF instance name
- template
Name String - BFD template name
- dest
Ip string - Destination IP prefix/len
- src
Ip string - Source IP prefix/len
- src
Vrf string - source VRF instance name
- template
Name 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
- dest
Ip String - Destination IP prefix/len
- src
Ip String - Source IP prefix/len
- src
Vrf String - source VRF instance name
- template
Name String - BFD template name
GetBfdIpv4WithoutVrf
- Dest
Ip string - Destination IP prefix/len
- Src
Ip string - Source IP prefix/len
- Template
Name string - BFD template name
- Dest
Ip string - Destination IP prefix/len
- Src
Ip string - Source IP prefix/len
- Template
Name string - BFD template name
- dest
Ip String - Destination IP prefix/len
- src
Ip String - Source IP prefix/len
- template
Name String - BFD template name
- dest
Ip string - Destination IP prefix/len
- src
Ip string - Source IP prefix/len
- template
Name string - BFD template name
- dest_
ip str - Destination IP prefix/len
- src_
ip str - Source IP prefix/len
- template_
name str - BFD template name
- dest
Ip String - Destination IP prefix/len
- src
Ip String - Source IP prefix/len
- template
Name String - BFD template name
GetBfdIpv6WithBothVrf
- Dest
Ipv6 string - Destination IPv6 prefix/len
- Dst
Vrf string - Destination VRF instance name
- Src
Ipv6 string - Source IPv6 prefix/len
- Src
Vrf string - source VRF instance name
- Template
Name string - BFD template name
- Dest
Ipv6 string - Destination IPv6 prefix/len
- Dst
Vrf string - Destination VRF instance name
- Src
Ipv6 string - Source IPv6 prefix/len
- Src
Vrf string - source VRF instance name
- Template
Name string - BFD template name
- dest
Ipv6 String - Destination IPv6 prefix/len
- dst
Vrf String - Destination VRF instance name
- src
Ipv6 String - Source IPv6 prefix/len
- src
Vrf String - source VRF instance name
- template
Name String - BFD template name
- dest
Ipv6 string - Destination IPv6 prefix/len
- dst
Vrf string - Destination VRF instance name
- src
Ipv6 string - Source IPv6 prefix/len
- src
Vrf string - source VRF instance name
- template
Name 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
- dest
Ipv6 String - Destination IPv6 prefix/len
- dst
Vrf String - Destination VRF instance name
- src
Ipv6 String - Source IPv6 prefix/len
- src
Vrf String - source VRF instance name
- template
Name String - BFD template name
GetBfdIpv6WithDstVrf
- Dest
Ipv6 string - Destination IPv6 prefix/len
- Dst
Vrf string - Destination VRF instance name
- Src
Ipv6 string - Source IPv6 prefix/len
- Template
Name string - BFD template name
- Dest
Ipv6 string - Destination IPv6 prefix/len
- Dst
Vrf string - Destination VRF instance name
- Src
Ipv6 string - Source IPv6 prefix/len
- Template
Name string - BFD template name
- dest
Ipv6 String - Destination IPv6 prefix/len
- dst
Vrf String - Destination VRF instance name
- src
Ipv6 String - Source IPv6 prefix/len
- template
Name String - BFD template name
- dest
Ipv6 string - Destination IPv6 prefix/len
- dst
Vrf string - Destination VRF instance name
- src
Ipv6 string - Source IPv6 prefix/len
- template
Name 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
- dest
Ipv6 String - Destination IPv6 prefix/len
- dst
Vrf String - Destination VRF instance name
- src
Ipv6 String - Source IPv6 prefix/len
- template
Name String - BFD template name
GetBfdIpv6WithSrcVrf
- Dest
Ipv6 string - Destination IPv6 prefix/len
- Src
Ipv6 string - Source IPv6 prefix/len
- Src
Vrf string - source VRF instance name
- Template
Name string - BFD template name
- Dest
Ipv6 string - Destination IPv6 prefix/len
- Src
Ipv6 string - Source IPv6 prefix/len
- Src
Vrf string - source VRF instance name
- Template
Name string - BFD template name
- dest
Ipv6 String - Destination IPv6 prefix/len
- src
Ipv6 String - Source IPv6 prefix/len
- src
Vrf String - source VRF instance name
- template
Name String - BFD template name
- dest
Ipv6 string - Destination IPv6 prefix/len
- src
Ipv6 string - Source IPv6 prefix/len
- src
Vrf string - source VRF instance name
- template
Name 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
- dest
Ipv6 String - Destination IPv6 prefix/len
- src
Ipv6 String - Source IPv6 prefix/len
- src
Vrf String - source VRF instance name
- template
Name String - BFD template name
GetBfdIpv6WithoutVrf
- Dest
Ipv6 string - Destination IPv6 prefix/len
- Src
Ipv6 string - Source IPv6 prefix/len
- Template
Name string - BFD template name
- Dest
Ipv6 string - Destination IPv6 prefix/len
- Src
Ipv6 string - Source IPv6 prefix/len
- Template
Name string - BFD template name
- dest
Ipv6 String - Destination IPv6 prefix/len
- src
Ipv6 String - Source IPv6 prefix/len
- template
Name String - BFD template name
- dest
Ipv6 string - Destination IPv6 prefix/len
- src
Ipv6 string - Source IPv6 prefix/len
- template
Name string - BFD template name
- dest_
ipv6 str - Destination IPv6 prefix/len
- src_
ipv6 str - Source IPv6 prefix/len
- template_
name str - BFD template name
- dest
Ipv6 String - Destination IPv6 prefix/len
- src
Ipv6 String - Source IPv6 prefix/len
- template
Name 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.