Skip to content

Latest commit

 

History

History
1735 lines (1093 loc) · 72.2 KB

hostVirtualSwitch.csharp.md

File metadata and controls

1735 lines (1093 loc) · 72.2 KB

hostVirtualSwitch Submodule

Constructs

HostVirtualSwitch

Represents a {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/host_virtual_switch vsphere_host_virtual_switch}.

Initializers

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.

ScopeRequired
  • Type: Constructs.Construct

The scope in which to define this construct.


IdRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


ConfigRequired

Methods

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.

ToString
private string ToString()

Returns a string representation of this construct.

AddOverride
private void AddOverride(string Path, object Value)
PathRequired
  • Type: string

ValueRequired
  • Type: object

OverrideLogicalId
private void OverrideLogicalId(string NewLogicalId)

Overrides the auto-generated logical ID with a specific ID.

NewLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


ResetOverrideLogicalId
private void ResetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

ToHclTerraform
private object ToHclTerraform()
ToMetadata
private object ToMetadata()
ToTerraform
private object ToTerraform()

Adds this resource to the terraform JSON output.

AddMoveTarget
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.

MoveTargetRequired
  • Type: string

The string move target that will correspond to this resource.


GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

HasResourceMove
private object HasResourceMove()
ImportFrom
private void ImportFrom(string Id, TerraformProvider Provider = null)
IdRequired
  • Type: string

ProviderOptional
  • Type: HashiCorp.Cdktf.TerraformProvider

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

MoveFromId
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.

IdRequired
  • Type: string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


MoveTo
private void MoveTo(string MoveTarget, object Index = null)

Moves this resource to the target resource given by moveTarget.

MoveTargetRequired
  • Type: string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


IndexOptional
  • Type: object

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


MoveToId
private void MoveToId(string Id)

Moves this resource to the resource corresponding to "id".

IdRequired
  • Type: string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


ResetAllowForgedTransmits
private void ResetAllowForgedTransmits()
ResetAllowMacChanges
private void ResetAllowMacChanges()
ResetAllowPromiscuous
private void ResetAllowPromiscuous()
ResetBeaconInterval
private void ResetBeaconInterval()
ResetCheckBeacon
private void ResetCheckBeacon()
ResetFailback
private void ResetFailback()
ResetId
private void ResetId()
ResetLinkDiscoveryOperation
private void ResetLinkDiscoveryOperation()
ResetLinkDiscoveryProtocol
private void ResetLinkDiscoveryProtocol()
ResetMtu
private void ResetMtu()
ResetNotifySwitches
private void ResetNotifySwitches()
ResetNumberOfPorts
private void ResetNumberOfPorts()
ResetShapingAverageBandwidth
private void ResetShapingAverageBandwidth()
ResetShapingBurstSize
private void ResetShapingBurstSize()
ResetShapingEnabled
private void ResetShapingEnabled()
ResetShapingPeakBandwidth
private void ResetShapingPeakBandwidth()
ResetStandbyNics
private void ResetStandbyNics()
ResetTeamingPolicy
private void ResetTeamingPolicy()

Static Functions

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 ".

IsConstruct
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.

XRequired
  • Type: object

Any object.


IsTerraformElement
using HashiCorp.Cdktf.Providers.Vsphere;

HostVirtualSwitch.IsTerraformElement(object X);
XRequired
  • Type: object

IsTerraformResource
using HashiCorp.Cdktf.Providers.Vsphere;

HostVirtualSwitch.IsTerraformResource(object X);
XRequired
  • Type: object

GenerateConfigForImport
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 ".

ScopeRequired
  • Type: Constructs.Construct

The scope in which to define this construct.


ImportToIdRequired
  • Type: string

The construct id used in the generated config for the HostVirtualSwitch to import.


ImportFromIdRequired
  • 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


ProviderOptional
  • Type: HashiCorp.Cdktf.TerraformProvider

? Optional instance of the provider where the HostVirtualSwitch to import is found.


Properties

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.

NodeRequired
public Node Node { get; }
  • Type: Constructs.Node

The tree node.


CdktfStackRequired
public TerraformStack CdktfStack { get; }
  • Type: HashiCorp.Cdktf.TerraformStack

FqnRequired
public string Fqn { get; }
  • Type: string

FriendlyUniqueIdRequired
public string FriendlyUniqueId { get; }
  • Type: string

TerraformMetaArgumentsRequired
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
  • Type: System.Collections.Generic.IDictionary<string, object>

TerraformResourceTypeRequired
public string TerraformResourceType { get; }
  • Type: string

TerraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
  • Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata

ConnectionOptional
public object Connection { get; }
  • Type: object

CountOptional
public object Count { get; }
  • Type: object

DependsOnOptional
public string[] DependsOn { get; }
  • Type: string[]

ForEachOptional
public ITerraformIterator ForEach { get; }
  • Type: HashiCorp.Cdktf.ITerraformIterator

LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; }
  • Type: HashiCorp.Cdktf.TerraformResourceLifecycle

ProviderOptional
public TerraformProvider Provider { get; }
  • Type: HashiCorp.Cdktf.TerraformProvider

ProvisionersOptional
public object[] Provisioners { get; }
  • Type: object[]

ActiveNicsInputOptional
public string[] ActiveNicsInput { get; }
  • Type: string[]

AllowForgedTransmitsInputOptional
public object AllowForgedTransmitsInput { get; }
  • Type: object

AllowMacChangesInputOptional
public object AllowMacChangesInput { get; }
  • Type: object

