Table of Contents

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

string

IsAccess

Gets whether the VLAN is in "Access" mode.

[Browsable(false)]
public bool IsAccess { get; }

Property Value

bool

IsCommunity

Gets whether the VLAN is in "Community" mode.

[Browsable(false)]
public bool IsCommunity { get; }

Property Value

bool

IsIsolated

Gets whether the VLAN is in "Isolated" mode.

[Browsable(false)]
public bool IsIsolated { get; }

Property Value

bool

IsPrivate

Gets whether the VLAN is in one of the private modes "Community", "Isolated", or "Promiscuous".

[Browsable(false)]
public bool IsPrivate { get; }

Property Value

bool

IsPromiscuous

Gets whether the VLAN is in "Promiscuous" mode.

[Browsable(false)]
public bool IsPromiscuous { get; }

Property Value

bool

IsTrunk

Gets whether the VLAN is in "Trunk" mode.

[Browsable(false)]
public bool IsTrunk { get; }

Property Value

bool

Mode

Gets or sets the mode of the VLAN.

public HyperVServerVirtualMachineNetworkAdapterVlanMode Mode { get; set; }

Property Value

HyperVServerVirtualMachineNetworkAdapterVlanMode

ModeString

Gets the mode of the VLAN as a human readable string.

public string ModeString { get; set; }

Property Value

string

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

int

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

int

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

int

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

string

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

int

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.