Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getBgpIpv6UnicastNeighbor
Explore with Pulumi AI
This data source can read the BGP IPv6 Unicast Neighbor configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetBgpIpv6UnicastNeighbor.Invoke(new()
    {
        Asn = "65000",
        Ip = "3.3.3.3",
    });
});
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.LookupBgpIpv6UnicastNeighbor(ctx, &iosxe.LookupBgpIpv6UnicastNeighborArgs{
			Asn: "65000",
			Ip:  "3.3.3.3",
		}, 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.GetBgpIpv6UnicastNeighborArgs;
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.getBgpIpv6UnicastNeighbor(GetBgpIpv6UnicastNeighborArgs.builder()
            .asn("65000")
            .ip("3.3.3.3")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getBgpIpv6UnicastNeighbor({
    asn: "65000",
    ip: "3.3.3.3",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_bgp_ipv6_unicast_neighbor(asn="65000",
    ip="3.3.3.3")
variables:
  example:
    fn::invoke:
      Function: iosxe:getBgpIpv6UnicastNeighbor
      Arguments:
        asn: '65000'
        ip: 3.3.3.3
Using getBgpIpv6UnicastNeighbor
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 getBgpIpv6UnicastNeighbor(args: GetBgpIpv6UnicastNeighborArgs, opts?: InvokeOptions): Promise<GetBgpIpv6UnicastNeighborResult>
function getBgpIpv6UnicastNeighborOutput(args: GetBgpIpv6UnicastNeighborOutputArgs, opts?: InvokeOptions): Output<GetBgpIpv6UnicastNeighborResult>def get_bgp_ipv6_unicast_neighbor(asn: Optional[str] = None,
                                  device: Optional[str] = None,
                                  ip: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetBgpIpv6UnicastNeighborResult
def get_bgp_ipv6_unicast_neighbor_output(asn: Optional[pulumi.Input[str]] = None,
                                  device: Optional[pulumi.Input[str]] = None,
                                  ip: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetBgpIpv6UnicastNeighborResult]func LookupBgpIpv6UnicastNeighbor(ctx *Context, args *LookupBgpIpv6UnicastNeighborArgs, opts ...InvokeOption) (*LookupBgpIpv6UnicastNeighborResult, error)
func LookupBgpIpv6UnicastNeighborOutput(ctx *Context, args *LookupBgpIpv6UnicastNeighborOutputArgs, opts ...InvokeOption) LookupBgpIpv6UnicastNeighborResultOutput> Note: This function is named LookupBgpIpv6UnicastNeighbor in the Go SDK.
public static class GetBgpIpv6UnicastNeighbor 
{
    public static Task<GetBgpIpv6UnicastNeighborResult> InvokeAsync(GetBgpIpv6UnicastNeighborArgs args, InvokeOptions? opts = null)
    public static Output<GetBgpIpv6UnicastNeighborResult> Invoke(GetBgpIpv6UnicastNeighborInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBgpIpv6UnicastNeighborResult> getBgpIpv6UnicastNeighbor(GetBgpIpv6UnicastNeighborArgs args, InvokeOptions options)
public static Output<GetBgpIpv6UnicastNeighborResult> getBgpIpv6UnicastNeighbor(GetBgpIpv6UnicastNeighborArgs args, InvokeOptions options)
fn::invoke:
  function: iosxe:index/getBgpIpv6UnicastNeighbor:getBgpIpv6UnicastNeighbor
  arguments:
    # arguments dictionaryThe following arguments are supported:
getBgpIpv6UnicastNeighbor Result
The following output properties are available:
- Activate bool
- Enable the address family for this neighbor
- Asn string
- Id string
- The path of the retrieved object.
- Ip string
- RouteMaps List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Bgp Ipv6Unicast Neighbor Route Map> 
- Apply route map to neighbor
- RouteReflector boolClient 
- Configure a neighbor as Route Reflector client
- SendCommunity string
- Device string
- A device name from the provider configuration.
- Activate bool
- Enable the address family for this neighbor
- Asn string
- Id string
- The path of the retrieved object.
- Ip string
- RouteMaps []GetBgp Ipv6Unicast Neighbor Route Map 
- Apply route map to neighbor
- RouteReflector boolClient 
- Configure a neighbor as Route Reflector client
- SendCommunity string
- Device string
- A device name from the provider configuration.
- activate Boolean
- Enable the address family for this neighbor
- asn String
- id String
- The path of the retrieved object.
- ip String
- routeMaps List<GetBgp Ipv6Unicast Neighbor Route Map> 
- Apply route map to neighbor
- routeReflector BooleanClient 
- Configure a neighbor as Route Reflector client
- sendCommunity String
- device String
- A device name from the provider configuration.
- activate boolean
- Enable the address family for this neighbor
- asn string
- id string
- The path of the retrieved object.
- ip string
- routeMaps GetBgp Ipv6Unicast Neighbor Route Map[] 
- Apply route map to neighbor
- routeReflector booleanClient 
- Configure a neighbor as Route Reflector client
- sendCommunity string
- device string
- A device name from the provider configuration.
- activate bool
- Enable the address family for this neighbor
- asn str
- id str
- The path of the retrieved object.
- ip str
- route_maps Sequence[GetBgp Ipv6Unicast Neighbor Route Map] 
- Apply route map to neighbor
- route_reflector_ boolclient 
- Configure a neighbor as Route Reflector client
- send_community str
- device str
- A device name from the provider configuration.
- activate Boolean
- Enable the address family for this neighbor
- asn String
- id String
- The path of the retrieved object.
- ip String
- routeMaps List<Property Map>
- Apply route map to neighbor
- routeReflector BooleanClient 
- Configure a neighbor as Route Reflector client
- sendCommunity String
- device String
- A device name from the provider configuration.
Supporting Types
GetBgpIpv6UnicastNeighborRouteMap     
- InOut string
- RouteMap stringName 
- InOut string
- RouteMap stringName 
- inOut String
- routeMap StringName 
- inOut string
- routeMap stringName 
- in_out str
- route_map_ strname 
- inOut String
- routeMap StringName 
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the iosxeTerraform Provider.