Class HostEntity


  • public final class HostEntity
    extends EntityInner
    Represents a host entity.
    • Constructor Detail

      • HostEntity

        public HostEntity()
    • Method Detail

      • azureId

        public String azureId()
        Get the azureId property: The azure resource id of the VM.
        Returns:
        the azureId value.
      • dnsDomain

        public String dnsDomain()
        Get the dnsDomain property: The DNS domain that this host belongs to. Should contain the compete DNS suffix for the domain.
        Returns:
        the dnsDomain value.
      • hostname

        public String hostname()
        Get the hostname property: The hostname without the domain suffix.
        Returns:
        the hostname value.
      • isDomainJoined

        public Boolean isDomainJoined()
        Get the isDomainJoined property: Determines whether this host belongs to a domain.
        Returns:
        the isDomainJoined value.
      • netBiosName

        public String netBiosName()
        Get the netBiosName property: The host name (pre-windows2000).
        Returns:
        the netBiosName value.
      • ntDomain

        public String ntDomain()
        Get the ntDomain property: The NT domain that this host belongs to.
        Returns:
        the ntDomain value.
      • omsAgentId

        public String omsAgentId()
        Get the omsAgentId property: The OMS agent id, if the host has OMS agent installed.
        Returns:
        the omsAgentId value.
      • osFamily

        public OSFamily osFamily()
        Get the osFamily property: The operating system type.
        Returns:
        the osFamily value.
      • withOsFamily

        public HostEntity withOsFamily​(OSFamily osFamily)
        Set the osFamily property: The operating system type.
        Parameters:
        osFamily - the osFamily value to set.
        Returns:
        the HostEntity object itself.
      • osVersion

        public String osVersion()
        Get the osVersion property: A free text representation of the operating system. This field is meant to hold specific versions the are more fine grained than OSFamily or future values not supported by OSFamily enumeration.
        Returns:
        the osVersion value.
      • additionalData

        public Map<String,​Object> additionalData()
        Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.
        Returns:
        the additionalData value.
      • friendlyName

        public String friendlyName()
        Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.
        Returns:
        the friendlyName value.