Class HostEntity
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.fluent.models.EntityInner
com.azure.resourcemanager.securityinsights.models.HostEntity
Represents a host entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.azureId()
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.hostname()
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).ntDomain()
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.osFamily()
Get the osFamily property: The operating system type.Get the osVersion property: A free text representation of the operating system.void
validate()
Validates the instance.withOsFamily
(OSFamily osFamily) 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
-
Constructor Details
-
HostEntity
public HostEntity()
-
-
Method Details
-
azureId
Get the azureId property: The azure resource id of the VM.- Returns:
- the azureId value.
-
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
Get the hostname property: The hostname without the domain suffix.- Returns:
- the hostname value.
-
isDomainJoined
Get the isDomainJoined property: Determines whether this host belongs to a domain.- Returns:
- the isDomainJoined value.
-
netBiosName
Get the netBiosName property: The host name (pre-windows2000).- Returns:
- the netBiosName value.
-
ntDomain
Get the ntDomain property: The NT domain that this host belongs to.- Returns:
- the ntDomain value.
-
omsAgentId
Get the omsAgentId property: The OMS agent id, if the host has OMS agent installed.- Returns:
- the omsAgentId value.
-
osFamily
Get the osFamily property: The operating system type.- Returns:
- the osFamily value.
-
withOsFamily
Set the osFamily property: The operating system type.- Parameters:
osFamily
- the osFamily value to set.- Returns:
- the HostEntity object itself.
-
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
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
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 classEntityInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-