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
AdministratorContactDetails
Gets or sets the administrator contact details for this distributed switch.
public string AdministratorContactDetails { get; set; }
Property Value
Description
Gets or sets the description of the distributed switch.
public string Description { get; set; }
Property Value
HealthCheck
Gets or sets the health check settings for the distributed switch.
public VMwareDistributedSwitchHealthCheckSettings HealthCheck { get; set; }
Property Value
Hosts
Gets or sets the hosts connected to this virtual switch.
public VMwareManagedObjectReferenceCollection Hosts { get; set; }
Property Value
Identifier
Gets or sets the unique identifier of the distributed switch.
public Guid Identifier { get; set; }
Property Value
LinkDiscoveryProtocol
Gets or sets the link discovery protocol configured for the distributed switch.
public VMwareLinkDiscoveryProtocolType LinkDiscoveryProtocol { get; set; }
Property Value
LinkDiscoveryProtocolOperation
Gets or sets the link discovery protocol operation configured for the distributed switch.
public VMwareLinkDiscoveryProtocolOperation LinkDiscoveryProtocolOperation { get; set; }
Property Value
LinkDiscoveryProtocolOperationString
Gets the link discovery protocol operation configured for the distributed switch as a human readable string.
public string LinkDiscoveryProtocolOperationString { get; set; }
Property Value
LinkDiscoveryProtocolString
Gets the link discovery protocol configured for the distributed switch as a human readable string.
public string LinkDiscoveryProtocolString { get; set; }
Property Value
Manufacturer
Gets or sets the manufacturer of the distributed virtual switch.
public string Manufacturer { get; set; }
Property Value
MaximumMtu
Gets or sets the maximum MTU for the switch.
public int MaximumMtu { get; set; }
Property Value
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
PortCount
Gets or sets the number of ports configured on this virtual switch.
public int PortCount { get; set; }
Property Value
PortGroups
Gets or sets the port groups configured for this distributed virtual switch.
public VMwareDistributedPortGroups PortGroups { get; set; }
Property Value
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
PrivateVlans
Gets or sets the private VLANs configured on this distributed virtual switch.
public VMwareDistributedSwitchPvlanCollection PrivateVlans { get; set; }
Property Value
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
Uplinks
Gets or sets the uplinks configured on the distributed virtual switch.
public VMwareDistributedSwitchUplinks Uplinks { get; set; }
Property Value
Uuid
Gets or sets the universally unique identifier for this switch - for example "759f1850cc6899d2-a5f44d4568bc58c9".
public string Uuid { get; set; }
Property Value
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
Methods
CompareTo(VMwareDistributedSwitch)
Compares two VMware distributed virtual switches to allow sorting alphabetically by qualified name.
public int CompareTo(VMwareDistributedSwitch other)
Parameters
other
VMwareDistributedSwitchThe 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.