Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs
nxos.getIsisVrf
Explore with Pulumi AI
This data source can read the IS-IS VRF configuration.
- API Documentation: isisDom
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",
});
});
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
})
}
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());
}
}
import pulumi
import pulumi_nxos as nxos
example = nxos.get_isis_vrf(instance_name="ISIS1",
name="default")
import * as pulumi from "@pulumi/pulumi";
import * as nxos from "@pulumi/nxos";
const example = nxos.getIsisVrf({
instanceName: "ISIS1",
name: "default",
});
variables:
example:
fn::invoke:
Function: nxos:getIsisVrf
Arguments:
instanceName: ISIS1
name: default
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>
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]
func LookupIsisVrf(ctx *Context, args *LookupIsisVrfArgs, opts ...InvokeOption) (*LookupIsisVrfResult, error)
func LookupIsisVrfOutput(ctx *Context, args *LookupIsisVrfOutputArgs, opts ...InvokeOption) LookupIsisVrfResultOutput
> 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)
}
public static CompletableFuture<GetIsisVrfResult> getIsisVrf(GetIsisVrfArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nxos:index/getIsisVrf:getIsisVrf
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Name string - IS-IS instance name.
- Name string
- VRF name.
- Device string
- A device name from the provider configuration.
- Instance
Name string - IS-IS instance name.
- Name string
- VRF name.
- Device string
- A device name from the provider configuration.
- instance
Name String - IS-IS instance name.
- name String
- VRF name.
- device String
- A device name from the provider configuration.
- instance
Name string - IS-IS instance name.
- name string
- VRF name.
- device string
- A device name from the provider configuration.
- instance_
name str - IS-IS instance name.
- name str
- VRF name.
- device str
- A device name from the provider configuration.
- instance
Name String - IS-IS instance name.
- name String
- VRF name.
- device String
- A device name from the provider configuration.
getIsisVrf Result
The following output properties are available:
- Admin
State string - Administrative state.
- Authentication
Check boolL1 - Authentication Check for ISIS on Level-1.
- Authentication
Check boolL2 - Authentication Check for ISIS on Level-2.
- Authentication
Key stringL1 - Authentication Key for IS-IS on Level-1.
- Authentication
Key stringL2 - Authentication Key for IS-IS on Level-2.
- Authentication
Type stringL1 - IS-IS Authentication-Type for Level-1.
- Authentication
Type stringL2 - 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 stringUnit - Bandwidth reference unit.
- Id string
- The distinguished name of the object.
- Instance
Name string - IS-IS instance name.
- Is
Type string - IS-IS domain type.
- Metric
Type 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.
- Passive
Default string - IS-IS Domain passive-interface default level.
- Device string
- A device name from the provider configuration.
- Admin
State string - Administrative state.
- Authentication
Check boolL1 - Authentication Check for ISIS on Level-1.
- Authentication
Check boolL2 - Authentication Check for ISIS on Level-2.
- Authentication
Key stringL1 - Authentication Key for IS-IS on Level-1.
- Authentication
Key stringL2 - Authentication Key for IS-IS on Level-2.
- Authentication
Type stringL1 - IS-IS Authentication-Type for Level-1.
- Authentication
Type stringL2 - 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 stringUnit - Bandwidth reference unit.
- Id string
- The distinguished name of the object.
- Instance
Name string - IS-IS instance name.
- Is
Type string - IS-IS domain type.
- Metric
Type 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.
- Passive
Default string - IS-IS Domain passive-interface default level.
- Device string
- A device name from the provider configuration.
- admin
State String - Administrative state.
- authentication
Check BooleanL1 - Authentication Check for ISIS on Level-1.
- authentication
Check BooleanL2 - Authentication Check for ISIS on Level-2.
- authentication
Key StringL1 - Authentication Key for IS-IS on Level-1.
- authentication
Key StringL2 - Authentication Key for IS-IS on Level-2.
- authentication
Type StringL1 - IS-IS Authentication-Type for Level-1.
- authentication
Type StringL2 - IS-IS Authentication-Type for Level-2.
- bandwidth
Reference Integer - The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
- banwidth
Reference StringUnit - Bandwidth reference unit.
- id String
- The distinguished name of the object.
- instance
Name String - IS-IS instance name.
- is
Type String - IS-IS domain type.
- metric
Type 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.
- passive
Default String - IS-IS Domain passive-interface default level.
- device String
- A device name from the provider configuration.
- admin
State string - Administrative state.
- authentication
Check booleanL1 - Authentication Check for ISIS on Level-1.
- authentication
Check booleanL2 - Authentication Check for ISIS on Level-2.
- authentication
Key stringL1 - Authentication Key for IS-IS on Level-1.
- authentication
Key stringL2 - Authentication Key for IS-IS on Level-2.
- authentication
Type stringL1 - IS-IS Authentication-Type for Level-1.
- authentication
Type stringL2 - IS-IS Authentication-Type for Level-2.
- bandwidth
Reference number - The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
- banwidth
Reference stringUnit - Bandwidth reference unit.
- id string
- The distinguished name of the object.
- instance
Name string - IS-IS instance name.
- is
Type string - IS-IS domain type.
- metric
Type 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.
- passive
Default string - IS-IS Domain passive-interface default level.
- device string
- A device name from the provider configuration.
- admin_
state str - Administrative state.
- authentication_
check_ booll1 - Authentication Check for ISIS on Level-1.
- authentication_
check_ booll2 - Authentication Check for ISIS on Level-2.
- authentication_
key_ strl1 - Authentication Key for IS-IS on Level-1.
- authentication_
key_ strl2 - Authentication Key for IS-IS on Level-2.
- authentication_
type_ strl1 - IS-IS Authentication-Type for Level-1.
- authentication_
type_ strl2 - 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_ strunit - 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.
- admin
State String - Administrative state.
- authentication
Check BooleanL1 - Authentication Check for ISIS on Level-1.
- authentication
Check BooleanL2 - Authentication Check for ISIS on Level-2.
- authentication
Key StringL1 - Authentication Key for IS-IS on Level-1.
- authentication
Key StringL2 - Authentication Key for IS-IS on Level-2.
- authentication
Type StringL1 - IS-IS Authentication-Type for Level-1.
- authentication
Type StringL2 - IS-IS Authentication-Type for Level-2.
- bandwidth
Reference Number - The IS-IS domain bandwidth reference. This sets the default reference bandwidth used for calculating the IS-IS cost metric.
- banwidth
Reference StringUnit - Bandwidth reference unit.
- id String
- The distinguished name of the object.
- instance
Name String - IS-IS instance name.
- is
Type String - IS-IS domain type.
- metric
Type 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.
- passive
Default 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.