Share via


MonitorQueryModelFactory.LogsTable Method

Definition

Creates an instance of LogsTable to support mocking.

public static Azure.Monitor.Query.Models.LogsTable LogsTable (string name, System.Collections.Generic.IEnumerable<Azure.Monitor.Query.Models.LogsTableColumn> columns, System.Collections.Generic.IEnumerable<Azure.Monitor.Query.Models.LogsTableRow> rows);
static member LogsTable : string * seq<Azure.Monitor.Query.Models.LogsTableColumn> * seq<Azure.Monitor.Query.Models.LogsTableRow> -> Azure.Monitor.Query.Models.LogsTable
Public Shared Function LogsTable (name As String, columns As IEnumerable(Of LogsTableColumn), rows As IEnumerable(Of LogsTableRow)) As LogsTable

Parameters

name
String

The name of the table.

columns
IEnumerable<LogsTableColumn>

The list of columns.

rows
IEnumerable<LogsTableRow>

The list of rows.

Returns

Exceptions

name or rows is null.

Applies to