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
stringThe identifier of the long-running operation.
status
OperationStatusThe status of the long-running operation.
statusMessage
stringThe message describing the current state of the operation.
upn
stringThe 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
OperationId
The identifier of the long-running operation.
[JsonPropertyName("operation_id")]
public string OperationId { get; set; }
Property Value
Status
The status of the long-running operation.
[JsonPropertyName("status")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public OperationStatus Status { get; set; }
Property Value
StatusMessage
The message describing the current state of the operation.
[JsonPropertyName("status_message")]
public string? StatusMessage { get; set; }
Property Value
TTL
The time-to-live (TTL) for the log entry.
[JsonPropertyName("ttl")]
public int TTL { get; set; }
Property Value
TimeStamp
The time stamp of the log entry.
[JsonPropertyName("time_stamp")]
public DateTime TimeStamp { get; set; }
Property Value
Type
The document type.
[JsonPropertyName("type")]
public string Type { get; }
Property Value
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; }