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 * as pulumi from "@pulumi/pulumi";
import * as nxos from "@pulumi/nxos";
const example = nxos.getVpcDomain({});
import pulumi
import pulumi_nxos as nxos
example = nxos.get_vpc_domain()
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)
public static Output<GetVpcDomainResult> getVpcDomain(GetVpcDomainArgs args, InvokeOptions options)
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:
- AdminState string
- vPC suspend locally.
- AutoRecovery string
- Auto Recovery.
- AutoRecovery intInterval 
- Auto Recovery interval.
- DelayRestore intOrphan Port 
- Delay restore for orphan ports.
- DelayRestore intSvi 
- Delay restore for SVI.
- DelayRestore intVpc 
- Delay restore for vPC links.
- DomainId int
- Domain id.
- Dscp int
- DSCP.
- FastConvergence string
- Fast Convergence.
- GracefulConsistency stringCheck 
- Graceful Type-1 Consistency Check.
- Id string
- The distinguished name of the object.
- L3PeerRouter string
- L3 Peer Router.
- L3PeerRouter stringSyslog 
- L3 Peer Router Syslog.
- L3PeerRouter intSyslog Interval 
- 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.
- AutoRecovery intInterval 
- Auto Recovery interval.
- DelayRestore intOrphan Port 
- Delay restore for orphan ports.
- DelayRestore intSvi 
- Delay restore for SVI.
- DelayRestore intVpc 
- Delay restore for vPC links.
- DomainId int
- Domain id.
- Dscp int
- DSCP.
- FastConvergence string
- Fast Convergence.
- GracefulConsistency stringCheck 
- Graceful Type-1 Consistency Check.
- Id string
- The distinguished name of the object.
- L3PeerRouter string
- L3 Peer Router.
- L3PeerRouter stringSyslog 
- L3 Peer Router Syslog.
- L3PeerRouter intSyslog Interval 
- 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.
- autoRecovery IntegerInterval 
- Auto Recovery interval.
- delayRestore IntegerOrphan Port 
- Delay restore for orphan ports.
- delayRestore IntegerSvi 
- Delay restore for SVI.
- delayRestore IntegerVpc 
- Delay restore for vPC links.
- domainId Integer
- Domain id.
- dscp Integer
- DSCP.
- fastConvergence String
- Fast Convergence.
- gracefulConsistency StringCheck 
- Graceful Type-1 Consistency Check.
- id String
- The distinguished name of the object.
- l3PeerRouter String
- L3 Peer Router.
- l3PeerRouter StringSyslog 
- L3 Peer Router Syslog.
- l3PeerRouter IntegerSyslog Interval 
- 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.
- autoRecovery numberInterval 
- Auto Recovery interval.
- delayRestore numberOrphan Port 
- Delay restore for orphan ports.
- delayRestore numberSvi 
- Delay restore for SVI.
- delayRestore numberVpc 
- Delay restore for vPC links.
- domainId number
- Domain id.
- dscp number
- DSCP.
- fastConvergence string
- Fast Convergence.
- gracefulConsistency stringCheck 
- Graceful Type-1 Consistency Check.
- id string
- The distinguished name of the object.
- l3PeerRouter string
- L3 Peer Router.
- l3PeerRouter stringSyslog 
- L3 Peer Router Syslog.
- l3PeerRouter numberSyslog Interval 
- 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_ 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.
- adminState String
- vPC suspend locally.
- autoRecovery String
- Auto Recovery.
- autoRecovery NumberInterval 
- Auto Recovery interval.
- delayRestore NumberOrphan Port 
- Delay restore for orphan ports.
- delayRestore NumberSvi 
- Delay restore for SVI.
- delayRestore NumberVpc 
- Delay restore for vPC links.
- domainId Number
- Domain id.
- dscp Number
- DSCP.
- fastConvergence String
- Fast Convergence.
- gracefulConsistency StringCheck 
- Graceful Type-1 Consistency Check.
- id String
- The distinguished name of the object.
- l3PeerRouter String
- L3 Peer Router.
- l3PeerRouter StringSyslog 
- L3 Peer Router Syslog.
- l3PeerRouter NumberSyslog Interval 
- 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 nxosTerraform Provider.