Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getBfdTemplateSingleHop
Explore with Pulumi AI
This data source can read the BFD Template Single Hop configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetBfdTemplateSingleHop.Invoke(new()
{
Name = "SH-TEMPLATE-1",
});
});
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.LookupBfdTemplateSingleHop(ctx, &iosxe.LookupBfdTemplateSingleHopArgs{
Name: "SH-TEMPLATE-1",
}, 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.GetBfdTemplateSingleHopArgs;
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.getBfdTemplateSingleHop(GetBfdTemplateSingleHopArgs.builder()
.name("SH-TEMPLATE-1")
.build());
}
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_bfd_template_single_hop(name="SH-TEMPLATE-1")
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getBfdTemplateSingleHop({
name: "SH-TEMPLATE-1",
});
variables:
example:
fn::invoke:
Function: iosxe:getBfdTemplateSingleHop
Arguments:
name: SH-TEMPLATE-1
Using getBfdTemplateSingleHop
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 getBfdTemplateSingleHop(args: GetBfdTemplateSingleHopArgs, opts?: InvokeOptions): Promise<GetBfdTemplateSingleHopResult>
function getBfdTemplateSingleHopOutput(args: GetBfdTemplateSingleHopOutputArgs, opts?: InvokeOptions): Output<GetBfdTemplateSingleHopResult>
def get_bfd_template_single_hop(device: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBfdTemplateSingleHopResult
def get_bfd_template_single_hop_output(device: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBfdTemplateSingleHopResult]
func LookupBfdTemplateSingleHop(ctx *Context, args *LookupBfdTemplateSingleHopArgs, opts ...InvokeOption) (*LookupBfdTemplateSingleHopResult, error)
func LookupBfdTemplateSingleHopOutput(ctx *Context, args *LookupBfdTemplateSingleHopOutputArgs, opts ...InvokeOption) LookupBfdTemplateSingleHopResultOutput
> Note: This function is named LookupBfdTemplateSingleHop
in the Go SDK.
public static class GetBfdTemplateSingleHop
{
public static Task<GetBfdTemplateSingleHopResult> InvokeAsync(GetBfdTemplateSingleHopArgs args, InvokeOptions? opts = null)
public static Output<GetBfdTemplateSingleHopResult> Invoke(GetBfdTemplateSingleHopInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBfdTemplateSingleHopResult> getBfdTemplateSingleHop(GetBfdTemplateSingleHopArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: iosxe:index/getBfdTemplateSingleHop:getBfdTemplateSingleHop
arguments:
# arguments dictionary
The following arguments are supported:
getBfdTemplateSingleHop Result
The following output properties are available:
- Authentication
Md5Keychain string - keychain name
- Authentication
Meticulous stringMd5Keychain - keychain name
- Authentication
Meticulous stringSha1Keychain - keychain name
- Authentication
Sha1Keychain string - keychain name
- Dampening
Half intTime - Half-life time for the penalty
- Dampening
Max intSuppressing Time - Maximum duration to suppress a session
- Dampening
Suppress intTime - Value to start suppressing a session
- Dampening
Unsuppress intTime - Value to unsuppress a session
- Echo bool
- Use echo adjunct as bfd detection mechanism
- Id string
- The path of the retrieved object.
- Interval
Microseconds intMin Rx - Minimum receive interval capability
- Interval
Microseconds intMin Tx - Minimum transmit interval capability
- Interval
Milliseconds intBoth - Minimum transmit and receive interval capability
- Interval
Milliseconds intMin Rx - Minimum receive interval capability
- Interval
Milliseconds intMin Tx - Minimum transmit interval capability
- Interval
Milliseconds intMultiplier - Multiplier value used to compute holddown
- Name string
- Device string
- A device name from the provider configuration.
- Authentication
Md5Keychain string - keychain name
- Authentication
Meticulous stringMd5Keychain - keychain name
- Authentication
Meticulous stringSha1Keychain - keychain name
- Authentication
Sha1Keychain string - keychain name
- Dampening
Half intTime - Half-life time for the penalty
- Dampening
Max intSuppressing Time - Maximum duration to suppress a session
- Dampening
Suppress intTime - Value to start suppressing a session
- Dampening
Unsuppress intTime - Value to unsuppress a session
- Echo bool
- Use echo adjunct as bfd detection mechanism
- Id string
- The path of the retrieved object.
- Interval
Microseconds intMin Rx - Minimum receive interval capability
- Interval
Microseconds intMin Tx - Minimum transmit interval capability
- Interval
Milliseconds intBoth - Minimum transmit and receive interval capability
- Interval
Milliseconds intMin Rx - Minimum receive interval capability
- Interval
Milliseconds intMin Tx - Minimum transmit interval capability
- Interval
Milliseconds intMultiplier - Multiplier value used to compute holddown
- Name string
- Device string
- A device name from the provider configuration.
- authentication
Md5Keychain String - keychain name
- authentication
Meticulous StringMd5Keychain - keychain name
- authentication
Meticulous StringSha1Keychain - keychain name
- authentication
Sha1Keychain String - keychain name
- dampening
Half IntegerTime - Half-life time for the penalty
- dampening
Max IntegerSuppressing Time - Maximum duration to suppress a session
- dampening
Suppress IntegerTime - Value to start suppressing a session
- dampening
Unsuppress IntegerTime - Value to unsuppress a session
- echo Boolean
- Use echo adjunct as bfd detection mechanism
- id String
- The path of the retrieved object.
- interval
Microseconds IntegerMin Rx - Minimum receive interval capability
- interval
Microseconds IntegerMin Tx - Minimum transmit interval capability
- interval
Milliseconds IntegerBoth - Minimum transmit and receive interval capability
- interval
Milliseconds IntegerMin Rx - Minimum receive interval capability
- interval
Milliseconds IntegerMin Tx - Minimum transmit interval capability
- interval
Milliseconds IntegerMultiplier - Multiplier value used to compute holddown
- name String
- device String
- A device name from the provider configuration.
- authentication
Md5Keychain string - keychain name
- authentication
Meticulous stringMd5Keychain - keychain name
- authentication
Meticulous stringSha1Keychain - keychain name
- authentication
Sha1Keychain string - keychain name
- dampening
Half numberTime - Half-life time for the penalty
- dampening
Max numberSuppressing Time - Maximum duration to suppress a session
- dampening
Suppress numberTime - Value to start suppressing a session
- dampening
Unsuppress numberTime - Value to unsuppress a session
- echo boolean
- Use echo adjunct as bfd detection mechanism
- id string
- The path of the retrieved object.
- interval
Microseconds numberMin Rx - Minimum receive interval capability
- interval
Microseconds numberMin Tx - Minimum transmit interval capability
- interval
Milliseconds numberBoth - Minimum transmit and receive interval capability
- interval
Milliseconds numberMin Rx - Minimum receive interval capability
- interval
Milliseconds numberMin Tx - Minimum transmit interval capability
- interval
Milliseconds numberMultiplier - Multiplier value used to compute holddown
- name string
- device string
- A device name from the provider configuration.
- authentication_
md5_ strkeychain - keychain name
- authentication_
meticulous_ strmd5_ keychain - keychain name
- authentication_
meticulous_ strsha1_ keychain - keychain name
- authentication_
sha1_ strkeychain - keychain name
- dampening_
half_ inttime - Half-life time for the penalty
- dampening_
max_ intsuppressing_ time - Maximum duration to suppress a session
- dampening_
suppress_ inttime - Value to start suppressing a session
- dampening_
unsuppress_ inttime - Value to unsuppress a session
- echo bool
- Use echo adjunct as bfd detection mechanism
- id str
- The path of the retrieved object.
- interval_
microseconds_ intmin_ rx - Minimum receive interval capability
- interval_
microseconds_ intmin_ tx - Minimum transmit interval capability
- interval_
milliseconds_ intboth - Minimum transmit and receive interval capability
- interval_
milliseconds_ intmin_ rx - Minimum receive interval capability
- interval_
milliseconds_ intmin_ tx - Minimum transmit interval capability
- interval_
milliseconds_ intmultiplier - Multiplier value used to compute holddown
- name str
- device str
- A device name from the provider configuration.
- authentication
Md5Keychain String - keychain name
- authentication
Meticulous StringMd5Keychain - keychain name
- authentication
Meticulous StringSha1Keychain - keychain name
- authentication
Sha1Keychain String - keychain name
- dampening
Half NumberTime - Half-life time for the penalty
- dampening
Max NumberSuppressing Time - Maximum duration to suppress a session
- dampening
Suppress NumberTime - Value to start suppressing a session
- dampening
Unsuppress NumberTime - Value to unsuppress a session
- echo Boolean
- Use echo adjunct as bfd detection mechanism
- id String
- The path of the retrieved object.
- interval
Microseconds NumberMin Rx - Minimum receive interval capability
- interval
Microseconds NumberMin Tx - Minimum transmit interval capability
- interval
Milliseconds NumberBoth - Minimum transmit and receive interval capability
- interval
Milliseconds NumberMin Rx - Minimum receive interval capability
- interval
Milliseconds NumberMin Tx - Minimum transmit interval capability
- interval
Milliseconds NumberMultiplier - Multiplier value used to compute holddown
- name String
- device String
- A device name from the provider configuration.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.