Interface SessionHost
-
public interface SessionHostAn immutable client-side representation of SessionHost.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringagentVersion()Gets the agentVersion property: Version of agent on SessionHost.BooleanallowNewSession()Gets the allowNewSession property: Allow a new session.StringassignedUser()Gets the assignedUser property: User assigned to SessionHost.Stringid()Gets the id property: Fully qualified resource Id for the resource.SessionHostInnerinnerModel()Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.SessionHostInner object.OffsetDateTimelastHeartBeat()Gets the lastHeartBeat property: Last heart beat from SessionHost.OffsetDateTimelastUpdateTime()Gets the lastUpdateTime property: The timestamp of the last update.Stringname()Gets the name property: The name of the resource.StringobjectId()Gets the objectId property: ObjectId of SessionHost.StringosVersion()Gets the osVersion property: The version of the OS on the session host.StringresourceId()Gets the resourceId property: Resource Id of SessionHost's underlying virtual machine.List<SessionHostHealthCheckReport>sessionHostHealthCheckResults()Gets the sessionHostHealthCheckResults property: List of SessionHostHealthCheckReports.Integersessions()Gets the sessions property: Number of sessions on SessionHost.Statusstatus()Gets the status property: Status for a SessionHost.OffsetDateTimestatusTimestamp()Gets the statusTimestamp property: The timestamp of the status.StringsxSStackVersion()Gets the sxSStackVersion property: The version of the side by side stack on the session host.com.azure.core.management.SystemDatasystemData()Gets the systemData property: Metadata pertaining to creation and last modification of the resource.Stringtype()Gets the type property: The type of the resource.StringupdateErrorMessage()Gets the updateErrorMessage property: The error message.UpdateStateupdateState()Gets the updateState property: Update state of a SessionHost.StringvirtualMachineId()Gets the virtualMachineId property: Virtual Machine Id of SessionHost's underlying virtual machine.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
objectId
String objectId()
Gets the objectId property: ObjectId of SessionHost. (internal use).- Returns:
- the objectId value.
-
lastHeartBeat
OffsetDateTime lastHeartBeat()
Gets the lastHeartBeat property: Last heart beat from SessionHost.- Returns:
- the lastHeartBeat value.
-
sessions
Integer sessions()
Gets the sessions property: Number of sessions on SessionHost.- Returns:
- the sessions value.
-
agentVersion
String agentVersion()
Gets the agentVersion property: Version of agent on SessionHost.- Returns:
- the agentVersion value.
-
allowNewSession
Boolean allowNewSession()
Gets the allowNewSession property: Allow a new session.- Returns:
- the allowNewSession value.
-
virtualMachineId
String virtualMachineId()
Gets the virtualMachineId property: Virtual Machine Id of SessionHost's underlying virtual machine.- Returns:
- the virtualMachineId value.
-
resourceId
String resourceId()
Gets the resourceId property: Resource Id of SessionHost's underlying virtual machine.- Returns:
- the resourceId value.
-
assignedUser
String assignedUser()
Gets the assignedUser property: User assigned to SessionHost.- Returns:
- the assignedUser value.
-
status
Status status()
Gets the status property: Status for a SessionHost.- Returns:
- the status value.
-
statusTimestamp
OffsetDateTime statusTimestamp()
Gets the statusTimestamp property: The timestamp of the status.- Returns:
- the statusTimestamp value.
-
osVersion
String osVersion()
Gets the osVersion property: The version of the OS on the session host.- Returns:
- the osVersion value.
-
sxSStackVersion
String sxSStackVersion()
Gets the sxSStackVersion property: The version of the side by side stack on the session host.- Returns:
- the sxSStackVersion value.
-
updateState
UpdateState updateState()
Gets the updateState property: Update state of a SessionHost.- Returns:
- the updateState value.
-
lastUpdateTime
OffsetDateTime lastUpdateTime()
Gets the lastUpdateTime property: The timestamp of the last update.- Returns:
- the lastUpdateTime value.
-
updateErrorMessage
String updateErrorMessage()
Gets the updateErrorMessage property: The error message.- Returns:
- the updateErrorMessage value.
-
sessionHostHealthCheckResults
List<SessionHostHealthCheckReport> sessionHostHealthCheckResults()
Gets the sessionHostHealthCheckResults property: List of SessionHostHealthCheckReports.- Returns:
- the sessionHostHealthCheckResults value.
-
innerModel
SessionHostInner innerModel()
Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.SessionHostInner object.- Returns:
- the inner object.
-
-