Udostępnij za pośrednictwem


QueryBody Constructors

Definition

Overloads

QueryBody()

Initializes a new instance of the QueryBody class.

QueryBody(String, Nullable<TimeSpan>, IList<String>)

Initializes a new instance of the QueryBody class.

QueryBody()

Source:
QueryBody.cs

Initializes a new instance of the QueryBody class.

public QueryBody ();
Public Sub New ()

Applies to

QueryBody(String, Nullable<TimeSpan>, IList<String>)

Source:
QueryBody.cs

Initializes a new instance of the QueryBody class.

public QueryBody (string query, TimeSpan? timespan = default, System.Collections.Generic.IList<string> workspaces = default);
new Microsoft.Azure.OperationalInsights.Models.QueryBody : string * Nullable<TimeSpan> * System.Collections.Generic.IList<string> -> Microsoft.Azure.OperationalInsights.Models.QueryBody
Public Sub New (query As String, Optional timespan As Nullable(Of TimeSpan) = Nothing, Optional workspaces As IList(Of String) = Nothing)

Parameters

query
String

The query to execute.

timespan
Nullable<TimeSpan>

Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

workspaces
IList<String>

A list of workspaces that are included in the query.

Applies to