Skip to main content

Class HostInfo

Namespace: Consul
Assembly: Consul.dll

HostInfo represents the host information for the agent

public class HostInfo

Inheritance​

object ← HostInfo

Inherited Members​

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Properties​

BootTime​

public long BootTime { get; set; }

Property Value​

long

HostId​

public string HostId { get; set; }

Property Value​

string

Hostname​

public string Hostname { get; set; }

Property Value​

string

KernelArch​

public string KernelArch { get; set; }

Property Value​

string

KernelVersion​

public string KernelVersion { get; set; }

Property Value​

string

Os​

public string Os { get; set; }

Property Value​

string

Platform​

public string Platform { get; set; }

Property Value​

string

PlatformFamily​

public string PlatformFamily { get; set; }

Property Value​

string

PlatformVersion​

public string PlatformVersion { get; set; }

Property Value​

string

Procs​

public int Procs { get; set; }

Property Value​

int

Uptime​

public long Uptime { get; set; }

Property Value​

long

VirtualizationRole​

public string VirtualizationRole { get; set; }

Property Value​

string

VirtualizationSystem​

public string VirtualizationSystem { get; set; }

Property Value​

string

  • Properties
    • BootTime
    • HostId
    • Hostname
    • KernelArch
    • KernelVersion
    • Os
    • Platform
    • PlatformFamily
    • PlatformVersion
    • Procs
    • Uptime
    • VirtualizationRole
    • VirtualizationSystem