LogCollectionJobSession Class

Definition

Represents a session for collecting logs from an edge device.

public class LogCollectionJobSession : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Hci.Models.LogCollectionJobSession>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Hci.Models.LogCollectionJobSession>
type LogCollectionJobSession = class
    interface IJsonModel<LogCollectionJobSession>
    interface IPersistableModel<LogCollectionJobSession>
Public Class LogCollectionJobSession
Implements IJsonModel(Of LogCollectionJobSession), IPersistableModel(Of LogCollectionJobSession)
Inheritance
LogCollectionJobSession
Implements

Properties

Name Description
CorrelationId

A unique identifier for correlating this log collection session with other operations or sessions.

EndTime

The timestamp when log collection ended, in ISO 8601 format.

LogSize

The size of the collected logs in bytes.

StartTime

The timestamp when log collection started, in ISO 8601 format.

Status

The status of the log collection session.

TimeCollected

The total time logs were collected for, in ISO 8601 duration format.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<LogCollectionJobSession>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<LogCollectionJobSession>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<LogCollectionJobSession>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<LogCollectionJobSession>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<LogCollectionJobSession>.Write(ModelReaderWriterOptions)

Applies to