Represents a {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch vsphere_host_virtual_switch}.
using HashiCorp.Cdktf.Providers.Vsphere;
new HostVirtualSwitch(Construct Scope, string Id, HostVirtualSwitchConfig Config);
Name | Type | Description |
---|---|---|
Scope |
Constructs.Construct |
The scope in which to define this construct. |
Id |
string |
The scoped construct ID. |
Config |
HostVirtualSwitchConfig |
No description. |
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: HostVirtualSwitchConfig
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
No description. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
AddMoveTarget |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
GetAnyMapAttribute |
No description. |
GetBooleanAttribute |
No description. |
GetBooleanMapAttribute |
No description. |
GetListAttribute |
No description. |
GetNumberAttribute |
No description. |
GetNumberListAttribute |
No description. |
GetNumberMapAttribute |
No description. |
GetStringAttribute |
No description. |
GetStringMapAttribute |
No description. |
HasResourceMove |
No description. |
ImportFrom |
No description. |
InterpolationForAttribute |
No description. |
MoveFromId |
Move the resource corresponding to "id" to this resource. |
MoveTo |
Moves this resource to the target resource given by moveTarget. |
MoveToId |
Moves this resource to the resource corresponding to "id". |
ResetAllowForgedTransmits |
No description. |
ResetAllowMacChanges |
No description. |
ResetAllowPromiscuous |
No description. |
ResetBeaconInterval |
No description. |
ResetCheckBeacon |
No description. |
ResetFailback |
No description. |
ResetId |
No description. |
ResetLinkDiscoveryOperation |
No description. |
ResetLinkDiscoveryProtocol |
No description. |
ResetMtu |
No description. |
ResetNotifySwitches |
No description. |
ResetNumberOfPorts |
No description. |
ResetShapingAverageBandwidth |
No description. |
ResetShapingBurstSize |
No description. |
ResetShapingEnabled |
No description. |
ResetShapingPeakBandwidth |
No description. |
ResetStandbyNics |
No description. |
ResetTeamingPolicy |
No description. |
private string ToString()
Returns a string representation of this construct.
private void AddOverride(string Path, object Value)
- Type: string
- Type: object
private void OverrideLogicalId(string NewLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
private void ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
private object ToHclTerraform()
private object ToMetadata()
private object ToTerraform()
Adds this resource to the terraform JSON output.
private void AddMoveTarget(string MoveTarget)
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: string
The string move target that will correspond to this resource.
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private object HasResourceMove()
private void ImportFrom(string Id, TerraformProvider Provider = null)
- Type: string
- Type: HashiCorp.Cdktf.TerraformProvider
private IResolvable InterpolationForAttribute(string TerraformAttribute)
- Type: string
private void MoveFromId(string Id)
Move the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
private void MoveTo(string MoveTarget, object Index = null)
Moves this resource to the target resource given by moveTarget.
- Type: string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: object
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
private void MoveToId(string Id)
Moves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
private void ResetAllowForgedTransmits()
private void ResetAllowMacChanges()
private void ResetAllowPromiscuous()
private void ResetBeaconInterval()
private void ResetCheckBeacon()
private void ResetFailback()
private void ResetId()
private void ResetLinkDiscoveryOperation()
private void ResetLinkDiscoveryProtocol()
private void ResetMtu()
private void ResetNotifySwitches()
private void ResetNumberOfPorts()
private void ResetShapingAverageBandwidth()
private void ResetShapingBurstSize()
private void ResetShapingEnabled()
private void ResetShapingPeakBandwidth()
private void ResetStandbyNics()
private void ResetTeamingPolicy()
Name | Description |
---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformResource |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a HostVirtualSwitch resource upon running "cdktf plan ". |
using HashiCorp.Cdktf.Providers.Vsphere;
HostVirtualSwitch.IsConstruct(object X);
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: object
Any object.
using HashiCorp.Cdktf.Providers.Vsphere;
HostVirtualSwitch.IsTerraformElement(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Vsphere;
HostVirtualSwitch.IsTerraformResource(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Vsphere;
HostVirtualSwitch.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);
Generates CDKTF code for importing a HostVirtualSwitch resource upon running "cdktf plan ".
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the HostVirtualSwitch to import.
- Type: string
The id of the existing HostVirtualSwitch that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#import import section} in the documentation of this resource for the id to use
- Type: HashiCorp.Cdktf.TerraformProvider
? Optional instance of the provider where the HostVirtualSwitch to import is found.
Name | Type | Description |
---|---|---|
Node |
Constructs.Node |
The tree node. |
CdktfStack |
HashiCorp.Cdktf.TerraformStack |
No description. |
Fqn |
string |
No description. |
FriendlyUniqueId |
string |
No description. |
TerraformMetaArguments |
System.Collections.Generic.IDictionary<string, object> |
No description. |
TerraformResourceType |
string |
No description. |
TerraformGeneratorMetadata |
HashiCorp.Cdktf.TerraformProviderGeneratorMetadata |
No description. |
Connection |
object |
No description. |
Count |
object |
No description. |
DependsOn |
string[] |
No description. |
ForEach |
HashiCorp.Cdktf.ITerraformIterator |
No description. |
Lifecycle |
HashiCorp.Cdktf.TerraformResourceLifecycle |
No description. |
Provider |
HashiCorp.Cdktf.TerraformProvider |
No description. |
Provisioners |
object[] |
No description. |
ActiveNicsInput |
string[] |
No description. |
AllowForgedTransmitsInput |
object |
No description. |
AllowMacChangesInput |
object |
No description. |
AllowPromiscuousInput |
object |
No description. |
BeaconIntervalInput |
double |
No description. |
CheckBeaconInput |
object |
No description. |
FailbackInput |
object |
No description. |
HostSystemIdInput |
string |
No description. |
IdInput |
string |
No description. |
LinkDiscoveryOperationInput |
string |
No description. |
LinkDiscoveryProtocolInput |
string |
No description. |
MtuInput |
double |
No description. |
NameInput |
string |
No description. |
NetworkAdaptersInput |
string[] |
No description. |
NotifySwitchesInput |
object |
No description. |
NumberOfPortsInput |
double |
No description. |
ShapingAverageBandwidthInput |
double |
No description. |
ShapingBurstSizeInput |
double |
No description. |
ShapingEnabledInput |
object |
No description. |
ShapingPeakBandwidthInput |
double |
No description. |
StandbyNicsInput |
string[] |
No description. |
TeamingPolicyInput |
string |
No description. |
ActiveNics |
string[] |
No description. |
AllowForgedTransmits |
object |
No description. |
AllowMacChanges |
object |
No description. |
AllowPromiscuous |
object |
No description. |
BeaconInterval |
double |
No description. |
CheckBeacon |
object |
No description. |
Failback |
object |
No description. |
HostSystemId |
string |
No description. |
Id |
string |
No description. |
LinkDiscoveryOperation |
string |
No description. |
LinkDiscoveryProtocol |
string |
No description. |
Mtu |
double |
No description. |
Name |
string |
No description. |
NetworkAdapters |
string[] |
No description. |
NotifySwitches |
object |
No description. |
NumberOfPorts |
double |
No description. |
ShapingAverageBandwidth |
double |
No description. |
ShapingBurstSize |
double |
No description. |
ShapingEnabled |
object |
No description. |
ShapingPeakBandwidth |
double |
No description. |
StandbyNics |
string[] |
No description. |
TeamingPolicy |
string |
No description. |
public Node Node { get; }
- Type: Constructs.Node
The tree node.
public TerraformStack CdktfStack { get; }
- Type: HashiCorp.Cdktf.TerraformStack
public string Fqn { get; }
- Type: string
public string FriendlyUniqueId { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
- Type: System.Collections.Generic.IDictionary<string, object>
public string TerraformResourceType { get; }
- Type: string
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
- Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata
public object Connection { get; }
- Type: object
public object Count { get; }
- Type: object
public string[] DependsOn { get; }
- Type: string[]
public ITerraformIterator ForEach { get; }
- Type: HashiCorp.Cdktf.ITerraformIterator
public TerraformResourceLifecycle Lifecycle { get; }
- Type: HashiCorp.Cdktf.TerraformResourceLifecycle
public TerraformProvider Provider { get; }
- Type: HashiCorp.Cdktf.TerraformProvider
public object[] Provisioners { get; }
- Type: object[]
public string[] ActiveNicsInput { get; }
- Type: string[]
public object AllowForgedTransmitsInput { get; }
- Type: object
public object AllowMacChangesInput { get; }
- Type: object
public object AllowPromiscuousInput { get; }
- Type: object
public double BeaconIntervalInput { get; }
- Type: double
public object CheckBeaconInput { get; }
- Type: object
public object FailbackInput { get; }
- Type: object
public string HostSystemIdInput { get; }
- Type: string
public string IdInput { get; }
- Type: string
public string LinkDiscoveryOperationInput { get; }
- Type: string
public string LinkDiscoveryProtocolInput { get; }
- Type: string
public double MtuInput { get; }
- Type: double
public string NameInput { get; }
- Type: string
public string[] NetworkAdaptersInput { get; }
- Type: string[]
public object NotifySwitchesInput { get; }
- Type: object
public double NumberOfPortsInput { get; }
- Type: double
public double ShapingAverageBandwidthInput { get; }
- Type: double
public double ShapingBurstSizeInput { get; }
- Type: double
public object ShapingEnabledInput { get; }
- Type: object
public double ShapingPeakBandwidthInput { get; }
- Type: double
public string[] StandbyNicsInput { get; }
- Type: string[]
public string TeamingPolicyInput { get; }
- Type: string
public string[] ActiveNics { get; }
- Type: string[]
public object AllowForgedTransmits { get; }
- Type: object
public object AllowMacChanges { get; }
- Type: object
public object AllowPromiscuous { get; }
- Type: object
public double BeaconInterval { get; }
- Type: double
public object CheckBeacon { get; }
- Type: object
public object Failback { get; }
- Type: object
public string HostSystemId { get; }
- Type: string
public string Id { get; }
- Type: string
public string LinkDiscoveryOperation { get; }
- Type: string
public string LinkDiscoveryProtocol { get; }
- Type: string
public double Mtu { get; }
- Type: double
public string Name { get; }
- Type: string
public string[] NetworkAdapters { get; }
- Type: string[]
public object NotifySwitches { get; }
- Type: object
public double NumberOfPorts { get; }
- Type: double
public double ShapingAverageBandwidth { get; }
- Type: double
public double ShapingBurstSize { get; }
- Type: double
public object ShapingEnabled { get; }
- Type: object
public double ShapingPeakBandwidth { get; }
- Type: double
public string[] StandbyNics { get; }
- Type: string[]
public string TeamingPolicy { get; }
- Type: string
Name | Type | Description |
---|---|---|
TfResourceType |
string |
No description. |
public string TfResourceType { get; }
- Type: string
using HashiCorp.Cdktf.Providers.Vsphere;
new HostVirtualSwitchConfig {
object Connection = null,
object Count = null,
ITerraformDependable[] DependsOn = null,
ITerraformIterator ForEach = null,
TerraformResourceLifecycle Lifecycle = null,
TerraformProvider Provider = null,
object[] Provisioners = null,
string[] ActiveNics,
string HostSystemId,
string Name,
string[] NetworkAdapters,
object AllowForgedTransmits = null,
object AllowMacChanges = null,
object AllowPromiscuous = null,
double BeaconInterval = null,
object CheckBeacon = null,
object Failback = null,
string Id = null,
string LinkDiscoveryOperation = null,
string LinkDiscoveryProtocol = null,
double Mtu = null,
object NotifySwitches = null,
double NumberOfPorts = null,
double ShapingAverageBandwidth = null,
double ShapingBurstSize = null,
object ShapingEnabled = null,
double ShapingPeakBandwidth = null,
string[] StandbyNics = null,
string TeamingPolicy = null
};
Name | Type | Description |
---|---|---|
Connection |
object |
No description. |
Count |
object |
No description. |
DependsOn |
HashiCorp.Cdktf.ITerraformDependable[] |
No description. |
ForEach |
HashiCorp.Cdktf.ITerraformIterator |
No description. |
Lifecycle |
HashiCorp.Cdktf.TerraformResourceLifecycle |
No description. |
Provider |
HashiCorp.Cdktf.TerraformProvider |
No description. |
Provisioners |
object[] |
No description. |
ActiveNics |
string[] |
List of active network adapters used for load balancing. |
HostSystemId |
string |
The managed object ID of the host to set the virtual switch up on. |
Name |
string |
The name of the virtual switch. |
NetworkAdapters |
string[] |
The list of network adapters to bind to this virtual switch. |
AllowForgedTransmits |
object |
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own. |
AllowMacChanges |
object |
Controls whether or not the Media Access Control (MAC) address can be changed. |
AllowPromiscuous |
object |
Enable promiscuous mode on the network. |
BeaconInterval |
double |
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link. |
CheckBeacon |
object |
Enable beacon probing. |
Failback |
object |
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up. |
Id |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#id HostVirtualSwitch#id}. |
LinkDiscoveryOperation |
string |
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none. |
LinkDiscoveryProtocol |
string |
The discovery protocol type. Valid values are cdp and lldp. |
Mtu |
double |
The maximum transmission unit (MTU) of the virtual switch in bytes. |
NotifySwitches |
object |
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates. |
NumberOfPorts |
double |
The number of ports that this virtual switch is configured to use. |
ShapingAverageBandwidth |
double |
The average bandwidth in bits per second if traffic shaping is enabled. |
ShapingBurstSize |
double |
The maximum burst size allowed in bytes if traffic shaping is enabled. |
ShapingEnabled |
object |
Enable traffic shaping on this virtual switch or port group. |
ShapingPeakBandwidth |
double |
The peak bandwidth during bursts in bits per second if traffic shaping is enabled. |
StandbyNics |
string[] |
List of standby network adapters used for failover. |
TeamingPolicy |
string |
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or failover_explicit. |
public object Connection { get; set; }
- Type: object
public object Count { get; set; }
- Type: object
public ITerraformDependable[] DependsOn { get; set; }
- Type: HashiCorp.Cdktf.ITerraformDependable[]
public ITerraformIterator ForEach { get; set; }
- Type: HashiCorp.Cdktf.ITerraformIterator
public TerraformResourceLifecycle Lifecycle { get; set; }
- Type: HashiCorp.Cdktf.TerraformResourceLifecycle
public TerraformProvider Provider { get; set; }
- Type: HashiCorp.Cdktf.TerraformProvider
public object[] Provisioners { get; set; }
- Type: object[]
public string[] ActiveNics { get; set; }
- Type: string[]
List of active network adapters used for load balancing.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#active_nics HostVirtualSwitch#active_nics}
public string HostSystemId { get; set; }
- Type: string
The managed object ID of the host to set the virtual switch up on.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#host_system_id HostVirtualSwitch#host_system_id}
public string Name { get; set; }
- Type: string
The name of the virtual switch.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#name HostVirtualSwitch#name}
public string[] NetworkAdapters { get; set; }
- Type: string[]
The list of network adapters to bind to this virtual switch.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#network_adapters HostVirtualSwitch#network_adapters}
public object AllowForgedTransmits { get; set; }
- Type: object
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#allow_forged_transmits HostVirtualSwitch#allow_forged_transmits}
public object AllowMacChanges { get; set; }
- Type: object
Controls whether or not the Media Access Control (MAC) address can be changed.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#allow_mac_changes HostVirtualSwitch#allow_mac_changes}
public object AllowPromiscuous { get; set; }
- Type: object
Enable promiscuous mode on the network.
This flag indicates whether or not all traffic is seen on a given port.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#allow_promiscuous HostVirtualSwitch#allow_promiscuous}
public double BeaconInterval { get; set; }
- Type: double
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#beacon_interval HostVirtualSwitch#beacon_interval}
public object CheckBeacon { get; set; }
- Type: object
Enable beacon probing.
Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used only.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#check_beacon HostVirtualSwitch#check_beacon}
public object Failback { get; set; }
- Type: object
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#failback HostVirtualSwitch#failback}
public string Id { get; set; }
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#id HostVirtualSwitch#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
public string LinkDiscoveryOperation { get; set; }
- Type: string
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#link_discovery_operation HostVirtualSwitch#link_discovery_operation}
public string LinkDiscoveryProtocol { get; set; }
- Type: string
The discovery protocol type. Valid values are cdp and lldp.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#link_discovery_protocol HostVirtualSwitch#link_discovery_protocol}
public double Mtu { get; set; }
- Type: double
The maximum transmission unit (MTU) of the virtual switch in bytes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#mtu HostVirtualSwitch#mtu}
public object NotifySwitches { get; set; }
- Type: object
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#notify_switches HostVirtualSwitch#notify_switches}
public double NumberOfPorts { get; set; }
- Type: double
The number of ports that this virtual switch is configured to use.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#number_of_ports HostVirtualSwitch#number_of_ports}
public double ShapingAverageBandwidth { get; set; }
- Type: double
The average bandwidth in bits per second if traffic shaping is enabled.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#shaping_average_bandwidth HostVirtualSwitch#shaping_average_bandwidth}
public double ShapingBurstSize { get; set; }
- Type: double
The maximum burst size allowed in bytes if traffic shaping is enabled.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#shaping_burst_size HostVirtualSwitch#shaping_burst_size}
public object ShapingEnabled { get; set; }
- Type: object
Enable traffic shaping on this virtual switch or port group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#shaping_enabled HostVirtualSwitch#shaping_enabled}
public double ShapingPeakBandwidth { get; set; }
- Type: double
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#shaping_peak_bandwidth HostVirtualSwitch#shaping_peak_bandwidth}
public string[] StandbyNics { get; set; }
- Type: string[]
List of standby network adapters used for failover.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#standby_nics HostVirtualSwitch#standby_nics}
public string TeamingPolicy { get; set; }
- Type: string
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or failover_explicit.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch#teaming_policy HostVirtualSwitch#teaming_policy}