Share via


LogsQueryResult Class

Definition

Contains the tables, columns & rows resulting from a query.

public class LogsQueryResult : System.ClientModel.Primitives.IJsonModel<Azure.Monitor.Query.Models.LogsQueryResult>, System.ClientModel.Primitives.IPersistableModel<Azure.Monitor.Query.Models.LogsQueryResult>
public class LogsQueryResult
type LogsQueryResult = class
    interface IJsonModel<LogsQueryResult>
    interface IPersistableModel<LogsQueryResult>
type LogsQueryResult = class
Public Class LogsQueryResult
Implements IJsonModel(Of LogsQueryResult), IPersistableModel(Of LogsQueryResult)
Public Class LogsQueryResult
Inheritance
LogsQueryResult
Derived
Implements

Properties

AllTables

Gets the multi-table result of the query.

Error

Gets the error that occurred during query processing. The value is null if the query succeeds.

Status

Gets or sets the value indicating whether the query was successful.

Table

Gets the single table result of the query.

Methods

GetStatistics()

Returns the query statistics if the IncludeStatistics is set to true. null otherwise.

GetVisualization()

Returns the query visualization if the IncludeVisualization is set to true. null otherwise.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LogsQueryResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LogsQueryResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LogsQueryResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LogsQueryResult>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LogsQueryResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to