Share via


LogCollectionSession Class

Definition

Log Collection Session details of the cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.LogCollectionSessionTypeConverter))]
public class LogCollectionSession : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ILogCollectionSession
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.LogCollectionSessionTypeConverter))>]
type LogCollectionSession = class
    interface ILogCollectionSession
    interface IJsonSerializable
Public Class LogCollectionSession
Implements ILogCollectionSession
Inheritance
LogCollectionSession
Attributes
Implements

Constructors

LogCollectionSession()

Creates an new LogCollectionSession instance.

Properties

CorrelationId

CorrelationId of the log collection

EndTimeCollected

End Time of the logs when it was collected

LogCollectionErrorCode

Error Code of the log collection

LogCollectionErrorMessage

Error Message of the log collection

LogCollectionStatus

LogCollection status

LogEndTime

End Time of the logs when it was collected

LogSize

Size of the logs collected

LogStartTime

Start Time of the logs when it was collected

TimeCollected

Duration of logs collected

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LogCollectionSession.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LogCollectionSession.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ILogCollectionSession.

FromJsonString(String)

Creates a new instance of LogCollectionSession, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LogCollectionSession into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to