Class HyperVServerVirtualMachineNetworkAdapterVlanSettings
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the VLAN settings for a Hyper-V virtual machine network adapter.
public class HyperVServerVirtualMachineNetworkAdapterVlanSettings : GlobalSerializableBase
- Inheritance
-
HyperVServerVirtualMachineNetworkAdapterVlanSettings
Constructors
HyperVServerVirtualMachineNetworkAdapterVlanSettings()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineNetworkAdapterVlanSettings class.
public HyperVServerVirtualMachineNetworkAdapterVlanSettings()
Properties
AllowedVlanIdentifiers
Gets or sets the allowed VLAN identifiers. This only applies when the mode is set to "Trunk".
public string AllowedVlanIdentifiers { get; set; }
Property Value
IsAccess
Gets whether the VLAN is in "Access" mode.
[Browsable(false)]
public bool IsAccess { get; }
Property Value
IsCommunity
Gets whether the VLAN is in "Community" mode.
[Browsable(false)]
public bool IsCommunity { get; }
Property Value
IsIsolated
Gets whether the VLAN is in "Isolated" mode.
[Browsable(false)]
public bool IsIsolated { get; }
Property Value
IsPrivate
Gets whether the VLAN is in one of the private modes "Community", "Isolated", or "Promiscuous".
[Browsable(false)]
public bool IsPrivate { get; }
Property Value
IsPromiscuous
Gets whether the VLAN is in "Promiscuous" mode.
[Browsable(false)]
public bool IsPromiscuous { get; }
Property Value
IsTrunk
Gets whether the VLAN is in "Trunk" mode.
[Browsable(false)]
public bool IsTrunk { get; }
Property Value
Mode
Gets or sets the mode of the VLAN.
public HyperVServerVirtualMachineNetworkAdapterVlanMode Mode { get; set; }
Property Value
ModeString
Gets the mode of the VLAN as a human readable string.
public string ModeString { get; set; }
Property Value
NativeVlanIdentifier
Gets or sets the native VLAN identifier. This only applies when the mode is set to "Trunk".
public int NativeVlanIdentifier { get; set; }
Property Value
PrimaryVlanIdentifier
Gets or sets the primary VLAN identifier. This only applies when the mode is set to "Community", "Isolated", or "Promiscuous".
public int PrimaryVlanIdentifier { get; set; }
Property Value
SecondaryVlanIdentifier
Gets or sets the secondary VLAN identifier. This only applies when the mode is set to "Community" or "Isolated".
public int SecondaryVlanIdentifier { get; set; }
Property Value
SecondaryVlanIdentifiers
Gets or sets the secondary VLAN identifiers. This only applies when the mode is set to "Promiscuous".
public string SecondaryVlanIdentifiers { get; set; }
Property Value
VlanIdentifier
Gets or sets the access VLAN identifier. This only applies when the mode is set to "Access".
public int VlanIdentifier { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineNetworkAdapterVlanSettings cloned from this object.
public HyperVServerVirtualMachineNetworkAdapterVlanSettings Clone()
Returns
- HyperVServerVirtualMachineNetworkAdapterVlanSettings
A CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineNetworkAdapterVlanSettings.
ToString()
Returns the VLAN settings as a human readable string.
public override string ToString()
Returns
- string
The VLAN settings as a human readable string.