Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getMsdpVrf
Explore with Pulumi AI
This data source can read the MSDP VRF configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetMsdpVrf.Invoke(new()
    {
        Vrf = "VRF1",
    });
});
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.LookupMsdpVrf(ctx, &iosxe.LookupMsdpVrfArgs{
			Vrf: "VRF1",
		}, 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.GetMsdpVrfArgs;
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.getMsdpVrf(GetMsdpVrfArgs.builder()
            .vrf("VRF1")
            .build());
    }
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_msdp_vrf(vrf="VRF1")
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getMsdpVrf({
    vrf: "VRF1",
});
variables:
  example:
    fn::invoke:
      Function: iosxe:getMsdpVrf
      Arguments:
        vrf: VRF1
Using getMsdpVrf
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 getMsdpVrf(args: GetMsdpVrfArgs, opts?: InvokeOptions): Promise<GetMsdpVrfResult>
function getMsdpVrfOutput(args: GetMsdpVrfOutputArgs, opts?: InvokeOptions): Output<GetMsdpVrfResult>def get_msdp_vrf(device: Optional[str] = None,
                 vrf: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetMsdpVrfResult
def get_msdp_vrf_output(device: Optional[pulumi.Input[str]] = None,
                 vrf: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetMsdpVrfResult]func LookupMsdpVrf(ctx *Context, args *LookupMsdpVrfArgs, opts ...InvokeOption) (*LookupMsdpVrfResult, error)
func LookupMsdpVrfOutput(ctx *Context, args *LookupMsdpVrfOutputArgs, opts ...InvokeOption) LookupMsdpVrfResultOutput> Note: This function is named LookupMsdpVrf in the Go SDK.
public static class GetMsdpVrf 
{
    public static Task<GetMsdpVrfResult> InvokeAsync(GetMsdpVrfArgs args, InvokeOptions? opts = null)
    public static Output<GetMsdpVrfResult> Invoke(GetMsdpVrfInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMsdpVrfResult> getMsdpVrf(GetMsdpVrfArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: iosxe:index/getMsdpVrf:getMsdpVrf
  arguments:
    # arguments dictionaryThe following arguments are supported:
getMsdpVrf Result
The following output properties are available:
- Id string
 - The path of the retrieved object.
 - Originator
Id string - Configure MSDP Originator ID
 - Passwords
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Msdp Vrf Password>  - MSDP peer on which the password is to be set
 - Peers
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Msdp Vrf Peer>  - Configure an MSDP peer
 - Vrf string
 - Device string
 - A device name from the provider configuration.
 
- Id string
 - The path of the retrieved object.
 - Originator
Id string - Configure MSDP Originator ID
 - Passwords
[]Get
Msdp Vrf Password  - MSDP peer on which the password is to be set
 - Peers
[]Get
Msdp Vrf Peer  - Configure an MSDP peer
 - Vrf string
 - Device string
 - A device name from the provider configuration.
 
- id String
 - The path of the retrieved object.
 - originator
Id String - Configure MSDP Originator ID
 - passwords
List<Get
Msdp Vrf Password>  - MSDP peer on which the password is to be set
 - peers
List<Get
Msdp Vrf Peer>  - Configure an MSDP peer
 - vrf String
 - device String
 - A device name from the provider configuration.
 
- id string
 - The path of the retrieved object.
 - originator
Id string - Configure MSDP Originator ID
 - passwords
Get
Msdp Vrf Password[]  - MSDP peer on which the password is to be set
 - peers
Get
Msdp Vrf Peer[]  - Configure an MSDP peer
 - vrf string
 - device string
 - A device name from the provider configuration.
 
- id str
 - The path of the retrieved object.
 - originator_
id str - Configure MSDP Originator ID
 - passwords
Sequence[Get
Msdp Vrf Password]  - MSDP peer on which the password is to be set
 - peers
Sequence[Get
Msdp Vrf Peer]  - Configure an MSDP peer
 - vrf str
 - device str
 - A device name from the provider configuration.
 
- id String
 - The path of the retrieved object.
 - originator
Id String - Configure MSDP Originator ID
 - passwords List<Property Map>
 - MSDP peer on which the password is to be set
 - peers List<Property Map>
 - Configure an MSDP peer
 - vrf String
 - device String
 - A device name from the provider configuration.
 
Supporting Types
GetMsdpVrfPassword   
- Addr string
 - Encryption int
 - Password string
 
- Addr string
 - Encryption int
 - Password string
 
- addr String
 - encryption Integer
 - password String
 
- addr string
 - encryption number
 - password string
 
- addr str
 - encryption int
 - password str
 
- addr String
 - encryption Number
 - password String
 
GetMsdpVrfPeer   
- Addr string
 - Connect
Source intLoopback  - Loopback interface
 - Remote
As int - Configured AS number
 
- Addr string
 - Connect
Source intLoopback  - Loopback interface
 - Remote
As int - Configured AS number
 
- addr String
 - connect
Source IntegerLoopback  - Loopback interface
 - remote
As Integer - Configured AS number
 
- addr string
 - connect
Source numberLoopback  - Loopback interface
 - remote
As number - Configured AS number
 
- addr str
 - connect_
source_ intloopback  - Loopback interface
 - remote_
as int - Configured AS number
 
- addr String
 - connect
Source NumberLoopback  - Loopback interface
 - remote
As Number - Configured AS number
 
Package Details
- Repository
 - iosxe lbrlabs/pulumi-iosxe
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
iosxeTerraform Provider.