SessionHost Interface

public interface SessionHost

An immutable client-side representation of SessionHost.

Method Summary

Modifier and Type Method and Description
abstract String agentVersion()

Gets the agentVersion property: Version of agent on SessionHost.

abstract Boolean allowNewSession()

Gets the allowNewSession property: Allow a new session.

abstract String assignedUser()

Gets the assignedUser property: User assigned to SessionHost.

abstract String friendlyName()

Gets the friendlyName property: Friendly name of SessionHost.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract SessionHostInner innerModel()

Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.SessionHostInner object.

abstract OffsetDateTime lastHeartBeat()

Gets the lastHeartBeat property: Last heart beat from SessionHost.

abstract OffsetDateTime lastUpdateTime()

Gets the lastUpdateTime property: The timestamp of the last update.

abstract String name()

Gets the name property: The name of the resource.

abstract String objectId()

Gets the objectId property: ObjectId of SessionHost.

abstract String osVersion()

Gets the osVersion property: The version of the OS on the session host.

abstract String resourceId()

Gets the resourceId property: Resource Id of SessionHost's underlying virtual machine.

abstract List<SessionHostHealthCheckReport> sessionHostHealthCheckResults()

Gets the sessionHostHealthCheckResults property: List of SessionHostHealthCheckReports.

abstract Integer sessions()

Gets the sessions property: Number of sessions on SessionHost.

abstract Status status()

Gets the status property: Status for a SessionHost.

abstract OffsetDateTime statusTimestamp()

Gets the statusTimestamp property: The timestamp of the status.

abstract String sxSStackVersion()

Gets the sxSStackVersion property: The version of the side by side stack on the session host.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract String type()

Gets the type property: The type of the resource.

abstract String updateErrorMessage()

Gets the updateErrorMessage property: The error message.

abstract UpdateState updateState()

Gets the updateState property: Update state of a SessionHost.

abstract String virtualMachineId()

Gets the virtualMachineId property: Virtual Machine Id of SessionHost's underlying virtual machine.

Method Details

agentVersion

public abstract String agentVersion()

Gets the agentVersion property: Version of agent on SessionHost.

Returns:

the agentVersion value.

allowNewSession

public abstract Boolean allowNewSession()

Gets the allowNewSession property: Allow a new session.

Returns:

the allowNewSession value.

assignedUser

public abstract String assignedUser()

Gets the assignedUser property: User assigned to SessionHost.

Returns:

the assignedUser value.

friendlyName

public abstract String friendlyName()

Gets the friendlyName property: Friendly name of SessionHost.

Returns:

the friendlyName value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract SessionHostInner innerModel()

Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.SessionHostInner object.

Returns:

the inner object.

lastHeartBeat

public abstract OffsetDateTime lastHeartBeat()

Gets the lastHeartBeat property: Last heart beat from SessionHost.

Returns:

the lastHeartBeat value.

lastUpdateTime

public abstract OffsetDateTime lastUpdateTime()

Gets the lastUpdateTime property: The timestamp of the last update.

Returns:

the lastUpdateTime value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

objectId

public abstract String objectId()

Gets the objectId property: ObjectId of SessionHost. (internal use).

Returns:

the objectId value.

osVersion

public abstract String osVersion()

Gets the osVersion property: The version of the OS on the session host.

Returns:

the osVersion value.

resourceId

public abstract String resourceId()

Gets the resourceId property: Resource Id of SessionHost's underlying virtual machine.

Returns:

the resourceId value.

sessionHostHealthCheckResults

public abstract List<SessionHostHealthCheckReport> sessionHostHealthCheckResults()

Gets the sessionHostHealthCheckResults property: List of SessionHostHealthCheckReports.

Returns:

the sessionHostHealthCheckResults value.

sessions

public abstract Integer sessions()

Gets the sessions property: Number of sessions on SessionHost.

Returns:

the sessions value.

status

public abstract Status status()

Gets the status property: Status for a SessionHost.

Returns:

the status value.

statusTimestamp

public abstract OffsetDateTime statusTimestamp()

Gets the statusTimestamp property: The timestamp of the status.

Returns:

the statusTimestamp value.

sxSStackVersion

public abstract String sxSStackVersion()

Gets the sxSStackVersion property: The version of the side by side stack on the session host.

Returns:

the sxSStackVersion value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

updateErrorMessage

public abstract String updateErrorMessage()

Gets the updateErrorMessage property: The error message.

Returns:

the updateErrorMessage value.

updateState

public abstract UpdateState updateState()

Gets the updateState property: Update state of a SessionHost.

Returns:

the updateState value.

virtualMachineId

public abstract String virtualMachineId()

Gets the virtualMachineId property: Virtual Machine Id of SessionHost's underlying virtual machine.

Returns:

the virtualMachineId value.

Applies to