Class HostEntityProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.EntityCommonProperties
-
- com.azure.resourcemanager.securityinsights.fluent.models.HostEntityProperties
-
public final class HostEntityProperties extends EntityCommonProperties
Host entity property bag.
-
-
Constructor Summary
Constructors Constructor Description HostEntityProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
azureId()
Get the azureId property: The azure resource id of the VM.String
dnsDomain()
Get the dnsDomain property: The DNS domain that this host belongs to.String
hostname()
Get the hostname property: The hostname without the domain suffix.Boolean
isDomainJoined()
Get the isDomainJoined property: Determines whether this host belongs to a domain.String
netBiosName()
Get the netBiosName property: The host name (pre-windows2000).String
ntDomain()
Get the ntDomain property: The NT domain that this host belongs to.String
omsAgentId()
Get the omsAgentId property: The OMS agent id, if the host has OMS agent installed.OSFamily
osFamily()
Get the osFamily property: The operating system type.String
osVersion()
Get the osVersion property: A free text representation of the operating system.void
validate()
Validates the instance.HostEntityProperties
withOsFamily(OSFamily osFamily)
Set the osFamily property: The operating system type.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.EntityCommonProperties
additionalData, friendlyName
-
-
-
-
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 HostEntityProperties withOsFamily(OSFamily osFamily)
Set the osFamily property: The operating system type.- Parameters:
osFamily
- the osFamily value to set.- Returns:
- the HostEntityProperties 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.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEntityCommonProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-