Class HostVirtualSwitchState
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class HostVirtualSwitchState : ResourceArgs
Constructors
View SourceHostVirtualSwitchState()
Declaration
public HostVirtualSwitchState()
Properties
View SourceActiveNics
The list of active network adapters used for load balancing.
Declaration
public InputList<string> ActiveNics { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowForgedTransmits
Controls whether or not the virtual
network adapter is allowed to send network traffic with a different MAC
address than that of its own. Default: true.
Declaration
public Input<bool> AllowForgedTransmits { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AllowMacChanges
Controls whether or not the Media Access
Control (MAC) address can be changed. Default: true.
Declaration
public Input<bool> AllowMacChanges { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AllowPromiscuous
Enable promiscuous mode on the network. This
flag indicates whether or not all traffic is seen on a given port. Default:
false.
Declaration
public Input<bool> AllowPromiscuous { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
BeaconInterval
The interval, in seconds, that a NIC beacon
packet is sent out. This can be used with check_beacon to
offer link failure capability beyond link status only. Default: 1.
Declaration
public Input<int> BeaconInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
CheckBeacon
Enable beacon probing - this requires that the
beacon_interval option has been set in the bridge
options. If this is set to false, only link status is used to check for
failed NICs. Default: false.
Declaration
public Input<bool> CheckBeacon { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Failback
If set to true, the teaming policy will re-activate
failed interfaces higher in precedence when they come back up. Default:
true.
Declaration
public Input<bool> Failback { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
HostSystemId
The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
Declaration
public Input<string> HostSystemId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LinkDiscoveryOperation
Whether to advertise or listen
for link discovery traffic. Default: listen.
Declaration
public Input<string> LinkDiscoveryOperation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LinkDiscoveryProtocol
The discovery protocol type. Valid
types are cpd and lldp. Default: cdp.
Declaration
public Input<string> LinkDiscoveryProtocol { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Mtu
The maximum transmission unit (MTU) for the virtual
switch. Default: 1500.
Declaration
public Input<int> Mtu { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
The name of the virtual switch. Forces a new resource if changed.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NetworkAdapters
The network interfaces to bind to the bridge.
Declaration
public InputList<string> NetworkAdapters { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
NotifySwitches
If set to true, the teaming policy will
notify the broadcast network of a NIC failover, triggering cache updates.
Default: true.
Declaration
public Input<bool> NotifySwitches { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
NumberOfPorts
The number of ports to create with this
virtual switch. Default: 128.
Declaration
public Input<int> NumberOfPorts { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ShapingAverageBandwidth
The average bandwidth in bits per
second if traffic shaping is enabled. Default: 0
Declaration
public Input<int> ShapingAverageBandwidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ShapingBurstSize
The maximum burst size allowed in bytes if
shaping is enabled. Default: 0
Declaration
public Input<int> ShapingBurstSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ShapingEnabled
Set to true to enable the traffic shaper for
ports managed by this virtual switch. Default: false.
Declaration
public Input<bool> ShapingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ShapingPeakBandwidth
The peak bandwidth during bursts in
bits per second if traffic shaping is enabled. Default: 0
Declaration
public Input<int> ShapingPeakBandwidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
StandbyNics
The list of standby network adapters used for failover.
Declaration
public InputList<string> StandbyNics { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TeamingPolicy
The network adapter teaming policy. Can be one
of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
failover_explicit. Default: loadbalance_srcid.
Declaration
public Input<string> TeamingPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |