Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs
nxos.getIsisInterface
Explore with Pulumi AI
This data source can read the IS-IS interface configuration.
- API Documentation: isisInternalIf
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:
- Interface
Id 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 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 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 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.
- interface
Id 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:
- Authentication
Check bool - Authentication Check for ISIS without specific level.
- Authentication
Check boolL1 - Authentication Check for ISIS on Level-1.
- Authentication
Check boolL2 - Authentication Check for ISIS on Level-2.
- Authentication
Key string - Authentication Key for IS-IS without specific level.
- Authentication
Key stringL1 - Authentication Key for IS-IS on Level-1.
- Authentication
Key stringL2 - Authentication Key for IS-IS on Level-2.
- Authentication
Type string - IS-IS Authentication-Type without specific level.
- Authentication
Type stringL1 - IS-IS Authentication-Type for Level-1.
- Authentication
Type stringL2 - IS-IS Authentication-Type for Level-2.
- Circuit
Type string - Circuit type.
- Hello
Interval int - Hello interval.
- Hello
Interval intL1 - Hello interval Level-1.
- Hello
Interval intL2 - Hello interval Level-2.
- Hello
Multiplier int - Hello multiplier.
- Hello
Multiplier intL1 - Hello multiplier Level-1.
- Hello
Multiplier intL2 - Hello multiplier Level-2.
- Hello
Padding string - Hello padding.
- Id string
- The distinguished name of the object.
- Interface
Id string - 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 boolL1 - MTU Check for IS-IS on Level-1.
- Mtu
Check boolL2 - MTU Check for IS-IS on Level-2.
- Network
Type stringP2p - Enabling Point-to-Point Network Type on IS-IS Interface.
- Passive string
- IS-IS Passive Interface Info.
- Priority
L1 int - Circuit priority.
- Priority
L2 int - 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 boolL1 - Authentication Check for ISIS on Level-1.
- Authentication
Check boolL2 - Authentication Check for ISIS on Level-2.
- Authentication
Key string - Authentication Key for IS-IS without specific level.
- Authentication
Key stringL1 - Authentication Key for IS-IS on Level-1.
- Authentication
Key stringL2 - Authentication Key for IS-IS on Level-2.
- Authentication
Type string - IS-IS Authentication-Type without specific level.
- Authentication
Type stringL1 - IS-IS Authentication-Type for Level-1.
- Authentication
Type stringL2 - IS-IS Authentication-Type for Level-2.
- Circuit
Type string - Circuit type.
- Hello
Interval int - Hello interval.
- Hello
Interval intL1 - Hello interval Level-1.
- Hello
Interval intL2 - Hello interval Level-2.
- Hello
Multiplier int - Hello multiplier.
- Hello
Multiplier intL1 - Hello multiplier Level-1.
- Hello
Multiplier intL2 - Hello multiplier Level-2.
- Hello
Padding string - Hello padding.
- Id string
- The distinguished name of the object.
- Interface
Id string - 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 boolL1 - MTU Check for IS-IS on Level-1.
- Mtu
Check boolL2 - MTU Check for IS-IS on Level-2.
- Network
Type stringP2p - Enabling Point-to-Point Network Type on IS-IS Interface.
- Passive string
- IS-IS Passive Interface Info.
- Priority
L1 int - Circuit priority.
- Priority
L2 int - Circuit priority.
- Vrf string
- VRF.
- Device string
- A device name from the provider configuration.
- authentication
Check Boolean - Authentication Check for ISIS without specific level.
- authentication
Check BooleanL1 - Authentication Check for ISIS on Level-1.
- authentication
Check BooleanL2 - Authentication Check for ISIS on Level-2.
- authentication
Key String - Authentication Key for IS-IS without specific level.
- authentication
Key StringL1 - Authentication Key for IS-IS on Level-1.
- authentication
Key StringL2 - Authentication Key for IS-IS on Level-2.
- authentication
Type String - IS-IS Authentication-Type without specific level.
- authentication
Type StringL1 - IS-IS Authentication-Type for Level-1.
- authentication
Type StringL2 - IS-IS Authentication-Type for Level-2.
- circuit
Type String - Circuit type.
- hello
Interval Integer - Hello interval.
- hello
Interval IntegerL1 - Hello interval Level-1.
- hello
Interval IntegerL2 - Hello interval Level-2.
- hello
Multiplier Integer - Hello multiplier.
- hello
Multiplier IntegerL1 - Hello multiplier Level-1.
- hello
Multiplier IntegerL2 - Hello multiplier Level-2.
- hello
Padding String - Hello padding.
- id String
- The distinguished name of the object.
- interface
Id String - Must match first field in the output of
show intf brief
. Example:eth1/1
. - metric
L1 Integer - Interface metric Level-1.
- metric
L2 Integer - Interface metric Level-2.
- mtu
Check Boolean - MTU Check for IS-IS without specific level.
- mtu
Check BooleanL1 - MTU Check for IS-IS on Level-1.
- mtu
Check BooleanL2 - MTU Check for IS-IS on Level-2.
- network
Type StringP2p - Enabling Point-to-Point Network Type on IS-IS Interface.
- passive String
- IS-IS Passive Interface Info.
- priority
L1 Integer - Circuit priority.
- priority
L2 Integer - Circuit priority.
- vrf String
- VRF.
- device String
- A device name from the provider configuration.
- authentication
Check boolean - Authentication Check for ISIS without specific level.
- authentication
Check booleanL1 - Authentication Check for ISIS on Level-1.
- authentication
Check booleanL2 - Authentication Check for ISIS on Level-2.
- authentication
Key string - Authentication Key for IS-IS without specific level.
- authentication
Key stringL1 - Authentication Key for IS-IS on Level-1.
- authentication
Key stringL2 - Authentication Key for IS-IS on Level-2.
- authentication
Type string - IS-IS Authentication-Type without specific level.
- authentication
Type stringL1 - IS-IS Authentication-Type for Level-1.
- authentication
Type stringL2 - IS-IS Authentication-Type for Level-2.
- circuit
Type string - Circuit type.
- hello
Interval number - Hello interval.
- hello
Interval numberL1 - Hello interval Level-1.
- hello
Interval numberL2 - Hello interval Level-2.
- hello
Multiplier number - Hello multiplier.
- hello
Multiplier numberL1 - Hello multiplier Level-1.
- hello
Multiplier numberL2 - Hello multiplier Level-2.
- hello
Padding string - Hello padding.
- id string
- The distinguished name of the object.
- interface
Id string - Must match first field in the output of
show intf brief
. Example:eth1/1
. - metric
L1 number - Interface metric Level-1.
- metric
L2 number - Interface metric Level-2.
- mtu
Check boolean - MTU Check for IS-IS without specific level.
- mtu
Check booleanL1 - MTU Check for IS-IS on Level-1.
- mtu
Check booleanL2 - MTU Check for IS-IS on Level-2.
- network
Type stringP2p - Enabling Point-to-Point Network Type on IS-IS Interface.
- passive string
- IS-IS Passive Interface Info.
- priority
L1 number - Circuit priority.
- priority
L2 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_ booll1 - Authentication Check for ISIS on Level-1.
- authentication_
check_ booll2 - Authentication Check for ISIS on Level-2.
- authentication_
key str - Authentication Key for IS-IS without specific level.
- authentication_
key_ strl1 - Authentication Key for IS-IS on Level-1.
- authentication_
key_ strl2 - Authentication Key for IS-IS on Level-2.
- authentication_
type str - IS-IS Authentication-Type without specific level.
- authentication_
type_ strl1 - IS-IS Authentication-Type for Level-1.
- authentication_
type_ strl2 - IS-IS Authentication-Type for Level-2.
- circuit_
type str - Circuit type.
- hello_
interval int - Hello interval.
- hello_
interval_ intl1 - Hello interval Level-1.
- hello_
interval_ intl2 - Hello interval Level-2.
- hello_
multiplier int - Hello multiplier.
- hello_
multiplier_ intl1 - Hello multiplier Level-1.
- hello_
multiplier_ intl2 - 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_ booll1 - MTU Check for IS-IS on Level-1.
- mtu_
check_ booll2 - MTU Check for IS-IS on Level-2.
- network_
type_ strp2p - 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.
- authentication
Check Boolean - Authentication Check for ISIS without specific level.
- authentication
Check BooleanL1 - Authentication Check for ISIS on Level-1.
- authentication
Check BooleanL2 - Authentication Check for ISIS on Level-2.
- authentication
Key String - Authentication Key for IS-IS without specific level.
- authentication
Key StringL1 - Authentication Key for IS-IS on Level-1.
- authentication
Key StringL2 - Authentication Key for IS-IS on Level-2.
- authentication
Type String - IS-IS Authentication-Type without specific level.
- authentication
Type StringL1 - IS-IS Authentication-Type for Level-1.
- authentication
Type StringL2 - IS-IS Authentication-Type for Level-2.
- circuit
Type String - Circuit type.
- hello
Interval Number - Hello interval.
- hello
Interval NumberL1 - Hello interval Level-1.
- hello
Interval NumberL2 - Hello interval Level-2.
- hello
Multiplier Number - Hello multiplier.
- hello
Multiplier NumberL1 - Hello multiplier Level-1.
- hello
Multiplier NumberL2 - Hello multiplier Level-2.
- hello
Padding String - Hello padding.
- id String
- The distinguished name of the object.
- interface
Id String - Must match first field in the output of
show intf brief
. Example:eth1/1
. - metric
L1 Number - Interface metric Level-1.
- metric
L2 Number - Interface metric Level-2.
- mtu
Check Boolean - MTU Check for IS-IS without specific level.
- mtu
Check BooleanL1 - MTU Check for IS-IS on Level-1.
- mtu
Check BooleanL2 - MTU Check for IS-IS on Level-2.
- network
Type StringP2p - Enabling Point-to-Point Network Type on IS-IS Interface.
- passive String
- IS-IS Passive Interface Info.
- priority
L1 Number - Circuit priority.
- priority
L2 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.