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

nxos.getVpcDomain

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 vPC domain configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nxos = Pulumi.Nxos;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Nxos.GetVpcDomain.Invoke();
    
    });
    
    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.LookupVpcDomain(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.nxos.NxosFunctions;
    import com.pulumi.nxos.inputs.GetVpcDomainArgs;
    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.getVpcDomain();
    
        }
    }
    
    import pulumi
    import pulumi_nxos as nxos
    
    example = nxos.get_vpc_domain()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as nxos from "@pulumi/nxos";
    
    const example = nxos.getVpcDomain({});
    
    variables:
      example:
        fn::invoke:
          Function: nxos:getVpcDomain
          Arguments: {}
    

    Using getVpcDomain

    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 getVpcDomain(args: GetVpcDomainArgs, opts?: InvokeOptions): Promise<GetVpcDomainResult>
    function getVpcDomainOutput(args: GetVpcDomainOutputArgs, opts?: InvokeOptions): Output<GetVpcDomainResult>
    def get_vpc_domain(device: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetVpcDomainResult
    def get_vpc_domain_output(device: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetVpcDomainResult]
    func LookupVpcDomain(ctx *Context, args *LookupVpcDomainArgs, opts ...InvokeOption) (*LookupVpcDomainResult, error)
    func LookupVpcDomainOutput(ctx *Context, args *LookupVpcDomainOutputArgs, opts ...InvokeOption) LookupVpcDomainResultOutput

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

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

    The 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.

    getVpcDomain Result

    The following output properties are available:

    AdminState string
    vPC suspend locally.
    AutoRecovery string
    Auto Recovery.
    AutoRecoveryInterval int
    Auto Recovery interval.
    DelayRestoreOrphanPort int
    Delay restore for orphan ports.
    DelayRestoreSvi int
    Delay restore for SVI.
    DelayRestoreVpc int
    Delay restore for vPC links.
    DomainId int
    Domain id.
    Dscp int
    DSCP.
    FastConvergence string
    Fast Convergence.
    GracefulConsistencyCheck string
    Graceful Type-1 Consistency Check.
    Id string
    The distinguished name of the object.
    L3PeerRouter string
    L3 Peer Router.
    L3PeerRouterSyslog string
    L3 Peer Router Syslog.
    L3PeerRouterSyslogInterval int
    L3 Peer Router Syslog Interval.
    PeerGateway string
    Peer Gateway.
    PeerIp string
    vPC peer IP address.
    PeerSwitch string
    vPC pair switches.
    RolePriority int
    Role priority.
    SysMac string
    System MAC.
    SystemPriority int
    System priority.
    Track int
    Tracking object to suspend vPC if object goes down.
    VirtualIp string
    vPC virtual IP address (vIP).
    Device string
    A device name from the provider configuration.
    AdminState string
    vPC suspend locally.
    AutoRecovery string
    Auto Recovery.
    AutoRecoveryInterval int
    Auto Recovery interval.
    DelayRestoreOrphanPort int
    Delay restore for orphan ports.
    DelayRestoreSvi int
    Delay restore for SVI.
    DelayRestoreVpc int
    Delay restore for vPC links.
    DomainId int
    Domain id.
    Dscp int
    DSCP.
    FastConvergence string
    Fast Convergence.
    GracefulConsistencyCheck string
    Graceful Type-1 Consistency Check.
    Id string
    The distinguished name of the object.
    L3PeerRouter string
    L3 Peer Router.
    L3PeerRouterSyslog string
    L3 Peer Router Syslog.
    L3PeerRouterSyslogInterval int
    L3 Peer Router Syslog Interval.
    PeerGateway string
    Peer Gateway.
    PeerIp string
    vPC peer IP address.
    PeerSwitch string
    vPC pair switches.
    RolePriority int
    Role priority.
    SysMac string
    System MAC.
    SystemPriority int
    System priority.
    Track int
    Tracking object to suspend vPC if object goes down.
    VirtualIp string
    vPC virtual IP address (vIP).
    Device string
    A device name from the provider configuration.
    adminState String
    vPC suspend locally.
    autoRecovery String
    Auto Recovery.
    autoRecoveryInterval Integer
    Auto Recovery interval.
    delayRestoreOrphanPort Integer
    Delay restore for orphan ports.
    delayRestoreSvi Integer
    Delay restore for SVI.
    delayRestoreVpc Integer
    Delay restore for vPC links.
    domainId Integer
    Domain id.
    dscp Integer
    DSCP.
    fastConvergence String
    Fast Convergence.
    gracefulConsistencyCheck String
    Graceful Type-1 Consistency Check.
    id String
    The distinguished name of the object.
    l3PeerRouter String
    L3 Peer Router.
    l3PeerRouterSyslog String
    L3 Peer Router Syslog.
    l3PeerRouterSyslogInterval Integer
    L3 Peer Router Syslog Interval.
    peerGateway String
    Peer Gateway.
    peerIp String
    vPC peer IP address.
    peerSwitch String
    vPC pair switches.
    rolePriority Integer
    Role priority.
    sysMac String
    System MAC.
    systemPriority Integer
    System priority.
    track Integer
    Tracking object to suspend vPC if object goes down.
    virtualIp String
    vPC virtual IP address (vIP).
    device String
    A device name from the provider configuration.
    adminState string
    vPC suspend locally.
    autoRecovery string
    Auto Recovery.
    autoRecoveryInterval number
    Auto Recovery interval.
    delayRestoreOrphanPort number
    Delay restore for orphan ports.
    delayRestoreSvi number
    Delay restore for SVI.
    delayRestoreVpc number
    Delay restore for vPC links.
    domainId number
    Domain id.
    dscp number
    DSCP.
    fastConvergence string
    Fast Convergence.
    gracefulConsistencyCheck string
    Graceful Type-1 Consistency Check.
    id string
    The distinguished name of the object.
    l3PeerRouter string
    L3 Peer Router.
    l3PeerRouterSyslog string
    L3 Peer Router Syslog.
    l3PeerRouterSyslogInterval number
    L3 Peer Router Syslog Interval.
    peerGateway string
    Peer Gateway.
    peerIp string
    vPC peer IP address.
    peerSwitch string
    vPC pair switches.
    rolePriority number
    Role priority.
    sysMac string
    System MAC.
    systemPriority number
    System priority.
    track number
    Tracking object to suspend vPC if object goes down.
    virtualIp string
    vPC virtual IP address (vIP).
    device string
    A device name from the provider configuration.
    admin_state str
    vPC suspend locally.
    auto_recovery str
    Auto Recovery.
    auto_recovery_interval int
    Auto Recovery interval.
    delay_restore_orphan_port int
    Delay restore for orphan ports.
    delay_restore_svi int
    Delay restore for SVI.
    delay_restore_vpc int
    Delay restore for vPC links.
    domain_id int
    Domain id.
    dscp int
    DSCP.
    fast_convergence str
    Fast Convergence.
    graceful_consistency_check str
    Graceful Type-1 Consistency Check.
    id str
    The distinguished name of the object.
    l3_peer_router str
    L3 Peer Router.
    l3_peer_router_syslog str
    L3 Peer Router Syslog.
    l3_peer_router_syslog_interval int
    L3 Peer Router Syslog Interval.
    peer_gateway str
    Peer Gateway.
    peer_ip str
    vPC peer IP address.
    peer_switch str
    vPC pair switches.
    role_priority int
    Role priority.
    sys_mac str
    System MAC.
    system_priority int
    System priority.
    track int
    Tracking object to suspend vPC if object goes down.
    virtual_ip str
    vPC virtual IP address (vIP).
    device str
    A device name from the provider configuration.
    adminState String
    vPC suspend locally.
    autoRecovery String
    Auto Recovery.
    autoRecoveryInterval Number
    Auto Recovery interval.
    delayRestoreOrphanPort Number
    Delay restore for orphan ports.
    delayRestoreSvi Number
    Delay restore for SVI.
    delayRestoreVpc Number
    Delay restore for vPC links.
    domainId Number
    Domain id.
    dscp Number
    DSCP.
    fastConvergence String
    Fast Convergence.
    gracefulConsistencyCheck String
    Graceful Type-1 Consistency Check.
    id String
    The distinguished name of the object.
    l3PeerRouter String
    L3 Peer Router.
    l3PeerRouterSyslog String
    L3 Peer Router Syslog.
    l3PeerRouterSyslogInterval Number
    L3 Peer Router Syslog Interval.
    peerGateway String
    Peer Gateway.
    peerIp String
    vPC peer IP address.
    peerSwitch String
    vPC pair switches.
    rolePriority Number
    Role priority.
    sysMac String
    System MAC.
    systemPriority Number
    System priority.
    track Number
    Tracking object to suspend vPC if object goes down.
    virtualIp String
    vPC virtual IP address (vIP).
    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