AllowPromiscuousInputOptional
public object AllowPromiscuousInput { get; }
  • Type: object

BeaconIntervalInputOptional
public double BeaconIntervalInput { get; }
  • Type: double

CheckBeaconInputOptional
public object CheckBeaconInput { get; }
  • Type: object

FailbackInputOptional
public object FailbackInput { get; }
  • Type: object

HostSystemIdInputOptional
public string HostSystemIdInput { get; }
  • Type: string

IdInputOptional
public string IdInput { get; }
  • Type: string

LinkDiscoveryOperationInputOptional
public string LinkDiscoveryOperationInput { get; }
  • Type: string

LinkDiscoveryProtocolInputOptional
public string LinkDiscoveryProtocolInput { get; }
  • Type: string

MtuInputOptional
public double MtuInput { get; }
  • Type: double

NameInputOptional
public string NameInput { get; }
  • Type: string

NetworkAdaptersInputOptional
public string[] NetworkAdaptersInput { get; }
  • Type: string[]

NotifySwitchesInputOptional
public object NotifySwitchesInput { get; }
  • Type: object

NumberOfPortsInputOptional
public double NumberOfPortsInput { get; }
  • Type: double

ShapingAverageBandwidthInputOptional
public double ShapingAverageBandwidthInput { get; }
  • Type: double

ShapingBurstSizeInputOptional
public double ShapingBurstSizeInput { get; }
  • Type: double

ShapingEnabledInputOptional
public object ShapingEnabledInput { get; }
  • Type: object

ShapingPeakBandwidthInputOptional
public double ShapingPeakBandwidthInput { get; }
  • Type: double

StandbyNicsInputOptional
public string[] StandbyNicsInput { get; }
  • Type: string[]

TeamingPolicyInputOptional
public string TeamingPolicyInput { get; }
  • Type: string

ActiveNicsRequired
public string[] ActiveNics { get; }
  • Type: string[]

AllowForgedTransmitsRequired
public object AllowForgedTransmits { get; }
  • Type: object

AllowMacChangesRequired
public object AllowMacChanges { get; }
  • Type: object

AllowPromiscuousRequired
public object AllowPromiscuous { get; }
  • Type: object

BeaconIntervalRequired
public double BeaconInterval { get; }
  • Type: double

CheckBeaconRequired
public object CheckBeacon { get; }
  • Type: object

FailbackRequired
public object Failback { get; }
  • Type: object

HostSystemIdRequired
public string HostSystemId { get; }
  • Type: string

IdRequired
public string Id { get; }
  • Type: string

LinkDiscoveryOperationRequired
public string LinkDiscoveryOperation { get; }
  • Type: string

LinkDiscoveryProtocolRequired
public string LinkDiscoveryProtocol { get; }
  • Type: string

MtuRequired
public double Mtu { get; }
  • Type: double

NameRequired
public string Name { get; }
  • Type: string

NetworkAdaptersRequired
public string[] NetworkAdapters { get; }
  • Type: string[]

NotifySwitchesRequired
public object NotifySwitches { get; }
  • Type: object

NumberOfPortsRequired
public double NumberOfPorts { get; }
  • Type: double

ShapingAverageBandwidthRequired
public double ShapingAverageBandwidth { get; }
  • Type: double

ShapingBurstSizeRequired
public double ShapingBurstSize { get; }
  • Type: double

ShapingEnabledRequired
public object ShapingEnabled { get; }
  • Type: object

ShapingPeakBandwidthRequired
public double ShapingPeakBandwidth { get; }
  • Type: double

StandbyNicsRequired
public string[] StandbyNics { get; }
  • Type: string[]

TeamingPolicyRequired
public string TeamingPolicy { get; }
  • Type: string

Constants

Name Type Description
TfResourceType string No description.

TfResourceTypeRequired
public string TfResourceType { get; }
  • Type: string

Structs

HostVirtualSwitchConfig

Initializer

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
};

Properties

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.

ConnectionOptional
public object Connection { get; set; }
  • Type: object

CountOptional
public object Count { get; set; }
  • Type: object

DependsOnOptional
public ITerraformDependable[] DependsOn { get; set; }
  • Type: HashiCorp.Cdktf.ITerraformDependable[]

ForEachOptional
public ITerraformIterator ForEach { get; set; }
  • Type: HashiCorp.Cdktf.ITerraformIterator

LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; set; }
  • Type: HashiCorp.Cdktf.TerraformResourceLifecycle

ProviderOptional
public TerraformProvider Provider { get; set; }
  • Type: HashiCorp.Cdktf.TerraformProvider

ProvisionersOptional
public object[] Provisioners { get; set; }
  • Type: object[]

ActiveNicsRequired
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}


HostSystemIdRequired
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}


NameRequired
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}


NetworkAdaptersRequired
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}


AllowForgedTransmitsOptional
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}


AllowMacChangesOptional
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}


AllowPromiscuousOptional
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}


BeaconIntervalOptional
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}


CheckBeaconOptional
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}


FailbackOptional
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}


IdOptional
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.


LinkDiscoveryOperationOptional
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}


LinkDiscoveryProtocolOptional
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}


MtuOptional
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}


NotifySwitchesOptional
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}


NumberOfPortsOptional
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}


ShapingAverageBandwidthOptional
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}


ShapingBurstSizeOptional
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}


ShapingEnabledOptional
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}


ShapingPeakBandwidthOptional
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}


StandbyNicsOptional
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}


TeamingPolicyOptional
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}