Class XenHostInfo
Holds information about a XenServer or XCP-ng host machine.
Namespace: Neon.XenServer
Assembly: Neon.XenServer.dll
Syntax
public class XenHostInfo
Properties
AvailableDisk
Returns the bytes of disk available for new virtual machines.
Declaration
public long AvailableDisk { get; }
Property Value
Type | Description |
---|---|
long |
AvailableMemory
Returns the bytes of memory available for new virtual machines.
Declaration
public long AvailableMemory { get; }
Property Value
Type | Description |
---|---|
long |
Edition
Indicates the installed edition. This will be xcp-ng or xenserver.
Declaration
public string Edition { get; }
Property Value
Type | Description |
---|---|
string |
Params
Holds the raw host parameters.
Declaration
public IDictionary<string, string> Params { get; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
UsableCores
Returns the number of cores usable by virtual machines.
note
This includes all usable cores and includes cores that are pinned to specific virtual machines.
Declaration
public int UsableCores { get; set; }
Property Value
Type | Description |
---|---|
int |
Version
Indicates the XenServer/XCP-ng version number.
Declaration
public SemanticVersion Version { get; }
Property Value
Type | Description |
---|---|
SemanticVersion |