SessionHostInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. desktopvirtualization. fluent. models. SessionHostInner
- com.
- com.
public final class SessionHostInner
extends ProxyResource
Represents a SessionHost definition.
Constructor Summary
| Constructor | Description |
|---|---|
| SessionHostInner() |
Creates an instance of Session |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
agentVersion()
Get the agent |
| Boolean |
allowNewSession()
Get the allow |
| String |
assignedUser()
Get the assigned |
| String |
friendlyName()
Get the friendly |
|
static
Session |
fromJson(JsonReader jsonReader)
Reads an instance of Session |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Offset |
lastHeartBeat()
Get the last |
|
Offset |
lastUpdateTime()
Get the last |
| String |
name()
Get the name property: The name of the resource. |
| String |
objectId()
Get the object |
| String |
osVersion()
Get the os |
| String |
resourceId()
Get the resource |
|
List<Session |
sessionHostHealthCheckResults()
Get the session |
| Integer |
sessions()
Get the sessions property: Number of sessions on Session |
| Status |
status()
Get the status property: Status for a Session |
|
Offset |
statusTimestamp()
Get the status |
| String |
sxSStackVersion()
Get the sx |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
updateErrorMessage()
Get the update |
|
Update |
updateState()
Get the update |
| void |
validate()
Validates the instance. |
| String |
virtualMachineId()
Get the virtual |
|
Session |
withAgentVersion(String agentVersion)
Set the agent |
|
Session |
withAllowNewSession(Boolean allowNewSession)
Set the allow |
|
Session |
withAssignedUser(String assignedUser)
Set the assigned |
|
Session |
withFriendlyName(String friendlyName)
Set the friendly |
|
Session |
withLastHeartBeat(OffsetDateTime lastHeartBeat)
Set the last |
|
Session |
withOsVersion(String osVersion)
Set the os |
|
Session |
withSessions(Integer sessions)
Set the sessions property: Number of sessions on Session |
|
Session |
withStatus(Status status)
Set the status property: Status for a Session |
|
Session |
withSxSStackVersion(String sxSStackVersion)
Set the sx |
|
Session |
withUpdateErrorMessage(String updateErrorMessage)
Set the update |
|
Session |
withUpdateState(UpdateState updateState)
Set the update |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SessionHostInner
public SessionHostInner()
Creates an instance of SessionHostInner class.
Method Details
agentVersion
public String agentVersion()
Get the agentVersion property: Version of agent on SessionHost.
Returns:
allowNewSession
public Boolean allowNewSession()
Get the allowNewSession property: Allow a new session.
Returns:
assignedUser
public String assignedUser()
Get the assignedUser property: User assigned to SessionHost.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of SessionHost.
Returns:
fromJson
public static SessionHostInner fromJson(JsonReader jsonReader)
Reads an instance of SessionHostInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SessionHostInner.id()Returns:
lastHeartBeat
public OffsetDateTime lastHeartBeat()
Get the lastHeartBeat property: Last heart beat from SessionHost.
Returns:
lastUpdateTime
public OffsetDateTime lastUpdateTime()
Get the lastUpdateTime property: The timestamp of the last update.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SessionHostInner.name()Returns:
objectId
public String objectId()
Get the objectId property: ObjectId of SessionHost. (internal use).
Returns:
osVersion
public String osVersion()
Get the osVersion property: The version of the OS on the session host.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Resource Id of SessionHost's underlying virtual machine.
Returns:
sessionHostHealthCheckResults
public List<SessionHostHealthCheckReport> sessionHostHealthCheckResults()
Get the sessionHostHealthCheckResults property: List of SessionHostHealthCheckReports.
Returns:
sessions
public Integer sessions()
Get the sessions property: Number of sessions on SessionHost.
Returns:
status
public Status status()
Get the status property: Status for a SessionHost.
Returns:
statusTimestamp
public OffsetDateTime statusTimestamp()
Get the statusTimestamp property: The timestamp of the status.
Returns:
sxSStackVersion
public String sxSStackVersion()
Get the sxSStackVersion property: The version of the side by side stack on the session host.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SessionHostInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SessionHostInner.type()Returns:
updateErrorMessage
public String updateErrorMessage()
Get the updateErrorMessage property: The error message.
Returns:
updateState
public UpdateState updateState()
Get the updateState property: Update state of a SessionHost.
Returns:
validate
public void validate()
Validates the instance.
virtualMachineId
public String virtualMachineId()
Get the virtualMachineId property: Virtual Machine Id of SessionHost's underlying virtual machine.
Returns:
withAgentVersion
public SessionHostInner withAgentVersion(String agentVersion)
Set the agentVersion property: Version of agent on SessionHost.
Parameters:
Returns:
withAllowNewSession
public SessionHostInner withAllowNewSession(Boolean allowNewSession)
Set the allowNewSession property: Allow a new session.
Parameters:
Returns:
withAssignedUser
public SessionHostInner withAssignedUser(String assignedUser)
Set the assignedUser property: User assigned to SessionHost.
Parameters:
Returns:
withFriendlyName
public SessionHostInner withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of SessionHost.
Parameters:
Returns:
withLastHeartBeat
public SessionHostInner withLastHeartBeat(OffsetDateTime lastHeartBeat)
Set the lastHeartBeat property: Last heart beat from SessionHost.
Parameters:
Returns:
withOsVersion
public SessionHostInner withOsVersion(String osVersion)
Set the osVersion property: The version of the OS on the session host.
Parameters:
Returns:
withSessions
public SessionHostInner withSessions(Integer sessions)
Set the sessions property: Number of sessions on SessionHost.
Parameters:
Returns:
withStatus
public SessionHostInner withStatus(Status status)
Set the status property: Status for a SessionHost.
Parameters:
Returns:
withSxSStackVersion
public SessionHostInner withSxSStackVersion(String sxSStackVersion)
Set the sxSStackVersion property: The version of the side by side stack on the session host.
Parameters:
Returns:
withUpdateErrorMessage
public SessionHostInner withUpdateErrorMessage(String updateErrorMessage)
Set the updateErrorMessage property: The error message.
Parameters:
Returns:
withUpdateState
public SessionHostInner withUpdateState(UpdateState updateState)
Set the updateState property: Update state of a SessionHost.
Parameters:
Returns: