Table of Contents

Class LongRunningOperationLogEntry

Namespace
FoundationaLLM.Common.Models.Orchestration
Assembly
FoundationaLLM.Common.dll

The point-in-time state of a long-running operation.

public class LongRunningOperationLogEntry
Inheritance
LongRunningOperationLogEntry
Inherited Members
Extension Methods

Constructors

LongRunningOperationLogEntry()

Initializes a new instance of the LongRunningOperationLogEntry class.

public LongRunningOperationLogEntry()

LongRunningOperationLogEntry(string, OperationStatus, string?, string?)

Initializes a new instance of the LongRunningOperationLogEntry class with the specified values.

public LongRunningOperationLogEntry(string operationId, OperationStatus status, string? statusMessage, string? upn)

Parameters

operationId string

The identifier of the long-running operation.

status OperationStatus

The status of the long-running operation.

statusMessage string

The message describing the current state of the operation.

upn string

The user principal name (UPN) of the user who initiated the operation.

Properties

Id

The identifier of the long-running operation log entry.

[JsonPropertyName("id")]
public string Id { get; set; }

Property Value

string

OperationId

The identifier of the long-running operation.

[JsonPropertyName("operation_id")]
public string OperationId { get; set; }

Property Value

string

Status

The status of the long-running operation.

[JsonPropertyName("status")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public OperationStatus Status { get; set; }

Property Value

OperationStatus

StatusMessage

The message describing the current state of the operation.

[JsonPropertyName("status_message")]
public string? StatusMessage { get; set; }

Property Value

string

TTL

The time-to-live (TTL) for the log entry.

[JsonPropertyName("ttl")]
public int TTL { get; set; }

Property Value

int

TimeStamp

The time stamp of the log entry.

[JsonPropertyName("time_stamp")]
public DateTime TimeStamp { get; set; }

Property Value

DateTime

Type

The document type.

[JsonPropertyName("type")]
public string Type { get; }

Property Value

string

UPN

Gets or sets the User Principal Name (UPN) of the user who triggered the long-running operation.

[JsonPropertyName("upn")]
public string? UPN { get; set; }

Property Value

string