Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
This data source can read the MSDP configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetMsdp.Invoke();
});
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.LookupMsdp(ctx, nil, 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.GetMsdpArgs;
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.getMsdp();
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getMsdp({});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_msdp()
variables:
example:
fn::invoke:
Function: iosxe:getMsdp
Arguments: {}
Using getMsdp
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 getMsdp(args: GetMsdpArgs, opts?: InvokeOptions): Promise<GetMsdpResult>
function getMsdpOutput(args: GetMsdpOutputArgs, opts?: InvokeOptions): Output<GetMsdpResult>def get_msdp(device: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMsdpResult
def get_msdp_output(device: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMsdpResult]func LookupMsdp(ctx *Context, args *LookupMsdpArgs, opts ...InvokeOption) (*LookupMsdpResult, error)
func LookupMsdpOutput(ctx *Context, args *LookupMsdpOutputArgs, opts ...InvokeOption) LookupMsdpResultOutput> Note: This function is named LookupMsdp in the Go SDK.
public static class GetMsdp
{
public static Task<GetMsdpResult> InvokeAsync(GetMsdpArgs args, InvokeOptions? opts = null)
public static Output<GetMsdpResult> Invoke(GetMsdpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMsdpResult> getMsdp(GetMsdpArgs args, InvokeOptions options)
public static Output<GetMsdpResult> getMsdp(GetMsdpArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getMsdp:getMsdp
arguments:
# arguments dictionaryThe following arguments are supported:
- Device string
- A device name from the provider configuration.
- Device string
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
- device string
- A device name from the provider configuration.
- device str
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
getMsdp 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 Password> - MSDP peer on which the password is to be set
- Peers
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Msdp Peer> - Configure an MSDP peer
- 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 Password - MSDP peer on which the password is to be set
- Peers
[]Get
Msdp Peer - Configure an MSDP peer
- 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 Password> - MSDP peer on which the password is to be set
- peers
List<Get
Msdp Peer> - Configure an MSDP peer
- 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 Password[] - MSDP peer on which the password is to be set
- peers
Get
Msdp Peer[] - Configure an MSDP peer
- 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 Password] - MSDP peer on which the password is to be set
- peers
Sequence[Get
Msdp Peer] - Configure an MSDP peer
- 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
- device String
- A device name from the provider configuration.
Supporting Types
GetMsdpPassword
- 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
GetMsdpPeer
- 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.
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
