1. Packages
  2. Cisco NX OS Resource Provider
  3. API Docs
  4. getIsisInterface
Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs

nxos.getIsisInterface

Explore with Pulumi AI

nxos logo
Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs

    This data source can read the IS-IS interface configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nxos = Pulumi.Nxos;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Nxos.GetIsisInterface.Invoke(new()
        {
            InterfaceId = "eth1/10",
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-nxos/sdk/go/nxos"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nxos.LookupIsisInterface(ctx, &nxos.LookupIsisInterfaceArgs{
    			InterfaceId: "eth1/10",
    		}, 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.nxos.NxosFunctions;
    import com.pulumi.nxos.inputs.GetIsisInterfaceArgs;
    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 = NxosFunctions.getIsisInterface(GetIsisInterfaceArgs.builder()
                .interfaceId("eth1/10")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_nxos as nxos
    
    example = nxos.get_isis_interface(interface_id="eth1/10")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as nxos from "@pulumi/nxos";
    
    const example = nxos.getIsisInterface({
        interfaceId: "eth1/10",
    });
    
    variables:
      example:
        fn::invoke:
          Function: nxos:getIsisInterface
          Arguments:
            interfaceId: eth1/10
    

    Using getIsisInterface

    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 getIsisInterface(args: GetIsisInterfaceArgs, opts?: InvokeOptions): Promise<GetIsisInterfaceResult>
    function getIsisInterfaceOutput(args: GetIsisInterfaceOutputArgs, opts?: InvokeOptions): Output<GetIsisInterfaceResult>
    def get_isis_interface(device: Optional[str] = None,
                           interface_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIsisInterfaceResult
    def get_isis_interface_output(device: Optional[pulumi.Input[str]] = None,
                           interface_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIsisInterfaceResult]
    func LookupIsisInterface(ctx *Context, args *LookupIsisInterfaceArgs, opts ...InvokeOption) (*LookupIsisInterfaceResult, error)
    func LookupIsisInterfaceOutput(ctx *Context, args *LookupIsisInterfaceOutputArgs, opts ...InvokeOption) LookupIsisInterfaceResultOutput

    > Note: This function is named LookupIsisInterface in the Go SDK.

    public static class GetIsisInterface 
    {
        public static Task<GetIsisInterfaceResult> InvokeAsync(GetIsisInterfaceArgs args, InvokeOptions? opts = null)
        public static Output<GetIsisInterfaceResult> Invoke(GetIsisInterfaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsisInterfaceResult> getIsisInterface(GetIsisInterfaceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: nxos:index/getIsisInterface:getIsisInterface
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InterfaceId string
    Must match first field in the output of show intf brief. Example: eth1/1.
    Device string
    A device name from the provider configuration.
    InterfaceId string
    Must match first field in the output of show intf brief. Example: eth1/1.
    Device string
    A device name from the provider configuration.
    interfaceId String
    Must match first field in the output of show intf brief. Example: eth1/1.
    device String
    A device name from the provider configuration.
    interfaceId string
    Must match first field in the output of show intf brief. Example: eth1/1.
    device string
    A device name from the provider configuration.
    interface_id str
    Must match first field in the output of show intf brief. Example: eth1/1.
    device str
    A device name from the provider configuration.
    interfaceId String
    Must match first field in the output of show intf brief. Example: eth1/1.
    device String
    A device name from the provider configuration.

    getIsisInterface Result

    The following output properties are available:

    AuthenticationCheck bool
    Authentication Check for ISIS without specific level.
    AuthenticationCheckL1 bool
    Authentication Check for ISIS on Level-1.
    AuthenticationCheckL2 bool
    Authentication Check for ISIS on Level-2.
    AuthenticationKey string
    Authentication Key for IS-IS without specific level.
    AuthenticationKeyL1 string
    Authentication Key for IS-IS on Level-1.
    AuthenticationKeyL2 string
    Authentication Key for IS-IS on Level-2.
    AuthenticationType string
    IS-IS Authentication-Type without specific level.
    AuthenticationTypeL1 string
    IS-IS Authentication-Type for Level-1.
    AuthenticationTypeL2 string
    IS-IS Authentication-Type for Level-2.
    CircuitType string
    Circuit type.
    HelloInterval int
    Hello interval.
    HelloIntervalL1 int
    Hello interval Level-1.
    HelloIntervalL2 int
    Hello interval Level-2.
    HelloMultiplier int
    Hello multiplier.
    HelloMultiplierL1 int
    Hello multiplier Level-1.
    HelloMultiplierL2 int
    Hello multiplier Level-2.
    HelloPadding string
    Hello padding.
    Id string
    The distinguished name of the object.
    InterfaceId string
    Must match first field in the output of show intf brief. Example: eth1/1.
    MetricL1 int
    Interface metric Level-1.
    MetricL2 int
    Interface metric Level-2.
    MtuCheck bool
    MTU Check for IS-IS without specific level.
    MtuCheckL1 bool
    MTU Check for IS-IS on Level-1.
    MtuCheckL2 bool
    MTU Check for IS-IS on Level-2.
    NetworkTypeP2p string
    Enabling Point-to-Point Network Type on IS-IS Interface.
    Passive string
    IS-IS Passive Interface Info.
    PriorityL1 int
    Circuit priority.
    PriorityL2 int
    Circuit priority.
    Vrf string
    VRF.
    Device string
    A device name from the provider configuration.
    AuthenticationCheck bool
    Authentication Check for ISIS without specific level.
    AuthenticationCheckL1 bool
    Authentication Check for ISIS on Level-1.
    AuthenticationCheckL2 bool
    Authentication Check for ISIS on Level-2.
    AuthenticationKey string
    Authentication Key for IS-IS without specific level.
    AuthenticationKeyL1 string
    Authentication Key for IS-IS on Level-1.
    AuthenticationKeyL2 string
    Authentication Key for IS-IS on Level-2.
    AuthenticationType string
    IS-IS Authentication-Type without specific level.
    AuthenticationTypeL1 string
    IS-IS Authentication-Type for Level-1.
    AuthenticationTypeL2 string
    IS-IS Authentication-Type for Level-2.
    CircuitType string
    Circuit type.
    HelloInterval int
    Hello interval.
    HelloIntervalL1 int
    Hello interval Level-1.
    HelloIntervalL2 int
    Hello interval Level-2.
    HelloMultiplier int
    Hello multiplier.
    HelloMultiplierL1 int
    Hello multiplier Level-1.
    HelloMultiplierL2 int
    Hello multiplier Level-2.
    HelloPadding string
    Hello padding.
    Id string
    The distinguished name of the object.
    InterfaceId string
    Must match first field in the output of show intf brief. Example: eth1/1.
    MetricL1 int
    Interface metric Level-1.
    MetricL2 int
    Interface metric Level-2.
    MtuCheck bool
    MTU Check for IS-IS without specific level.
    MtuCheckL1 bool
    MTU Check for IS-IS on Level-1.
    MtuCheckL2 bool
    MTU Check for IS-IS on Level-2.
    NetworkTypeP2p string
    Enabling Point-to-Point Network Type on IS-IS Interface.
    Passive string
    IS-IS Passive Interface Info.
    PriorityL1 int
    Circuit priority.
    PriorityL2 int
    Circuit priority.
    Vrf string
    VRF.
    Device string
    A device name from the provider configuration.
    authenticationCheck Boolean
    Authentication Check for ISIS without specific level.
    authenticationCheckL1 Boolean
    Authentication Check for ISIS on Level-1.
    authenticationCheckL2 Boolean
    Authentication Check for ISIS on Level-2.
    authenticationKey String
    Authentication Key for IS-IS without specific level.
    authenticationKeyL1 String
    Authentication Key for IS-IS on Level-1.
    authenticationKeyL2 String
    Authentication Key for IS-IS on Level-2.
    authenticationType String
    IS-IS Authentication-Type without specific level.
    authenticationTypeL1 String
    IS-IS Authentication-Type for Level-1.
    authenticationTypeL2 String
    IS-IS Authentication-Type for Level-2.
    circuitType String
    Circuit type.
    helloInterval Integer
    Hello interval.
    helloIntervalL1 Integer
    Hello interval Level-1.
    helloIntervalL2 Integer
    Hello interval Level-2.
    helloMultiplier Integer
    Hello multiplier.
    helloMultiplierL1 Integer
    Hello multiplier Level-1.
    helloMultiplierL2 Integer
    Hello multiplier Level-2.
    helloPadding String
    Hello padding.
    id String
    The distinguished name of the object.
    interfaceId String
    Must match first field in the output of show intf brief. Example: eth1/1.
    metricL1 Integer
    Interface metric Level-1.
    metricL2 Integer
    Interface metric Level-2.
    mtuCheck Boolean
    MTU Check for IS-IS without specific level.
    mtuCheckL1 Boolean
    MTU Check for IS-IS on Level-1.
    mtuCheckL2 Boolean
    MTU Check for IS-IS on Level-2.
    networkTypeP2p String
    Enabling Point-to-Point Network Type on IS-IS Interface.
    passive String
    IS-IS Passive Interface Info.
    priorityL1 Integer
    Circuit priority.
    priorityL2 Integer
    Circuit priority.
    vrf String
    VRF.
    device String
    A device name from the provider configuration.
    authenticationCheck boolean
    Authentication Check for ISIS without specific level.
    authenticationCheckL1 boolean
    Authentication Check for ISIS on Level-1.
    authenticationCheckL2 boolean
    Authentication Check for ISIS on Level-2.
    authenticationKey string
    Authentication Key for IS-IS without specific level.
    authenticationKeyL1 string
    Authentication Key for IS-IS on Level-1.
    authenticationKeyL2 string
    Authentication Key for IS-IS on Level-2.
    authenticationType string
    IS-IS Authentication-Type without specific level.
    authenticationTypeL1 string
    IS-IS Authentication-Type for Level-1.
    authenticationTypeL2 string
    IS-IS Authentication-Type for Level-2.
    circuitType string
    Circuit type.
    helloInterval number
    Hello interval.
    helloIntervalL1 number
    Hello interval Level-1.
    helloIntervalL2 number
    Hello interval Level-2.
    helloMultiplier number
    Hello multiplier.
    helloMultiplierL1 number
    Hello multiplier Level-1.
    helloMultiplierL2 number
    Hello multiplier Level-2.
    helloPadding string
    Hello padding.
    id string
    The distinguished name of the object.
    interfaceId string
    Must match first field in the output of show intf brief. Example: eth1/1.
    metricL1 number
    Interface metric Level-1.
    metricL2 number
    Interface metric Level-2.
    mtuCheck boolean
    MTU Check for IS-IS without specific level.
    mtuCheckL1 boolean
    MTU Check for IS-IS on Level-1.
    mtuCheckL2 boolean
    MTU Check for IS-IS on Level-2.
    networkTypeP2p string
    Enabling Point-to-Point Network Type on IS-IS Interface.
    passive string
    IS-IS Passive Interface Info.
    priorityL1 number
    Circuit priority.
    priorityL2 number
    Circuit priority.
    vrf string
    VRF.
    device string
    A device name from the provider configuration.
    authentication_check bool
    Authentication Check for ISIS without specific level.
    authentication_check_l1 bool
    Authentication Check for ISIS on Level-1.
    authentication_check_l2 bool
    Authentication Check for ISIS on Level-2.
    authentication_key str
    Authentication Key for IS-IS without specific level.
    authentication_key_l1 str
    Authentication Key for IS-IS on Level-1.
    authentication_key_l2 str
    Authentication Key for IS-IS on Level-2.
    authentication_type str
    IS-IS Authentication-Type without specific level.
    authentication_type_l1 str
    IS-IS Authentication-Type for Level-1.
    authentication_type_l2 str
    IS-IS Authentication-Type for Level-2.
    circuit_type str
    Circuit type.
    hello_interval int
    Hello interval.
    hello_interval_l1 int
    Hello interval Level-1.
    hello_interval_l2 int
    Hello interval Level-2.
    hello_multiplier int
    Hello multiplier.
    hello_multiplier_l1 int
    Hello multiplier Level-1.
    hello_multiplier_l2 int
    Hello multiplier Level-2.
    hello_padding str
    Hello padding.
    id str
    The distinguished name of the object.
    interface_id str
    Must match first field in the output of show intf brief. Example: eth1/1.
    metric_l1 int
    Interface metric Level-1.
    metric_l2 int
    Interface metric Level-2.
    mtu_check bool
    MTU Check for IS-IS without specific level.
    mtu_check_l1 bool
    MTU Check for IS-IS on Level-1.
    mtu_check_l2 bool
    MTU Check for IS-IS on Level-2.
    network_type_p2p str
    Enabling Point-to-Point Network Type on IS-IS Interface.
    passive str
    IS-IS Passive Interface Info.
    priority_l1 int
    Circuit priority.
    priority_l2 int
    Circuit priority.
    vrf str
    VRF.
    device str
    A device name from the provider configuration.
    authenticationCheck Boolean
    Authentication Check for ISIS without specific level.
    authenticationCheckL1 Boolean
    Authentication Check for ISIS on Level-1.
    authenticationCheckL2 Boolean
    Authentication Check for ISIS on Level-2.
    authenticationKey String
    Authentication Key for IS-IS without specific level.
    authenticationKeyL1 String
    Authentication Key for IS-IS on Level-1.
    authenticationKeyL2 String
    Authentication Key for IS-IS on Level-2.
    authenticationType String
    IS-IS Authentication-Type without specific level.
    authenticationTypeL1 String
    IS-IS Authentication-Type for Level-1.
    authenticationTypeL2 String
    IS-IS Authentication-Type for Level-2.
    circuitType String
    Circuit type.
    helloInterval Number
    Hello interval.
    helloIntervalL1 Number
    Hello interval Level-1.
    helloIntervalL2 Number
    Hello interval Level-2.
    helloMultiplier Number
    Hello multiplier.
    helloMultiplierL1 Number
    Hello multiplier Level-1.
    helloMultiplierL2 Number
    Hello multiplier Level-2.
    helloPadding String
    Hello padding.
    id String
    The distinguished name of the object.
    interfaceId String
    Must match first field in the output of show intf brief. Example: eth1/1.
    metricL1 Number
    Interface metric Level-1.
    metricL2 Number
    Interface metric Level-2.
    mtuCheck Boolean
    MTU Check for IS-IS without specific level.
    mtuCheckL1 Boolean
    MTU Check for IS-IS on Level-1.
    mtuCheckL2 Boolean
    MTU Check for IS-IS on Level-2.
    networkTypeP2p String
    Enabling Point-to-Point Network Type on IS-IS Interface.
    passive String
    IS-IS Passive Interface Info.
    priorityL1 Number
    Circuit priority.
    priorityL2 Number
    Circuit priority.
    vrf String
    VRF.
    device String
    A device name from the provider configuration.

    Package Details

    Repository
    nxos lbrlabs/pulumi-nxos
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nxos Terraform Provider.
    nxos logo
    Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs