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

nxos.getIsisVrf

Explore with Pulumi AI

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

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

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nxos = Pulumi.Nxos;

return await Deployment.RunAsync(() => 
{
    var example = Nxos.GetIsisVrf.Invoke(new()
    {
        InstanceName = "ISIS1",
        Name = "default",
    });

});
Copy
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.LookupIsisVrf(ctx, &nxos.LookupIsisVrfArgs{
			InstanceName: "ISIS1",
			Name:         "default",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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.GetIsisVrfArgs;
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.getIsisVrf(GetIsisVrfArgs.builder()
            .instanceName("ISIS1")
            .name("default")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as nxos from "@pulumi/nxos";

const example = nxos.getIsisVrf({
    instanceName: "ISIS1",
    name: "default",
});
Copy
import pulumi
import pulumi_nxos as nxos

example = nxos.get_isis_vrf(instance_name="ISIS1",
    name="default")
Copy
variables:
  example:
    fn::invoke:
      Function: nxos:getIsisVrf
      Arguments:
        instanceName: ISIS1
        name: default
Copy

Using getIsisVrf

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 getIsisVrf(args: GetIsisVrfArgs, opts?: InvokeOptions): Promise<GetIsisVrfResult>
function getIsisVrfOutput(args: GetIsisVrfOutputArgs, opts?: InvokeOptions): Output<GetIsisVrfResult>
Copy
def get_isis_vrf(device: Optional[str] = None,
                 instance_name: Optional[str] = None,
                 name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetIsisVrfResult
def get_isis_vrf_output(device: Optional[pulumi.Input[str]] = None,
                 instance_name: Optional[pulumi.Input[str]] = None,
                 name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetIsisVrfResult]
Copy
func LookupIsisVrf(ctx *Context, args *LookupIsisVrfArgs, opts ...InvokeOption) (*LookupIsisVrfResult, error)
func LookupIsisVrfOutput(ctx *Context, args *LookupIsisVrfOutputArgs, opts ...InvokeOption) LookupIsisVrfResultOutput
Copy

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

public static class GetIsisVrf 
{
    public static Task<GetIsisVrfResult> InvokeAsync(GetIsisVrfArgs args, InvokeOptions? opts = null)
    public static Output<GetIsisVrfResult> Invoke(GetIsisVrfInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIsisVrfResult> getIsisVrf(GetIsisVrfArgs args, InvokeOptions options)
public static Output<GetIsisVrfResult> getIsisVrf(GetIsisVrfArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: nxos:index/getIsisVrf:getIsisVrf
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceName This property is required. string
IS-IS instance name.
Name This property is required. string
VRF name.
Device string
A device name from the provider configuration.
InstanceName This property is required. string
IS-IS instance name.
Name This property is required. string
VRF name.
Device string
A device name from the provider configuration.
instanceName This property is required. String
IS-IS instance name.
name This property is required. String
VRF name.
device String
A device name from the provider configuration.
instanceName This property is required. string
IS-IS instance name.
name This property is required. string
VRF name.
device string
A device name from the provider configuration.
instance_name This property is required. str
IS-IS instance name.
name This property is required. str
VRF name.
device str
A device name from the provider configuration.
instanceName This property is required. String
IS-IS instance name.
name This property is required. String
VRF name.
device String
A device name from the provider configuration.

getIsisVrf Result

The following output properties are available:

AdminState string
Administrative state.
AuthenticationCheckL1 bool
Authentication Check for ISIS on Level-1.
AuthenticationCheckL2 bool
Authentication Check for ISIS on Level-2.
AuthenticationKeyL1 string
Authentication Key for IS-IS on Level-1.
AuthenticationKeyL2 string
Authentication Key for IS-IS on Level-2.
AuthenticationTypeL1 string
IS-IS Authentication-Type for Level-1.
AuthenticationTypeL2 string
IS-IS Authentication-Type for Level-2.
BandwidthReference int
The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
BanwidthReferenceUnit string
Bandwidth reference unit.
Id string
The distinguished name of the object.
InstanceName string
IS-IS instance name.
IsType string
IS-IS domain type.
MetricType string
IS-IS metric type.
Mtu int
The configuration of link-state packet (LSP) maximum transmission units (MTU) is supported. You can enable up to 4352 bytes.
Name string
VRF name.
Net string
Holds IS-IS domain NET (address) value.
PassiveDefault string
IS-IS Domain passive-interface default level.
Device string
A device name from the provider configuration.
AdminState string
Administrative state.
AuthenticationCheckL1 bool
Authentication Check for ISIS on Level-1.
AuthenticationCheckL2 bool
Authentication Check for ISIS on Level-2.
AuthenticationKeyL1 string
Authentication Key for IS-IS on Level-1.
AuthenticationKeyL2 string
Authentication Key for IS-IS on Level-2.
AuthenticationTypeL1 string
IS-IS Authentication-Type for Level-1.
AuthenticationTypeL2 string
IS-IS Authentication-Type for Level-2.
BandwidthReference int
The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
BanwidthReferenceUnit string
Bandwidth reference unit.
Id string
The distinguished name of the object.
InstanceName string
IS-IS instance name.
IsType string
IS-IS domain type.
MetricType string
IS-IS metric type.
Mtu int
The configuration of link-state packet (LSP) maximum transmission units (MTU) is supported. You can enable up to 4352 bytes.
Name string
VRF name.
Net string
Holds IS-IS domain NET (address) value.
PassiveDefault string
IS-IS Domain passive-interface default level.
Device string
A device name from the provider configuration.
adminState String
Administrative state.
authenticationCheckL1 Boolean
Authentication Check for ISIS on Level-1.
authenticationCheckL2 Boolean
Authentication Check for ISIS on Level-2.
authenticationKeyL1 String
Authentication Key for IS-IS on Level-1.
authenticationKeyL2 String
Authentication Key for IS-IS on Level-2.
authenticationTypeL1 String
IS-IS Authentication-Type for Level-1.
authenticationTypeL2 String
IS-IS Authentication-Type for Level-2.
bandwidthReference Integer
The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
banwidthReferenceUnit String
Bandwidth reference unit.
id String
The distinguished name of the object.
instanceName String
IS-IS instance name.
isType String
IS-IS domain type.
metricType String
IS-IS metric type.
mtu Integer
The configuration of link-state packet (LSP) maximum transmission units (MTU) is supported. You can enable up to 4352 bytes.
name String
VRF name.
net String
Holds IS-IS domain NET (address) value.
passiveDefault String
IS-IS Domain passive-interface default level.
device String
A device name from the provider configuration.
adminState string
Administrative state.
authenticationCheckL1 boolean
Authentication Check for ISIS on Level-1.
authenticationCheckL2 boolean
Authentication Check for ISIS on Level-2.
authenticationKeyL1 string
Authentication Key for IS-IS on Level-1.
authenticationKeyL2 string
Authentication Key for IS-IS on Level-2.
authenticationTypeL1 string
IS-IS Authentication-Type for Level-1.
authenticationTypeL2 string
IS-IS Authentication-Type for Level-2.
bandwidthReference number
The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
banwidthReferenceUnit string
Bandwidth reference unit.
id string
The distinguished name of the object.
instanceName string
IS-IS instance name.
isType string
IS-IS domain type.
metricType string
IS-IS metric type.
mtu number
The configuration of link-state packet (LSP) maximum transmission units (MTU) is supported. You can enable up to 4352 bytes.
name string
VRF name.
net string
Holds IS-IS domain NET (address) value.
passiveDefault string
IS-IS Domain passive-interface default level.
device string
A device name from the provider configuration.
admin_state str
Administrative state.
authentication_check_l1 bool
Authentication Check for ISIS on Level-1.
authentication_check_l2 bool
Authentication Check for ISIS on Level-2.
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_l1 str
IS-IS Authentication-Type for Level-1.
authentication_type_l2 str
IS-IS Authentication-Type for Level-2.
bandwidth_reference int
The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
banwidth_reference_unit str
Bandwidth reference unit.
id str
The distinguished name of the object.
instance_name str
IS-IS instance name.
is_type str
IS-IS domain type.
metric_type str
IS-IS metric type.
mtu int
The configuration of link-state packet (LSP) maximum transmission units (MTU) is supported. You can enable up to 4352 bytes.
name str
VRF name.
net str
Holds IS-IS domain NET (address) value.
passive_default str
IS-IS Domain passive-interface default level.
device str
A device name from the provider configuration.
adminState String
Administrative state.
authenticationCheckL1 Boolean
Authentication Check for ISIS on Level-1.
authenticationCheckL2 Boolean
Authentication Check for ISIS on Level-2.
authenticationKeyL1 String
Authentication Key for IS-IS on Level-1.
authenticationKeyL2 String
Authentication Key for IS-IS on Level-2.
authenticationTypeL1 String
IS-IS Authentication-Type for Level-1.
authenticationTypeL2 String
IS-IS Authentication-Type for Level-2.
bandwidthReference Number
The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
banwidthReferenceUnit String
Bandwidth reference unit.
id String
The distinguished name of the object.
instanceName String
IS-IS instance name.
isType String
IS-IS domain type.
metricType String
IS-IS metric type.
mtu Number
The configuration of link-state packet (LSP) maximum transmission units (MTU) is supported. You can enable up to 4352 bytes.
name String
VRF name.
net String
Holds IS-IS domain NET (address) value.
passiveDefault String
IS-IS Domain passive-interface default level.
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.
Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs