vsphere.HostVirtualSwitch
Explore with Pulumi AI
Create HostVirtualSwitch Resource
new HostVirtualSwitch(name: string, args: HostVirtualSwitchArgs, opts?: CustomResourceOptions);
@overload
def HostVirtualSwitch(resource_name: str,
opts: Optional[ResourceOptions] = None,
active_nics: Optional[Sequence[str]] = None,
allow_forged_transmits: Optional[bool] = None,
allow_mac_changes: Optional[bool] = None,
allow_promiscuous: Optional[bool] = None,
beacon_interval: Optional[int] = None,
check_beacon: Optional[bool] = None,
failback: Optional[bool] = None,
host_system_id: Optional[str] = None,
link_discovery_operation: Optional[str] = None,
link_discovery_protocol: Optional[str] = None,
mtu: Optional[int] = None,
name: Optional[str] = None,
network_adapters: Optional[Sequence[str]] = None,
notify_switches: Optional[bool] = None,
number_of_ports: Optional[int] = None,
shaping_average_bandwidth: Optional[int] = None,
shaping_burst_size: Optional[int] = None,
shaping_enabled: Optional[bool] = None,
shaping_peak_bandwidth: Optional[int] = None,
standby_nics: Optional[Sequence[str]] = None,
teaming_policy: Optional[str] = None)
@overload
def HostVirtualSwitch(resource_name: str,
args: HostVirtualSwitchArgs,
opts: Optional[ResourceOptions] = None)
func NewHostVirtualSwitch(ctx *Context, name string, args HostVirtualSwitchArgs, opts ...ResourceOption) (*HostVirtualSwitch, error)
public HostVirtualSwitch(string name, HostVirtualSwitchArgs args, CustomResourceOptions? opts = null)
public HostVirtualSwitch(String name, HostVirtualSwitchArgs args)
public HostVirtualSwitch(String name, HostVirtualSwitchArgs args, CustomResourceOptions options)
type: vsphere:HostVirtualSwitch
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HostVirtualSwitchArgs
- 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 HostVirtualSwitchArgs
- 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 HostVirtualSwitchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HostVirtualSwitchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HostVirtualSwitchArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
HostVirtualSwitch 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 HostVirtualSwitch resource accepts the following input properties:
- Active
Nics List<string> The list of active network adapters used for load balancing.
- Host
System stringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- Network
Adapters List<string> The network interfaces to bind to the bridge.
- Allow
Forged boolTransmits 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
.- Allow
Mac boolChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- Allow
Promiscuous bool Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- Beacon
Interval int 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
.- Check
Beacon bool Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- Failback bool
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- Link
Discovery stringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- Link
Discovery stringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- Mtu int
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- Name string
The name of the virtual switch. Forces a new resource if changed.
- Notify
Switches bool If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- Number
Of intPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- Shaping
Average intBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- Shaping
Burst intSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- Shaping
Enabled bool Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- Shaping
Peak intBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- Standby
Nics List<string> The list of standby network adapters used for failover.
- Teaming
Policy string The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- Active
Nics []string The list of active network adapters used for load balancing.
- Host
System stringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- Network
Adapters []string The network interfaces to bind to the bridge.
- Allow
Forged boolTransmits 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
.- Allow
Mac boolChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- Allow
Promiscuous bool Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- Beacon
Interval int 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
.- Check
Beacon bool Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- Failback bool
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- Link
Discovery stringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- Link
Discovery stringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- Mtu int
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- Name string
The name of the virtual switch. Forces a new resource if changed.
- Notify
Switches bool If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- Number
Of intPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- Shaping
Average intBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- Shaping
Burst intSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- Shaping
Enabled bool Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- Shaping
Peak intBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- Standby
Nics []string The list of standby network adapters used for failover.
- Teaming
Policy string The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- active
Nics List<String> The list of active network adapters used for load balancing.
- host
System StringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- network
Adapters List<String> The network interfaces to bind to the bridge.
- allow
Forged BooleanTransmits 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
.- allow
Mac BooleanChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- allow
Promiscuous Boolean Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- beacon
Interval Integer 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
.- check
Beacon Boolean Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- failback Boolean
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- link
Discovery StringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- link
Discovery StringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- mtu Integer
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- name String
The name of the virtual switch. Forces a new resource if changed.
- notify
Switches Boolean If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- number
Of IntegerPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- shaping
Average IntegerBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- shaping
Burst IntegerSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- shaping
Enabled Boolean Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- shaping
Peak IntegerBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- standby
Nics List<String> The list of standby network adapters used for failover.
- teaming
Policy String The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- active
Nics string[] The list of active network adapters used for load balancing.
- host
System stringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- network
Adapters string[] The network interfaces to bind to the bridge.
- allow
Forged booleanTransmits 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
.- allow
Mac booleanChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- allow
Promiscuous boolean Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- beacon
Interval number 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
.- check
Beacon boolean Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- failback boolean
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- link
Discovery stringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- link
Discovery stringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- mtu number
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- name string
The name of the virtual switch. Forces a new resource if changed.
- notify
Switches boolean If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- number
Of numberPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- shaping
Average numberBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- shaping
Burst numberSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- shaping
Enabled boolean Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- shaping
Peak numberBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- standby
Nics string[] The list of standby network adapters used for failover.
- teaming
Policy string The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- active_
nics Sequence[str] The list of active network adapters used for load balancing.
- host_
system_ strid The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- network_
adapters Sequence[str] The network interfaces to bind to the bridge.
- allow_
forged_ booltransmits 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
.- allow_
mac_ boolchanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- allow_
promiscuous bool Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- beacon_
interval int 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
.- check_
beacon bool Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- failback bool
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- link_
discovery_ stroperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- link_
discovery_ strprotocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- mtu int
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- name str
The name of the virtual switch. Forces a new resource if changed.
- notify_
switches bool If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- number_
of_ intports The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- shaping_
average_ intbandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- shaping_
burst_ intsize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- shaping_
enabled bool Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- shaping_
peak_ intbandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- standby_
nics Sequence[str] The list of standby network adapters used for failover.
- teaming_
policy str The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- active
Nics List<String> The list of active network adapters used for load balancing.
- host
System StringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- network
Adapters List<String> The network interfaces to bind to the bridge.
- allow
Forged BooleanTransmits 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
.- allow
Mac BooleanChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- allow
Promiscuous Boolean Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- beacon
Interval Number 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
.- check
Beacon Boolean Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- failback Boolean
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- link
Discovery StringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- link
Discovery StringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- mtu Number
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- name String
The name of the virtual switch. Forces a new resource if changed.
- notify
Switches Boolean If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- number
Of NumberPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- shaping
Average NumberBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- shaping
Burst NumberSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- shaping
Enabled Boolean Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- shaping
Peak NumberBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- standby
Nics List<String> The list of standby network adapters used for failover.
- teaming
Policy String The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
Outputs
All input properties are implicitly available as output properties. Additionally, the HostVirtualSwitch 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 HostVirtualSwitch Resource
Get an existing HostVirtualSwitch 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?: HostVirtualSwitchState, opts?: CustomResourceOptions): HostVirtualSwitch
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_nics: Optional[Sequence[str]] = None,
allow_forged_transmits: Optional[bool] = None,
allow_mac_changes: Optional[bool] = None,
allow_promiscuous: Optional[bool] = None,
beacon_interval: Optional[int] = None,
check_beacon: Optional[bool] = None,
failback: Optional[bool] = None,
host_system_id: Optional[str] = None,
link_discovery_operation: Optional[str] = None,
link_discovery_protocol: Optional[str] = None,
mtu: Optional[int] = None,
name: Optional[str] = None,
network_adapters: Optional[Sequence[str]] = None,
notify_switches: Optional[bool] = None,
number_of_ports: Optional[int] = None,
shaping_average_bandwidth: Optional[int] = None,
shaping_burst_size: Optional[int] = None,
shaping_enabled: Optional[bool] = None,
shaping_peak_bandwidth: Optional[int] = None,
standby_nics: Optional[Sequence[str]] = None,
teaming_policy: Optional[str] = None) -> HostVirtualSwitch
func GetHostVirtualSwitch(ctx *Context, name string, id IDInput, state *HostVirtualSwitchState, opts ...ResourceOption) (*HostVirtualSwitch, error)
public static HostVirtualSwitch Get(string name, Input<string> id, HostVirtualSwitchState? state, CustomResourceOptions? opts = null)
public static HostVirtualSwitch get(String name, Output<String> id, HostVirtualSwitchState 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.
- Active
Nics List<string> The list of active network adapters used for load balancing.
- Allow
Forged boolTransmits 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
.- Allow
Mac boolChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- Allow
Promiscuous bool Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- Beacon
Interval int 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
.- Check
Beacon bool Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- Failback bool
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- Host
System stringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- Link
Discovery stringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- Link
Discovery stringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- Mtu int
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- Name string
The name of the virtual switch. Forces a new resource if changed.
- Network
Adapters List<string> The network interfaces to bind to the bridge.
- Notify
Switches bool If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- Number
Of intPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- Shaping
Average intBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- Shaping
Burst intSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- Shaping
Enabled bool Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- Shaping
Peak intBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- Standby
Nics List<string> The list of standby network adapters used for failover.
- Teaming
Policy string The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- Active
Nics []string The list of active network adapters used for load balancing.
- Allow
Forged boolTransmits 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
.- Allow
Mac boolChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- Allow
Promiscuous bool Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- Beacon
Interval int 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
.- Check
Beacon bool Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- Failback bool
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- Host
System stringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- Link
Discovery stringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- Link
Discovery stringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- Mtu int
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- Name string
The name of the virtual switch. Forces a new resource if changed.
- Network
Adapters []string The network interfaces to bind to the bridge.
- Notify
Switches bool If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- Number
Of intPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- Shaping
Average intBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- Shaping
Burst intSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- Shaping
Enabled bool Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- Shaping
Peak intBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- Standby
Nics []string The list of standby network adapters used for failover.
- Teaming
Policy string The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- active
Nics List<String> The list of active network adapters used for load balancing.
- allow
Forged BooleanTransmits 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
.- allow
Mac BooleanChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- allow
Promiscuous Boolean Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- beacon
Interval Integer 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
.- check
Beacon Boolean Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- failback Boolean
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- host
System StringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- link
Discovery StringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- link
Discovery StringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- mtu Integer
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- name String
The name of the virtual switch. Forces a new resource if changed.
- network
Adapters List<String> The network interfaces to bind to the bridge.
- notify
Switches Boolean If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- number
Of IntegerPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- shaping
Average IntegerBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- shaping
Burst IntegerSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- shaping
Enabled Boolean Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- shaping
Peak IntegerBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- standby
Nics List<String> The list of standby network adapters used for failover.
- teaming
Policy String The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- active
Nics string[] The list of active network adapters used for load balancing.
- allow
Forged booleanTransmits 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
.- allow
Mac booleanChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- allow
Promiscuous boolean Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- beacon
Interval number 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
.- check
Beacon boolean Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- failback boolean
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- host
System stringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- link
Discovery stringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- link
Discovery stringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- mtu number
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- name string
The name of the virtual switch. Forces a new resource if changed.
- network
Adapters string[] The network interfaces to bind to the bridge.
- notify
Switches boolean If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- number
Of numberPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- shaping
Average numberBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- shaping
Burst numberSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- shaping
Enabled boolean Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- shaping
Peak numberBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- standby
Nics string[] The list of standby network adapters used for failover.
- teaming
Policy string The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- active_
nics Sequence[str] The list of active network adapters used for load balancing.
- allow_
forged_ booltransmits 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
.- allow_
mac_ boolchanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- allow_
promiscuous bool Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- beacon_
interval int 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
.- check_
beacon bool Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- failback bool
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- host_
system_ strid The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- link_
discovery_ stroperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- link_
discovery_ strprotocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- mtu int
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- name str
The name of the virtual switch. Forces a new resource if changed.
- network_
adapters Sequence[str] The network interfaces to bind to the bridge.
- notify_
switches bool If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- number_
of_ intports The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- shaping_
average_ intbandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- shaping_
burst_ intsize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- shaping_
enabled bool Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- shaping_
peak_ intbandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- standby_
nics Sequence[str] The list of standby network adapters used for failover.
- teaming_
policy str The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
- active
Nics List<String> The list of active network adapters used for load balancing.
- allow
Forged BooleanTransmits 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
.- allow
Mac BooleanChanges Controls whether or not the Media Access Control (MAC) address can be changed. Default:
true
.- allow
Promiscuous Boolean Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port. Default:
false
.- beacon
Interval Number 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
.- check
Beacon Boolean Enable beacon probing - this requires that the
beacon_interval
option has been set in the bridge options. If this is set tofalse
, only link status is used to check for failed NICs. Default:false
.- failback Boolean
If set to
true
, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. Default:true
.- host
System StringId The managed object ID of the host to set the virtual switch up on. Forces a new resource if changed.
- link
Discovery StringOperation Whether to
advertise
orlisten
for link discovery traffic. Default:listen
.- link
Discovery StringProtocol The discovery protocol type. Valid types are
cpd
andlldp
. Default:cdp
.- mtu Number
The maximum transmission unit (MTU) for the virtual switch. Default:
1500
.- name String
The name of the virtual switch. Forces a new resource if changed.
- network
Adapters List<String> The network interfaces to bind to the bridge.
- notify
Switches Boolean If set to
true
, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. Default:true
.- number
Of NumberPorts The number of ports to create with this virtual switch. Default:
128
.NOTE: Changing the port count requires a reboot of the host. This provider will not restart the host for you.
- shaping
Average NumberBandwidth The average bandwidth in bits per second if traffic shaping is enabled. Default:
0
- shaping
Burst NumberSize The maximum burst size allowed in bytes if shaping is enabled. Default:
0
- shaping
Enabled Boolean Set to
true
to enable the traffic shaper for ports managed by this virtual switch. Default:false
.- shaping
Peak NumberBandwidth The peak bandwidth during bursts in bits per second if traffic shaping is enabled. Default:
0
- standby
Nics List<String> The list of standby network adapters used for failover.
- teaming
Policy String The network adapter teaming policy. Can be one of
loadbalance_ip
,loadbalance_srcmac
,loadbalance_srcid
, orfailover_explicit
. Default:loadbalance_srcid
.
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
vsphere
Terraform Provider.