Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs
nxos.getVpcDomain
Explore with Pulumi AI
This data source can read the vPC domain configuration.
- API Documentation: vpcDom
 
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 dictionaryThe 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:
- Admin
State string - vPC suspend locally.
 - Auto
Recovery string - Auto Recovery.
 - Auto
Recovery intInterval  - Auto Recovery interval.
 - Delay
Restore intOrphan Port  - Delay restore for orphan ports.
 - Delay
Restore intSvi  - Delay restore for SVI.
 - Delay
Restore intVpc  - Delay restore for vPC links.
 - Domain
Id int - Domain id.
 - Dscp int
 - DSCP.
 - Fast
Convergence string - Fast Convergence.
 - Graceful
Consistency stringCheck  - Graceful Type-1 Consistency Check.
 - Id string
 - The distinguished name of the object.
 - L3Peer
Router string - L3 Peer Router.
 - L3Peer
Router stringSyslog  - L3 Peer Router Syslog.
 - L3Peer
Router intSyslog Interval  - L3 Peer Router Syslog Interval.
 - Peer
Gateway string - Peer Gateway.
 - Peer
Ip string - vPC peer IP address.
 - Peer
Switch string - vPC pair switches.
 - Role
Priority int - Role priority.
 - Sys
Mac string - System MAC.
 - System
Priority int - System priority.
 - Track int
 - Tracking object to suspend vPC if object goes down.
 - Virtual
Ip string - vPC virtual IP address (vIP).
 - Device string
 - A device name from the provider configuration.
 
- Admin
State string - vPC suspend locally.
 - Auto
Recovery string - Auto Recovery.
 - Auto
Recovery intInterval  - Auto Recovery interval.
 - Delay
Restore intOrphan Port  - Delay restore for orphan ports.
 - Delay
Restore intSvi  - Delay restore for SVI.
 - Delay
Restore intVpc  - Delay restore for vPC links.
 - Domain
Id int - Domain id.
 - Dscp int
 - DSCP.
 - Fast
Convergence string - Fast Convergence.
 - Graceful
Consistency stringCheck  - Graceful Type-1 Consistency Check.
 - Id string
 - The distinguished name of the object.
 - L3Peer
Router string - L3 Peer Router.
 - L3Peer
Router stringSyslog  - L3 Peer Router Syslog.
 - L3Peer
Router intSyslog Interval  - L3 Peer Router Syslog Interval.
 - Peer
Gateway string - Peer Gateway.
 - Peer
Ip string - vPC peer IP address.
 - Peer
Switch string - vPC pair switches.
 - Role
Priority int - Role priority.
 - Sys
Mac string - System MAC.
 - System
Priority int - System priority.
 - Track int
 - Tracking object to suspend vPC if object goes down.
 - Virtual
Ip string - vPC virtual IP address (vIP).
 - Device string
 - A device name from the provider configuration.
 
- admin
State String - vPC suspend locally.
 - auto
Recovery String - Auto Recovery.
 - auto
Recovery IntegerInterval  - Auto Recovery interval.
 - delay
Restore IntegerOrphan Port  - Delay restore for orphan ports.
 - delay
Restore IntegerSvi  - Delay restore for SVI.
 - delay
Restore IntegerVpc  - Delay restore for vPC links.
 - domain
Id Integer - Domain id.
 - dscp Integer
 - DSCP.
 - fast
Convergence String - Fast Convergence.
 - graceful
Consistency StringCheck  - Graceful Type-1 Consistency Check.
 - id String
 - The distinguished name of the object.
 - l3Peer
Router String - L3 Peer Router.
 - l3Peer
Router StringSyslog  - L3 Peer Router Syslog.
 - l3Peer
Router IntegerSyslog Interval  - L3 Peer Router Syslog Interval.
 - peer
Gateway String - Peer Gateway.
 - peer
Ip String - vPC peer IP address.
 - peer
Switch String - vPC pair switches.
 - role
Priority Integer - Role priority.
 - sys
Mac String - System MAC.
 - system
Priority Integer - System priority.
 - track Integer
 - Tracking object to suspend vPC if object goes down.
 - virtual
Ip String - vPC virtual IP address (vIP).
 - device String
 - A device name from the provider configuration.
 
- admin
State string - vPC suspend locally.
 - auto
Recovery string - Auto Recovery.
 - auto
Recovery numberInterval  - Auto Recovery interval.
 - delay
Restore numberOrphan Port  - Delay restore for orphan ports.
 - delay
Restore numberSvi  - Delay restore for SVI.
 - delay
Restore numberVpc  - Delay restore for vPC links.
 - domain
Id number - Domain id.
 - dscp number
 - DSCP.
 - fast
Convergence string - Fast Convergence.
 - graceful
Consistency stringCheck  - Graceful Type-1 Consistency Check.
 - id string
 - The distinguished name of the object.
 - l3Peer
Router string - L3 Peer Router.
 - l3Peer
Router stringSyslog  - L3 Peer Router Syslog.
 - l3Peer
Router numberSyslog Interval  - L3 Peer Router Syslog Interval.
 - peer
Gateway string - Peer Gateway.
 - peer
Ip string - vPC peer IP address.
 - peer
Switch string - vPC pair switches.
 - role
Priority number - Role priority.
 - sys
Mac string - System MAC.
 - system
Priority number - System priority.
 - track number
 - Tracking object to suspend vPC if object goes down.
 - virtual
Ip 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_ intinterval  - Auto Recovery interval.
 - delay_
restore_ intorphan_ port  - Delay restore for orphan ports.
 - delay_
restore_ intsvi  - Delay restore for SVI.
 - delay_
restore_ intvpc  - Delay restore for vPC links.
 - domain_
id int - Domain id.
 - dscp int
 - DSCP.
 - fast_
convergence str - Fast Convergence.
 - graceful_
consistency_ strcheck  - Graceful Type-1 Consistency Check.
 - id str
 - The distinguished name of the object.
 - l3_
peer_ strrouter  - L3 Peer Router.
 - l3_
peer_ strrouter_ syslog  - L3 Peer Router Syslog.
 - l3_
peer_ introuter_ syslog_ interval  - 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.
 
- admin
State String - vPC suspend locally.
 - auto
Recovery String - Auto Recovery.
 - auto
Recovery NumberInterval  - Auto Recovery interval.
 - delay
Restore NumberOrphan Port  - Delay restore for orphan ports.
 - delay
Restore NumberSvi  - Delay restore for SVI.
 - delay
Restore NumberVpc  - Delay restore for vPC links.
 - domain
Id Number - Domain id.
 - dscp Number
 - DSCP.
 - fast
Convergence String - Fast Convergence.
 - graceful
Consistency StringCheck  - Graceful Type-1 Consistency Check.
 - id String
 - The distinguished name of the object.
 - l3Peer
Router String - L3 Peer Router.
 - l3Peer
Router StringSyslog  - L3 Peer Router Syslog.
 - l3Peer
Router NumberSyslog Interval  - L3 Peer Router Syslog Interval.
 - peer
Gateway String - Peer Gateway.
 - peer
Ip String - vPC peer IP address.
 - peer
Switch String - vPC pair switches.
 - role
Priority Number - Role priority.
 - sys
Mac String - System MAC.
 - system
Priority Number - System priority.
 - track Number
 - Tracking object to suspend vPC if object goes down.
 - virtual
Ip 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 
nxosTerraform Provider.