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

nxos.VpcDomain

Explore with Pulumi AI

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

    This resource can manage the vPC domain configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nxos = Lbrlabs.PulumiPackage.Nxos;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Nxos.VpcDomain("example", new()
        {
            AdminState = "enabled",
            AutoRecovery = "enabled",
            AutoRecoveryInterval = 480,
            DelayRestoreOrphanPort = 10,
            DelayRestoreSvi = 20,
            DelayRestoreVpc = 60,
            DomainId = 100,
            Dscp = 0,
            FastConvergence = "enabled",
            GracefulConsistencyCheck = "disabled",
            L3PeerRouter = "enabled",
            L3PeerRouterSyslog = "enabled",
            L3PeerRouterSyslogInterval = 3000,
            PeerGateway = "enabled",
            PeerIp = "1.2.3.4",
            PeerSwitch = "enabled",
            RolePriority = 100,
            SysMac = "01:01:01:01:01:01",
            SystemPriority = 100,
            Track = 10,
            VirtualIp = "1.1.1.1",
        });
    
    });
    
    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.NewVpcDomain(ctx, "example", &nxos.VpcDomainArgs{
    			AdminState:                 pulumi.String("enabled"),
    			AutoRecovery:               pulumi.String("enabled"),
    			AutoRecoveryInterval:       pulumi.Int(480),
    			DelayRestoreOrphanPort:     pulumi.Int(10),
    			DelayRestoreSvi:            pulumi.Int(20),
    			DelayRestoreVpc:            pulumi.Int(60),
    			DomainId:                   pulumi.Int(100),
    			Dscp:                       pulumi.Int(0),
    			FastConvergence:            pulumi.String("enabled"),
    			GracefulConsistencyCheck:   pulumi.String("disabled"),
    			L3PeerRouter:               pulumi.String("enabled"),
    			L3PeerRouterSyslog:         pulumi.String("enabled"),
    			L3PeerRouterSyslogInterval: pulumi.Int(3000),
    			PeerGateway:                pulumi.String("enabled"),
    			PeerIp:                     pulumi.String("1.2.3.4"),
    			PeerSwitch:                 pulumi.String("enabled"),
    			RolePriority:               pulumi.Int(100),
    			SysMac:                     pulumi.String("01:01:01:01:01:01"),
    			SystemPriority:             pulumi.Int(100),
    			Track:                      pulumi.Int(10),
    			VirtualIp:                  pulumi.String("1.1.1.1"),
    		})
    		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.VpcDomain;
    import com.pulumi.nxos.VpcDomainArgs;
    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) {
            var example = new VpcDomain("example", VpcDomainArgs.builder()        
                .adminState("enabled")
                .autoRecovery("enabled")
                .autoRecoveryInterval(480)
                .delayRestoreOrphanPort(10)
                .delayRestoreSvi(20)
                .delayRestoreVpc(60)
                .domainId(100)
                .dscp(0)
                .fastConvergence("enabled")
                .gracefulConsistencyCheck("disabled")
                .l3PeerRouter("enabled")
                .l3PeerRouterSyslog("enabled")
                .l3PeerRouterSyslogInterval(3000)
                .peerGateway("enabled")
                .peerIp("1.2.3.4")
                .peerSwitch("enabled")
                .rolePriority(100)
                .sysMac("01:01:01:01:01:01")
                .systemPriority(100)
                .track(10)
                .virtualIp("1.1.1.1")
                .build());
    
        }
    }
    
    import pulumi
    import lbrlabs_pulumi_nxos as nxos
    
    example = nxos.VpcDomain("example",
        admin_state="enabled",
        auto_recovery="enabled",
        auto_recovery_interval=480,
        delay_restore_orphan_port=10,
        delay_restore_svi=20,
        delay_restore_vpc=60,
        domain_id=100,
        dscp=0,
        fast_convergence="enabled",
        graceful_consistency_check="disabled",
        l3_peer_router="enabled",
        l3_peer_router_syslog="enabled",
        l3_peer_router_syslog_interval=3000,
        peer_gateway="enabled",
        peer_ip="1.2.3.4",
        peer_switch="enabled",
        role_priority=100,
        sys_mac="01:01:01:01:01:01",
        system_priority=100,
        track=10,
        virtual_ip="1.1.1.1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as nxos from "@lbrlabs/pulumi-nxos";
    
    const example = new nxos.VpcDomain("example", {
        adminState: "enabled",
        autoRecovery: "enabled",
        autoRecoveryInterval: 480,
        delayRestoreOrphanPort: 10,
        delayRestoreSvi: 20,
        delayRestoreVpc: 60,
        domainId: 100,
        dscp: 0,
        fastConvergence: "enabled",
        gracefulConsistencyCheck: "disabled",
        l3PeerRouter: "enabled",
        l3PeerRouterSyslog: "enabled",
        l3PeerRouterSyslogInterval: 3000,
        peerGateway: "enabled",
        peerIp: "1.2.3.4",
        peerSwitch: "enabled",
        rolePriority: 100,
        sysMac: "01:01:01:01:01:01",
        systemPriority: 100,
        track: 10,
        virtualIp: "1.1.1.1",
    });
    
    resources:
      example:
        type: nxos:VpcDomain
        properties:
          adminState: enabled
          autoRecovery: enabled
          autoRecoveryInterval: 480
          delayRestoreOrphanPort: 10
          delayRestoreSvi: 20
          delayRestoreVpc: 60
          domainId: 100
          dscp: 0
          fastConvergence: enabled
          gracefulConsistencyCheck: disabled
          l3PeerRouter: enabled
          l3PeerRouterSyslog: enabled
          l3PeerRouterSyslogInterval: 3000
          peerGateway: enabled
          peerIp: 1.2.3.4
          peerSwitch: enabled
          rolePriority: 100
          sysMac: 01:01:01:01:01:01
          systemPriority: 100
          track: 10
          virtualIp: 1.1.1.1
    

    Create VpcDomain Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcDomain(name: string, args: VpcDomainArgs, opts?: CustomResourceOptions);
    @overload
    def VpcDomain(resource_name: str,
                  args: VpcDomainArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcDomain(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  domain_id: Optional[int] = None,
                  graceful_consistency_check: Optional[str] = None,
                  delay_restore_vpc: Optional[int] = None,
                  l3_peer_router: Optional[str] = None,
                  l3_peer_router_syslog_interval: Optional[int] = None,
                  l3_peer_router_syslog: Optional[str] = None,
                  device: Optional[str] = None,
                  auto_recovery: Optional[str] = None,
                  dscp: Optional[int] = None,
                  fast_convergence: Optional[str] = None,
                  admin_state: Optional[str] = None,
                  delay_restore_orphan_port: Optional[int] = None,
                  auto_recovery_interval: Optional[int] = None,
                  delay_restore_svi: Optional[int] = None,
                  peer_gateway: Optional[str] = None,
                  peer_ip: Optional[str] = None,
                  peer_switch: Optional[str] = None,
                  role_priority: Optional[int] = None,
                  sys_mac: Optional[str] = None,
                  system_priority: Optional[int] = None,
                  track: Optional[int] = None,
                  virtual_ip: Optional[str] = None)
    func NewVpcDomain(ctx *Context, name string, args VpcDomainArgs, opts ...ResourceOption) (*VpcDomain, error)
    public VpcDomain(string name, VpcDomainArgs args, CustomResourceOptions? opts = null)
    public VpcDomain(String name, VpcDomainArgs args)
    public VpcDomain(String name, VpcDomainArgs args, CustomResourceOptions options)
    
    type: nxos:VpcDomain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VpcDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VpcDomainArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VpcDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcDomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vpcDomainResource = new Nxos.VpcDomain("vpcDomainResource", new()
    {
        DomainId = 0,
        GracefulConsistencyCheck = "string",
        DelayRestoreVpc = 0,
        L3PeerRouter = "string",
        L3PeerRouterSyslogInterval = 0,
        L3PeerRouterSyslog = "string",
        Device = "string",
        AutoRecovery = "string",
        Dscp = 0,
        FastConvergence = "string",
        AdminState = "string",
        DelayRestoreOrphanPort = 0,
        AutoRecoveryInterval = 0,
        DelayRestoreSvi = 0,
        PeerGateway = "string",
        PeerIp = "string",
        PeerSwitch = "string",
        RolePriority = 0,
        SysMac = "string",
        SystemPriority = 0,
        Track = 0,
        VirtualIp = "string",
    });
    
    example, err := nxos.NewVpcDomain(ctx, "vpcDomainResource", &nxos.VpcDomainArgs{
    	DomainId:                   pulumi.Int(0),
    	GracefulConsistencyCheck:   pulumi.String("string"),
    	DelayRestoreVpc:            pulumi.Int(0),
    	L3PeerRouter:               pulumi.String("string"),
    	L3PeerRouterSyslogInterval: pulumi.Int(0),
    	L3PeerRouterSyslog:         pulumi.String("string"),
    	Device:                     pulumi.String("string"),
    	AutoRecovery:               pulumi.String("string"),
    	Dscp:                       pulumi.Int(0),
    	FastConvergence:            pulumi.String("string"),
    	AdminState:                 pulumi.String("string"),
    	DelayRestoreOrphanPort:     pulumi.Int(0),
    	AutoRecoveryInterval:       pulumi.Int(0),
    	DelayRestoreSvi:            pulumi.Int(0),
    	PeerGateway:                pulumi.String("string"),
    	PeerIp:                     pulumi.String("string"),
    	PeerSwitch:                 pulumi.String("string"),
    	RolePriority:               pulumi.Int(0),
    	SysMac:                     pulumi.String("string"),
    	SystemPriority:             pulumi.Int(0),
    	Track:                      pulumi.Int(0),
    	VirtualIp:                  pulumi.String("string"),
    })
    
    var vpcDomainResource = new VpcDomain("vpcDomainResource", VpcDomainArgs.builder()
        .domainId(0)
        .gracefulConsistencyCheck("string")
        .delayRestoreVpc(0)
        .l3PeerRouter("string")
        .l3PeerRouterSyslogInterval(0)
        .l3PeerRouterSyslog("string")
        .device("string")
        .autoRecovery("string")
        .dscp(0)
        .fastConvergence("string")
        .adminState("string")
        .delayRestoreOrphanPort(0)
        .autoRecoveryInterval(0)
        .delayRestoreSvi(0)
        .peerGateway("string")
        .peerIp("string")
        .peerSwitch("string")
        .rolePriority(0)
        .sysMac("string")
        .systemPriority(0)
        .track(0)
        .virtualIp("string")
        .build());
    
    vpc_domain_resource = nxos.VpcDomain("vpcDomainResource",
        domain_id=0,
        graceful_consistency_check="string",
        delay_restore_vpc=0,
        l3_peer_router="string",
        l3_peer_router_syslog_interval=0,
        l3_peer_router_syslog="string",
        device="string",
        auto_recovery="string",
        dscp=0,
        fast_convergence="string",
        admin_state="string",
        delay_restore_orphan_port=0,
        auto_recovery_interval=0,
        delay_restore_svi=0,
        peer_gateway="string",
        peer_ip="string",
        peer_switch="string",
        role_priority=0,
        sys_mac="string",
        system_priority=0,
        track=0,
        virtual_ip="string")
    
    const vpcDomainResource = new nxos.VpcDomain("vpcDomainResource", {
        domainId: 0,
        gracefulConsistencyCheck: "string",
        delayRestoreVpc: 0,
        l3PeerRouter: "string",
        l3PeerRouterSyslogInterval: 0,
        l3PeerRouterSyslog: "string",
        device: "string",
        autoRecovery: "string",
        dscp: 0,
        fastConvergence: "string",
        adminState: "string",
        delayRestoreOrphanPort: 0,
        autoRecoveryInterval: 0,
        delayRestoreSvi: 0,
        peerGateway: "string",
        peerIp: "string",
        peerSwitch: "string",
        rolePriority: 0,
        sysMac: "string",
        systemPriority: 0,
        track: 0,
        virtualIp: "string",
    });
    
    type: nxos:VpcDomain
    properties:
        adminState: string
        autoRecovery: string
        autoRecoveryInterval: 0
        delayRestoreOrphanPort: 0
        delayRestoreSvi: 0
        delayRestoreVpc: 0
        device: string
        domainId: 0
        dscp: 0
        fastConvergence: string
        gracefulConsistencyCheck: string
        l3PeerRouter: string
        l3PeerRouterSyslog: string
        l3PeerRouterSyslogInterval: 0
        peerGateway: string
        peerIp: string
        peerSwitch: string
        rolePriority: 0
        sysMac: string
        systemPriority: 0
        track: 0
        virtualIp: string
    

    VpcDomain Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The VpcDomain resource accepts the following input properties:

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcDomain resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VpcDomain Resource

    Get an existing VpcDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VpcDomainState, opts?: CustomResourceOptions): VpcDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_state: Optional[str] = None,
            auto_recovery: Optional[str] = None,
            auto_recovery_interval: Optional[int] = None,
            delay_restore_orphan_port: Optional[int] = None,
            delay_restore_svi: Optional[int] = None,
            delay_restore_vpc: Optional[int] = None,
            device: Optional[str] = None,
            domain_id: Optional[int] = None,
            dscp: Optional[int] = None,
            fast_convergence: Optional[str] = None,
            graceful_consistency_check: Optional[str] = None,
            l3_peer_router: Optional[str] = None,
            l3_peer_router_syslog: Optional[str] = None,
            l3_peer_router_syslog_interval: Optional[int] = None,
            peer_gateway: Optional[str] = None,
            peer_ip: Optional[str] = None,
            peer_switch: Optional[str] = None,
            role_priority: Optional[int] = None,
            sys_mac: Optional[str] = None,
            system_priority: Optional[int] = None,
            track: Optional[int] = None,
            virtual_ip: Optional[str] = None) -> VpcDomain
    func GetVpcDomain(ctx *Context, name string, id IDInput, state *VpcDomainState, opts ...ResourceOption) (*VpcDomain, error)
    public static VpcDomain Get(string name, Input<string> id, VpcDomainState? state, CustomResourceOptions? opts = null)
    public static VpcDomain get(String name, Output<String> id, VpcDomainState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdminState string
    vPC suspend locally. - Choices: enabled, disabled - Default value: enabled
    AutoRecovery string
    Auto Recovery. - Choices: enabled, disabled - Default value: disabled
    AutoRecoveryInterval int
    Auto Recovery interval. - Range: 60-3600 - Default value: 240
    DelayRestoreOrphanPort int
    Delay restore for orphan ports. - Range: 0-300 - Default value: 0
    DelayRestoreSvi int
    Delay restore for SVI. - Range: 1-3600 - Default value: 10
    DelayRestoreVpc int
    Delay restore for vPC links. - Range: 1-3600 - Default value: 30
    Device string
    A device name from the provider configuration.
    DomainId int
    Domain id. - Range: 1-1000
    Dscp int
    DSCP. - Range: 0-63 - Default value: 0
    FastConvergence string
    Fast Convergence. - Choices: enabled, disabled - Default value: disabled
    GracefulConsistencyCheck string
    Graceful Type-1 Consistency Check. - Choices: enabled, disabled - Default value: enabled
    L3PeerRouter string
    L3 Peer Router. - Choices: enabled, disabled - Default value: disabled
    L3PeerRouterSyslog string
    L3 Peer Router Syslog. - Choices: enabled, disabled - Default value: disabled
    L3PeerRouterSyslogInterval int
    L3 Peer Router Syslog Interval. - Range: 1-3600 - Default value: 3600
    PeerGateway string
    Peer Gateway. - Choices: enabled, disabled - Default value: disabled
    PeerIp string
    vPC peer IP address.
    PeerSwitch string
    vPC pair switches. - Choices: enabled, disabled - Default value: disabled
    RolePriority int
    Role priority. - Range: 1-65535 - Default value: 32667
    SysMac string
    System MAC.
    SystemPriority int
    System priority. - Range: 1-65535 - Default value: 32667
    Track int
    Tracking object to suspend vPC if object goes down. - Range: 0-500 - Default value: 0
    VirtualIp string
    vPC virtual IP address (vIP).
    AdminState string
    vPC suspend locally. - Choices: enabled, disabled - Default value: enabled
    AutoRecovery string
    Auto Recovery. - Choices: enabled, disabled - Default value: disabled
    AutoRecoveryInterval int
    Auto Recovery interval. - Range: 60-3600 - Default value: 240
    DelayRestoreOrphanPort int
    Delay restore for orphan ports. - Range: 0-300 - Default value: 0
    DelayRestoreSvi int
    Delay restore for SVI. - Range: 1-3600 - Default value: 10
    DelayRestoreVpc int
    Delay restore for vPC links. - Range: 1-3600 - Default value: 30
    Device string
    A device name from the provider configuration.
    DomainId int
    Domain id. - Range: 1-1000
    Dscp int
    DSCP. - Range: 0-63 - Default value: 0
    FastConvergence string
    Fast Convergence. - Choices: enabled, disabled - Default value: disabled
    GracefulConsistencyCheck string
    Graceful Type-1 Consistency Check. - Choices: enabled, disabled - Default value: enabled
    L3PeerRouter string
    L3 Peer Router. - Choices: enabled, disabled - Default value: disabled
    L3PeerRouterSyslog string
    L3 Peer Router Syslog. - Choices: enabled, disabled - Default value: disabled
    L3PeerRouterSyslogInterval int
    L3 Peer Router Syslog Interval. - Range: 1-3600 - Default value: 3600
    PeerGateway string
    Peer Gateway. - Choices: enabled, disabled - Default value: disabled
    PeerIp string
    vPC peer IP address.
    PeerSwitch string
    vPC pair switches. - Choices: enabled, disabled - Default value: disabled
    RolePriority int
    Role priority. - Range: 1-65535 - Default value: 32667
    SysMac string
    System MAC.
    SystemPriority int
    System priority. - Range: 1-65535 - Default value: 32667
    Track int
    Tracking object to suspend vPC if object goes down. - Range: 0-500 - Default value: 0
    VirtualIp string
    vPC virtual IP address (vIP).
    adminState String
    vPC suspend locally. - Choices: enabled, disabled - Default value: enabled
    autoRecovery String
    Auto Recovery. - Choices: enabled, disabled - Default value: disabled
    autoRecoveryInterval Integer
    Auto Recovery interval. - Range: 60-3600 - Default value: 240
    delayRestoreOrphanPort Integer
    Delay restore for orphan ports. - Range: 0-300 - Default value: 0
    delayRestoreSvi Integer
    Delay restore for SVI. - Range: 1-3600 - Default value: 10
    delayRestoreVpc Integer
    Delay restore for vPC links. - Range: 1-3600 - Default value: 30
    device String
    A device name from the provider configuration.
    domainId Integer
    Domain id. - Range: 1-1000
    dscp Integer
    DSCP. - Range: 0-63 - Default value: 0
    fastConvergence String
    Fast Convergence. - Choices: enabled, disabled - Default value: disabled
    gracefulConsistencyCheck String
    Graceful Type-1 Consistency Check. - Choices: enabled, disabled - Default value: enabled
    l3PeerRouter String
    L3 Peer Router. - Choices: enabled, disabled - Default value: disabled
    l3PeerRouterSyslog String
    L3 Peer Router Syslog. - Choices: enabled, disabled - Default value: disabled
    l3PeerRouterSyslogInterval Integer
    L3 Peer Router Syslog Interval. - Range: 1-3600 - Default value: 3600
    peerGateway String
    Peer Gateway. - Choices: enabled, disabled - Default value: disabled
    peerIp String
    vPC peer IP address.
    peerSwitch String
    vPC pair switches. - Choices: enabled, disabled - Default value: disabled
    rolePriority Integer
    Role priority. - Range: 1-65535 - Default value: 32667
    sysMac String
    System MAC.
    systemPriority Integer
    System priority. - Range: 1-65535 - Default value: 32667
    track Integer
    Tracking object to suspend vPC if object goes down. - Range: 0-500 - Default value: 0
    virtualIp String
    vPC virtual IP address (vIP).
    adminState string
    vPC suspend locally. - Choices: enabled, disabled - Default value: enabled
    autoRecovery string
    Auto Recovery. - Choices: enabled, disabled - Default value: disabled
    autoRecoveryInterval number
    Auto Recovery interval. - Range: 60-3600 - Default value: 240
    delayRestoreOrphanPort number
    Delay restore for orphan ports. - Range: 0-300 - Default value: 0
    delayRestoreSvi number
    Delay restore for SVI. - Range: 1-3600 - Default value: 10
    delayRestoreVpc number
    Delay restore for vPC links. - Range: 1-3600 - Default value: 30
    device string
    A device name from the provider configuration.
    domainId number
    Domain id. - Range: 1-1000
    dscp number
    DSCP. - Range: 0-63 - Default value: 0
    fastConvergence string
    Fast Convergence. - Choices: enabled, disabled - Default value: disabled
    gracefulConsistencyCheck string
    Graceful Type-1 Consistency Check. - Choices: enabled, disabled - Default value: enabled
    l3PeerRouter string
    L3 Peer Router. - Choices: enabled, disabled - Default value: disabled
    l3PeerRouterSyslog string
    L3 Peer Router Syslog. - Choices: enabled, disabled - Default value: disabled
    l3PeerRouterSyslogInterval number
    L3 Peer Router Syslog Interval. - Range: 1-3600 - Default value: 3600
    peerGateway string
    Peer Gateway. - Choices: enabled, disabled - Default value: disabled
    peerIp string
    vPC peer IP address.
    peerSwitch string
    vPC pair switches. - Choices: enabled, disabled - Default value: disabled
    rolePriority number
    Role priority. - Range: 1-65535 - Default value: 32667
    sysMac string
    System MAC.
    systemPriority number
    System priority. - Range: 1-65535 - Default value: 32667
    track number
    Tracking object to suspend vPC if object goes down. - Range: 0-500 - Default value: 0
    virtualIp string
    vPC virtual IP address (vIP).
    admin_state str
    vPC suspend locally. - Choices: enabled, disabled - Default value: enabled
    auto_recovery str
    Auto Recovery. - Choices: enabled, disabled - Default value: disabled
    auto_recovery_interval int
    Auto Recovery interval. - Range: 60-3600 - Default value: 240
    delay_restore_orphan_port int
    Delay restore for orphan ports. - Range: 0-300 - Default value: 0
    delay_restore_svi int
    Delay restore for SVI. - Range: 1-3600 - Default value: 10
    delay_restore_vpc int
    Delay restore for vPC links. - Range: 1-3600 - Default value: 30
    device str
    A device name from the provider configuration.
    domain_id int
    Domain id. - Range: 1-1000
    dscp int
    DSCP. - Range: 0-63 - Default value: 0
    fast_convergence str
    Fast Convergence. - Choices: enabled, disabled - Default value: disabled
    graceful_consistency_check str
    Graceful Type-1 Consistency Check. - Choices: enabled, disabled - Default value: enabled
    l3_peer_router str
    L3 Peer Router. - Choices: enabled, disabled - Default value: disabled
    l3_peer_router_syslog str
    L3 Peer Router Syslog. - Choices: enabled, disabled - Default value: disabled
    l3_peer_router_syslog_interval int
    L3 Peer Router Syslog Interval. - Range: 1-3600 - Default value: 3600
    peer_gateway str
    Peer Gateway. - Choices: enabled, disabled - Default value: disabled
    peer_ip str
    vPC peer IP address.
    peer_switch str
    vPC pair switches. - Choices: enabled, disabled - Default value: disabled
    role_priority int
    Role priority. - Range: 1-65535 - Default value: 32667
    sys_mac str
    System MAC.
    system_priority int
    System priority. - Range: 1-65535 - Default value: 32667
    track int
    Tracking object to suspend vPC if object goes down. - Range: 0-500 - Default value: 0
    virtual_ip str
    vPC virtual IP address (vIP).
    adminState String
    vPC suspend locally. - Choices: enabled, disabled - Default value: enabled
    autoRecovery String
    Auto Recovery. - Choices: enabled, disabled - Default value: disabled
    autoRecoveryInterval Number
    Auto Recovery interval. - Range: 60-3600 - Default value: 240
    delayRestoreOrphanPort Number
    Delay restore for orphan ports. - Range: 0-300 - Default value: 0
    delayRestoreSvi Number
    Delay restore for SVI. - Range: 1-3600 - Default value: 10
    delayRestoreVpc Number
    Delay restore for vPC links. - Range: 1-3600 - Default value: 30
    device String
    A device name from the provider configuration.
    domainId Number
    Domain id. - Range: 1-1000
    dscp Number
    DSCP. - Range: 0-63 - Default value: 0
    fastConvergence String
    Fast Convergence. - Choices: enabled, disabled - Default value: disabled
    gracefulConsistencyCheck String
    Graceful Type-1 Consistency Check. - Choices: enabled, disabled - Default value: enabled
    l3PeerRouter String
    L3 Peer Router. - Choices: enabled, disabled - Default value: disabled
    l3PeerRouterSyslog String
    L3 Peer Router Syslog. - Choices: enabled, disabled - Default value: disabled
    l3PeerRouterSyslogInterval Number
    L3 Peer Router Syslog Interval. - Range: 1-3600 - Default value: 3600
    peerGateway String
    Peer Gateway. - Choices: enabled, disabled - Default value: disabled
    peerIp String
    vPC peer IP address.
    peerSwitch String
    vPC pair switches. - Choices: enabled, disabled - Default value: disabled
    rolePriority Number
    Role priority. - Range: 1-65535 - Default value: 32667
    sysMac String
    System MAC.
    systemPriority Number
    System priority. - Range: 1-65535 - Default value: 32667
    track Number
    Tracking object to suspend vPC if object goes down. - Range: 0-500 - Default value: 0
    virtualIp String
    vPC virtual IP address (vIP).

    Import

     $ pulumi import nxos:index/vpcDomain:VpcDomain example "sys/vpc/inst/dom"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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