Status type

Defines values for Status.
KnownStatus can be used interchangeably with Status, this enum contains the known values that the service supports.

Known values supported by the service

Available: Session Host has passed all the health checks and is available to handle connections.
Unavailable: Session Host is either turned off or has failed critical health checks which is causing service not to be able to route connections to this session host. Note this replaces previous 'NoHeartBeat' status.
Shutdown: Session Host is shutdown - RD Agent reported session host to be stopped or deallocated.
Disconnected: The Session Host is unavailable because it is currently disconnected.
Upgrading: Session Host is unavailable because currently an upgrade of RDAgent/side-by-side stack is in progress. Note: this state will be removed once the upgrade completes and the host is able to accept connections.
UpgradeFailed: Session Host is unavailable because the critical component upgrade (agent, side-by-side stack, etc.) failed.
NoHeartbeat: The Session Host is not heart beating.
NotJoinedToDomain: SessionHost is not joined to domain.
DomainTrustRelationshipLost: SessionHost's domain trust relationship lost
SxSStackListenerNotReady: SxS stack installed on the SessionHost is not ready to receive connections.
FSLogixNotHealthy: FSLogix is in an unhealthy state on the session host.
NeedsAssistance: New status to inform admins that the health on their endpoint needs to be fixed. The connections might not fail, as these issues are not fatal.

type Status = string