ArmDesktopVirtualizationModelFactory.SessionHostData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SessionHostData.
public static Azure.ResourceManager.DesktopVirtualization.SessionHostData SessionHostData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string objectId = default, DateTimeOffset? lastHeartBeatOn = default, int? sessions = default, string agentVersion = default, bool? allowNewSession = default, string vmId = default, Azure.Core.ResourceIdentifier resourceId = default, string assignedUser = default, string friendlyName = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHostStatus? status = default, DateTimeOffset? statusTimestamp = default, string osVersion = default, string sxsStackVersion = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHostUpdateState? updateState = default, DateTimeOffset? lastUpdatedOn = default, string updateErrorMessage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostHealthCheckReport> sessionHostHealthCheckResults = default);
static member SessionHostData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<int> * string * Nullable<bool> * string * Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostStatus> * Nullable<DateTimeOffset> * string * string * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostUpdateState> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostHealthCheckReport> -> Azure.ResourceManager.DesktopVirtualization.SessionHostData
Public Shared Function SessionHostData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional objectId As String = Nothing, Optional lastHeartBeatOn As Nullable(Of DateTimeOffset) = Nothing, Optional sessions As Nullable(Of Integer) = Nothing, Optional agentVersion As String = Nothing, Optional allowNewSession As Nullable(Of Boolean) = Nothing, Optional vmId As String = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional assignedUser As String = Nothing, Optional friendlyName As String = Nothing, Optional status As Nullable(Of SessionHostStatus) = Nothing, Optional statusTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional osVersion As String = Nothing, Optional sxsStackVersion As String = Nothing, Optional updateState As Nullable(Of SessionHostUpdateState) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional updateErrorMessage As String = Nothing, Optional sessionHostHealthCheckResults As IEnumerable(Of SessionHostHealthCheckReport) = Nothing) As SessionHostData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- objectId
- String
ObjectId of SessionHost. (internal use).
- lastHeartBeatOn
- Nullable<DateTimeOffset>
Last heart beat from SessionHost.
- agentVersion
- String
Version of agent on SessionHost.
- vmId
- String
Virtual Machine Id of SessionHost's underlying virtual machine.
- resourceId
- ResourceIdentifier
Resource Id of SessionHost's underlying virtual machine.
- assignedUser
- String
User assigned to SessionHost.
- friendlyName
- String
Friendly name of SessionHost.
- status
- Nullable<SessionHostStatus>
Status for a SessionHost.
- statusTimestamp
- Nullable<DateTimeOffset>
The timestamp of the status.
- osVersion
- String
The version of the OS on the session host.
- sxsStackVersion
- String
The version of the side by side stack on the session host.
- updateState
- Nullable<SessionHostUpdateState>
Update state of a SessionHost.
- lastUpdatedOn
- Nullable<DateTimeOffset>
The timestamp of the last update.
- updateErrorMessage
- String
The error message.
- sessionHostHealthCheckResults
- IEnumerable<SessionHostHealthCheckReport>
List of SessionHostHealthCheckReports.
Returns
A new SessionHostData instance for mocking.
Applies to
Azure SDK for .NET