Table of Contents

Class VMwareDistributedSwitch

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a VMware distributed virtual switch.

public class VMwareDistributedSwitch : VMwareManagedObject, IComparable<VMwareManagedObject>, IComparable<VMwareDistributedSwitch>
Inheritance
VMwareDistributedSwitch
Implements
Inherited Members

Constructors

VMwareDistributedSwitch()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareDistributedSwitch class.

public VMwareDistributedSwitch()

Properties

AdministratorContact

Gets or sets the administrator contact for this distributed switch.

public string AdministratorContact { get; set; }

Property Value

string

AdministratorContactDetails

Gets or sets the administrator contact details for this distributed switch.

public string AdministratorContactDetails { get; set; }

Property Value

string

Description

Gets or sets the description of the distributed switch.

public string Description { get; set; }

Property Value

string

HealthCheck

Gets or sets the health check settings for the distributed switch.

public VMwareDistributedSwitchHealthCheckSettings HealthCheck { get; set; }

Property Value

VMwareDistributedSwitchHealthCheckSettings

Hosts

Gets or sets the hosts connected to this virtual switch.

public VMwareManagedObjectReferenceCollection Hosts { get; set; }

Property Value

VMwareManagedObjectReferenceCollection

Identifier

Gets or sets the unique identifier of the distributed switch.

public Guid Identifier { get; set; }

Property Value

Guid

LinkDiscoveryProtocol

Gets or sets the link discovery protocol configured for the distributed switch.

public VMwareLinkDiscoveryProtocolType LinkDiscoveryProtocol { get; set; }

Property Value

VMwareLinkDiscoveryProtocolType

LinkDiscoveryProtocolOperation

Gets or sets the link discovery protocol operation configured for the distributed switch.

public VMwareLinkDiscoveryProtocolOperation LinkDiscoveryProtocolOperation { get; set; }

Property Value

VMwareLinkDiscoveryProtocolOperation

LinkDiscoveryProtocolOperationString

Gets the link discovery protocol operation configured for the distributed switch as a human readable string.

public string LinkDiscoveryProtocolOperationString { get; set; }

Property Value

string

LinkDiscoveryProtocolString

Gets the link discovery protocol configured for the distributed switch as a human readable string.

public string LinkDiscoveryProtocolString { get; set; }

Property Value

string

Manufacturer

Gets or sets the manufacturer of the distributed virtual switch.

public string Manufacturer { get; set; }

Property Value

string

MaximumMtu

Gets or sets the maximum MTU for the switch.

public int MaximumMtu { get; set; }

Property Value

int

NetFlow

Gets or sets the NetFlow (IPFIX) settings for the distributed switch. This applies to vSphere 5.0 and above only.

public VMwareDistributedSwitchNetFlowSettings NetFlow { get; set; }

Property Value

VMwareDistributedSwitchNetFlowSettings

PortCount

Gets or sets the number of ports configured on this virtual switch.

public int PortCount { get; set; }

Property Value

int

PortGroups

Gets or sets the port groups configured for this distributed virtual switch.

public VMwareDistributedPortGroups PortGroups { get; set; }

Property Value

VMwareDistributedPortGroups

PortMirroringSessions

Gets or sets the port mirroring settings for the distributed switch. This applies to vSphere 5.0 and above only.

public VMwareDistributedSwitchPortMirroringSessions PortMirroringSessions { get; set; }

Property Value

VMwareDistributedSwitchPortMirroringSessions

PrivateVlans

Gets or sets the private VLANs configured on this distributed virtual switch.

public VMwareDistributedSwitchPvlanCollection PrivateVlans { get; set; }

Property Value

VMwareDistributedSwitchPvlanCollection

SwitchIpAddress

Gets or sets the IP address for the switch, specified using IPv4 dot notation. This setting applies to vSphere 5.0 and above only.

public string SwitchIpAddress { get; set; }

Property Value

string

Gets or sets the uplinks configured on the distributed virtual switch.

public VMwareDistributedSwitchUplinks Uplinks { get; set; }

Property Value

VMwareDistributedSwitchUplinks

Uuid

Gets or sets the universally unique identifier for this switch - for example "759f1850cc6899d2-a5f44d4568bc58c9".

public string Uuid { get; set; }

Property Value

string

Version

Gets or sets the version of the distributed virtual switch.

public SerializableVersion Version { get; set; }

Property Value

SerializableVersion

VersionString

Gets the version of the distributed virtual switch.

public string VersionString { get; set; }

Property Value

string

Methods

CompareTo(VMwareDistributedSwitch)

Compares two VMware distributed virtual switches to allow sorting alphabetically by qualified name.

public int CompareTo(VMwareDistributedSwitch other)

Parameters

other VMwareDistributedSwitch

The CENTREL.XIA.Configuration.Types.VMwareDistributedSwitch to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.VMwareDistributedSwitch.

GetUplinksPortGroup()

Returns the uplinks for the distributed switch, or null if no uplinks port group is found.

public VMwareDistributedPortGroup GetUplinksPortGroup()

Returns

VMwareDistributedPortGroup

The CENTREL.XIA.Configuration.Types.VMwareDistributedPortGroup that represent the uplinks for the distributed switch, or null if no uplinks port group is found.