iosxe.Bfd
Explore with Pulumi AI
This resource can manage the BFD configuration.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.Bfd;
import com.pulumi.iosxe.BfdArgs;
import com.pulumi.iosxe.inputs.BfdIpv4BothVrfArgs;
import com.pulumi.iosxe.inputs.BfdIpv4WithDstVrfArgs;
import com.pulumi.iosxe.inputs.BfdIpv4WithSrcVrfArgs;
import com.pulumi.iosxe.inputs.BfdIpv4WithoutVrfArgs;
import com.pulumi.iosxe.inputs.BfdIpv6WithBothVrfArgs;
import com.pulumi.iosxe.inputs.BfdIpv6WithDstVrfArgs;
import com.pulumi.iosxe.inputs.BfdIpv6WithSrcVrfArgs;
import com.pulumi.iosxe.inputs.BfdIpv6WithoutVrfArgs;
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) {
var example = new Bfd("example", BfdArgs.builder()
.ipv4BothVrfs(BfdIpv4BothVrfArgs.builder()
.dest_ip("1.2.3.4/4")
.dst_vrf("dest_vrf1")
.src_ip("11.22.33.44/12")
.src_vrf("src_vrf1")
.template_name("template1")
.build())
.ipv4WithDstVrfs(BfdIpv4WithDstVrfArgs.builder()
.dest_ip("1.2.3.4/4")
.dst_vrf("dest_vrf1")
.src_ip("11.22.33.44/12")
.template_name("template1")
.build())
.ipv4WithSrcVrfs(BfdIpv4WithSrcVrfArgs.builder()
.dest_ip("1.2.3.4/4")
.src_ip("11.22.33.44/12")
.src_vrf("src_vrf1")
.template_name("template1")
.build())
.ipv4WithoutVrfs(BfdIpv4WithoutVrfArgs.builder()
.dest_ip("1.2.3.4/4")
.src_ip("11.22.33.44/12")
.template_name("template1")
.build())
.ipv6WithBothVrfs(BfdIpv6WithBothVrfArgs.builder()
.dest_ipv6("2001:DB8:0:1::/64")
.dst_vrf("dst_vrf1")
.src_ipv6("2001:DB8:0:2::/64")
.src_vrf("src_vrf1")
.template_name("template1")
.build())
.ipv6WithDstVrfs(BfdIpv6WithDstVrfArgs.builder()
.dest_ipv6("2001:DB8:0:1::/64")
.dst_vrf("dst_vrf1")
.src_ipv6("2001:DB8:0:2::/64")
.template_name("template1")
.build())
.ipv6WithSrcVrfs(BfdIpv6WithSrcVrfArgs.builder()
.dest_ipv6("2001:DB8:0:1::/64")
.src_ipv6("2001:DB8:0:2::/64")
.src_vrf("src_vrf1")
.template_name("template1")
.build())
.ipv6WithoutVrfs(BfdIpv6WithoutVrfArgs.builder()
.dest_ipv6("2001:DB8:0:1::/64")
.src_ipv6("2001:DB8:0:2::/64")
.template_name("template1")
.build())
.slowTimers(1000)
.build());
}
}
Coming soon!
Coming soon!
resources:
example:
type: iosxe:Bfd
properties:
ipv4BothVrfs:
- dest_ip: 1.2.3.4/4
dst_vrf: dest_vrf1
src_ip: 11.22.33.44/12
src_vrf: src_vrf1
template_name: template1
ipv4WithDstVrfs:
- dest_ip: 1.2.3.4/4
dst_vrf: dest_vrf1
src_ip: 11.22.33.44/12
template_name: template1
ipv4WithSrcVrfs:
- dest_ip: 1.2.3.4/4
src_ip: 11.22.33.44/12
src_vrf: src_vrf1
template_name: template1
ipv4WithoutVrfs:
- dest_ip: 1.2.3.4/4
src_ip: 11.22.33.44/12
template_name: template1
ipv6WithBothVrfs:
- dest_ipv6: 2001:DB8:0:1::/64
dst_vrf: dst_vrf1
src_ipv6: 2001:DB8:0:2::/64
src_vrf: src_vrf1
template_name: template1
ipv6WithDstVrfs:
- dest_ipv6: 2001:DB8:0:1::/64
dst_vrf: dst_vrf1
src_ipv6: 2001:DB8:0:2::/64
template_name: template1
ipv6WithSrcVrfs:
- dest_ipv6: 2001:DB8:0:1::/64
src_ipv6: 2001:DB8:0:2::/64
src_vrf: src_vrf1
template_name: template1
ipv6WithoutVrfs:
- dest_ipv6: 2001:DB8:0:1::/64
src_ipv6: 2001:DB8:0:2::/64
template_name: template1
slowTimers: 1000
Create Bfd Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Bfd(name: string, args?: BfdArgs, opts?: CustomResourceOptions);
@overload
def Bfd(resource_name: str,
args: Optional[BfdArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Bfd(resource_name: str,
opts: Optional[ResourceOptions] = None,
delete_mode: Optional[str] = None,
device: Optional[str] = None,
ipv4_both_vrfs: Optional[Sequence[BfdIpv4BothVrfArgs]] = None,
ipv4_with_dst_vrfs: Optional[Sequence[BfdIpv4WithDstVrfArgs]] = None,
ipv4_with_src_vrfs: Optional[Sequence[BfdIpv4WithSrcVrfArgs]] = None,
ipv4_without_vrfs: Optional[Sequence[BfdIpv4WithoutVrfArgs]] = None,
ipv6_with_both_vrfs: Optional[Sequence[BfdIpv6WithBothVrfArgs]] = None,
ipv6_with_dst_vrfs: Optional[Sequence[BfdIpv6WithDstVrfArgs]] = None,
ipv6_with_src_vrfs: Optional[Sequence[BfdIpv6WithSrcVrfArgs]] = None,
ipv6_without_vrfs: Optional[Sequence[BfdIpv6WithoutVrfArgs]] = None,
slow_timers: Optional[int] = None)
func NewBfd(ctx *Context, name string, args *BfdArgs, opts ...ResourceOption) (*Bfd, error)
public Bfd(string name, BfdArgs? args = null, CustomResourceOptions? opts = null)
type: iosxe:Bfd
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BfdArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BfdArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BfdArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BfdArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BfdArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bfdResource = new Iosxe.Bfd("bfdResource", new()
{
DeleteMode = "string",
Device = "string",
Ipv4BothVrfs = new[]
{
new Iosxe.Inputs.BfdIpv4BothVrfArgs
{
DestIp = "string",
DstVrf = "string",
SrcIp = "string",
SrcVrf = "string",
TemplateName = "string",
},
},
Ipv4WithDstVrfs = new[]
{
new Iosxe.Inputs.BfdIpv4WithDstVrfArgs
{
DestIp = "string",
DstVrf = "string",
SrcIp = "string",
TemplateName = "string",
},
},
Ipv4WithSrcVrfs = new[]
{
new Iosxe.Inputs.BfdIpv4WithSrcVrfArgs
{
DestIp = "string",
SrcIp = "string",
SrcVrf = "string",
TemplateName = "string",
},
},
Ipv4WithoutVrfs = new[]
{
new Iosxe.Inputs.BfdIpv4WithoutVrfArgs
{
DestIp = "string",
SrcIp = "string",
TemplateName = "string",
},
},
Ipv6WithBothVrfs = new[]
{
new Iosxe.Inputs.BfdIpv6WithBothVrfArgs
{
DestIpv6 = "string",
DstVrf = "string",
SrcIpv6 = "string",
SrcVrf = "string",
TemplateName = "string",
},
},
Ipv6WithDstVrfs = new[]
{
new Iosxe.Inputs.BfdIpv6WithDstVrfArgs
{
DestIpv6 = "string",
DstVrf = "string",
SrcIpv6 = "string",
TemplateName = "string",
},
},
Ipv6WithSrcVrfs = new[]
{
new Iosxe.Inputs.BfdIpv6WithSrcVrfArgs
{
DestIpv6 = "string",
SrcIpv6 = "string",
SrcVrf = "string",
TemplateName = "string",
},
},
Ipv6WithoutVrfs = new[]
{
new Iosxe.Inputs.BfdIpv6WithoutVrfArgs
{
DestIpv6 = "string",
SrcIpv6 = "string",
TemplateName = "string",
},
},
SlowTimers = 0,
});
example, err := iosxe.NewBfd(ctx, "bfdResource", &iosxe.BfdArgs{
DeleteMode: pulumi.String("string"),
Device: pulumi.String("string"),
Ipv4BothVrfs: iosxe.BfdIpv4BothVrfArray{
&iosxe.BfdIpv4BothVrfArgs{
DestIp: pulumi.String("string"),
DstVrf: pulumi.String("string"),
SrcIp: pulumi.String("string"),
SrcVrf: pulumi.String("string"),
TemplateName: pulumi.String("string"),
},
},
Ipv4WithDstVrfs: iosxe.BfdIpv4WithDstVrfArray{
&iosxe.BfdIpv4WithDstVrfArgs{
DestIp: pulumi.String("string"),
DstVrf: pulumi.String("string"),
SrcIp: pulumi.String("string"),
TemplateName: pulumi.String("string"),
},
},
Ipv4WithSrcVrfs: iosxe.BfdIpv4WithSrcVrfArray{
&iosxe.BfdIpv4WithSrcVrfArgs{
DestIp: pulumi.String("string"),
SrcIp: pulumi.String("string"),
SrcVrf: pulumi.String("string"),
TemplateName: pulumi.String("string"),
},
},
Ipv4WithoutVrfs: iosxe.BfdIpv4WithoutVrfArray{
&iosxe.BfdIpv4WithoutVrfArgs{
DestIp: pulumi.String("string"),
SrcIp: pulumi.String("string"),
TemplateName: pulumi.String("string"),
},
},
Ipv6WithBothVrfs: iosxe.BfdIpv6WithBothVrfArray{
&iosxe.BfdIpv6WithBothVrfArgs{
DestIpv6: pulumi.String("string"),
DstVrf: pulumi.String("string"),
SrcIpv6: pulumi.String("string"),
SrcVrf: pulumi.String("string"),
TemplateName: pulumi.String("string"),
},
},
Ipv6WithDstVrfs: iosxe.BfdIpv6WithDstVrfArray{
&iosxe.BfdIpv6WithDstVrfArgs{
DestIpv6: pulumi.String("string"),
DstVrf: pulumi.String("string"),
SrcIpv6: pulumi.String("string"),
TemplateName: pulumi.String("string"),
},
},
Ipv6WithSrcVrfs: iosxe.BfdIpv6WithSrcVrfArray{
&iosxe.BfdIpv6WithSrcVrfArgs{
DestIpv6: pulumi.String("string"),
SrcIpv6: pulumi.String("string"),
SrcVrf: pulumi.String("string"),
TemplateName: pulumi.String("string"),
},
},
Ipv6WithoutVrfs: iosxe.BfdIpv6WithoutVrfArray{
&iosxe.BfdIpv6WithoutVrfArgs{
DestIpv6: pulumi.String("string"),
SrcIpv6: pulumi.String("string"),
TemplateName: pulumi.String("string"),
},
},
SlowTimers: pulumi.Int(0),
})
var bfdResource = new Bfd("bfdResource", BfdArgs.builder()
.deleteMode("string")
.device("string")
.ipv4BothVrfs(BfdIpv4BothVrfArgs.builder()
.destIp("string")
.dstVrf("string")
.srcIp("string")
.srcVrf("string")
.templateName("string")
.build())
.ipv4WithDstVrfs(BfdIpv4WithDstVrfArgs.builder()
.destIp("string")
.dstVrf("string")
.srcIp("string")
.templateName("string")
.build())
.ipv4WithSrcVrfs(BfdIpv4WithSrcVrfArgs.builder()
.destIp("string")
.srcIp("string")
.srcVrf("string")
.templateName("string")
.build())
.ipv4WithoutVrfs(BfdIpv4WithoutVrfArgs.builder()
.destIp("string")
.srcIp("string")
.templateName("string")
.build())
.ipv6WithBothVrfs(BfdIpv6WithBothVrfArgs.builder()
.destIpv6("string")
.dstVrf("string")
.srcIpv6("string")
.srcVrf("string")
.templateName("string")
.build())
.ipv6WithDstVrfs(BfdIpv6WithDstVrfArgs.builder()
.destIpv6("string")
.dstVrf("string")
.srcIpv6("string")
.templateName("string")
.build())
.ipv6WithSrcVrfs(BfdIpv6WithSrcVrfArgs.builder()
.destIpv6("string")
.srcIpv6("string")
.srcVrf("string")
.templateName("string")
.build())
.ipv6WithoutVrfs(BfdIpv6WithoutVrfArgs.builder()
.destIpv6("string")
.srcIpv6("string")
.templateName("string")
.build())
.slowTimers(0)
.build());
bfd_resource = iosxe.Bfd("bfdResource",
delete_mode="string",
device="string",
ipv4_both_vrfs=[{
"dest_ip": "string",
"dst_vrf": "string",
"src_ip": "string",
"src_vrf": "string",
"template_name": "string",
}],
ipv4_with_dst_vrfs=[{
"dest_ip": "string",
"dst_vrf": "string",
"src_ip": "string",
"template_name": "string",
}],
ipv4_with_src_vrfs=[{
"dest_ip": "string",
"src_ip": "string",
"src_vrf": "string",
"template_name": "string",
}],
ipv4_without_vrfs=[{
"dest_ip": "string",
"src_ip": "string",
"template_name": "string",
}],
ipv6_with_both_vrfs=[{
"dest_ipv6": "string",
"dst_vrf": "string",
"src_ipv6": "string",
"src_vrf": "string",
"template_name": "string",
}],
ipv6_with_dst_vrfs=[{
"dest_ipv6": "string",
"dst_vrf": "string",
"src_ipv6": "string",
"template_name": "string",
}],
ipv6_with_src_vrfs=[{
"dest_ipv6": "string",
"src_ipv6": "string",
"src_vrf": "string",
"template_name": "string",
}],
ipv6_without_vrfs=[{
"dest_ipv6": "string",
"src_ipv6": "string",
"template_name": "string",
}],
slow_timers=0)
const bfdResource = new iosxe.Bfd("bfdResource", {
deleteMode: "string",
device: "string",
ipv4BothVrfs: [{
destIp: "string",
dstVrf: "string",
srcIp: "string",
srcVrf: "string",
templateName: "string",
}],
ipv4WithDstVrfs: [{
destIp: "string",
dstVrf: "string",
srcIp: "string",
templateName: "string",
}],
ipv4WithSrcVrfs: [{
destIp: "string",
srcIp: "string",
srcVrf: "string",
templateName: "string",
}],
ipv4WithoutVrfs: [{
destIp: "string",
srcIp: "string",
templateName: "string",
}],
ipv6WithBothVrfs: [{
destIpv6: "string",
dstVrf: "string",
srcIpv6: "string",
srcVrf: "string",
templateName: "string",
}],
ipv6WithDstVrfs: [{
destIpv6: "string",
dstVrf: "string",
srcIpv6: "string",
templateName: "string",
}],
ipv6WithSrcVrfs: [{
destIpv6: "string",
srcIpv6: "string",
srcVrf: "string",
templateName: "string",
}],
ipv6WithoutVrfs: [{
destIpv6: "string",
srcIpv6: "string",
templateName: "string",
}],
slowTimers: 0,
});
type: iosxe:Bfd
properties:
deleteMode: string
device: string
ipv4BothVrfs:
- destIp: string
dstVrf: string
srcIp: string
srcVrf: string
templateName: string
ipv4WithDstVrfs:
- destIp: string
dstVrf: string
srcIp: string
templateName: string
ipv4WithSrcVrfs:
- destIp: string
srcIp: string
srcVrf: string
templateName: string
ipv4WithoutVrfs:
- destIp: string
srcIp: string
templateName: string
ipv6WithBothVrfs:
- destIpv6: string
dstVrf: string
srcIpv6: string
srcVrf: string
templateName: string
ipv6WithDstVrfs:
- destIpv6: string
dstVrf: string
srcIpv6: string
templateName: string
ipv6WithSrcVrfs:
- destIpv6: string
srcIpv6: string
srcVrf: string
templateName: string
ipv6WithoutVrfs:
- destIpv6: string
srcIpv6: string
templateName: string
slowTimers: 0
Bfd Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Bfd resource accepts the following input properties:
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- Ipv4Both
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Bfd Ipv4Both Vrf> - IPv4 Address Family with vrf
- Ipv4With
Dst List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv4With Dst Vrf> - IPv4 Address Family with vrf
- Ipv4With
Src List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv4With Src Vrf> - IPv4 Address Family with vrf
- Ipv4Without
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Bfd Ipv4Without Vrf> - IPv4 Address Family with vrf
- Ipv6With
Both List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv6With Both Vrf> - IPv6 Address Family with vrf
- Ipv6With
Dst List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv6With Dst Vrf> - IPv6 Address Family with vrf
- Ipv6With
Src List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv6With Src Vrf> - IPv6 Address Family with vrf
- Ipv6Without
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Bfd Ipv6Without Vrf> - IPv6 Address Family with vrf
- Slow
Timers int - Value in ms to use for slow timers - Range:
1000
-30000
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- Ipv4Both
Vrfs []BfdIpv4Both Vrf Args - IPv4 Address Family with vrf
- Ipv4With
Dst []BfdVrfs Ipv4With Dst Vrf Args - IPv4 Address Family with vrf
- Ipv4With
Src []BfdVrfs Ipv4With Src Vrf Args - IPv4 Address Family with vrf
- Ipv4Without
Vrfs []BfdIpv4Without Vrf Args - IPv4 Address Family with vrf
- Ipv6With
Both []BfdVrfs Ipv6With Both Vrf Args - IPv6 Address Family with vrf
- Ipv6With
Dst []BfdVrfs Ipv6With Dst Vrf Args - IPv6 Address Family with vrf
- Ipv6With
Src []BfdVrfs Ipv6With Src Vrf Args - IPv6 Address Family with vrf
- Ipv6Without
Vrfs []BfdIpv6Without Vrf Args - IPv6 Address Family with vrf
- Slow
Timers int - Value in ms to use for slow timers - Range:
1000
-30000
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- ipv4Both
Vrfs List<BfdIpv4Both Vrf> - IPv4 Address Family with vrf
- ipv4With
Dst List<BfdVrfs Ipv4With Dst Vrf> - IPv4 Address Family with vrf
- ipv4With
Src List<BfdVrfs Ipv4With Src Vrf> - IPv4 Address Family with vrf
- ipv4Without
Vrfs List<BfdIpv4Without Vrf> - IPv4 Address Family with vrf
- ipv6With
Both List<BfdVrfs Ipv6With Both Vrf> - IPv6 Address Family with vrf
- ipv6With
Dst List<BfdVrfs Ipv6With Dst Vrf> - IPv6 Address Family with vrf
- ipv6With
Src List<BfdVrfs Ipv6With Src Vrf> - IPv6 Address Family with vrf
- ipv6Without
Vrfs List<BfdIpv6Without Vrf> - IPv6 Address Family with vrf
- slow
Timers Integer - Value in ms to use for slow timers - Range:
1000
-30000
- delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device string
- A device name from the provider configuration.
- ipv4Both
Vrfs BfdIpv4Both Vrf[] - IPv4 Address Family with vrf
- ipv4With
Dst BfdVrfs Ipv4With Dst Vrf[] - IPv4 Address Family with vrf
- ipv4With
Src BfdVrfs Ipv4With Src Vrf[] - IPv4 Address Family with vrf
- ipv4Without
Vrfs BfdIpv4Without Vrf[] - IPv4 Address Family with vrf
- ipv6With
Both BfdVrfs Ipv6With Both Vrf[] - IPv6 Address Family with vrf
- ipv6With
Dst BfdVrfs Ipv6With Dst Vrf[] - IPv6 Address Family with vrf
- ipv6With
Src BfdVrfs Ipv6With Src Vrf[] - IPv6 Address Family with vrf
- ipv6Without
Vrfs BfdIpv6Without Vrf[] - IPv6 Address Family with vrf
- slow
Timers number - Value in ms to use for slow timers - Range:
1000
-30000
- delete_
mode str - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device str
- A device name from the provider configuration.
- ipv4_
both_ Sequence[Bfdvrfs Ipv4Both Vrf Args] - IPv4 Address Family with vrf
- ipv4_
with_ Sequence[Bfddst_ vrfs Ipv4With Dst Vrf Args] - IPv4 Address Family with vrf
- ipv4_
with_ Sequence[Bfdsrc_ vrfs Ipv4With Src Vrf Args] - IPv4 Address Family with vrf
- ipv4_
without_ Sequence[Bfdvrfs Ipv4Without Vrf Args] - IPv4 Address Family with vrf
- ipv6_
with_ Sequence[Bfdboth_ vrfs Ipv6With Both Vrf Args] - IPv6 Address Family with vrf
- ipv6_
with_ Sequence[Bfddst_ vrfs Ipv6With Dst Vrf Args] - IPv6 Address Family with vrf
- ipv6_
with_ Sequence[Bfdsrc_ vrfs Ipv6With Src Vrf Args] - IPv6 Address Family with vrf
- ipv6_
without_ Sequence[Bfdvrfs Ipv6Without Vrf Args] - IPv6 Address Family with vrf
- slow_
timers int - Value in ms to use for slow timers - Range:
1000
-30000
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- 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 - Range:
1000
-30000
Outputs
All input properties are implicitly available as output properties. Additionally, the Bfd resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Bfd Resource
Get an existing Bfd resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BfdState, opts?: CustomResourceOptions): Bfd
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
delete_mode: Optional[str] = None,
device: Optional[str] = None,
ipv4_both_vrfs: Optional[Sequence[BfdIpv4BothVrfArgs]] = None,
ipv4_with_dst_vrfs: Optional[Sequence[BfdIpv4WithDstVrfArgs]] = None,
ipv4_with_src_vrfs: Optional[Sequence[BfdIpv4WithSrcVrfArgs]] = None,
ipv4_without_vrfs: Optional[Sequence[BfdIpv4WithoutVrfArgs]] = None,
ipv6_with_both_vrfs: Optional[Sequence[BfdIpv6WithBothVrfArgs]] = None,
ipv6_with_dst_vrfs: Optional[Sequence[BfdIpv6WithDstVrfArgs]] = None,
ipv6_with_src_vrfs: Optional[Sequence[BfdIpv6WithSrcVrfArgs]] = None,
ipv6_without_vrfs: Optional[Sequence[BfdIpv6WithoutVrfArgs]] = None,
slow_timers: Optional[int] = None) -> Bfd
func GetBfd(ctx *Context, name string, id IDInput, state *BfdState, opts ...ResourceOption) (*Bfd, error)
public static Bfd Get(string name, Input<string> id, BfdState? state, CustomResourceOptions? opts = null)
public static Bfd get(String name, Output<String> id, BfdState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- Ipv4Both
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Bfd Ipv4Both Vrf> - IPv4 Address Family with vrf
- Ipv4With
Dst List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv4With Dst Vrf> - IPv4 Address Family with vrf
- Ipv4With
Src List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv4With Src Vrf> - IPv4 Address Family with vrf
- Ipv4Without
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Bfd Ipv4Without Vrf> - IPv4 Address Family with vrf
- Ipv6With
Both List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv6With Both Vrf> - IPv6 Address Family with vrf
- Ipv6With
Dst List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv6With Dst Vrf> - IPv6 Address Family with vrf
- Ipv6With
Src List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Inputs. Bfd Ipv6With Src Vrf> - IPv6 Address Family with vrf
- Ipv6Without
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Bfd Ipv6Without Vrf> - IPv6 Address Family with vrf
- Slow
Timers int - Value in ms to use for slow timers - Range:
1000
-30000
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- Ipv4Both
Vrfs []BfdIpv4Both Vrf Args - IPv4 Address Family with vrf
- Ipv4With
Dst []BfdVrfs Ipv4With Dst Vrf Args - IPv4 Address Family with vrf
- Ipv4With
Src []BfdVrfs Ipv4With Src Vrf Args - IPv4 Address Family with vrf
- Ipv4Without
Vrfs []BfdIpv4Without Vrf Args - IPv4 Address Family with vrf
- Ipv6With
Both []BfdVrfs Ipv6With Both Vrf Args - IPv6 Address Family with vrf
- Ipv6With
Dst []BfdVrfs Ipv6With Dst Vrf Args - IPv6 Address Family with vrf
- Ipv6With
Src []BfdVrfs Ipv6With Src Vrf Args - IPv6 Address Family with vrf
- Ipv6Without
Vrfs []BfdIpv6Without Vrf Args - IPv6 Address Family with vrf
- Slow
Timers int - Value in ms to use for slow timers - Range:
1000
-30000
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- ipv4Both
Vrfs List<BfdIpv4Both Vrf> - IPv4 Address Family with vrf
- ipv4With
Dst List<BfdVrfs Ipv4With Dst Vrf> - IPv4 Address Family with vrf
- ipv4With
Src List<BfdVrfs Ipv4With Src Vrf> - IPv4 Address Family with vrf
- ipv4Without
Vrfs List<BfdIpv4Without Vrf> - IPv4 Address Family with vrf
- ipv6With
Both List<BfdVrfs Ipv6With Both Vrf> - IPv6 Address Family with vrf
- ipv6With
Dst List<BfdVrfs Ipv6With Dst Vrf> - IPv6 Address Family with vrf
- ipv6With
Src List<BfdVrfs Ipv6With Src Vrf> - IPv6 Address Family with vrf
- ipv6Without
Vrfs List<BfdIpv6Without Vrf> - IPv6 Address Family with vrf
- slow
Timers Integer - Value in ms to use for slow timers - Range:
1000
-30000
- delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device string
- A device name from the provider configuration.
- ipv4Both
Vrfs BfdIpv4Both Vrf[] - IPv4 Address Family with vrf
- ipv4With
Dst BfdVrfs Ipv4With Dst Vrf[] - IPv4 Address Family with vrf
- ipv4With
Src BfdVrfs Ipv4With Src Vrf[] - IPv4 Address Family with vrf
- ipv4Without
Vrfs BfdIpv4Without Vrf[] - IPv4 Address Family with vrf
- ipv6With
Both BfdVrfs Ipv6With Both Vrf[] - IPv6 Address Family with vrf
- ipv6With
Dst BfdVrfs Ipv6With Dst Vrf[] - IPv6 Address Family with vrf
- ipv6With
Src BfdVrfs Ipv6With Src Vrf[] - IPv6 Address Family with vrf
- ipv6Without
Vrfs BfdIpv6Without Vrf[] - IPv6 Address Family with vrf
- slow
Timers number - Value in ms to use for slow timers - Range:
1000
-30000
- delete_
mode str - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device str
- A device name from the provider configuration.
- ipv4_
both_ Sequence[Bfdvrfs Ipv4Both Vrf Args] - IPv4 Address Family with vrf
- ipv4_
with_ Sequence[Bfddst_ vrfs Ipv4With Dst Vrf Args] - IPv4 Address Family with vrf
- ipv4_
with_ Sequence[Bfdsrc_ vrfs Ipv4With Src Vrf Args] - IPv4 Address Family with vrf
- ipv4_
without_ Sequence[Bfdvrfs Ipv4Without Vrf Args] - IPv4 Address Family with vrf
- ipv6_
with_ Sequence[Bfdboth_ vrfs Ipv6With Both Vrf Args] - IPv6 Address Family with vrf
- ipv6_
with_ Sequence[Bfddst_ vrfs Ipv6With Dst Vrf Args] - IPv6 Address Family with vrf
- ipv6_
with_ Sequence[Bfdsrc_ vrfs Ipv6With Src Vrf Args] - IPv6 Address Family with vrf
- ipv6_
without_ Sequence[Bfdvrfs Ipv6Without Vrf Args] - IPv6 Address Family with vrf
- slow_
timers int - Value in ms to use for slow timers - Range:
1000
-30000
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- 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 - Range:
1000
-30000
Supporting Types
BfdIpv4BothVrf, BfdIpv4BothVrfArgs
- Dest
Ip string - Dst
Vrf string - Src
Ip string - Src
Vrf string - Template
Name string
- Dest
Ip string - Dst
Vrf string - Src
Ip string - Src
Vrf string - Template
Name string
- dest
Ip String - dst
Vrf String - src
Ip String - src
Vrf String - template
Name String
- dest
Ip string - dst
Vrf string - src
Ip string - src
Vrf string - template
Name string
- dest_
ip str - dst_
vrf str - src_
ip str - src_
vrf str - template_
name str
- dest
Ip String - dst
Vrf String - src
Ip String - src
Vrf String - template
Name String
BfdIpv4WithDstVrf, BfdIpv4WithDstVrfArgs
- Dest
Ip string - Dst
Vrf string - Src
Ip string - Template
Name string
- Dest
Ip string - Dst
Vrf string - Src
Ip string - Template
Name string
- dest
Ip String - dst
Vrf String - src
Ip String - template
Name String
- dest
Ip string - dst
Vrf string - src
Ip string - template
Name string
- dest_
ip str - dst_
vrf str - src_
ip str - template_
name str
- dest
Ip String - dst
Vrf String - src
Ip String - template
Name String
BfdIpv4WithSrcVrf, BfdIpv4WithSrcVrfArgs
- Dest
Ip string - Src
Ip string - Src
Vrf string - Template
Name string
- Dest
Ip string - Src
Ip string - Src
Vrf string - Template
Name string
- dest
Ip String - src
Ip String - src
Vrf String - template
Name String
- dest
Ip string - src
Ip string - src
Vrf string - template
Name string
- dest_
ip str - src_
ip str - src_
vrf str - template_
name str
- dest
Ip String - src
Ip String - src
Vrf String - template
Name String
BfdIpv4WithoutVrf, BfdIpv4WithoutVrfArgs
- Dest
Ip string - Src
Ip string - Template
Name string
- Dest
Ip string - Src
Ip string - Template
Name string
- dest
Ip String - src
Ip String - template
Name String
- dest
Ip string - src
Ip string - template
Name string
- dest_
ip str - src_
ip str - template_
name str
- dest
Ip String - src
Ip String - template
Name String
BfdIpv6WithBothVrf, BfdIpv6WithBothVrfArgs
- Dest
Ipv6 string - Dst
Vrf string - Src
Ipv6 string - Src
Vrf string - Template
Name string
- Dest
Ipv6 string - Dst
Vrf string - Src
Ipv6 string - Src
Vrf string - Template
Name string
- dest
Ipv6 String - dst
Vrf String - src
Ipv6 String - src
Vrf String - template
Name String
- dest
Ipv6 string - dst
Vrf string - src
Ipv6 string - src
Vrf string - template
Name string
- dest_
ipv6 str - dst_
vrf str - src_
ipv6 str - src_
vrf str - template_
name str
- dest
Ipv6 String - dst
Vrf String - src
Ipv6 String - src
Vrf String - template
Name String
BfdIpv6WithDstVrf, BfdIpv6WithDstVrfArgs
- Dest
Ipv6 string - Dst
Vrf string - Src
Ipv6 string - Template
Name string
- Dest
Ipv6 string - Dst
Vrf string - Src
Ipv6 string - Template
Name string
- dest
Ipv6 String - dst
Vrf String - src
Ipv6 String - template
Name String
- dest
Ipv6 string - dst
Vrf string - src
Ipv6 string - template
Name string
- dest_
ipv6 str - dst_
vrf str - src_
ipv6 str - template_
name str
- dest
Ipv6 String - dst
Vrf String - src
Ipv6 String - template
Name String
BfdIpv6WithSrcVrf, BfdIpv6WithSrcVrfArgs
- Dest
Ipv6 string - Src
Ipv6 string - Src
Vrf string - Template
Name string
- Dest
Ipv6 string - Src
Ipv6 string - Src
Vrf string - Template
Name string
- dest
Ipv6 String - src
Ipv6 String - src
Vrf String - template
Name String
- dest
Ipv6 string - src
Ipv6 string - src
Vrf string - template
Name string
- dest_
ipv6 str - src_
ipv6 str - src_
vrf str - template_
name str
- dest
Ipv6 String - src
Ipv6 String - src
Vrf String - template
Name String
BfdIpv6WithoutVrf, BfdIpv6WithoutVrfArgs
- Dest
Ipv6 string - Src
Ipv6 string - Template
Name string
- Dest
Ipv6 string - Src
Ipv6 string - Template
Name string
- dest
Ipv6 String - src
Ipv6 String - template
Name String
- dest
Ipv6 string - src
Ipv6 string - template
Name string
- dest_
ipv6 str - src_
ipv6 str - template_
name str
- dest
Ipv6 String - src
Ipv6 String - template
Name String
Import
$ pulumi import iosxe:index/bfd:Bfd example "Cisco-IOS-XE-native:native/bfd"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.