다음을 통해 공유


Status Struct

Definition

Status for a SessionHost.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.StatusTypeConverter))]
public struct Status : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.Status>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.StatusTypeConverter))>]
type Status = struct
    interface IArgumentCompleter
Public Structure Status
Implements IArgumentCompleter, IEquatable(Of Status)
Inheritance
Status
Attributes
Implements

Fields

Available

Session Host has passed all the health checks and is available to handle connections.

Disconnected

The Session Host is unavailable because it is currently disconnected.

DomainTrustRelationshipLost

SessionHost's domain trust relationship lost

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.

NoHeartbeat

The Session Host is not heart beating.

NotJoinedToDomain

SessionHost is not joined to domain.

Shutdown

Session Host is shutdown - RD Agent reported session host to be stopped or deallocated.

SxSStackListenerNotReady

SxS stack installed on the SessionHost is not ready to receive 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.

UpgradeFailed

Session Host is unavailable because the critical component upgrade (agent, side-by-side stack, etc.) failed.

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.

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type Status (override for Object)

Equals(Status)

Compares values of enum type Status

GetHashCode()

Returns hashCode for enum Status

ToString()

Returns string representation for Status

Operators

Equality(Status, Status)

Overriding == operator for enum Status

Implicit(Status to String)

Implicit operator to convert Status to string

Implicit(String to Status)

Implicit operator to convert string to Status

Inequality(Status, Status)

Overriding != operator for enum Status

Applies to