Class VMwareHostService
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual service configured on a VMware host.
public class VMwareHostService : GlobalSerializableClassicBase, IComparable<VMwareHostService>
- Inheritance
-
VMwareHostService
- Implements
Constructors
VMwareHostService()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareHostService class.
public VMwareHostService()
Properties
DisplayName
Gets or sets the display name of the service - for example "NTP Daemon".
public string DisplayName { get; set; }
Property Value
FirewallRules
Gets or sets the firewall rules relating to this service. This setting applies to vSphere 4.0 and above only.
public SerializableStringCollection FirewallRules { get; set; }
Property Value
- SerializableStringCollection
IsRunning
Gets or sets whether the service was running at the time of the scan.
public BooleanOption IsRunning { get; set; }
Property Value
Name
Gets or sets the internal name of the service - for example "ntpd".
public string Name { get; set; }
Property Value
SourcePackageDescription
Gets or sets the description of the source package. This setting is only available in vSphere 5.0 and above.
public string SourcePackageDescription { get; set; }
Property Value
SourcePackageName
Gets or sets the name of the source package - for example "esx-base". This setting is only available in vSphere 5.0 and above.
public string SourcePackageName { get; set; }
Property Value
StartupPolicy
Gets or sets the startup policy of the service.
public VMwareHostServiceStartupPolicy StartupPolicy { get; set; }
Property Value
StartupPolicyString
Gets the startup policy of the service as a human readable string.
public string StartupPolicyString { get; set; }
Property Value
Methods
CompareTo(VMwareHostService)
Compares two CENTREL.XIA.Configuration.Types.VMwareHostService objects to allow sorting alphabetically by display name.
public int CompareTo(VMwareHostService other)
Parameters
other
VMwareHostServiceThe CENTREL.XIA.Configuration.Types.VMwareHostService to compare to.
Returns
- int
The sort order of the two items.