java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.fluent.models.EntityInner
com.azure.resourcemanager.securityinsights.models.HostEntity

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.
    Get the azureId property: The azure resource id of the VM.
    Get the dnsDomain property: The DNS domain that this host belongs to.
    Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance.
    Get the hostname property: The hostname without the domain suffix.
    Get the isDomainJoined property: Determines whether this host belongs to a domain.
    Get the netBiosName property: The host name (pre-windows2000).
    Get the ntDomain property: The NT domain that this host belongs to.
    Get the omsAgentId property: The OMS agent id, if the host has OMS agent installed.
    Get the osFamily property: The operating system type.
    Get the osVersion property: A free text representation of the operating system.
    void
    Validates the instance.
    Set the osFamily property: The operating system type.

    Methods inherited from class com.azure.resourcemanager.securityinsights.fluent.models.EntityInner

    systemData

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HostEntity

      public HostEntity()
  • Method Details

    • 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.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class EntityInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.