Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getBgpAddressFamilyIpv6Vrf
This data source can read the BGP Address Family IPv6 VRF configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetBgpAddressFamilyIpv6Vrf.Invoke(new()
{
AfName = "unicast",
Asn = "65000",
});
});
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.LookupBgpAddressFamilyIpv6Vrf(ctx, &iosxe.LookupBgpAddressFamilyIpv6VrfArgs{
AfName: "unicast",
Asn: "65000",
}, 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.GetBgpAddressFamilyIpv6VrfArgs;
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.getBgpAddressFamilyIpv6Vrf(GetBgpAddressFamilyIpv6VrfArgs.builder()
.afName("unicast")
.asn("65000")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getBgpAddressFamilyIpv6Vrf({
afName: "unicast",
asn: "65000",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_bgp_address_family_ipv6_vrf(af_name="unicast",
asn="65000")
variables:
example:
fn::invoke:
Function: iosxe:getBgpAddressFamilyIpv6Vrf
Arguments:
afName: unicast
asn: '65000'
Using getBgpAddressFamilyIpv6Vrf
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 getBgpAddressFamilyIpv6Vrf(args: GetBgpAddressFamilyIpv6VrfArgs, opts?: InvokeOptions): Promise<GetBgpAddressFamilyIpv6VrfResult>
function getBgpAddressFamilyIpv6VrfOutput(args: GetBgpAddressFamilyIpv6VrfOutputArgs, opts?: InvokeOptions): Output<GetBgpAddressFamilyIpv6VrfResult>
def get_bgp_address_family_ipv6_vrf(af_name: Optional[str] = None,
asn: Optional[str] = None,
device: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBgpAddressFamilyIpv6VrfResult
def get_bgp_address_family_ipv6_vrf_output(af_name: Optional[pulumi.Input[str]] = None,
asn: Optional[pulumi.Input[str]] = None,
device: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBgpAddressFamilyIpv6VrfResult]
func LookupBgpAddressFamilyIpv6Vrf(ctx *Context, args *LookupBgpAddressFamilyIpv6VrfArgs, opts ...InvokeOption) (*LookupBgpAddressFamilyIpv6VrfResult, error)
func LookupBgpAddressFamilyIpv6VrfOutput(ctx *Context, args *LookupBgpAddressFamilyIpv6VrfOutputArgs, opts ...InvokeOption) LookupBgpAddressFamilyIpv6VrfResultOutput
> Note: This function is named LookupBgpAddressFamilyIpv6Vrf
in the Go SDK.
public static class GetBgpAddressFamilyIpv6Vrf
{
public static Task<GetBgpAddressFamilyIpv6VrfResult> InvokeAsync(GetBgpAddressFamilyIpv6VrfArgs args, InvokeOptions? opts = null)
public static Output<GetBgpAddressFamilyIpv6VrfResult> Invoke(GetBgpAddressFamilyIpv6VrfInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBgpAddressFamilyIpv6VrfResult> getBgpAddressFamilyIpv6Vrf(GetBgpAddressFamilyIpv6VrfArgs args, InvokeOptions options)
public static Output<GetBgpAddressFamilyIpv6VrfResult> getBgpAddressFamilyIpv6Vrf(GetBgpAddressFamilyIpv6VrfArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getBgpAddressFamilyIpv6Vrf:getBgpAddressFamilyIpv6Vrf
arguments:
# arguments dictionary
The following arguments are supported:
getBgpAddressFamilyIpv6Vrf Result
The following output properties are available:
Supporting Types
GetBgpAddressFamilyIpv6VrfVrf
- Ipv6Unicast
Advertise boolL2vpn Evpn - Advertise/export prefixes to l2vpn evpn table
- Ipv6Unicast
Networks List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Get Bgp Address Family Ipv6Vrf Vrf Ipv6Unicast Network> - Specify a network to announce via BGP
- Ipv6Unicast
Redistribute boolConnected - Connected
- Ipv6Unicast
Redistribute boolStatic - Static routes
- Name string
- Ipv6Unicast
Advertise boolL2vpn Evpn - Advertise/export prefixes to l2vpn evpn table
- Ipv6Unicast
Networks []GetBgp Address Family Ipv6Vrf Vrf Ipv6Unicast Network - Specify a network to announce via BGP
- Ipv6Unicast
Redistribute boolConnected - Connected
- Ipv6Unicast
Redistribute boolStatic - Static routes
- Name string
- ipv6Unicast
Advertise BooleanL2vpn Evpn - Advertise/export prefixes to l2vpn evpn table
- ipv6Unicast
Networks List<GetBgp Address Family Ipv6Vrf Vrf Ipv6Unicast Network> - Specify a network to announce via BGP
- ipv6Unicast
Redistribute BooleanConnected - Connected
- ipv6Unicast
Redistribute BooleanStatic - Static routes
- name String
- ipv6Unicast
Advertise booleanL2vpn Evpn - Advertise/export prefixes to l2vpn evpn table
- ipv6Unicast
Networks GetBgp Address Family Ipv6Vrf Vrf Ipv6Unicast Network[] - Specify a network to announce via BGP
- ipv6Unicast
Redistribute booleanConnected - Connected
- ipv6Unicast
Redistribute booleanStatic - Static routes
- name string
- ipv6_
unicast_ booladvertise_ l2vpn_ evpn - Advertise/export prefixes to l2vpn evpn table
- ipv6_
unicast_ Sequence[Getnetworks Bgp Address Family Ipv6Vrf Vrf Ipv6Unicast Network] - Specify a network to announce via BGP
- ipv6_
unicast_ boolredistribute_ connected - Connected
- ipv6_
unicast_ boolredistribute_ static - Static routes
- name str
- ipv6Unicast
Advertise BooleanL2vpn Evpn - Advertise/export prefixes to l2vpn evpn table
- ipv6Unicast
Networks List<Property Map> - Specify a network to announce via BGP
- ipv6Unicast
Redistribute BooleanConnected - Connected
- ipv6Unicast
Redistribute BooleanStatic - Static routes
- name String
GetBgpAddressFamilyIpv6VrfVrfIpv6UnicastNetwork
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.