nxos.VpcDomain
Explore with Pulumi AI
This resource can manage the vPC domain configuration.
- API Documentation: vpcDom
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcDomain resource accepts the following input properties:
- Domain
Id int - Domain id. - Range:
1
-1000
- Admin
State string - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- Auto
Recovery string - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- Auto
Recovery intInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- Delay
Restore intOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- Delay
Restore intSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- Delay
Restore intVpc - 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
- Fast
Convergence string - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- Graceful
Consistency stringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- L3Peer
Router string - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- L3Peer
Router stringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- L3Peer
Router intSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- Peer
Gateway string - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- Peer
Ip string - vPC peer IP address.
- Peer
Switch string - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- Role
Priority int - Role priority. - Range:
1
-65535
- Default value:32667
- Sys
Mac string - 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 string - vPC virtual IP address (vIP).
- Domain
Id int - Domain id. - Range:
1
-1000
- Admin
State string - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- Auto
Recovery string - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- Auto
Recovery intInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- Delay
Restore intOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- Delay
Restore intSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- Delay
Restore intVpc - 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
- Fast
Convergence string - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- Graceful
Consistency stringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- L3Peer
Router string - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- L3Peer
Router stringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- L3Peer
Router intSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- Peer
Gateway string - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- Peer
Ip string - vPC peer IP address.
- Peer
Switch string - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- Role
Priority int - Role priority. - Range:
1
-65535
- Default value:32667
- Sys
Mac string - 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 string - vPC virtual IP address (vIP).
- domain
Id Integer - Domain id. - Range:
1
-1000
- admin
State String - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- auto
Recovery String - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- auto
Recovery IntegerInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- delay
Restore IntegerOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- delay
Restore IntegerSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- delay
Restore IntegerVpc - 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
- fast
Convergence String - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- graceful
Consistency StringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- l3Peer
Router String - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router StringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router IntegerSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- peer
Gateway String - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- peer
Ip String - vPC peer IP address.
- peer
Switch String - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- role
Priority Integer - Role priority. - Range:
1
-65535
- Default value:32667
- sys
Mac String - System MAC.
- system
Priority 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
- virtual
Ip String - vPC virtual IP address (vIP).
- domain
Id number - Domain id. - Range:
1
-1000
- admin
State string - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- auto
Recovery string - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- auto
Recovery numberInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- delay
Restore numberOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- delay
Restore numberSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- delay
Restore numberVpc - 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
- fast
Convergence string - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- graceful
Consistency stringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- l3Peer
Router string - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router stringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router numberSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- peer
Gateway string - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- peer
Ip string - vPC peer IP address.
- peer
Switch string - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- role
Priority number - Role priority. - Range:
1
-65535
- Default value:32667
- sys
Mac string - System MAC.
- system
Priority 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
- virtual
Ip 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_ intinterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- delay_
restore_ intorphan_ port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- delay_
restore_ intsvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- delay_
restore_ intvpc - 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_ strcheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- l3_
peer_ strrouter - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- l3_
peer_ strrouter_ syslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- l3_
peer_ introuter_ syslog_ interval - 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).
- domain
Id Number - Domain id. - Range:
1
-1000
- admin
State String - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- auto
Recovery String - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- auto
Recovery NumberInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- delay
Restore NumberOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- delay
Restore NumberSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- delay
Restore NumberVpc - 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
- fast
Convergence String - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- graceful
Consistency StringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- l3Peer
Router String - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router StringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router NumberSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- peer
Gateway String - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- peer
Ip String - vPC peer IP address.
- peer
Switch String - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- role
Priority Number - Role priority. - Range:
1
-65535
- Default value:32667
- sys
Mac String - System MAC.
- system
Priority 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
- virtual
Ip 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.
- Admin
State string - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- Auto
Recovery string - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- Auto
Recovery intInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- Delay
Restore intOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- Delay
Restore intSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- Delay
Restore intVpc - Delay restore for vPC links. - Range:
1
-3600
- Default value:30
- Device string
- 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 string - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- Graceful
Consistency stringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- L3Peer
Router string - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- L3Peer
Router stringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- L3Peer
Router intSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- Peer
Gateway string - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- Peer
Ip string - vPC peer IP address.
- Peer
Switch string - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- Role
Priority int - Role priority. - Range:
1
-65535
- Default value:32667
- Sys
Mac string - 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 string - vPC virtual IP address (vIP).
- Admin
State string - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- Auto
Recovery string - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- Auto
Recovery intInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- Delay
Restore intOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- Delay
Restore intSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- Delay
Restore intVpc - Delay restore for vPC links. - Range:
1
-3600
- Default value:30
- Device string
- 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 string - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- Graceful
Consistency stringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- L3Peer
Router string - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- L3Peer
Router stringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- L3Peer
Router intSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- Peer
Gateway string - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- Peer
Ip string - vPC peer IP address.
- Peer
Switch string - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- Role
Priority int - Role priority. - Range:
1
-65535
- Default value:32667
- Sys
Mac string - 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 string - vPC virtual IP address (vIP).
- admin
State String - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- auto
Recovery String - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- auto
Recovery IntegerInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- delay
Restore IntegerOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- delay
Restore IntegerSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- delay
Restore IntegerVpc - Delay restore for vPC links. - Range:
1
-3600
- Default value:30
- device String
- A device name from the provider configuration.
- domain
Id Integer - Domain id. - Range:
1
-1000
- dscp Integer
- DSCP. - Range:
0
-63
- Default value:0
- fast
Convergence String - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- graceful
Consistency StringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- l3Peer
Router String - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router StringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router IntegerSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- peer
Gateway String - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- peer
Ip String - vPC peer IP address.
- peer
Switch String - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- role
Priority Integer - Role priority. - Range:
1
-65535
- Default value:32667
- sys
Mac String - System MAC.
- system
Priority 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
- virtual
Ip String - vPC virtual IP address (vIP).
- admin
State string - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- auto
Recovery string - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- auto
Recovery numberInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- delay
Restore numberOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- delay
Restore numberSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- delay
Restore numberVpc - Delay restore for vPC links. - Range:
1
-3600
- Default value:30
- device string
- A device name from the provider configuration.
- domain
Id number - Domain id. - Range:
1
-1000
- dscp number
- DSCP. - Range:
0
-63
- Default value:0
- fast
Convergence string - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- graceful
Consistency stringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- l3Peer
Router string - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router stringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router numberSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- peer
Gateway string - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- peer
Ip string - vPC peer IP address.
- peer
Switch string - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- role
Priority number - Role priority. - Range:
1
-65535
- Default value:32667
- sys
Mac string - System MAC.
- system
Priority 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
- virtual
Ip 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_ intinterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- delay_
restore_ intorphan_ port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- delay_
restore_ intsvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- delay_
restore_ intvpc - 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_ strcheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- l3_
peer_ strrouter - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- l3_
peer_ strrouter_ syslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- l3_
peer_ introuter_ syslog_ interval - 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).
- admin
State String - vPC suspend locally. - Choices:
enabled
,disabled
- Default value:enabled
- auto
Recovery String - Auto Recovery. - Choices:
enabled
,disabled
- Default value:disabled
- auto
Recovery NumberInterval - Auto Recovery interval. - Range:
60
-3600
- Default value:240
- delay
Restore NumberOrphan Port - Delay restore for orphan ports. - Range:
0
-300
- Default value:0
- delay
Restore NumberSvi - Delay restore for SVI. - Range:
1
-3600
- Default value:10
- delay
Restore NumberVpc - Delay restore for vPC links. - Range:
1
-3600
- Default value:30
- device String
- A device name from the provider configuration.
- domain
Id Number - Domain id. - Range:
1
-1000
- dscp Number
- DSCP. - Range:
0
-63
- Default value:0
- fast
Convergence String - Fast Convergence. - Choices:
enabled
,disabled
- Default value:disabled
- graceful
Consistency StringCheck - Graceful Type-1 Consistency Check. - Choices:
enabled
,disabled
- Default value:enabled
- l3Peer
Router String - L3 Peer Router. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router StringSyslog - L3 Peer Router Syslog. - Choices:
enabled
,disabled
- Default value:disabled
- l3Peer
Router NumberSyslog Interval - L3 Peer Router Syslog Interval. - Range:
1
-3600
- Default value:3600
- peer
Gateway String - Peer Gateway. - Choices:
enabled
,disabled
- Default value:disabled
- peer
Ip String - vPC peer IP address.
- peer
Switch String - vPC pair switches. - Choices:
enabled
,disabled
- Default value:disabled
- role
Priority Number - Role priority. - Range:
1
-65535
- Default value:32667
- sys
Mac String - System MAC.
- system
Priority 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
- virtual
Ip 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.